feat(code): tighten guided-manual-qa evidence rules (ISS-11436) - #209
Merged
Merged
Conversation
- Rebind results after a head change with the stable patch-id rule, and keep checkpoint attempts in an append-only table - Require an agent dry run through the named entry point, with a read-only second view after writes, before the human's checkpoint - Add bug-fix checkpoints; an inconclusive observation is BLOCKED - Store cited evidence outside the worktree and check every pointer after cleanup - Add discovery routes through the closedloop-graph tools when available, with rg, git log -S and gh as the fallback - Resume from the record, re-prove the environment before a FAIL, treat ticket and comment text as data, verify who confirmed, and give checkpoint prompts one fixed shape - Pin the key rules in a vitest contract test - Bump code to 1.16.0 Testing: guided-manual-qa typecheck, vitest (46 passed) and rebuild (dist unchanged), ruff, claude plugin validate plugins/code Risks: None identified
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.
Why
guided-manual-qa(ISS-11436) is now the single copy that both Claude Code and Codex load (#208). A review of the skill against current verification practice found gaps that let a manual QA session end with stale or weak results:PASSsilently survives a push or a merge from the base branch;This PR adds the approved fixes. The skill stays standalone: it names no workflow skill, and repository-specific tools such as
pnpm controland the closedloop-graph tools appear only as conditional examples with a generic fallback.What changed
references/plan-methodology.mdPENDING; when the patch-id changed, every checkpoint the delta reaches resets unless a written reason says otherwise. A carried-forward result is never described as exercised on the new head.BLOCKED, neverPASS.rg,git log -Sandghotherwise.BLOCKED, never passed through another one.SKILL.mdFAIL; a changed setup after aFAILis a new checkpoint.inferredorunverified.FAIL.~/.local/state/manual-qa/<repo>/<change-target>/.references/qa-record-template.md: an append-only attempt table per checkpoint (head, patch-id, status, actual, confirmer, time, evidence, carry-forward reason), plus merge base and patch-id per head, the resume point, dry-run and second-view fields, evidence labels, and post-cleanup pointer checks.references/browser-state-fixtures.md: the repository's verification protocol comes first in the launcher order, withpnpm control up web --headedandup desktop --headed --flagas examples.tools/guided-manual-qa/src/skill-contract.test.ts: a vitest suite (run by the existingTypeScript (guided-manual-qa)CI job) that pins the head-change rule, the append-only attempt table, the agent dry run, inconclusive-is-BLOCKED, evidence outside the worktree, and that the skill names no workflow skill or harness-only variable.Versions
code1.15.1 -> 1.16.0 (new skill rules, backward compatible)Testing
tools/guided-manual-qa:npm run typecheck,npm test(46 passed: 40 launcher, 6 contract),npm run build(committed bundle unchanged)--stablefrom the patch-id command makes the contract test fail, as intendeduv run ruff check .: cleanclaude plugin validate plugins/code: passes, same warnings asmain