Repository navigation
feat(#1651): --chain and multi-issue runs print an "experimental" warning with their measured success rates — fixed, dated counts; the code stays - #1678
Merged
admarble merged 3 commits intoNov 15, 2026
Conversation
Entire-Checkpoint: fdbff01f5547
Contributor
Author
Read firstComputed from the diff, the issue's Residue
Tests
Explained
AC verdict: the |
…pins the literal text)
…-chain-and-multi-issue-runs-print-an-exper
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
The
--chainand multi-issue warnings are in and pushed onfeature/1651-feat-run-chain-and-multi-issue-runs-print-an-exper(commit84e2bf699). It's left to the orchestrator to open the PR.What changed
emitExperimentalWarningshelper insrc/commands/run-experimental.ts(new), which keepsrun.tsat 190 lines, under the 200-line cap. The helper prints withconsole.error, so the lines start at column 0 with⚠, and the chain line comes first.src/commands/run.ts,runCommandcalls the helper after the pre-flight rejections and beforeRunOrchestrator.resolveConfig. A rejected run prints nothing, and--jsonstdout is unchanged.--batchrun counts the issues across all batches and prints the multi-issue line when there is more than one. This is the spec's Open Question 2, where I took the recommendation.docs/reference/run-command.mdhas an experimental note with the counts in### Running Multiple Issuesand### Chain Modeonly.CHANGELOG.mdhas an[Unreleased]→### Changedentry.src/commands/run.experimental-warning.test.ts(new) has 7 cases. They cover the four mode combinations with exact-string checks,--batch, order beforeresolveConfigwith nothing on stdout, and a rejected pre-flight printing nothing.Acceptance criteria
run.experimental-warning.test.ts: 7 passed, 0 failedgrep -c '41 of 87' docs/reference/run-command.mdgives 2chain-preflight.test.tsandchain-resume.test.tspass[Unreleased]gives 1Checks:
npm run buildandnpm run lintpass.Affected tests:
npx vitest run --changed origin/mainplus the callers ofrun.tsselected 1 file, 141 tests passed. The AC files above are 4 files, 58 tests passed.Gate-test mutation markers: none. The spec says no AC is a gate test.
Weakest part: the ordering assertion compares invocation order of two mocks, so it tests the call sequence, not worktree provisioning itself.
Coverage gaps: none. Both new source files are covered by the new test file.
Progress comment: none, because under
sequant runthe orchestrator handles that.PR status: left to the orchestrator, branch pushed.
Fixes #1651
Runner verification (2026-11-11)
I ran each AC's Evidence command verbatim in the worktree at 84e2bf6.
run.experimental-warning.test.ts, 7 passed, 0 failed.2chain-preflightandchain-resume, 47 passed, 0 failed.10The warnings go to stderr and begin
⚠ --chain is experimentaland⚠ Multi-issue runs are experimental, at column 0, so the smoke test's AC-1 regex (#1655) matches them once stderr is captured.Follow-ups
tsc --noEmitis clean.testandcanarypassed at 84e2bf6 and are re-running at f24f520.🤖 Generated by
sequant run