Repository navigation
Conversation
`sequant ready` previously printed a static header, ran the full-weight qa → loop → qa gate in silence, then printed the final report — no live feedback while a multi-minute gate ran. Reuse `run`'s shared RunRenderer (#618) via `buildProgressWiring` so `ready` shows the same in-place phase cells + spinner as `sequant run`. - `--json`-safe: the renderer is only built on the non-JSON path, so piped JSON output is never corrupted. - Dynamic phase streaming (no fixed seed): the gate's pipeline length is 1–N qa/loop passes, so a seeded plan would leave a stuck-pending `loop` cell when the gate stops after the first qa. - ready-gate emits optional `onProgress` (start/complete/failed) around each phase, carrying the 1-based QA-pass iteration so the renderer shows `loop N/M`. Optional — injected unit tests are unaffected. - Clean teardown on every exit path (happy / error / before report print), plus a SIGINT handler mirroring run.ts. - `--verbose` streaming pauses/resumes the live zone via the renderer as PhasePauseHandle instead of double-rendering. Entire-Checkpoint: 4d40a837b383
This was referenced Jun 2, 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.
Summary
sequant readypreviously printed a static header, ran the full-weightqa → loop → qagate in silence, then printed the final report — no live feedback while a multi-minute gate ran. This wiresrun's sharedRunRenderer(#618) intoreadyviabuildProgressWiring, soreadynow shows the same in-place phase cells + spinner assequant run.What changed
--json-safe — the renderer is only built on the non-JSON path, so piped JSON output is never corrupted.qa/looppasses, so a seeded plan would leave a stuck-pendingloopcell when the gate stops after the firstqa.ready-gateemits optionalonProgress(start/complete/failed) around each phase, carrying the 1-based QA-pass iteration so the renderer showsloop N/M. Optional, so injected unit tests are unaffected.run.ts.--verbosestreaming pauses/resumes the live zone (renderer asPhasePauseHandle) instead of double-rendering.Verification
tsc --noEmitcleanvitest run src/commands/ready.test.ts src/lib/workflow/ready-gate.test.ts→ 38 passed (211 new lines ofreadytests, 81 new lines of gate tests)Follow-up
A separate issue tracks upgrading
readyto the boxed Ink TUI (--experimental-tuistyle) and hardening that TUI for large batches (row cap, frame-height clamp, scrollback transcript) before it can become thesequant rundefault.Closes #697
🤖 Generated with Claude Code