Repository navigation
feat(#1652): Evidence that names an env file, a production CLI or a live URL is handed to a person — classified in code, listed in the qa prompt as "do not run", recorded per AC in the run log, printed with its command in the run summary - #1679
Merged
admarble merged 4 commits intoNov 15, 2026
Merged
admarble merged 4 commits into
admarble merged 4 commits into
Conversation
…an commands; run log and summary name them Entire-Checkpoint: d2e0efe2da72
Entire-Checkpoint: 5f60cfca0174
…atch-executor tests Entire-Checkpoint: 5f60cfca0174
Contributor
Author
Read firstComputed from the diff, the issue's Residue
Tests
Explained
AC verdict: the |
…evidence-that-names-an-env-file-a-producti
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
#1652 is done and the branch
feature/1652-feat-qa-evidence-that-names-an-env-file-a-productiis pushed. No PR from me: the orchestrator opens it.What it does: before each qa dispatch, the run classifies the commands in every AC's Evidence clause. If a command names an env file, a production CLI or a live URL, qa is told not to run it and to report that AC as
PENDING. The run log records the reach for each AC. The run summary prints#N AC-N needs a person: `<command>`whatever QA reported.All six ACs are met. Every AC's Evidence command passes as written, build and lint pass, and the three gate tests are mutation-verified.
AC verification
src/lib/evidence-reach.ts. It flags--env-file,.envpaths, the 10 listed CLIs (also throughnpx) and non-local URLs. It leavesnpx vitest run,localhostURLs and URLs inside agrep/rg/ag/git greppattern alone.npx vitest run src/lib/evidence-reach.test.ts→ 21 passedphase-executor.evidence-reach.test.ts→ 4 passedrun-log-schema.ts: optionalreachandreachReasonson eachacs[]entry; the log stays atversion: 1and old logs still validate.-t "reach"→ 3 passedrun-display.ts: oneneeds a personline per command, printed from the classifier, not from the QA output.-t "needs a person"→ 2 passed0batch-executor.tspasses the block toexecutePhaseWithRetry.batch-executor.evidence-reach.test.tsdrives the realrunIssueWithLogging. The same test checks the run-logreachentries andIssueResult.needsHumanMutation-verified: AC-6 — replaced the wiring at the qa dispatch; the batch-executor.evidence-reach case failed; restored. AC-4 — deleted the summary block; the run-display case failed; restored. AC-3 — deleted the schema fields; the run-log-schema case failed; restored. All three were recorded with
sequant mutation check.Files changed
src/lib/evidence-reach.tsand its test.src/lib/workflow/ac-status.ts:acRecordForis now exported and takes the issue number directly, and entries carryreach.batch-executor.ts:withEvidenceReachContext, plus a lookup run once per issue and cached on the issue's run state.types.ts:IssueResult.needsHuman.run-log-schema.ts,run-display.ts, the new test files, one paragraph indocs/reference/run-command.mdunder "Phase agent environment", and a CHANGELOG entry.Checks
npm run buildandnpm run lintpass.npx vitest run --changed origin/main, 163 files) ran in three shards:batch-executor.test.ts(my diff caused it). That file's state double holds no AC record, so the new lookup beforFixes #1652
Runner verification (2026-11-11)
I ran each AC's Evidence command verbatim in the worktree at 8ad978a.
evidence-reach.test.ts, 21 passed, 0 failed.phase-executor.evidence-reach.test.ts, 4 passed, 0 failed.run-log-schema.test.ts -t "reach", 3 passed (86 skipped), 0 failed.run-display.test.ts -t "needs a person", 2 passed (23 skipped), 0 failed.0The classifier implements P-9's list exactly (
vercel,supabase,netlify,fly,heroku,wrangler,railway,aws,gcloud,az), plus strippingnpx,bunx,pnpm dlx|execandyarn dlx. Whether the qa agent obeys the block is the smoke test's to show (#1655, OQ-3).Follow-ups
sequant readyand--ready-gateqa passes don't get the do-not-run block. The dispatch sites are outside this issue's "may touch", and the spec comment recommended a follow-up. Filed as feat(qa): the ready gate's qa passes get #1652's do-not-run block (--ready-gate and sequant ready) #1681.env,npm exec,sh -cor the nameflyctlbypass the rule. The classifier follows P-9's fixed first-word list as planned. Filed as feat(qa): evidence reach sees production CLIs behind env, npm exec and sh -c, and flyctl #1682.canarypassed;testis re-checked before merge.🤖 Generated by
sequant run