Skip to content

feat(quality-depth): add research & build discipline guidance#48

Merged
MacAttak merged 4 commits intomainfrom
feat/research-build-discipline
Feb 26, 2026
Merged

feat(quality-depth): add research & build discipline guidance#48
MacAttak merged 4 commits intomainfrom
feat/research-build-discipline

Conversation

@MacAttak
Copy link
Contributor

Summary

  • Add interview "listen for" signals to sw-design Research block for better requirements gathering
  • Add skeleton-first TDD guidance to tester (import stubs) and executor (plan.md signatures) agents
  • Add context management to sw-build (continuation.md + context size notes)
  • Add pre-commit hook retry logic to git.md protocol

Acceptance Criteria

# Criterion Status
AC-1 Interview guidance exists in sw-design PASS
AC-2 Skeleton-first TDD guidance exists in agent prompts PASS
AC-3 Context management guidance exists in sw-build PASS
AC-4 Pre-commit hook retry exists in git.md PASS
AC-5 Token budgets remain reasonable PASS

Gate Results

Gate Status Findings (B/W/I)
gate-build SKIP Markdown-only unit
gate-tests SKIP Markdown-only unit
gate-security SKIP Markdown-only unit
gate-wiring SKIP Markdown-only unit
gate-spec PASS 0/0/0

Evidence

  • Spec compliance: .specwright/work/quality-depth/units/research-build-discipline/evidence/spec-compliance.md
  • All criteria verified with file:line references

Work unit: quality-depth/research-build-discipline (Unit 2 of 3)

MacAttak and others added 4 commits February 26, 2026 15:03
research-build-discipline task-1: "listen for" directives help sw-design
capture uncertainty, natural boundaries, ordering cues, and decision
points during user requirements gathering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
research-build-discipline task-2: tester creates minimal import stubs
(framed as test infrastructure) so RED phase fails for assertion reasons,
not import errors. Executor reads plan.md for correct signatures before
replacing stubs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
research-build-discipline task-3: continuation.md written after each
task commit enables recovery. Context size note every 3rd task prompts
user to /clear when sessions grow large.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
research-build-discipline task-4: when commit fails and output shows
formatter patterns, re-stage and retry once. Extends existing
config.commands.format handling to cover hook-invoked formatters.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MacAttak MacAttak merged commit e9c2e6d into main Feb 26, 2026
2 checks passed
@MacAttak MacAttak deleted the feat/research-build-discipline branch February 26, 2026 04:43
@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