Skip to content

feat(qa): treat unchecked PR test-plan boxes that name a command as unexecuted declared evidence - #1065

Merged
admarble merged 1 commit into
mainfrom
feat/qa-unchecked-test-plan-boxes
Sep 16, 2026
Merged

admarble merged 1 commit into
mainfrom
feat/qa-unchecked-test-plan-boxes

Conversation

@admarble

@admarble admarble commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

/qa §6h (Declared-Evidence Execution) now also reads the PR body's ## Test plan / ## Verification section. An unchecked - [ ] item whose text names a backtick-quoted command is treated exactly like a declared-evidence AC that was not executed: run it if this environment can; otherwise list it as Executed? No in the §6h table and emit a §6j test_gap with recommendedAction: "pause_for_human" naming what the human must supply. Example row added to both copies of the §6h output template.

Skill-only change, mirrored to templates/skills/ and skills/ (canonical .claude/skills/ → mirrors via check-skill-sync --fix).

Why

On #1062 the single unchecked box — CODEX_LIVE=1 npx vitest run …codex.live… annotated "not run here; reports SKIPPED rather than passing" — hid a test that could not pass in any environment (it spawned in a non-git temp dir, which codex exec refuses). Orchestrated QA marked AC-7 MET from the box's own wording. The owner's second look with a real binary and key found it, along with a token double-count. Process gap, not model gap: an unrunnable test shipped as a checkbox because nothing treated the checkbox as a claim.

Verification

  • npm run lint:skill-gates, lint:skill-calls, lint:skill-sync, lint:constitution-dod — all clean
  • Tests that read skills/qa/SKILL.md — see commit CI
  • No new §7 verdict floor introduced: the rule routes through the existing PENDING / declared_evidence_status == Incomplete mechanism §6h already floors on, so lint:skill-gates' reachability check is unaffected.

Follow-up from the #1062 review; see the reflection action items in that session.

🤖 Generated with Claude Code

…nexecuted declared evidence

Section 6h (Declared-Evidence Execution) now reads the PR body's Test plan / Verification section: an unchecked '- [ ]' item naming a backtick-quoted command is handled like a declared-evidence AC that was not run — execute it if the environment can, otherwise list it as Executed? No and emit a 6j test_gap with pause_for_human naming what the human must supply.

Motivating case: PR #1062's one unchecked box ('CODEX_LIVE=1 npx vitest run ...codex.live...', annotated 'not run here; reports SKIPPED') hid a test that could not pass in any environment (non-git temp cwd the CLI refuses). QA marked the AC MET from the box's own wording; the owner's second look with a real binary found it.

Mirrored to templates/skills and skills/ via check-skill-sync --fix; skill-gates, skill-calls, skill-sync, constitution-dod lints clean.

Claude-Session: https://claude.ai/code/session_01LKP1FKm7sK7PEegt7vWhaJ
Entire-Checkpoint: a36c796c63ec
@admarble
admarble merged commit 32118b7 into main Sep 16, 2026
9 checks passed
@admarble
admarble deleted the feat/qa-unchecked-test-plan-boxes branch September 16, 2026 00:07
admarble added a commit that referenced this pull request Sep 24, 2026
…networkAccess known key (#1107)

* docs: 2.16 release notes — README what's new, Codex backend reference, troubleshooting, two missing changelog entries

- README: What's new in 2.16; Codex note links the new reference page.
- docs/features/codex-agent-backend.md: prerequisites, init --agent codex provisioning, user-config trust entry, run.codex settings, what the driver passes (#1076/#1079 sandbox overrides), doctor checks, limitations.
- docs/troubleshooting.md: Codex Issues section (hooks silently skipped, skills not discovered, pre-2.16 commit/network failures, doctor probes).
- CHANGELOG: Changed entries for #1065 (qa declared-evidence gate) and #1101 (env|grep guard, red tests need an issue number); note the run.codex.networkAccess known-key fix.
- settings.ts: add networkAccess to KNOWN_KEYS[run.codex] so the documented key no longer warns as unknown; regression test.

* docs(codex): note typed usage-limit failures (#1087) and link the driver guide
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