@@ -15,7 +15,7 @@ scripts:
15151. Load feature spec from Input path
1616 → If not found: ERROR "No feature spec at {path}"
17172. Fill Technical Context (scan for NEEDS CLARIFICATION)
18- → Detect Project Type from context (web=frontend+backend, mobile=app+api)
18+ → Detect Project Type from file system structure or context (web=frontend+backend, mobile=app+api)
1919 → Set Structure Decision based on project type
20203. Fill the Constitution Check section based on the content of the constitution document.
21214. Evaluate Constitution Check section below
@@ -69,8 +69,14 @@ specs/[###-feature]/
6969```
7070
7171### Source Code (repository root)
72+ <!--
73+ ACTION REQUIRED: Replace the placeholder tree below with the concrete layout
74+ for this feature. Delete unused options and expand the chosen structure with
75+ real paths (e.g., apps/admin, packages/something). The delivered plan must
76+ not include Option labels.
77+ -->
7278```
73- # Option 1: Single project (DEFAULT)
79+ # [REMOVE IF UNUSED] Option 1: Single project (DEFAULT)
7480src/
7581├── models/
7682├── services/
8288├── integration/
8389└── unit/
8490
85- # Option 2: Web application (when "frontend" + "backend" detected)
91+ # [REMOVE IF UNUSED] Option 2: Web application (when "frontend" + "backend" detected)
8692backend/
8793├── src/
8894│ ├── models/
@@ -97,15 +103,16 @@ frontend/
97103│ └── services/
98104└── tests/
99105
100- # Option 3: Mobile + API (when "iOS/Android" detected)
106+ # [REMOVE IF UNUSED] Option 3: Mobile + API (when "iOS/Android" detected)
101107api/
102108└── [same as backend above]
103109
104110ios/ or android/
105- └── [platform-specific structure]
111+ └── [platform-specific structure: feature modules, UI flows, platform tests ]
106112```
107113
108- ** Structure Decision** : [ DEFAULT to Option 1 unless Technical Context indicates web/mobile app]
114+ ** Structure Decision** : [ Document the selected structure and reference the real
115+ directories captured above]
109116
110117## Phase 0: Outline & Research
1111181 . ** Extract unknowns from Technical Context** above:
0 commit comments