Decisions

  • Pending: Complexity threshold — which FRs require a design?
  • Pending: Review process — user approval only or also self-review checklist?

User Tasks


Summary

A structured workflow for creating, reviewing, and approving design documents before implementing complex features.

Problem / Motivation

  • vault/00_system/designs/drafts/ and approved/ directories exist but no process governs the lifecycle.
  • Complex FRs (agents, scheduler, state machine, orchestration) need upfront design to avoid rework.
  • Without a gate, designs will either be skipped (leading to poor implementation) or pile up unreviewed in drafts/.
  • The user wants to understand and approve architectural decisions before code is written.

Proposed Solution

A /design skill that generates a design document for a given FR into designs/drafts/. The user reviews it, and an /approve-design skill moves it to designs/approved/. Implementation of the FR is gated on an approved design (for FRs that require one).

Enforcement rules (to be added to path-scoped rules or CLAUDE.md when implemented)

  • Designs always go to designs/drafts/, never directly to approved/.
  • Never implement an FR that has an associated design doc until that doc is moved to approved/ by the user.
  • FRs with an associated design doc must have REQ-0 | Design doc reviewed and approved in their prerequisites.

Open Questions

1. Which FRs Need Designs?

Question: What’s the threshold for requiring a design document?

OptionDescription
A) Phase count ≥ 3FRs with 3+ phases are complex enough to warrant a design
B) Priority-basedOnly high/critical priority FRs
C) Manual tagFR author adds needs-design: true to frontmatter
D) Complexity scoreUse FR-038 complexity routing score (once available)

Recommendation: Option C for now — explicit is better than implicit. Option D when FR-038 exists.

Decision:

2. Design Document Content

Question: What should a design document contain?

OptionDescription
A) Architecture + trade-offs + API sketchEnough to evaluate the approach without reading code
B) Full technical specDetailed implementation plan with pseudocode
C) Lightweight summaryJust the key decisions and their rationale

Recommendation: Option A — enough depth to catch bad decisions, not so much that it becomes a spec.

Decision:


Phase Overview

PhaseDescriptionStatus
Phase 1Design template + /design skill
Phase 2/approve-design skill + FR frontmatter gate
Phase 3Auto-detect FRs needing design (integrate with complexity routing)

Phase 1: Design Template & Skill —

Goal: Create a design document template and a skill to generate drafts.

File / FeatureDetailsOwnerStatus
vault/_templates/design.mdDesign document templateopus
.claude/skills/design/SKILL.md/design FR-XXX generates a design draftopus
vault/00_system/designs/drafts/Output directory (exists)opusdone

Phase 2: Approval Flow —

Goal: Formalize the review and approval process.

File / FeatureDetailsOwnerStatus
.claude/skills/approve-design/SKILL.mdMove draft → approved, update FR frontmatteropus
FR frontmatter fielddesign: draft/approved/not-requiredopus
Implementation gateCheck for approved design before starting implementationopus

Phase 3: Auto-Detection —

Goal: Automatically flag FRs that need a design but don’t have one.

File / FeatureDetailsOwnerStatus
Complexity checkFlag FRs with 3+ phases and no designopus
Integration with FR-038Use complexity score when availableopus
Dashboard warningSurface “needs design” in feature dashboardopus

Test

Manual tests

TestExpectedOwnerActualLast
Run /design FR-067Design draft created in designs/drafts/mvpending-
Run /approve-design FR-067Design moved to designs/approved/, FR updatedmvpending-
Try to implement FR with design: draftWarning that design isn’t approvedmvpending-

AI-verified tests

ScenarioExpected behaviorVerification method

E2E tests

ScenarioAssertion

Integration tests

ComponentCoverage

Unit tests

ComponentTestsCoverage

History

DateEventDetails
2026-03-12CreatedIdentified as gap — designs/ structure exists but no workflow

References

  • vault/00_system/designs/ — drafts/ and approved/ directories
  • FR-038 (Complexity Routing) — can feed complexity score to auto-detect
  • FR-043 (Approve & Implement Skills) — related approval pattern