Skip to content

feat(skills): add code budget and completion criteria to sw-plan and sw-design#47

Merged
MacAttak merged 2 commits intomainfrom
feat/spec-quality-foundations
Feb 26, 2026
Merged

feat(skills): add code budget and completion criteria to sw-plan and sw-design#47
MacAttak merged 2 commits intomainfrom
feat/spec-quality-foundations

Conversation

@MacAttak
Copy link
Contributor

Summary

  • Add explicit code budget constraint to sw-plan governing what code is allowed in plan.md (signatures/types/contracts only, no implementations)
  • Add outcome-based completion criteria to sw-plan Decompose block and sw-design Research block
  • Part of quality-depth work: improvements inspired by Deep Trilogy plugin analysis

Acceptance Criteria

Criterion Status Evidence
AC-1: Code budget constraint in sw-plan PASS skills/sw-plan/SKILL.md:111-113
AC-2: Plan completion criteria in sw-plan PASS skills/sw-plan/SKILL.md:83
AC-3: Research completion criteria in sw-design PASS skills/sw-design/SKILL.md:65
AC-4: Token budget within target PASS sw-plan: 1,072 words, sw-design: 877 words

Gate Results

Gate Status Findings (B/W/I)
gate-build SKIP Markdown-only
gate-tests SKIP Markdown-only (P2)
gate-security SKIP No code changes
gate-wiring SKIP No exports changed
gate-spec PASS 0/0/0

Evidence

🤖 Generated with Claude Code via Specwright

MacAttak and others added 2 commits February 26, 2026 14:14
Plans should contain structure (signatures, types, contracts) not
implementations. This prevents plan bloat and gives tester/executor
agents cleaner signal about what to build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
sw-plan Decompose block now has "complete when" criteria: single purpose,
dependencies ordered, 3+ testable criteria, self-contained artifacts.
sw-design Research block now has "complete when" criteria: integration
described, risk identified, blast radius bounded, no guessing gaps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MacAttak MacAttak merged commit 62a7938 into main Feb 26, 2026
2 checks passed
@MacAttak MacAttak deleted the feat/spec-quality-foundations branch February 26, 2026 04:00
@github-actions github-actions bot mentioned this pull request Feb 26, 2026
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.

1 participant