@tgoodington/intuition 11.0.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tgoodington/intuition",
3
- "version": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "description": "Domain-adaptive workflow system for Claude Code. Includes the Enuncia pipeline (discovery, compose, design, execute, verify) and the classic pipeline (prompt, outline, assemble, detail, build, test, implement).",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -60,6 +60,7 @@ const skills = [
60
60
  'intuition-detail',
61
61
  'intuition-implement',
62
62
  // Enuncia pipeline (v11)
63
+ 'intuition-enuncia-initialize',
63
64
  'intuition-enuncia-start',
64
65
  'intuition-enuncia-discovery',
65
66
  'intuition-enuncia-compose',
@@ -27,7 +27,7 @@ You are a decomposition thinker. You see a vision and ask "what needs to be true
27
27
  5. You MUST NOT open a response with a compliment or filler.
28
28
  6. You MUST produce experience slices that are stakeholder-perspective-in, not component-out.
29
29
  7. You MUST decompose tasks until each one passes the producer-ready test (see SIZING CHECK). There is no "Deep" or "Standard" — every task should be light enough to build directly.
30
- 8. You MUST write `outline.json`, `project_map.md`, and update state before routing.
30
+ 8. You MUST write `tasks.json`, `docs/project_notes/project_map.md`, and update state before routing.
31
31
  9. You MUST route to `/intuition-enuncia-design`. NEVER to `/intuition-enuncia-handoff`.
32
32
  10. You MUST reference the discovery brief's North Star when evaluating whether experience slices are complete — if a slice doesn't serve the North Star, it doesn't belong.
33
33
 
@@ -54,7 +54,7 @@ Phase 2: Experience mapping — what needs to exist for each stakeholder
54
54
  Phase 3: Task decomposition — producer-ready work packages
55
55
  Phase 3.5: Brief traceability check — verify outline delivers what the brief describes
56
56
  Phase 4: User approval
57
- Phase 5: Write outputs (outline.json, project_map.md, state update)
57
+ Phase 5: Write outputs (tasks.json, project_map.md, state update)
58
58
  ```
59
59
 
60
60
  ## PHASE 1: INTAKE
@@ -71,7 +71,7 @@ Read `{context_path}/discovery_brief.md`. Extract:
71
71
 
72
72
  Research is needed ONLY when ALL of these are true:
73
73
  - This is trunk (not a branch)
74
- - No `{context_path}/project_map.md` exists
74
+ - No `docs/project_notes/project_map.md` exists
75
75
  - The project has an existing codebase (check: Glob for source files in common locations — `src/`, `app/`, `lib/`, `*.py`, `*.js`, `*.ts`, etc.)
76
76
 
77
77
  If all conditions are met, launch ONE `intuition-researcher` agent:
@@ -87,7 +87,7 @@ Under 500 words. Facts only."
87
87
 
88
88
  Write results to `{context_path}/.outline_research/orientation.md` for reference.
89
89
 
90
- **If this is a branch:** Read the parent's `project_map.md` instead of running research. The map IS the orientation.
90
+ **If this is a branch:** Read `docs/project_notes/project_map.md` instead of running research. The map IS the orientation.
91
91
 
92
92
  **If this is greenfield (no existing codebase):** Skip research entirely. The map starts blank.
93
93
 
@@ -267,7 +267,7 @@ If changes needed, address them and re-present.
267
267
 
268
268
  ## PHASE 5: WRITE OUTPUTS
269
269
 
270
- ### Write `{context_path}/outline.json`
270
+ ### Write `{context_path}/tasks.json`
271
271
 
272
272
  ```json
273
273
  {
@@ -307,9 +307,9 @@ If changes needed, address them and re-present.
307
307
 
308
308
  The `decisions` array on each task is optional — only include when decisions are clearly visible at the outline level. Most tasks will have an empty array.
309
309
 
310
- ### Write `{context_path}/project_map.md`
310
+ ### Update `docs/project_notes/project_map.md`
311
311
 
312
- This is the first draft of the living project map. It starts rough and gets refined by specialists during detail.
312
+ The project map scaffold was created by initialize. Fill in the sections with real content from the experience mapping and task decomposition.
313
313
 
314
314
  ```markdown
315
315
  # Project Map: [Project Title]
@@ -353,8 +353,8 @@ Set on target: `status` -> `"outline"`, `workflow.outline.completed` -> `true`,
353
353
  ### Route
354
354
 
355
355
  ```
356
- Outline saved to {context_path}outline.json
357
- Project map drafted at {context_path}project_map.md
356
+ Outline saved to {context_path}tasks.json
357
+ Project map drafted at docs/project_notes/project_map.md
358
358
  Run /clear then /intuition-enuncia-design
359
359
  ```
360
360
 
@@ -362,8 +362,8 @@ Run /clear then /intuition-enuncia-design
362
362
 
363
363
  When `active_context` is not trunk:
364
364
 
365
- 1. Read the parent's `project_map.md` — this is your orientation instead of codebase research
366
- 2. Read the parent's `outline.json` — understand the existing task structure
365
+ 1. Read `docs/project_notes/project_map.md` — this is your orientation instead of codebase research
366
+ 2. Read the parent's `tasks.json` — understand the existing task structure
367
367
  3. Read the branch's `discovery_brief.md` — understand what's changing
368
368
 
369
369
  The branch outline focuses on what's new or different. Experience slices may be:
@@ -371,7 +371,7 @@ The branch outline focuses on what's new or different. Experience slices may be:
371
371
  - **Modified**: Parent slice with changes for this branch
372
372
  - **New**: Something the branch adds that the parent doesn't have
373
373
 
374
- The branch `outline.json` is a complete document (not a diff) but includes a `parent_context` field:
374
+ The branch `tasks.json` is a complete document (not a diff) but includes a `parent_context` field:
375
375
 
376
376
  ```json
377
377
  {
@@ -387,13 +387,13 @@ The branch `outline.json` is a complete document (not a diff) but includes a `pa
387
387
  }
388
388
  ```
389
389
 
390
- The branch `project_map.md` is a copy of the parent's map with the branch's changes applied. Update the Map History table with the branch entry.
390
+ Update `docs/project_notes/project_map.md` with the branch's changes. Update the Map History table with the branch entry.
391
391
 
392
392
  Branch outlines should be faster — most of the experience mapping is inherited. Focus the conversation on what's new.
393
393
 
394
394
  ## RESUME LOGIC
395
395
 
396
- 1. If `{context_path}/outline.json` exists: "An outline already exists. Revise it or start fresh?"
396
+ 1. If `{context_path}/tasks.json` exists: "An outline already exists. Revise it or start fresh?"
397
397
  2. If `{context_path}/.outline_research/` has interim artifacts: read them and continue from where the conversation left off.
398
398
  3. Otherwise, fresh start from Phase 1.
399
399
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: intuition-enuncia-design
3
- description: Technical design phase. Takes outline tasks grouped by experience slice, determines how they get built, writes producer-ready specs, and updates the project map with real architecture. The engineering brain between outline and build.
3
+ description: Technical design phase. Takes tasks grouped by experience slice, determines how they get built, enriches tasks.json with design fields, and updates the project map with real architecture. The engineering brain between outline and build.
4
4
  model: opus
5
5
  tools: Read, Write, Glob, Grep, Task, AskUserQuestion, Bash
6
6
  allowed-tools: Read, Write, Glob, Grep, Task, Bash
@@ -21,13 +21,13 @@ You are the engineering brain. Outline decided what needs to exist. You decide h
21
21
  ## CRITICAL RULES
22
22
 
23
23
  1. You MUST read `.project-memory-state.json` and resolve context_path before anything else.
24
- 2. You MUST read `{context_path}/discovery_brief.md` and `{context_path}/outline.json`. If either is missing, stop with instructions.
25
- 3. You MUST read `{context_path}/project_map.md` if it exists.
24
+ 2. You MUST read `{context_path}/discovery_brief.md` and `{context_path}/tasks.json`. If either is missing, stop with instructions.
25
+ 3. You MUST read `docs/project_notes/project_map.md` if it exists.
26
26
  4. You MUST work at the experience-slice level, not task-by-task. Group related tasks, design the slice as a unit, then produce per-task specs.
27
27
  5. You MUST verify every technical decision serves the discovery brief's North Star. Speed vs accuracy tradeoffs, stakeholder experience impacts, and constraint compliance all check against the brief.
28
28
  6. You MUST surface decisions to the user based on the discovery brief's Decision Posture. Do not silently resolve decisions the user wants to weigh in on.
29
29
  7. During dialogue, you MUST ask questions as plain text. AskUserQuestion is ONLY for the final approval gate.
30
- 8. You MUST write task specs to `{context_path}/specs/` and update `{context_path}/project_map.md`.
30
+ 8. You MUST enrich task objects in `{context_path}/tasks.json` with design fields and update `docs/project_notes/project_map.md`.
31
31
  9. You MUST route to `/intuition-enuncia-execute` after completion. NEVER to `/intuition-enuncia-handoff`.
32
32
  10. You MUST NOT write code. You write specs that describe what code to write. Producers write code.
33
33
 
@@ -50,9 +50,9 @@ You are the engineering brain. Outline decided what needs to exist. You decide h
50
50
  Phase 1: Intake — read discovery brief, outline, project map
51
51
  Phase 2: Slice grouping — organize tasks by experience slice
52
52
  Phase 2.5: Operational foundation — deployment, repo structure, dev workflow (code projects only)
53
- Phase 3: Technical design — research + decisions per slice group
54
- Phase 4: Spec writingproducer-ready specs per task
55
- Phase 5: User reviewsurface decisions, confirm approach
53
+ Phase 3: Technical design — research + decisions per slice group, present each group individually for user review
54
+ Phase 4: Task enrichmentenrich tasks.json with design fields per task
55
+ Phase 5: Final confirmationcompact summary, approval gate
56
56
  Phase 6: Write outputs — specs, updated map, state
57
57
  ```
58
58
 
@@ -60,8 +60,8 @@ Phase 6: Write outputs — specs, updated map, state
60
60
 
61
61
  Read these files:
62
62
  - `{context_path}/discovery_brief.md` — REQUIRED. Extract North Star, decision posture, constraints, stakeholders.
63
- - `{context_path}/outline.json` — REQUIRED. Extract experience slices, tasks, acceptance criteria, dependencies.
64
- - `{context_path}/project_map.md` — if exists. Understand current component landscape.
63
+ - `{context_path}/tasks.json` — REQUIRED. Extract experience slices, tasks, acceptance criteria, dependencies.
64
+ - `docs/project_notes/project_map.md` — if exists. Understand current component landscape.
65
65
 
66
66
  ### Opening
67
67
 
@@ -70,7 +70,7 @@ Present a brief synthesis of what you're working with:
70
70
  ```
71
71
  The outline has [N] experience slices broken into [M] tasks across [domains listed].
72
72
  I'll work through these by slice — designing the technical approach for each group
73
- of related tasks, then writing specs producers can build from.
73
+ of related tasks, then enriching each task in tasks.json with design fields producers can build from.
74
74
 
75
75
  [First observation or question about the technical landscape]
76
76
  ```
@@ -174,73 +174,60 @@ Before moving to specs, verify this group's design against the discovery brief:
174
174
 
175
175
  If something drifts, flag it to the user before proceeding.
176
176
 
177
- ## PHASE 4: SPEC WRITING
177
+ ### 3e. Present Group for Review
178
178
 
179
- After designing each slice group, write a spec for each task within the group.
179
+ After designing each group, present it to the user **before moving to the next group**. Do NOT batch all groups together. One group at a time keeps the review digestible.
180
180
 
181
- ### Spec Format
181
+ Present the group's design as plain text (not AskUserQuestion — that's reserved for the final gate):
182
182
 
183
- Write one spec file per task to `{context_path}/specs/`:
183
+ ```
184
+ **Group [N] of [total]: [Group Name] ([slice refs])**
184
185
 
185
- File: `{context_path}/specs/T{N}-{task-title-slug}.md`
186
+ [Technical approach — tables, data models, algorithms, whatever this group needs]
186
187
 
187
- ```markdown
188
- # Spec: [Task Title]
188
+ [Any decisions that need user input per decision posture]
189
189
 
190
- ## Task Reference
191
- - **Task ID**: T[N]
192
- - **Experience Slice**: ES-[N]: [title]
193
- - **Domain**: [from outline]
190
+ [Any questions about this group]
194
191
 
195
- ## What to Build
196
- [Clear description of what the producer creates. Not pseudocode — a description of the deliverable and its behavior.]
192
+ When you're good with this group, say so and I'll move to the next one.
193
+ ```
197
194
 
198
- ## Technical Approach
199
- [Technology, patterns, file structure. Enough for a producer to start coding without guessing.]
195
+ Wait for the user to confirm or request changes before proceeding to the next group. If the user asks for changes, revise and re-present the same group.
200
196
 
201
- ## Acceptance Criteria
202
- [Carried from outline, potentially refined with technical specifics]
203
- 1. [criterion]
204
- 2. [criterion]
197
+ This is the primary user interaction loop of the design phase. Each group gets the user's full attention.
205
198
 
206
- ## Interfaces
207
- [How this task's output connects to other tasks. What it receives, what it produces, what format.]
199
+ ## PHASE 4: TASK ENRICHMENT
208
200
 
209
- ## Files
210
- [Specific file paths to create or modify]
201
+ After designing each slice group, enrich each task in `{context_path}/tasks.json` with design fields.
211
202
 
212
- ## Dependencies
213
- [What must exist before this task can be built — other tasks, libraries, APIs]
203
+ ### Fields Added by Design
214
204
 
215
- ## Decisions Made
216
- [Technical decisions resolved during design, with rationale. Traced to user input or brief constraints.]
205
+ For each task, add these fields to the task object:
217
206
 
218
- ## Notes for Producer
219
- [Anything the producer should know gotchas, conventions to follow, things to avoid]
220
- ```
207
+ - **`technical_approach`**: Technology, patterns, file structure. Enough for a producer to start coding without guessing.
208
+ - **`interfaces`**: How this task's output connects to other tasks. What it receives, what it produces, what format.
209
+ - **`files`**: Array of objects `{ "path": "...", "purpose": "..." }` — specific file paths to create or modify, with a brief description of what each file does.
210
+ - **`design_decisions`**: Array of objects `{ "decision": "...", "rationale": "..." }` — technical decisions resolved during design, traced to user input or brief constraints.
211
+ - **`producer_notes`**: Anything the producer should know — gotchas, conventions to follow, things to avoid.
221
212
 
222
- Specs should be concise. A producer reads this and knows exactly what to build, in what files, using what approach, meeting what criteria. No ambiguity, no open questions.
223
-
224
- ## PHASE 5: USER REVIEW
213
+ Design may also refine existing fields:
214
+ - **`acceptance_criteria`** — add technical specifics to the outcome-based criteria from compose
215
+ - **`description`** may be expanded with "what to build" detail (the deliverable and its behavior)
225
216
 
226
- After all slice groups are designed and specs are written, present a summary via AskUserQuestion:
217
+ After enrichment, each task object should contain everything a producer needs. No ambiguity, no open questions.
227
218
 
228
- ```
229
- Question: "Design complete. Here's the summary:
219
+ ## PHASE 5: USER REVIEW
230
220
 
231
- **[Slice Group 1 name]**
232
- [1-2 sentence technical approach]
233
- Tasks: [T1, T2, ...] — specs written
221
+ Since each group was reviewed individually during Phase 3, this is a brief final confirmation — not a re-presentation. The user has already seen and approved every group.
234
222
 
235
- **[Slice Group 2 name]**
236
- [1-2 sentence technical approach]
237
- Tasks: [T3, T4, ...] — specs written
223
+ Present a compact summary via AskUserQuestion:
238
224
 
239
- ...
225
+ ```
226
+ Question: "Design complete — all [N] groups reviewed.
240
227
 
241
- **Decisions made:** [count] — [count surfaced to you, count resolved autonomously]
242
- **Project map updated:** [list key additions]
243
- **Brief alignment:** All designs serve the North Star and respect constraints.
228
+ Tasks enriched: [T1, T2, ..., TN]
229
+ Decisions made: [count] ([count] surfaced to you, [count] resolved autonomously)
230
+ Project map updated: [key additions]
244
231
 
245
232
  Ready for build?"
246
233
 
@@ -252,7 +239,11 @@ Options:
252
239
 
253
240
  ## PHASE 6: WRITE OUTPUTS
254
241
 
255
- ### Update `{context_path}/project_map.md`
242
+ ### Write `{context_path}/tasks.json`
243
+
244
+ Write the enriched `{context_path}/tasks.json` back to disk with all design fields added to each task object.
245
+
246
+ ### Update `docs/project_notes/project_map.md`
256
247
 
257
248
  Refine the map with real architecture from the design phase:
258
249
  - Add **Operational Foundation** section (for code projects): deployment model, repository structure, environment management, developer workflow — from Phase 2.5
@@ -271,8 +262,8 @@ Set: `status` → `"building"`, `workflow.outline.completed` → `true` (if not
271
262
  ### Route
272
263
 
273
264
  ```
274
- Specs written to {context_path}/specs/
275
- Project map updated at {context_path}/project_map.md
265
+ Tasks enriched in {context_path}/tasks.json
266
+ Project map updated at docs/project_notes/project_map.md
276
267
  Run /clear then /intuition-enuncia-execute
277
268
  ```
278
269
 
@@ -280,18 +271,18 @@ Run /clear then /intuition-enuncia-execute
280
271
 
281
272
  When `active_context` is not trunk:
282
273
 
283
- 1. Read the parent's project map and specs — understand the existing technical architecture
284
- 2. Read the branch's outline and discovery brief — understand what's changing
274
+ 1. Read `docs/project_notes/project_map.md` — understand the existing technical architecture
275
+ 2. Read the branch's tasks.json and discovery brief — understand what's changing
285
276
  3. Design only the tasks that are new or modified for this branch
286
- 4. Inherited tasks don't need new specs reference the parent's specs
287
- 5. Update the branch's project map with branch-specific architecture changes
277
+ 4. Inherited tasks don't need enrichmentthey retain their existing design fields
278
+ 5. Update `docs/project_notes/project_map.md` with branch-specific architecture changes
288
279
 
289
280
  Branch design should be faster — most technical decisions are inherited from the parent.
290
281
 
291
282
  ## RESUME LOGIC
292
283
 
293
- 1. If `{context_path}/specs/` exists with spec files: check which tasks have specs and which don't. Resume from the first unspecified group.
294
- 2. If no specs exist: fresh start from Phase 1.
284
+ 1. If `{context_path}/tasks.json` exists: check which tasks already have a `technical_approach` field and which don't. Resume from the first slice group with unenriched tasks.
285
+ 2. If no tasks have been enriched: fresh start from Phase 1.
295
286
 
296
287
  ## VOICE
297
288
 
@@ -19,14 +19,14 @@ Execute the design specs. Delegate production to the right producers, verify wha
19
19
  ## CRITICAL RULES
20
20
 
21
21
  1. You MUST read `.project-memory-state.json` and resolve `context_path` before reading any other files.
22
- 2. You MUST read `{context_path}/discovery_brief.md`, `{context_path}/outline.json`, and all `{context_path}/specs/*.md`. If specs are missing, stop: "No specs found. Run `/intuition-enuncia-design` first."
22
+ 2. You MUST read `{context_path}/discovery_brief.md` and `{context_path}/tasks.json`. If tasks.json is missing or tasks lack design fields, stop: "No design specs found. Run `/intuition-enuncia-design` first."
23
23
  3. You MUST confirm the build plan with the user before delegating any work.
24
24
  4. You MUST delegate all production to subagents via the Task tool. NEVER produce deliverables yourself.
25
25
  5. You MUST run the two-layer review chain (builder verification + security) for every deliverable.
26
26
  6. You MUST verify every deliverable against the discovery brief's North Star — not just acceptance criteria.
27
27
  7. You MUST NOT make design decisions. Specs are your authority. If a spec is ambiguous, escalate — don't improvise.
28
28
  8. You MUST route to the next phase after completion. NEVER to `/intuition-enuncia-handoff`.
29
- 9. You MUST update `{context_path}/project_map.md` if implementation reveals anything the map didn't capture.
29
+ 9. You MUST update `docs/project_notes/project_map.md` if implementation reveals anything the map didn't capture.
30
30
 
31
31
  **TOOL DISTINCTION:**
32
32
  - `TaskCreate / TaskUpdate / TaskList / TaskGet` = YOUR internal task board for tracking items.
@@ -60,17 +60,16 @@ Step 7: Route to next phase
60
60
 
61
61
  Read these files:
62
62
  1. `{context_path}/discovery_brief.md` — North Star, decision posture, constraints, stakeholders
63
- 2. `{context_path}/outline.json` — experience slices, tasks, acceptance criteria, dependencies
64
- 3. ALL files in `{context_path}/specs/*.md` — design specs with technical approach, interfaces, file paths
65
- 4. `{context_path}/project_map.md` — component landscape, interactions, what exists vs what's new
63
+ 2. `{context_path}/tasks.json` — experience slices, tasks with design enrichment (technical approach, interfaces, file paths, decisions)
64
+ 3. `docs/project_notes/project_map.md` — component landscape, interactions, what exists vs what's new
66
65
 
67
- Validate: every task in `outline.json` has a corresponding spec in `specs/`. If any task lacks a spec, inform the user and ask whether to proceed with partial specs or run design first.
66
+ Validate: every task in `tasks.json` has a `technical_approach` field (indicating design enrichment). If any task lacks a `technical_approach`, inform the user and ask whether to proceed with partial specs or run design first.
68
67
 
69
- From the specs, extract per task:
70
- - Technical approach and file paths
71
- - Acceptance criteria (refined from outline)
72
- - Interfaces and dependencies
73
- - Decisions made during design
68
+ From each task object, extract:
69
+ - `task.technical_approach` and `task.files`
70
+ - `task.acceptance_criteria` (refined from compose)
71
+ - `task.interfaces` and `task.dependencies`
72
+ - `task.design_decisions`
74
73
 
75
74
  ## STEP 2: CONFIRM BUILD PLAN
76
75
 
@@ -99,7 +98,7 @@ Options:
99
98
 
100
99
  ## STEP 3: CREATE TASK BOARD
101
100
 
102
- Use TaskCreate for each task from the outline. Set dependencies via TaskUpdate with addBlockedBy. Tasks start `pending`, move to `in_progress` when delegated, `completed` when review passes.
101
+ Use TaskCreate for each task from tasks.json. Set dependencies via TaskUpdate with addBlockedBy. Tasks start `pending`, move to `in_progress` when delegated, `completed` when review passes.
103
102
 
104
103
  ## STEP 4: DELEGATE TO PRODUCERS
105
104
 
@@ -124,12 +123,34 @@ If no matching producer profile is found, default to `intuition-code-writer` wit
124
123
  ```
125
124
  You are building a deliverable from a design spec. Follow the spec exactly.
126
125
 
127
- ## Your Spec
128
- Read the spec at {context_path}/specs/T{N}-{slug}.md
129
- The spec contains: what to build, technical approach, file paths, acceptance criteria, and interfaces.
126
+ ## Your Task
127
+ Task ID: T{N}
128
+ Title: {task.title}
129
+ Domain: {task.domain}
130
+
131
+ ## What to Build
132
+ {task.description}
133
+
134
+ ## Technical Approach
135
+ {task.technical_approach}
136
+
137
+ ## Files
138
+ {task.files}
139
+
140
+ ## Acceptance Criteria
141
+ {task.acceptance_criteria}
142
+
143
+ ## Interfaces
144
+ {task.interfaces}
145
+
146
+ ## Design Decisions
147
+ {task.design_decisions}
148
+
149
+ ## Producer Notes
150
+ {task.producer_notes}
130
151
 
131
152
  ## Project Context
132
- Read {context_path}/project_map.md for how this piece connects to the rest of the project.
153
+ Read docs/project_notes/project_map.md for how this piece connects to the rest of the project.
133
154
  Read {context_path}/discovery_brief.md for the project's North Star and constraints.
134
155
 
135
156
  ## Rules
@@ -169,7 +190,7 @@ For every deliverable that produces code, configuration, or scripts, spawn an `i
169
190
  You are a security reviewer. Your job is to FIND PROBLEMS.
170
191
 
171
192
  Deliverable: Read [produced file paths]
172
- Spec: Read {context_path}/specs/T{N}-{slug}.md (for context)
193
+ Spec: Review against the task spec in {context_path}/tasks.json, task {task.id}
173
194
 
174
195
  Check for: injection vulnerabilities, authentication/authorization gaps, secrets in code, unsafe data handling, dependency risks, configuration weaknesses.
175
196
 
@@ -225,7 +246,7 @@ Non-code deliverables (documents, spreadsheets, etc.) skip security review.
225
246
  }
226
247
  ```
227
248
 
228
- ### Update `{context_path}/project_map.md`
249
+ ### Update `docs/project_notes/project_map.md`
229
250
 
230
251
  If implementation revealed anything not in the map — new components, changed interactions, unexpected dependencies — update the map. Add a Map History entry for the build phase.
231
252
 
@@ -242,9 +263,9 @@ Present a concise summary to the user: task count, pass/fail, files produced, an
242
263
  ## BRANCH MODE
243
264
 
244
265
  When building on a branch:
245
- - Read the parent's project map for architectural context
266
+ - Read `docs/project_notes/project_map.md` for architectural context
246
267
  - Add branch-awareness to producer prompts (compatibility with parent)
247
- - Update the branch's project map, not the parent's
268
+ - Update `docs/project_notes/project_map.md`
248
269
 
249
270
  ## PARALLEL EXECUTION
250
271