Skip to content

feat(BASE-422): make the Validity demo a read-only observer of the central AMM - #128

Merged
BrianBland merged 1 commit into
mainfrom
brianbland/base-422-vibenet-validity-central-actors
Sep 3, 2026
Merged

feat(BASE-422): make the Validity demo a read-only observer of the central AMM#128
BrianBland merged 1 commit into
mainfrom
brianbland/base-422-vibenet-validity-central-actors

Conversation

@BrianBland

Copy link
Copy Markdown
Contributor

Companion to the vibenet-side actor system (parent BASE-418; infra PRs base/vibenet#32 → #33#34). Independent — base branch main.

The AMM pool and its maker flow now run on central vibenet infrastructure, so the demo no longer runs actors in the browser.

What

  • Remove the client-side maker subaccounts, the startBots swap loop, and the client-side ensureSingleton pool deploy (+ the "Deploy shared pool" button).
  • Keep read-only probeSingleton discovery — deterministic CREATE2 means the browser rediscovers exactly what vibenet-setup deployed — plus the candle/price display and the user's own inventory + conditional orders.
  • Show a "pool is coming online" state for the window before the central actors are live, instead of a deploy CTA.

Verified

  • tsc --noEmit and eslint clean (remaining lint output is pre-existing react-hooks/refs warnings on untouched lines).

Notes

  • lib/bots.ts / lib/makers.ts are now unreferenced by the demo (kept in place; they were the porting source for the actor service).

Linear

BASE-422

@linear

linear Bot commented Sep 2, 2026

Copy link
Copy Markdown

BASE-422

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 3, 2026 12:21am UTC

Request Review

@cb-heimdall

cb-heimdall commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@BrianBland
BrianBland force-pushed the brianbland/base-422-vibenet-validity-central-actors branch from 141d804 to a3e8ce7 Compare September 2, 2026 20:02
@BrianBland BrianBland changed the title feat(vibenet): make the Validity demo a read-only observer of the central AMM (BASE-422) feat(BASE-422): make the Validity demo a read-only observer of the central AMM Sep 2, 2026
…tral AMM (BASE-422)

The AMM pool and its maker flow now run on central vibenet infrastructure (the
actor system), so the demo no longer runs actors in the browser.

- Remove the client-side maker subaccounts, the startBots swap loop, and the
  client-side ensureSingleton pool deploy (+ the "Deploy shared pool" button).
- Keep read-only probeSingleton discovery — deterministic CREATE2 means the
  browser rediscovers exactly what vibenet-setup deployed — plus the candle/
  price display and the user's own inventory + conditional orders.
- Show a "pool is coming online" state for the window before the actors are live.

Delete the now-dead code the cutover leaves behind:
- lib/bots.ts + lib/makers.ts (and their tests) — no longer referenced.
- ensureSingleton() and its write-path helpers in lib/singleton.ts; keep the
  probeSingleton()/predictSingleton() read chain (still used + tested).
- encodeSwapLegs() in lib/amm.ts (only the deleted bots.ts used it).
- The now-unwritten accountId / makerAccountIds fields in the persisted store.

Co-Authored-By: Claude <noreply@anthropic.com>
@BrianBland
BrianBland force-pushed the brianbland/base-422-vibenet-validity-central-actors branch from a3e8ce7 to 3f7dbc1 Compare September 3, 2026 00:20
@BrianBland
BrianBland added this pull request to the merge queue Sep 3, 2026
Merged via the queue into main with commit 01257c1 Sep 3, 2026
13 checks passed
@BrianBland
BrianBland deleted the brianbland/base-422-vibenet-validity-central-actors branch September 3, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants