Skip to content

feat(#1521): the verdict comment names its reviewer — separate session, driver and model, author's driver and model beside it — and the docs name phases.qa.agent as the independence knob - #1551

Merged
admarble merged 2 commits into
mainfrom
feature/1521-feat-qa-the-verdict-comment-names-its-reviewer-sep
Oct 19, 2026

Conversation

@admarble

@admarble admarble commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Every QA verdict comment now ends with a line naming who reviewed and who wrote the change. Build, lint and the affected tests pass, and the branch is pushed with no PR opened. AC-4 is the runner's check against a real testbed verdict, so I haven't run it.

The line reads _Reviewed in a separate session by <driver> (<model>); the change was written by <driver> (<model>)._. The model comes from the phase result's resolvedModel, else the phase policy's model, else its requestedModel. The driver comes from resolvePhaseAgent. Agent output is never read.

  • No reported model: the line says model not reported.
  • No exec or loop phase in the run: it says the change author was not recorded.
  • /loop ran after exec: the line names the loop phase.

The new logic is in src/lib/workflow/qa-verdict-attribution.ts. The change to batch-executor.ts is minimal: an optional trailing attribution parameter on buildQaVerdictComment and postQaVerdictComment, and one argument at the call site. I placed the line after the SEQUANT_QA_VERDICT marker, so the line is the last visible line and the marker moves up one. A grep found no consumer of the marker outside batch-executor.ts.

Part of #1521. AC-4 (a real verdict comment carries the line) is a post-release proof, so the issue stays open until then.

QA verdict: NEEDS_VERIFICATION — acceptance criteria met, pending external verification (e.g. CI or a manual test). See the QA review comment.

Runner verification (2026-10-19)

The runner re-ran AC-1, AC-2, AC-3 and AC-5 verbatim at f8dd5b0:

  • AC-1: 10 passed
  • AC-2: 3
  • AC-3: 1
  • AC-5: 0

AC-3 mutation repeated: deleting the docs section makes the grep read 0, and documents a settings example that resolves qa to a different driver fails. Restored.

CI test passed.

Owner rulings (2026-10-19):


🤖 Generated with Claude Code

Entire-Checkpoint: 9be216950075
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant