Skip to content

feat: agentic-end-to-end-testing skill + spec-derived scenario cards - #1931

Closed
obra wants to merge 38 commits into
devfrom
agentic-end-to-end-testing
Closed

obra wants to merge 38 commits into
devfrom
agentic-end-to-end-testing

Conversation

@obra

@obra obra commented Jul 5, 2026 •

Copy link
Copy Markdown
Owner

Who is submitting this PR? (required)

Field Value
Your model + version Claude Fable 5 (claude-fable-5)
Harness + version Claude Code CLI 2.1.199
All plugins installed superpowers 6.1.0, claude-session-driver 4.0.0, episodic-memory, superpowers-chrome, context7, linear, plugin-dev, agent-sdk-dev
Human partner who reviewed this diff Jesse Vincent (@obra) directed the initial design; Drew Ritter (@arittr) reviewed and approved the complete current PR diff through 3f78c61c

Safety-hardening follow-up environment (ff19e90a..2832e01a, 2026-08-06)

Field Value
Model + version OpenAI GPT-5.6 Sol (gpt-5.6-sol)
Harness + version Codex Desktop 0.147.0-alpha.1.2
All plugins installed documents 26.805.11740, pdf 26.805.11740, spreadsheets 26.805.11740, presentations 26.805.11740, template-creator 26.805.11740, sites 0.1.34, browser 26.730.61639, computer-use 1.0.1000621, visualize 1.0.19, primeradiant-ops 2.5.0, linear 11c74d6b, slack 11c74d6b, github 11c74d6b, codex-security 11c74d6b, superpowers 6.2.0, cloud-build 0.9.0
Human partner who reviewed the follow-up diff Drew Ritter (@arittr) — reviewed and approved the complete ff19e90a..2832e01a follow-up diff

Final-review correction environment (2832e01a..3f78c61c, 2026-08-07)

Field Value
Models + versions OpenAI GPT-5.6 Sol (gpt-5.6-sol) controller; GPT-5.6 Terra (gpt-5.6-terra) SDD implementers/reviewers; OpenAI GPT-5 Codex final controller
Harness + version Codex Desktop 0.147.0-alpha.1.2
All plugins installed documents 26.805.11740, pdf 26.805.11740, spreadsheets 26.805.11740, presentations 26.805.11740, template-creator 26.805.11740, sites 0.1.34, browser 26.730.61639, computer-use 1.0.1000621, visualize 1.0.19, primeradiant-ops 2.5.0, linear 5.0.0, slack 0.1.6, gmail 0.1.7, github 0.1.8-2841cf9749ae, codex-security 0.1.18, superpowers 6.2.0 during implementation with 6.1.1 active for final integration, cloud-build 0.9.0
Human partner who reviewed the correction and complete diff Drew Ritter (@arittr) — reviewed and approved both the complete 2832e01a..3f78c61c correction and the complete current PR diff

What problem are you trying to solve?

Three related failures observed across real sessions:

  1. Agents claim e2e success without unfakeable evidence — "looks fine"
    reports, assertions weakened until they pass, stale builds tested as if
    they were the branch. The patterns that prevent this (scenario cards,
    disposable verification runners, proof movies/documents, honest-failure
    reporting) existed only in a personal dotfiles skill and scattered
    session history, not in core.
  2. Post-implementation test drift: models write e2e tests for the behavior
    they built rather than what was requested. Nothing ties e2e assertions
    back to the spec that predates the implementation.
  3. Role contamination: in a controlled 4-worker experiment, an agent that
    found a real product bug while verifying it also fixed it mid-run,
    citing ambient norms — same prompt, second worker declined. Ambient
    norms do not decide finder-vs-fixer consistently; the boundary must be
    explicit.

What does this PR change?

Adds the agentic-end-to-end-testing skill (decision core + runner prompt
template + driving recipes for browser/CLI-TUI/computer-use + proof-movie
recipes + a check-cards-against-spec checker with a 42-assertion test
harness). Extends brainstorming with a conditional "E2E scenario cards"
table for specs that add or change user-visible behavior, and gives
subagent-driven-development a pre-finish offer of spec-derived e2e
verification (procedure in a progressive-disclosure doc). Design specs and
plans are committed under docs/superpowers/.

Final-review corrections make fenced-code filtering honor opener width,
place each proof-log/SSH producer plus tee under one Bash pipefail owner,
and require passing scenario cards to be committed and focused-reviewed
before the branch may proceed to finishing.

Is this change appropriate for the core library?

Yes: agent-agnostic, project-agnostic verification methodology. No
third-party service integration; the only script is bash + POSIX tools.
The eval scenarios developed alongside it live in the separate
superpowers-evals repo (branch agentic-e2e-scenarios), not in core.

What alternatives did you consider?

  • Quorum/Gauntlet eval scenarios as the repeatability mechanism —
    rejected by maintainer decision: repeatability ships in-skill (checker
    script + RED/GREEN discipline); eval scenarios live in superpowers-evals.
  • Cards written at spec time — rejected after a controlled experiment:
    the falsification table locks at spec time, card expansion happens
    post-implementation under a verbatim-lift rule the experiment showed
    agents follow (4/4 cells verbatim).
  • Fix-empowered verification agents — rejected for flag-only: one
    mandate per agent; the agents that find issues are never responsible for
    issues being solved.

Does this PR contain multiple unrelated changes?

It contains one skill plus its integrations. The brainstorming table, the
checker, and the SDD offer all exist to feed or consume the new skill's
scenario cards — none stands alone without it.

Existing PRs

Environment tested

Harness (e.g. Claude Code, Cursor) Harness version Model Model version/ID
Claude Code CLI 2.1.199 Fable 5 (controller), Sonnet (subjects/workers) claude-fable-5, claude-sonnet-5

New harness support (required if this PR adds a new harness)

N/A — no new harness.

Evaluation

  • Initial prompt: build an agentic-end-to-end-testing skill from the
    agentic-scenario / verification-runner / proof-movie patterns developed
    in prior sessions; later extended with "what about writing scenarios
    based on a superpowers brainstorming spec?"
  • Eval sessions after the change: 4 live claude-session-driver worker runs
    (2 scenarios × bare/skill arms) against real fixture apps; a 4-worker
    card-authoring drift experiment; 9/9 positive + clean negative-gate
    micro-tests for the brainstorming predicate (the first predicate wording
    failed the negative gate 0/4 and was re-keyed on that evidence); 6/6
    micro-tests for the SDD offer; 23-assertion checker harness plus
    adversarial probe fixtures.
  • Before/after: bare arms auto-fired an older personal skill and ran
    looser workflows; skill arms read the new SKILL.md, loaded supporting
    files on demand, produced per-assertion PASS/FAIL tables with concrete
    evidence, reported failures honestly without touching product code, and
    one arm dispatched a disposable runner with the template filled
    correctly (honesty clause verbatim, evidence re-read gate observed in
    the event stream).

Rigor

  • If this is a skills change: I used superpowers:writing-skills and
    completed adversarial pressure testing (paste results below)
  • This change was tested adversarially, not just on the happy path
  • I did not modify carefully-tuned content (Red Flags table,
    rationalizations, "human partner" language) without extensive evals
    showing the change is an improvement

Adversarial results (summary): RED baselines recorded before every GREEN
edit; reviewer probes found two real checker false-passes (whole-file
falsification match; level-1 heading not terminating the Expected section)
— both fixed with regression tests; task reviewers forensically verified
RED/GREEN claims against session transcripts and caught one
misrepresented baseline, which was corrected; brainstorming/SDD wording
was micro-tested against control arms and pressure scenarios (including a
wrap-up-efficiently-while-human-is-away arm) before landing.

Follow-up safety-hardening evidence (ff19e90a..2832e01a):

  • Checker RED/GREEN coverage now rejects missing or malformed delimiters, fenced-only table/card content, traversal, uppercase, and empty-segment card names while retaining backticked kebab-case names and explicit pipe-less-table diagnostics.
  • Tmux ownership pressure test: the original recipe destroyed a pre-existing collision sentinel in 3/3 runs; the final recipe preserved the sentinel and cleaned only its owned session in 3/3 runs, repeated twice. A deterministic creation-failure probe also preserved the pre-existing session.
  • A clean disposable clone passed the checker, shell-lint, Codex marketplace/package, Pi, SessionStart, Antigravity, Kimi, OpenCode non-integration, Codex sync, and brainstorm-server suites.

Final-review correction evidence (2832e01a..3f78c61c):

  • Process-level checker fixtures prove that shorter same-family and other-family markers do not close a longer fence, while a longer same-family closer does.
  • The old proof pipeline directly reproduced a false success (exit 7 became 0). Deterministic revised probes preserve success/gate/tee/SSH statuses as 0/7/1/255 while retaining streamed and saved output; three fresh revised-reference applications passed.
  • Five current-guidance lifecycle runs reproduced cards or bootstrap tables reaching finishing outside reviewed HEAD. Five revised-guidance runs reached finishing only after exact-path artifact commits and focused review; one treatment exercised a requested card correction through a separate fixer, checker/card rerun, recommit, and re-review. Two initially inadmissible GREEN runs were excluded and replaced with clean-entry, fresh-role runs before the evidence was accepted.
  • On 2026-08-07 a fresh disposable clone passed the checker and width cases, Bash syntax, shell lint, diff check, Codex marketplace/package/sync, Pi, SessionStart, Antigravity, Kimi, OpenCode non-integration, and brainstorm-server suites. An independent final whole-branch review passed after verifying the replacement evidence.

Human review

  • A human has reviewed the COMPLETE proposed diff before submission

Drew reviewed and approved the complete current PR diff through 3f78c61c before the final guarded push.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c9375f71fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +3 to +5
Use a Chrome/CDP browser tool. After authenticated navigation, drive the page
through `eval` against the app's own JS entry points rather than synthesizing
clicks where possible — it's more robust to layout change than clicking

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Drive browser scenarios through the user-facing control

For a web feature whose behavior is initiated by a button, form, keyboard shortcut, or other DOM event, calling window.App.doAction directly bypasses the event wiring and any UI-side argument/state handling. A broken or disconnected control can therefore produce a passing report even though a real user cannot trigger the feature, which contradicts this skill's end-to-end evidence goal; use the visible control by default and reserve internal calls for explicitly scoped state probes.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that this distinction matters. This follow-up intentionally leaves browser-driving behavior unchanged: deciding when internal evaluation is permitted needs a separate behavior design and adversarial eval, while the approved hardening slice is limited to checker parsing/path confinement and tmux ownership. Leaving this thread unresolved for that follow-up.

Comment on lines +57 to +58
insec && /^[[:space:]]*\|/ { intable = 1; print; next }
insec && intable { exit }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Recognize Markdown tables without outer pipe delimiters

Markdown permits pipe tables without leading/trailing outer pipes (for example, Card | Covers | Falsification), but this extractor only begins a table for lines matching an initial |. In that valid form the checker exits 2 with “no scenario table,” preventing the documented bootstrap/verification flow for specs authored in the other common Markdown-table form.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're intentionally retaining the canonical outer-pipe table contract rather than growing this Bash checker into a general Markdown parser. The updated checker now fails closed with exit 2 and an explicit outer-pipe diagnostic, and the regression suite locks that behavior. Leaving this thread unresolved because the requested compatibility is not implemented.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f514344614

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

obra added 21 commits July 19, 2026 15:16
<date> inside the innerHTML string literal parses as an empty HTML
element in the browser rather than literal text if left unsubstituted.
Use the house bracket convention instead.
obra and others added 3 commits July 19, 2026 15:17
…disclosure doc

The predicate-keyed at-skill-start trigger is replaced by an unconditional
offer to the human after the final whole-branch review, before
finishing-a-development-branch. The procedure (spec discovery,
author/checker/runner flow, fix-wave rules) moves to spec-derived-e2e.md;
SKILL.md keeps the offer, a flowchart node, and the Integration reference.
Micro-tested 6/6: four controllers at the post-review point all offer
before finishing (including under wrap-up-efficiently pressure with the
human away); two accepted-offer controllers follow the disclosure doc with
the checker run by the controller, one fix subagent, and a fix-diff review
gate. Deviation recorded in the design spec.
Keep the concrete subagent-driven-development example aligned with the unconditional pre-finish offer in the flowchart and normative prose. This preserves the reviewed conflict resolution after replaying the PR linearly onto current dev.
@arittr
arittr force-pushed the agentic-end-to-end-testing branch from f514344 to ff19e90 Compare July 19, 2026 22:21

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ff19e90a9b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

arittr added 8 commits July 23, 2026 20:20
Record the approved PR #1931 follow-up scope without expanding the checker into a general Markdown parser. The design keeps canonical outer-pipe tables, adds bounded fenced-code filtering, requires a delimiter row, validates card names before path construction, and gives tmux sessions explicit per-run ownership.

Define focused deterministic regression coverage and a narrowly scoped tmux RED/GREEN pressure test. Explicitly defer the browser-control and optional-outer-pipe findings so later implementation and review-thread responses cannot overclaim what this slice fixes.

Prompt context: Drew asked to spec the review feedback, avoid overworking Markdown compatibility, add safety where warranted, and defer the browser behavior change.
Apply the branch's spec self-review rules to the approved safety-hardening design. Add locked E2E scenario-card rows for malformed tables, fenced structure, card-path confinement, canonical table diagnostics, and tmux ownership.

Clarify the backticked card-name boundary, set the focused tmux pressure test to three RED and three GREEN runs, and name the packaging verification command. These changes remove ambiguity without expanding the implementation scope.
Turn the approved bounded safety design into an executable TDD plan for the five in-scope review findings. The plan preserves canonical outer-pipe tables, defines the fenced-code and delimiter contracts, validates card filename stems before lookup, and scopes tmux cleanup to sessions created by the scenario.\n\nIt also names the RED/GREEN behavior-eval and final human-review gates while explicitly leaving browser-driving semantics and pipe-less Markdown table support out of scope. All work is rooted in the f32f review worktree based on PR head ff19e90.
Filter backtick and tilde fenced examples before locating the E2E scenario-card table, so illustrative Markdown cannot satisfy the mechanical gate or shadow a later real table.\n\nParse only the documented leading/trailing-pipe row form and require a same-width delimiter row whose cells contain at least three hyphens with optional alignment colons. Missing or malformed delimiters now remain check failures instead of being silently treated as data.\n\nThe process-level harness records RED reproductions for both false-pass forms, fenced-only tables, and fenced examples before real tables, then verifies the focused GREEN behavior and prior contracts.
Reuse the bounded fence filter for every scenario-card structural check so headings, coverage text, and falsification prose inside examples cannot satisfy the gate. Valid cards may still contain unrelated fenced examples.\n\nTreat each Card cell as a filename stem: remove at most one enclosing backtick pair, require lowercase kebab case, and reject invalid values before they can be stored or joined to the cards directory. This blocks parent traversal, subdirectories, uppercase names, and empty segments.\n\nAdd real-process RED/GREEN coverage for fenced-only cards, traversal, invalid stems, preserved backtick behavior, and the explicit diagnostic for intentionally unsupported pipe-less tables.
Replace deterministic shared tmux names and preemptive deletion with a readable run-unique name, an ownership bit set only after successful creation, and cleanup guarded by that ownership. A collision now fails closed: the runner chooses another unique name or reports failure and never reclassifies the existing session as stale.\n\nwriting-skills pressure evidence used three fresh subjects per arm with real sentinel sessions. RED was 0/3: every subject followed the old recipe by killing the pre-existing session, recreating the same name, and cleaning it again. GREEN was 3/3: every subject preserved the original session identity, created a distinct owned session, captured READY, and removed only the owned session. The controller independently verified original IDs $9, $10, and $11 before removing the disposable sentinels.
Make the copyable recipe independent of ambient set -e behavior. A failed tmux new-session now reports the failure and exits while session_owned is still false; only a successful creation reaches the ownership assignment.

A real collision reproduced the prior snippet killing its sentinel after marking a failed creation as owned. The guarded version preserved the exact sentinel identity, and three refined fresh-agent runs again preserved IDs 17, 18, and 19 while cleaning only their fallback sessions.
Keep the implementation plan's copyable tmux recipe aligned with the reviewed skill. A failed new-session now exits while ownership is false; only successful creation reaches the ownership assignment.

arittr commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

@codex review

Please review current head 2832e01a, with particular attention to the safety-hardening follow-up ff19e90a..2832e01a.

The follow-up addresses five prior findings: delimiter validation, fenced spec tables, fenced card structure, card-path confinement, and tmux session ownership. Browser-control semantics and pipe-less Markdown-table compatibility remain intentionally out of scope and their threads remain open.

Verification evidence:

  • Clean-clone checker, shell-lint, Codex marketplace/package, Pi, SessionStart, Antigravity, Kimi, OpenCode non-integration, Codex sync, and brainstorm-server suites passed.
  • The original tmux recipe destroyed a pre-existing collision sentinel in 3/3 RED runs.
  • The final recipe preserved the sentinel and cleaned only its owned session in 3/3 GREEN runs, repeated twice; a forced creation-failure probe also preserved the pre-existing session.
  • Independent read-only review of the exact follow-up range found no Critical, Important, or Minor issues.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2832e01ac5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

arittr added 6 commits August 6, 2026 16:21
Amend the PR 1931 safety-hardening design for the three findings raised by final Codex review at 2832e01.\n\nSpecify that proof and optional SSH snapshot pipelines are wholly owned by a pipefail-enabled Bash process, and that fenced-code filtering records both marker family and opening width.\n\nKeep scenario cards on the normal test-first lifecycle: author, validate, and run them before committing; after they pass, commit only the reported artifacts, focused-review that delta, and require the cards in HEAD with a clean tree before finishing. Bootstrap changes to the governing spec still require human approval.\n\nDefine behavior-focused RED/GREEN coverage for the checker, evidence recipes, and post-review artifact lifecycle while preserving the deferred browser-control and pipe-less-table scope.
Record Drew's approval of the final-review correction and reduce the amendment to the minimum distinct contracts.\n\nCombine proof-log and optional SSH capture into one evidence-pipeline scenario because they share the same pipefail ownership root cause. Remove repeated outcome text while retaining the test-first card lifecycle, bootstrap approval boundary, and required behavior evaluations.
Add a focused implementation plan for the three findings raised by final review of PR 1931 at 2832e01.\n\nKeep each correction independently testable: process-level RED/GREEN coverage for fence width, executable and fresh-agent application evidence for pipefail ownership, and adversarial repository-state sessions for post-run card commit and review.\n\nPreserve the worktree-only boundary, deferred browser and pipe-less-table scope, per-skill evaluation stop points, complete-diff human approval, ordinary fast-forward push, and final Codex review gates.
Require spec-derived E2E artifacts to be authored, independently checked, and run before an exact-path commit. Add conditional bootstrap approval, focused artifact review, a separate correction/rerun loop, and clean HEAD/path durability checks before finishing. Preserve existing product-code failure handling.
@arittr

arittr commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3f78c61cbe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


```bash
# probe capture devices
/opt/homebrew/bin/ffmpeg -f avfoundation -list_devices true -i ""

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Move ffmpeg/Pillow movie generation out of core

This core recipe makes the advertised proof-movie path depend on Homebrew ffmpeg/ffprobe and later Pillow (from PIL import ...), despite not adding a new harness. The repository explicitly rejects even optional third-party dependencies and directs external-tool features to standalone plugins, so this movie functionality needs to move out of core or be implemented without those dependencies.

AGENTS.md reference: AGENTS.md:L36-L38

Useful? React with 👍 / 👎.

opening_width = marker_width
next
}
if (in_fence && marker_family == family && marker_width >= opening_width) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject non-whitespace suffixes on closing fences

When a fenced example contains a same-width marker followed by text, such as ````this-is-content-not-a-closer` inside a four-backtick fence, Markdown treats that line as content rather than a closing fence. This condition nevertheless closes the fence because it checks only marker family and width, exposing a following sample table or card headings to validation. A current-head process probe with that structure makes a fenced-only scenario table pass, so closing markers must additionally require a whitespace-only suffix.

Useful? React with 👍 / 👎.

Comment on lines +69 to +70
Card FAILs are findings: dispatch ONE fix subagent with the complete list,
then re-run the failed cards. The card author never fixes. Fix-wave commits

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Re-run all cards after each product fix

When multiple cards run and one failure triggers a product-code fix, re-running only the failed cards leaves earlier results tied to the pre-fix build. For example, card A can pass, card B can fail, and B's fix can regress A; this procedure then sees B pass and proceeds even though A now fails on the branch being shipped. Re-run the full checked card set after every product fix so all passing evidence describes the same final revision.

Useful? React with 👍 / 👎.

@obra

obra commented Sep 3, 2026

Copy link
Copy Markdown
Owner Author

Agentic review note — not a human review, not an approval.

I'm Claude, an AI agent (Fable 5.1, Claude Code 2.1.259), posting from Jesse (@obra)'s account at his direction. Jesse asked me to review the open PRs that resolve open issues; the security pass, code review, and local test runs below were done by Opus subagents under my direction against dev at fd02874 (v6.3.0). Jesse has not reviewed this PR yet. Nothing here merges, approves, or requests changes on his behalf; it is information for him and for the author.

Security pass: REVIEW NEEDED (publication hygiene, not threat). All 21 files read. No network, credential, or obfuscated content; the one executable (scripts/check-cards-against-spec) is a read-only markdown parser with anchored-regex validation of card names and traversal regression tests; its harness is mktemp-confined. Flags: a copy-runnable cross-repo delete snippet in the plan doc gated only by prose; two leaked session IDs despite the PR's own no-session-ID rule; 40+ personal /Users paths including a private dotfiles repo; driving-web-browser.md tells agents to put a literal auth token in a URL (scope to disposable local creds); fixed /tmp capture paths. Trigger description collides with the e2e-scenario-testing skill live in the maintainer's dotfiles until Task 13 retires it.
Code review verdict: request-changes.
Local tests: not run (nothing from this PR was checked out or executed; held pending the maintainer's call)

Code review findings, most important first:

  1. Demonstrated checker false-PASS: scripts/check-cards-against-spec:62 closes a fence on any same-family run of at least the opening width, but CommonMark requires a whitespace-only suffix, so a line like note inside a fence closes it and re-exposes the fenced example table and card headings to validation. This is the false-PASS class already fixed twice (2a2e0b4, a0885c0); Codex raised it on head 3f78c61 on 2026-08-07 and no commit landed after. Needs a whitespace-only-suffix check plus a regression fixture.
  2. Hard third-party dependencies in core: recording-a-proof-movie.md and rendering-a-demo-movie.md hardcode /opt/homebrew/bin/ffmpeg and ffprobe, import PIL, and use ~/Desktop and a fixed /tmp/app-movie. CLAUDE.md's zero-dependency rule and its project-specific-configuration clause both apply. Move the two movie recipes to a plugin, or make them tool-agnostic with the concrete commands optional-if-present.
  3. driving-web-browser.md:3-5 contradicts SKILL.md:11: the skill's premise is driving the live app 'the way a user would', but the web recipe defaults to eval against window.App.doAction rather than synthesizing clicks, so a disconnected button passes. @arittr deferred this deliberately; it is nonetheless the default for the most common surface and precisely what issue Add E2E browser testing for web app development #374 asks for.
  4. skills/brainstorming/spec-document-reviewer-prompt.md is not updated: the PR makes the E2E scenario-cards table a spec-authoring MUST, but the dispatched spec reviewer's checklist has no scenario-table row, so it will approve specs missing the now-mandatory section. The one consumer of the changed contract that was missed.
  5. spec-derived-e2e.md:70 re-runs only failed cards after a product fix, so a fix for card B that regresses card A proceeds. Re-run the full checked set.
  6. House voice: SKILL.md:17 and :82 say 'the user' where core skills say 'your human partner'; the new skill uses the phrase zero times.
  7. SKILL.md:26 'Don't pad' plus 'collapse any to one line when the scenario is simple' is prohibition-plus-nuance-clause form, which writing-skills/SKILL.md:470 says tests worse; the discipline prohibitions ('NEVER weaken an assertion') are the right form and should stay.
  8. Minor: test/scenarios/ hardcoded as the card dir where this repo uses tests/; the body says a 23-assertion harness, the thread says 42, actual is 44; feat: add harness-engineering skill #531's title is misquoted.
  9. Hygiene (from the security pass): 37 personal /Users paths and two leaked session IDs are confined to docs/superpowers/plans/, zero in skills/; existing dev plans carry the same, so this is precedent. The genuinely new item is Task 13's cross-repo delete snippet targeting the dotfiles repo in a doc headed 'For agentic workers', gated only by prose.

What was verified: Trigger is distinct inside core (no other core description mentions e2e, browser, or prove) but collides near-verbatim with the e2e-scenario-testing skill in the maintainer's dotfiles until Task 13 retires it. Structure matches house convention. Checker tests are real: distinct fixtures, exit-code and message assertions, t16-t18 genuinely exercise path confinement; shellcheck clean at the repo's gate; untested branches are all diagnostic messages. The single deletion in subagent-driven-development/SKILL.md:106 reroutes the final-review edge through the new 'Offer spec-derived e2e verification' node with no orphans. @arittr's six findings are each answered with a commit and RED/GREEN evidence; the 2026-08-07 Codex round (3 findings) has no reply. Issue #374 is partially resolved: cards-plus-evidence discipline is its core ask, but the web recipe bypasses DOM controls by default and the SDD hook is an offer, not a gate; #966 and #1112 are still open and merging should trigger a decision on both.

Against the PR rules in CLAUDE.md: dev base PASS; identity tables PASS (three, including follow-up waves); human reviewer PASS (@arittr reviewed through 3f78c61, matching the on-thread review); existing PRs PASS; one problem PASS; third-party dependency FAIL (ffmpeg/ffprobe/Pillow, Homebrew paths); eval evidence PARTIAL (detailed RED/GREEN narrative, no transcripts, corpus uncommitted); tuned content PASS; MERGEABLE/CLEAN. Load-bearing for approve: the fence-closer fix with a regression fixture, and resolving the ffmpeg/Pillow dependency. Cheap in the same push: the spec-reviewer row, full-set re-run, and the two voice fixes. Acceptable as stated follow-ups: the browser eval-vs-click default and pipe-less tables.


Findings can be wrong. If something above misreads your change, reply here — Jesse reads these.

— Claude Fable 5.1, Claude Code 2.1.259, session https://claude.ai/code/session_01UiEfXTZAC5cuH4hgx24mbB

@obra obra added the skill:subagent-driven-development The subagent-driven-development skill label Sep 20, 2026
@obra obra added skill:brainstorming The brainstorming skill enhancement New feature or request labels Oct 22, 2026
@obra obra closed this Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request skill:brainstorming The brainstorming skill skill:subagent-driven-development The subagent-driven-development skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants