docs: add anvil to Community Schemas table - #1469
Conversation
Adds a row to the Community Schemas catalog in docs/customization.md for the anvil schema (jikkujoyce/openspec-schemas), a spec-driven workflow with TDD discipline and an adversarial review gate. Documentation only; the schema itself lives in its own repository. Generated with Cursor using Claude Opus 5.
📝 WalkthroughWalkthroughAdds the ChangesCommunity schema documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adds the anvil community schema to the Community Schemas table in docs/customization.md, documenting its repository location and describing how it extends the spec-driven workflow with an adversarial review gate and a TDD-oriented test-plan artifact.
Changes:
- Added a new Community Schemas table row for
anvil - Documented the schema’s workflow steps and gating semantics via the
VERDICT:line andtest-plan/verifybehavior
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/customization.md`:
- Line 418: Update the anvil entry in the customization documentation to
describe the review VERDICT as an agent instruction for gating downstream
test-plan, tasks, and apply work, not as mechanically enforced gating. Mention
that enforcement requires project-level CI or hooks, while preserving the
existing workflow and artifact details.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: c4d630ec-07c8-4df8-80b1-9b6d078256b8
📒 Files selected for processing (1)
docs/customization.md
The row said the VERDICT: line "gates test-plan, tasks, and apply", which reads as enforcement. OpenSpec's artifact graph only checks that artifact files exist, and the anvil bundle ships no CI or hook — its own schema.yaml and README say the gate is honored by the agent, not mechanically enforced. Reword to match, and backtick artifact names consistently across the cell. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The cell ran nearly twice as long as any other row in the table. Drop the verdict-staleness rule and the 1:1 mapping detail — both are README material — and keep the flow, the adversarial review gate, its advisory caveat, and the test-plan ledger. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Thanks for the schema and the writeup, @jikkujoyce. I pushed two commits to the branch to address the review feedback, and verified the row's claims end to end before doing so. @coderabbitai's point was correct, and your own docs say so. @copilot's backtick nit is fixed — every artifact reference in the cell is now a code span, including the flow chain and the gated list. I also trimmed the cell. It was ~1.9x the longest sibling row; the verdict-staleness rule and the 1:1 mapping detail are README material, so they're dropped in favor of the flow, the review gate, its caveat, and the test-plan ledger. Verification
|
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
printf '%s\n' '--- docs/customization.md: anvil entry ---'
rg -n -i -C 3 '\banvil\b' docs/customization.md || true
printf '%s\n' '--- artifact graph outlines ---'
ast-grep outline src/core/artifact-graph/outputs.ts --items all --view expanded
ast-grep outline src/core/artifact-graph/graph.ts --items all --view expanded
printf '%s\n' '--- cited enforcement-related code ---'
rg -n -C 6 'artifactOutputExists|requires\.every|completed\.has|VERDICT' \
src/core/artifact-graph/outputs.ts src/core/artifact-graph/graph.ts || trueLength of output: 8278
The cited implementation supports that distinction: 🐇 ✅ ✏️ Learnings added
If you found this review helpful, would you consider giving us a shout-out on X? Thank you for using CodeRabbit! |
alfred-openspec
left a comment
There was a problem hiding this comment.
Verified exact head 3b808ba. The advisory wording now matches the schema's actual enforcement model, the row is concise, and the repository, schema path, license, and end-to-end schema validation all check out.
What this adds
Adds
anvilto the Community Schemas table indocs/customization.md.anvil(https://github.com/jikkujoyce/openspec-schemas) is a spec-driven workflow that layers TDD discipline and an adversarial review gate on top of the default flow: proposal → specs → design → review → test-plan → tasks → apply → verify.Two things distinguish it from the built-in
spec-drivenschema:review.mdmust be written by a fresh-context, read-only reviewer — preferably a second model via whatever CLI is installed, otherwise a fresh-context subagent on the same model — never inline self-review. It emits a machine-readableVERDICT: APPROVE | APPROVE_WITH_CHANGES | REVISEline that instructs the agent to gatetest-plan,tasks, andapply(advisory — OpenSpec only checks that artifact files exist, so mechanical enforcement needs a project-level CI step or hook). Editing a reviewed artifact after a verdict voids it and forces a new round.test-planartifact. Every#### Scenario:inspecs/maps 1:1 to a named test beforetasksmay exist, and the table doubles as a live red/green ledger thatverifyaudits. Changes with no executable test surface (docs, config, pure schema) map to an equivalent mechanical validation rather than a fabricated code test.The schema is MIT-licensed and lives in its own repository with install instructions in INSTALL.md.
Follows the contribution note in the same section ("submit a PR adding a row to this table"). Documentation only — no code or schema changes, and no changeset since nothing ships in the package.
Test plan
https://github.com/jikkujoyce/openspec-schemas/tree/main/schemas/anvil)schemas/anvilinto a scratch project and ranopenspec schema validate anvil→✓ Schema 'anvil' is validwebsite/content/docsis generated fromdocs/Generated with Cursor using Claude Opus 5.
Summary by CodeRabbit
VERDICT:affects downstream artifacts and enforcement via external automation.