Skip to content

Feat/research and verification skills - #2727

Open
dinh2350 wants to merge 3 commits into
obra:mainfrom
dinh2350:feat/research-and-verification-skills
Open

dinh2350 wants to merge 3 commits into
obra:mainfrom
dinh2350:feat/research-and-verification-skills

Conversation

@dinh2350

Copy link
Copy Markdown

This PR MUST target the dev branch, not main. main is the
released branch; active work lands on dev first. PRs opened against
main will be asked to retarget dev before review.

This project does not accept agent-written PRs that fix issues filed by
someone else
, even when your human partner hit the same problem. If you
found an issue in the tracker and decided to submit a PR for it without a
maintainer asking you to, you are wasting your tokens: the PR will be
closed. Add your report to that issue instead.

Who is submitting this PR? (required)

Field Value
Your model + version
Harness + version
All plugins installed
Human partner who reviewed this diff

What your human partner asked you to do, in their words:

Human-authored summary (required, under 200 words)

What problem are you trying to solve?

What does this PR change?

Is this change appropriate for the core library?

What alternatives did you consider?

Does this PR contain multiple unrelated changes?

Existing PRs

  • I have reviewed all open AND closed PRs for duplicates or prior art
  • Related PRs:

Environments tested

Harness (e.g. Claude Code, Cursor) Harness version Model Model version/ID

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

Clean-session transcript for "Let's make a react todo list"
paste the complete transcript here

Evaluation

  • What was the initial prompt you (or your human partner) used to start
    the session that led to this change?
  • How many eval sessions did you run AFTER making the change?
  • How did outcomes change compared to before the change?

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

Human review

  • A human has reviewed the COMPLETE proposed diff before submission

dinh2350 and others added 3 commits November 20, 2026 00:33
…de skills

research-before-brainstorming gathers what the project already answers
(codebase, library docs at the locked version, read-only DB, logs) before
brainstorming, and records it in a research brief with a summary, a system
overview diagram, and an evidence table linking each finding to its source.

verifying-ai-generated-code verifies a change in layers (static, unit,
integration, end-to-end with captured evidence), has a separate subagent
write the tests from the spec instead of the implementation, and reports
gates that could not run as "not verified".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The written design now covers acceptance scenarios in the user's terms and
which of unit, integration, and end-to-end tests prove them, with tests
written by a separate subagent from the design doc rather than from the
implementation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@auditbenchaibot auditbenchaibot 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.

Open in Audit Bench Ai

🤖 Automated review by Audit Bench Ai, not a personal review. It was posted through the GitHub account connected to Audit Bench Ai. Install the Audit Bench Ai GitHub App to have reviews posted by a separate bot account.

No actionable comments were generated in this review. 🎉

Merge readiness: 🟡 Ready to merge, with notes

Pre-merge checks: ✅ 3 · ⚠️ 2

⚠️ Checks to review: 2 warnings

Check name Status Explanation Resolution
CI checks ⚠️ No CI checks ran on this commit. Add CI so every PR is built and tested.
PR size ⚠️ 1,411 lines changed, which is hard to review well. Split it into smaller pull requests if you can.
✅ Passed checks: 3 passed
Check name Status Explanation
Merge conflicts ✅ Merges cleanly into main.
Secrets ✅ No keys, passwords or tokens in the changed code.
Blocking issues ✅ No critical or high-severity issues in the changed lines.
ℹ️ Review info
  • Commit: 644b013
  • Verdict: ✅ Pass
  • Findings: none
  • Review: local checks plus AI review of the changed lines
  • Scope: Reviewed 0/0 selected files (of 0 total): 0 reviewed by AI, 0 from cache, 0 passed local checks with nothing risky enough to send to AI. Found 0 finding(s), No secrets found.

🛠️ Open the full report and fix with AI

Thanks for using Audit Bench Ai! Free pull request reviews for open source: paste any public PR at auditbenchai.com/scan.

Reviewed by Audit Bench Ai · Build fast. Check what ships. · Review any public PR free

@danishkumar26 danishkumar26 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.

Code review of #2727 — Feat/research and verification skills (by dinh2350)

What this change does:

  • Adds skills/verifying-ai-generated-code/SKILL.md: layered verification gates (static → unit → integration → end-to-end, stop at first failure), tests written by a separate subagent that never sees the implementation, end-to-end evidence (screenshots/video/trace, using the project's own e2e framework), "not verified is a valid answer", shortcuts that defeat the gates (skip/.only/eslint-disable/@ts-ignore/any/threshold-lowering/flaky reruns), and a per-gate report table.
  • Rewrites brainstorming's Look Before You Ask and Written Design sections: Confirmed / My call / Yours to decide, evidence with sources, and design docs built from templates/design-doc.html and committed as .html.
  • Adds skills/brainstorming/references/research.md (sources, safety rules, evidence rules) and skills/brainstorming/templates/design-doc.html.
  • Adds two static HTML files: explainer/superpowers.html and a brainstorming companion HTML (~940 HTML lines total).
  • Tweaks skills/brainstorming/builder-check-prompt.md for HTML documents.

Findings:

  1. Nice to have — PR size. 1,411 lines across 7 files, including two large HTML documents, is hard to review well (the automated check on this PR flags the same). Split into smaller PRs: research docs + template in one, the verification skill in another, the HTML explainer and companion in a third.
  2. Nice to have — evidence directory. The verification skill tells users to save evidence under docs/superpowers/evidence/-/ and add it to .gitignore, but this PR changes no .gitignore, so screenshots could be committed by accident. Add the ignore line or state it in the skill.
  3. No bug found. Cross-references checked against skills/: verification-before-completion, brainstorming, writing-plans, dispatching-parallel-agents and finishing-a-development-branch all exist — no dangling links. Gates are ordered cheap-first with stop-at-first-failure, and the shortcuts list names real defeaters.

Verdict: Ship — comment only, no blocking findings. Suggest the split in finding 1.

Verification context: this repo has no CI workflows in this clone and no node_modules installed, so I could not run tests or CI here. Review is based on reading the full diff.

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.

3 participants