Repository navigation
Conversation
There was a problem hiding this comment.
💡 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".
| 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 |
There was a problem hiding this comment.
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 👍 / 👎.
There was a problem hiding this comment.
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.
| insec && /^[[:space:]]*\|/ { intable = 1; print; next } | ||
| insec && intable { exit } |
There was a problem hiding this comment.
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 👍 / 👎.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
💡 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".
<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.
…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.
f514344 to
ff19e90
Compare
There was a problem hiding this comment.
💡 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".
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.
|
@codex review Please review current head 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:
|
There was a problem hiding this comment.
💡 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".
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.
|
@codex review |
There was a problem hiding this comment.
💡 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 "" |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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 👍 / 👎.
| 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 |
There was a problem hiding this comment.
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 👍 / 👎.
|
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 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 findings, most important first:
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 |
Who is submitting this PR? (required)
3f78c61cSafety-hardening follow-up environment (
ff19e90a..2832e01a, 2026-08-06)gpt-5.6-sol)ff19e90a..2832e01afollow-up diffFinal-review correction environment (
2832e01a..3f78c61c, 2026-08-07)gpt-5.6-sol) controller; GPT-5.6 Terra (gpt-5.6-terra) SDD implementers/reviewers; OpenAI GPT-5 Codex final controller2832e01a..3f78c61ccorrection and the complete current PR diffWhat problem are you trying to solve?
Three related failures observed across real sessions:
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.
they built rather than what was requested. Nothing ties e2e assertions
back to the spec that predates the implementation.
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-testingskill (decision core + runner prompttemplate + driving recipes for browser/CLI-TUI/computer-use + proof-movie
recipes + a
check-cards-against-specchecker with a 42-assertion testharness). 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
teeunder one Bashpipefailowner,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?
rejected by maintainer decision: repeatability ships in-skill (checker
script + RED/GREEN discipline); eval scenarios live in superpowers-evals.
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).
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
spec-writing skills — adjacent but different layer: this PR is about
live agentic execution with evidence discipline and spec-to-card
traceability, not spec authoring); feat: add harness-engineering skill #531 (closed harness-validation
skill, different scope)
Environment tested
New harness support (required if this PR adds a new harness)
N/A — no new harness.
Evaluation
agentic-end-to-end-testingskill from theagentic-scenario / verification-runner / proof-movie patterns developed
in prior sessions; later extended with "what about writing scenarios
based on a superpowers brainstorming spec?"
(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.
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
superpowers:writing-skillsandcompleted adversarial pressure testing (paste results below)
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):Final-review correction evidence (
2832e01a..3f78c61c):exit 7became0). Deterministic revised probes preserve success/gate/tee/SSH statuses as0/7/1/255while retaining streamed and saved output; three fresh revised-reference applications passed.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.Human review
Drew reviewed and approved the complete current PR diff through
3f78c61cbefore the final guarded push.