Refine Trebuchet and extract Core/CLI boundaries - #67
Open
atimics wants to merge 36 commits into
Open
Conversation
atimics
force-pushed
the
codex/v2-wallet-app-mockup
branch
from
July 16, 2026 06:17
18c150c to
19fa97c
Compare
atimics
marked this pull request as ready for review
July 16, 2026 22:57
added 17 commits
July 16, 2026 16:09
added 9 commits
August 9, 2026 23:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR makes Trebuchet one product with two deliberately different interfaces:
The desktop opens into a practice-first Guided Mode. The complete on-chain launch is organized into the six actions a user actually takes: Launch wallet → Token & pools → Fund wallet → Create token → Create liquidity → Finish launch. Compatibility and release-audit machinery no longer defines the primary interface.
Launch configuration now begins with intent instead of raw pool topology. The operator sets a target liquidity budget, chooses Minimum/0, 1, 10, or 100 SOL, and Trebuchet derives a deliberately minimal strategy: one clear core market for minimum/lean launches or three purposeful core/reach/support bands for balanced/deep launches. Network fees and rent remain separately estimated before funding.
Discovery is personal rather than globally empty. Token Discovery and Wallet Tracking are separate tabs, the artificial 25-wallet cap is gone, and the scanner processes every enabled wallet through a four-worker bounded-concurrency queue with visible progress and batched wallet rendering.
Why this changed
The earlier interface exposed implementation language and Classic-era parity controls directly. That made a simple launch feel like configuring an execution engine, obscured the transition from configuration to funding, and mixed token results with wallet management. Discovery also enforced a product-level cap even though the underlying work can be queued safely.
This refactor keeps the full launch engine underneath while giving first-time users a small number of meaningful decisions and a clear next action in every phase.
Reviewable refactor layers
Guided launch UX and Trebuchet branding
Budget-derived liquidity strategy
Explicit Local API lifecycle
Trebuchet Core package
Experimental Trebuchet CLI
Guided end-to-end coverage
Personal wallet-seeded Discovery
Compatibility and safety
“Trebuchet” is the product name. Existing internal /v2/, /api/v2/, trebuchet-v2- and proof identifiers remain temporarily as compatibility contracts; this PR does not rename persisted schemas or break existing artifacts.
The CLI remains labeled experimental until custody, journaling, idempotent execution, resume/sweep recovery, and non-interactive confirmation contracts are extracted and proven independently.
Personal Discovery is read-only and has no product-level wallet cap; resource use is controlled by bounded concurrency and progressive rendering. Its network score describes overlap in the operator’s personal holder graph, not safety or endorsement.
Validation
Still required before a stable execution CLI or mainnet-ready claim
Those items are explicitly out of scope for the current read-only CLI; this PR does not claim that unattended mainnet execution is ready.