sprint-contracts
Negotiate structured success criteria contracts between generator and evaluator agents before each implementation sprint. Use when defining acceptance criteria for a feature sprint, establishing machine-verifiable success conditions, setting up generator-evaluator negotiation loops, or tracking contract iteration history for audit.
- License 许可
- GPL-3.0
- 最近更新
- 2026-04-24
- Stars
- ★ 1
- Forks
- 3
01 前言 Front Matter
- name
- sprint-contracts
- next
- [ "ralph", "team" ]
- group
- strategy
- workflows
- [ "ship-feature" ]
- description
- Negotiate structured success criteria contracts between generator and evaluator agents before each implementation sprint. Use when defining acceptance criteria for a feature sprint, establishing machine-verifiable success conditions, setting up generator-evaluator negotiation loops, or tracking contract iteration history for audit.
- prerequisites
- [ "plan", "shape" ]
- user-invocable
- true
03 SKILL.md 正文
Sprint Contracts
Contract Creation
- Parse the current feature scope from the product spec or feature checklist.
- Draft a contract with structured success criteria: inputs, expected outputs, and invariants per criterion.
- Ensure each criterion is machine-verifiable where possible (test passes, type checks, lint clean).
- For human-judgment criteria (design quality, UX), define measurable proxies (Lighthouse score threshold, axe-core zero critical violations).
Negotiation Protocol
- Generator agent proposes draft contract.
- Evaluator agent refines: tightens ambiguous criteria, adds edge cases.
- Both agree on finalized contract.
- Auto-generate test stubs from contract criteria (each criterion maps to at least one test).
- Inject finalized criteria into the generator agent system prompt.
Execution Loop
- Generator implements against contract criteria.
- Evaluator checks each criterion individually; reports pass/fail with explanations.
- On failure, feed specific failure reasons back to generator for next iteration.
- Maximum 5 iterations per contract before escalation to human or commander agent.
Storage
Persist contracts and iteration history in .harness/contracts/ with versioning. Track metrics: iteration counts, common failure patterns, criteria categories that fail most often.
04 同仓库更多 Skills
writer-memory
Agentic memory system for writers - track characters, relationships, scenes, and themes
wiki
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
website-creation
Build production-quality SaaS websites with opinionated design presets. Use when creating any startup website. The user MUST pick a design style before building. Enforces shadcn/ui, Figma design principles, specific CSS values per style, and anti-AI-writing. Load alongside anti-ai-writing skill. LIGHT MODE ONLY.
visual-verdict
Structured visual QA verdict for screenshot-to-reference comparisons
visual-qa-pipeline
Screenshot every page with Playwright, feed to visual QA agent for design evaluation, report results to Slack. Use after every build phase to verify UI matches the chosen design preset. Integrates with the Playwright skill and the website-creation preset system.
verify
Verify that a change really works before you claim completion