Repository navigation
Replace the free-model wrapper with top-level fast tier flags - #289
Merged
DocksDocks merged 7 commits intoDec 1, 2026
Merged
DocksDocks merged 7 commits into
DocksDocks merged 7 commits into
Conversation
- Move the tier toggle and its lock path from the omp command to a new root command module, and accept both flags at the root of the CLI. - Refuse both flags together before any lock or write. - Move the in-process lock tests to the root command and add spawned tests of the public CLI. Refs #283 Verified: bunx vitest run cli/test/unit/rootFlags.test.ts cli/test/unit/ompFastMode.test.ts cli/test/unit/argv.test.ts cli/test/unit/ompCommand.test.ts; bun run check:types; bun run lint; bun run format
- Delete the omp command, the run overlay, and the session-model store. Move engineHome unchanged to engine-native/home.ts. - Stop importing the legacy state.json session model; keep kit.db schema 1 with its unused omp_session table, so older kits still open the store. - Drop the omp passthrough boundary from argv parsing. - Move the store and engineHome tests, delete the launcher tests, and pin `omp` as a removed name with a recording omp stub on PATH. - Clamp skill source ranges that the removals shortened. Refs #283 Verified: bunx vitest run cli/test/unit/removedNames.test.ts cli/test/unit/kitDb.test.ts cli/test/unit/home.test.ts cli/test/unit/argv.test.ts cli/test/unit/rootFlags.test.ts cli/test/unit/ompFastMode.test.ts cli/test/unit/skillMetadata.test.ts cli/test/unit/toolchain.test.ts cli/test/unit/scratch.test.ts; bun run check:types; bun run lint
- Toggle --fast on and off in a temporary home of the installed package, with the agent-folder variables empty, and check that both root flags together exit 2 with no write. Refs #283 Verified: bun run smoke:package; bun run lint; bun run check:types
- Replace the launcher text in the README, cli/AGENTS.md, the CLI docs, DESIGN.md, and the omp-sync, sync-orchestration, and tidy skills with the root --fast and --ultrafast flags. - Add the 0.32.0 changelog entry with the replacement for each old form. - Bump to 0.32.0; rebuild the talk bundle, the payload, and both goldens. Refs #283 Verified: bun run check:generated; bun run golden:dryrun; bun run golden:mutation; bunx vitest run cli/test/unit/skillMetadata.test.ts
- Refuse both root tier flags, also with --help or --version, and a root tier flag with --wizard, in prepareArgv before Effect runs a global action. - Read a separate Boolean literal after a root flag as the flag's refused value, not as a subcommand; drop Boolean negation from both flags. - Show the root tier usage form in the root help; scan surfaces without copying them. - Correct the migration advice for `docks-kit omp [args]` (`omp launch`), the default config path, the flag convention, the dispatch and read-only notes, and the stale picker references. - Isolate the removed-name and smoke checks from ambient settings, reuse the shared stubs, and cover the legacy state.json and the unseeded conflict. Refs #283 Verified: bunx vitest run cli/test/unit/argv.test.ts cli/test/unit/rootFlags.test.ts cli/test/unit/removedNames.test.ts cli/test/unit/kitDb.test.ts cli/test/unit/ompFastMode.test.ts cli/test/unit/skillMetadata.test.ts; bun run golden:dryrun; bun run smoke:package; bun run check:types; bun run lint
- Build the tier flag list, usage line, and refusals from one pair of names. - Say that only some commands call engine-native modules directly, drop the removed `omp` example, and tell readers to put kit-wide flags before `plan`, `agent-docs`, and `skill`. - Say that `omp launch` reads positional words as prompt text and still parses its options. - Cover the completion script: no negated tier spellings. Refs #283 Verified: bunx vitest run cli/test/unit/argv.test.ts cli/test/unit/rootFlags.test.ts cli/test/unit/skillMetadata.test.ts; bun run golden:dryrun; bun run check:types; bun run lint
- The bare-command summary builds its tier line from the shared names. - The root description names the root tier flags without their spellings, which the FLAGS section and the usage line already show. Refs #283 Verified: bun run golden:dryrun; ./docks-kit; ./docks-kit --help
DocksDocks
marked this pull request as ready for review
December 1, 2026 18:23
DocksDocks
marked this pull request as draft
December 1, 2026 18:40
DocksDocks
marked this pull request as ready for review
December 1, 2026 18:40
DocksDocks
deleted the
283-replace-the-free-model-wrapper-with-top-level-fast-tier-flags
branch
December 1, 2026 19:01
This was referenced Dec 1, 2026
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.
Plan run: #283 Replace the free-model wrapper with top-level fast tier flags
Pull request: #289. Checks: Full CI passed (run 46717502876, attempt 1, head
3622fc37; the first run 46714254746 ended when the macOS job got no runner in 15 minutes). Reviewed head:3622fc37.What changed
docks-kit --fastanddocks-kit --ultrafasttoggletier.openaiin the deployed ompconfig.yml, with the locks, output, and exit codes of the old nested toggles (cli/src/commands/root.ts).--helpor--version, and a tier flag with--wizardexit 2 before Effect runs;--fast falseis refused as a flag value (cli/src/argv.ts,cli/src/argvSurface.ts).docks-kit ompand its free-model launcher, overlay, and session files are removed;ompis a removed name (cli/src/commands/omp.ts,cli/src/engine-native/ompOverlay.ts,ompSession.ts, deleted).state.jsonimport is removed;kit.dbkeeps schema 1 (cli/src/engine-native/kitDb.ts).cli/scripts/package-smoke.ts).talkbundle updated.Decisions and corrections
docks-kit [--fast | --ultrafast]abovedocks-kit <subcommand> [flags]; one pair of names feeds parse, early validation, help, and messages (code review rounds 1 to 3).ompfor an interactive session,omp launch [args]for forwarded arguments; neither keeps the free-model checks (code review round 1, MEDIUM).Delegated decisions
package_smoke, effectprobe): run it. Rejected: skipping it, because rootAGENTS.mdasks forbun run smoke:packageon user-facing changes. Reversibility: read-only install in a temporary folder. Record: Verification Results entry forf65ef567.Reviews
Plan review passed in round 3. Code review passed in round 4.
Open findings: none.
Verification
root(bunx vitest runrootFlags, ompFastMode, argv): exit 0, 93 passed.removed(bunx vitest runremovedNames, kitDb, home): exit 0, 17 passed.help(./docks-kit; ./docks-kit --help): both flags shown, nodocks-kit ompline.dry(./docks-kit sync --dry-run): exit 0, every preview line starts with[dry-run].smoke(bun run smoke:package): exit 0, packaged--fastON and OFF, both flags exit 2 withconfig.ymlunchanged.meta(bunx vitest run cli/test/unit/skillMetadata.test.ts): 1 passed.gate(bun run check): exit 0, 6391 passed, 12 skipped; both golden suites OK.Limits and failures
Full CIpassed on Ubuntu, macOS, and Windows. The firstFull CIrun (46714254746) failed because its macOS job was cancelled after 15 minutes with no runner; the PR went back to draft and was marked ready again with the same head.Kept resources
Merge now: none.Leave pull request open: the worktreeissue-283, the local and remote branch283-replace-the-free-model-wrapper-with-top-level-fast-tier-flags.After merge
mainand gets its own code-review round; Remove the kit-owned OpenCode integration from the OMP-only surface #285 starts after this merge.Checklist
bun run checkpassesCloses #283