renn-studio 0.6.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.
Files changed (112) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +36 -0
  3. package/agents/renn-architect.md +1463 -0
  4. package/agents/renn-auditor.md +1053 -0
  5. package/agents/renn-codebase-mapper.md +908 -0
  6. package/agents/renn-design-reviewer.md +422 -0
  7. package/agents/renn-designer.md +814 -0
  8. package/agents/renn-detective.md +1204 -0
  9. package/agents/renn-integration-checker.md +957 -0
  10. package/agents/renn-navigator.md +659 -0
  11. package/agents/renn-plan-reviewer.md +812 -0
  12. package/agents/renn-project-scout.md +880 -0
  13. package/agents/renn-runner.md +842 -0
  14. package/agents/renn-stage-scout.md +705 -0
  15. package/agents/renn-synthesizer.md +256 -0
  16. package/bin/install.js +1466 -0
  17. package/commands/renn.add-stage.md +211 -0
  18. package/commands/renn.add-todo.md +194 -0
  19. package/commands/renn.audit-milestone.md +280 -0
  20. package/commands/renn.audit.md +219 -0
  21. package/commands/renn.check-todos.md +229 -0
  22. package/commands/renn.complete-milestone.md +136 -0
  23. package/commands/renn.continue.md +46 -0
  24. package/commands/renn.dash.md +308 -0
  25. package/commands/renn.debug.md +169 -0
  26. package/commands/renn.design-screens.md +107 -0
  27. package/commands/renn.design-system.md +100 -0
  28. package/commands/renn.discuss-stage.md +86 -0
  29. package/commands/renn.help.md +550 -0
  30. package/commands/renn.insert-stage.md +231 -0
  31. package/commands/renn.list-stage-assumptions.md +49 -0
  32. package/commands/renn.map-codebase.md +72 -0
  33. package/commands/renn.new-milestone.md +80 -0
  34. package/commands/renn.pause.md +132 -0
  35. package/commands/renn.plan-milestone-gaps.md +314 -0
  36. package/commands/renn.plan-stage.md +118 -0
  37. package/commands/renn.remove-stage.md +353 -0
  38. package/commands/renn.research-stage.md +200 -0
  39. package/commands/renn.restyle.md +98 -0
  40. package/commands/renn.run-stage.md +343 -0
  41. package/commands/renn.set-profile.md +116 -0
  42. package/commands/renn.settings.md +151 -0
  43. package/commands/renn.ship.md +52 -0
  44. package/commands/renn.start.md +95 -0
  45. package/commands/renn.status.md +530 -0
  46. package/commands/renn.watch.md +51 -0
  47. package/hooks/dist/renn-check-update.js +67 -0
  48. package/hooks/dist/renn-statusline.js +96 -0
  49. package/package.json +89 -0
  50. package/renn/references/continuation-format.md +249 -0
  51. package/renn/references/design-artifacts.md +674 -0
  52. package/renn/references/design-tokens.md +162 -0
  53. package/renn/references/gates.md +1078 -0
  54. package/renn/references/git-integration.md +254 -0
  55. package/renn/references/horsepower-profiles.md +84 -0
  56. package/renn/references/planning-config.md +189 -0
  57. package/renn/references/questioning.md +141 -0
  58. package/renn/references/security-checklist.md +2184 -0
  59. package/renn/references/tdd.md +263 -0
  60. package/renn/references/ui-brand.md +189 -0
  61. package/renn/references/verification-patterns.md +612 -0
  62. package/renn/templates/DEBUG.md +159 -0
  63. package/renn/templates/INTEL.md +283 -0
  64. package/renn/templates/RECAP.md +246 -0
  65. package/renn/templates/UAT.md +247 -0
  66. package/renn/templates/architect-prompt.md +119 -0
  67. package/renn/templates/brief.md +190 -0
  68. package/renn/templates/codebase/architecture.md +264 -0
  69. package/renn/templates/codebase/concerns.md +310 -0
  70. package/renn/templates/codebase/conventions.md +307 -0
  71. package/renn/templates/codebase/design.md +336 -0
  72. package/renn/templates/codebase/integrations.md +280 -0
  73. package/renn/templates/codebase/stack.md +186 -0
  74. package/renn/templates/codebase/structure.md +295 -0
  75. package/renn/templates/codebase/testing.md +480 -0
  76. package/renn/templates/config.json +36 -0
  77. package/renn/templates/continue-here.md +80 -0
  78. package/renn/templates/detective-prompt.md +93 -0
  79. package/renn/templates/milestone-archive.md +123 -0
  80. package/renn/templates/milestone.md +117 -0
  81. package/renn/templates/proof.md +326 -0
  82. package/renn/templates/pulse.md +176 -0
  83. package/renn/templates/research/architecture.md +206 -0
  84. package/renn/templates/research/features.md +149 -0
  85. package/renn/templates/research/pitfalls.md +202 -0
  86. package/renn/templates/research/recap.md +187 -0
  87. package/renn/templates/research/stack.md +122 -0
  88. package/renn/templates/research/ux.md +283 -0
  89. package/renn/templates/research-lite.md +146 -0
  90. package/renn/templates/research.md +582 -0
  91. package/renn/templates/specs.md +233 -0
  92. package/renn/templates/stage-prompt.md +571 -0
  93. package/renn/templates/track.md +211 -0
  94. package/renn/templates/user-setup.md +315 -0
  95. package/renn/workflows/audit-stage.md +717 -0
  96. package/renn/workflows/audit-work.md +596 -0
  97. package/renn/workflows/complete-milestone.md +875 -0
  98. package/renn/workflows/continue-project.md +306 -0
  99. package/renn/workflows/design-stage.md +2019 -0
  100. package/renn/workflows/diagnose-issues.md +231 -0
  101. package/renn/workflows/initialize-project.md +1039 -0
  102. package/renn/workflows/list-assumptions.md +178 -0
  103. package/renn/workflows/map-codebase.md +374 -0
  104. package/renn/workflows/new-milestone.md +718 -0
  105. package/renn/workflows/plan-stage.md +810 -0
  106. package/renn/workflows/research-stage.md +289 -0
  107. package/renn/workflows/run-plan.md +1844 -0
  108. package/renn/workflows/run-stage.md +692 -0
  109. package/renn/workflows/scope-stage.md +546 -0
  110. package/renn/workflows/ship-project.md +859 -0
  111. package/renn/workflows/transition.md +556 -0
  112. package/renn/workflows/watch-project.md +797 -0
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: renn.discuss-stage
3
+ description: Gather stage context through adaptive questioning before architecting
4
+ argument-hint: "<stage>"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ - AskUserQuestion
12
+ ---
13
+
14
+ <objective>
15
+ Extract implementation decisions that downstream agents need — scout and architect will use intel.md to know what to investigate and what choices are locked.
16
+
17
+ **How it works:**
18
+ 1. Analyze the stage to identify gray areas (UI, UX, behavior, etc.)
19
+ 2. Present gray areas — user selects which to discuss
20
+ 3. Deep-dive each selected area until satisfied
21
+ 4. Create intel.md with decisions that guide research and architecting
22
+
23
+ **Output:** `{stage}-intel.md` — decisions clear enough that downstream agents can act without asking the user again
24
+ </objective>
25
+
26
+ <execution_context>
27
+ @~/.claude/renn/workflows/scope-stage.md
28
+ @~/.claude/renn/templates/intel.md
29
+ </execution_context>
30
+
31
+ <context>
32
+ Stage number: $ARGUMENTS (required)
33
+
34
+ **Load project state:**
35
+ @.renn/pulse.md
36
+
37
+ **Load track:**
38
+ @.renn/track.md
39
+ </context>
40
+
41
+ <process>
42
+ 1. Validate stage number (error if missing or not in track)
43
+ 2. Check if intel.md exists (offer update/view/skip if yes)
44
+ 3. **Analyze stage** — Identify domain and generate stage-specific gray areas
45
+ 4. **Present gray areas** — Multi-select: which to discuss? (NO skip option)
46
+ 5. **Deep-dive each area** — 4 questions per area, then offer more/next
47
+ 6. **Write intel.md** — Sections match areas discussed
48
+ 7. Offer next steps (research or architect)
49
+
50
+ **CRITICAL: Scope guardrail**
51
+ - Stage boundary from track.md is FIXED
52
+ - Discussion clarifies HOW to implement, not WHETHER to add more
53
+ - If user suggests new capabilities: "That's its own stage. I'll note it for later."
54
+ - Capture deferred ideas — don't lose them, don't act on them
55
+
56
+ **Domain-aware gray areas:**
57
+ Gray areas depend on what's being built. Analyze the stage goal:
58
+ - Something users SEE → layout, density, interactions, states
59
+ - Something users CALL → responses, errors, auth, versioning
60
+ - Something users RUN → output format, flags, modes, error handling
61
+ - Something users READ → structure, tone, depth, flow
62
+ - Something being ORGANIZED → criteria, grouping, naming, exceptions
63
+
64
+ Generate 3-4 **stage-specific** gray areas, not generic categories.
65
+
66
+ **Probing depth:**
67
+ - Ask 4 questions per area before checking
68
+ - "More questions about [area], or move to next?"
69
+ - If more → ask 4 more, check again
70
+ - After all areas → "Ready to create intel?"
71
+
72
+ **Do NOT ask about (Claude handles these):**
73
+ - Technical implementation
74
+ - Architecture choices
75
+ - Performance concerns
76
+ - Scope expansion
77
+ </process>
78
+
79
+ <success_criteria>
80
+ - Gray areas identified through intelligent analysis
81
+ - User chose which areas to discuss
82
+ - Each selected area explored until satisfied
83
+ - Scope creep redirected to deferred ideas
84
+ - intel.md captures decisions, not vague vision
85
+ - User knows next steps
86
+ </success_criteria>
@@ -0,0 +1,550 @@
1
+ ---
2
+ name: renn.help
3
+ description: Show available RENN commands and usage guide
4
+ allowed-tools:
5
+ - Read
6
+ ---
7
+
8
+ <objective>
9
+ Display the complete RENN command reference.
10
+
11
+ Output ONLY the reference content below. Do NOT add:
12
+
13
+ - Project-specific analysis
14
+ - Git status or file context
15
+ - Next-step suggestions
16
+ - Any commentary beyond the reference
17
+ </objective>
18
+
19
+ <reference>
20
+ # RENN Command Reference
21
+
22
+ **RENN** (Agentic Code Engine) creates hierarchical project plans optimized for solo agentic development with Claude Code.
23
+
24
+ ## Quick Start
25
+
26
+ 1. `/renn.start` - Initialize project (includes research, requirements, track)
27
+ 2. `/renn.plan-stage 1` - Create detailed run for first stage
28
+ 2b. `/renn.design-system` - Create design system for UI stages (if applicable)
29
+ 2c. `/renn.design-screens 1` - Create screen prototypes (if applicable)
30
+ 3. `/renn.run-stage 1` - Execute the stage
31
+
32
+ ## Core Workflow
33
+
34
+ ```
35
+ /renn.start → /renn.design-system (UI) → /renn.design-screens (UI) → /renn.plan-stage → /renn.run-stage → repeat
36
+ ```
37
+
38
+ ### Project Initialization
39
+
40
+ **`/renn.start`**
41
+ Initialize new project through unified flow.
42
+
43
+ One command takes you from idea to ready-for-planning:
44
+ - Deep questioning to understand what you're building
45
+ - Optional domain research (spawns 4 parallel scout agents)
46
+ - Requirements definition with v1/v2/out-of-scope scoping
47
+ - Track creation with stage breakdown and success criteria
48
+
49
+ Creates all `.renn/` artifacts:
50
+ - `brief.md` — vision and requirements
51
+ - `config.json` — workflow style (guided/turbo)
52
+ - `research/` — domain research (if selected)
53
+ - `specs.md` — scoped requirements with REQ-IDs
54
+ - `track.md` — stages mapped to requirements
55
+ - `pulse.md` — project memory
56
+
57
+ Usage: `/renn.start`
58
+
59
+ **`/renn.map-codebase`**
60
+ Map an existing codebase for brownfield projects.
61
+
62
+ - Analyzes codebase with parallel Explore agents
63
+ - Creates `.renn/codebase/` with 7 focused documents
64
+ - Covers stack, architecture, structure, conventions, testing, integrations, concerns
65
+ - Use before `/renn.start` on existing codebases
66
+
67
+ Usage: `/renn.map-codebase`
68
+
69
+ ### Stage Planning
70
+
71
+ **`/renn.discuss-stage <number>`**
72
+ Help articulate your vision for a stage before planning.
73
+
74
+ - Captures how you imagine this stage working
75
+ - Creates intel.md with your vision, essentials, and boundaries
76
+ - Use when you have ideas about how something should look/feel
77
+
78
+ Usage: `/renn.discuss-stage 2`
79
+
80
+ **`/renn.research-stage <number>`**
81
+ Comprehensive ecosystem research for niche/complex domains.
82
+
83
+ - Discovers standard stack, architecture patterns, pitfalls
84
+ - Creates research.md with "how experts build this" knowledge
85
+ - Use for 3D, games, audio, shaders, ML, and other specialized domains
86
+ - Goes beyond "which library" to ecosystem knowledge
87
+
88
+ Usage: `/renn.research-stage 3`
89
+
90
+ **`/renn.list-stage-assumptions <number>`**
91
+ See what Claude is planning to do before it starts.
92
+
93
+ - Shows Claude's intended approach for a stage
94
+ - Lets you course-correct if Claude misunderstood your vision
95
+ - No files created - conversational output only
96
+
97
+ Usage: `/renn.list-stage-assumptions 3`
98
+
99
+ **`/renn.plan-stage <number>`**
100
+ Create detailed execution run for a specific stage.
101
+
102
+ - Generates `.renn/stages/XX-stage-name/XX-YY-run.md`
103
+ - Breaks stage into concrete, actionable tasks
104
+ - Includes verification criteria and success measures
105
+ - Multiple runs per stage supported (XX-01, XX-02, etc.)
106
+
107
+ Usage: `/renn.plan-stage 1`
108
+ Result: Creates `.renn/stages/01-foundation/01-01-run.md`
109
+
110
+ ### Design
111
+
112
+ **`/renn.design-system [--skip-ux-interview]`**
113
+ Create the project-wide design system (stylekit + components) for all UI stages.
114
+
115
+ - Runs Phase 1 of the design pipeline: UX interview, design interview, stylekit creation
116
+ - Produces `.renn/design/stylekit.yaml`, `stylekit.css`, `stylekit-preview.html`, and `components/`
117
+ - Stops after Phase 1 approval -- does NOT create screen prototypes
118
+ - Use before `/renn.design-screens` for UI stages
119
+
120
+ Usage: `/renn.design-system`
121
+
122
+ **`/renn.design-screens <stage>`**
123
+ Create screen prototypes using the existing design system.
124
+
125
+ - Runs Phase 2 of the design pipeline: screen creation, reviewer, approval gate
126
+ - Requires `.renn/design/stylekit.yaml` from a prior `/renn.design-system` run
127
+ - Generates implementation guide and commits it after screen approval
128
+ - Produces `.renn/design/screens/` specs and prototypes
129
+ - Use after `/renn.design-system` and before `/renn.plan-stage`
130
+
131
+ Usage: `/renn.design-screens 3`
132
+
133
+ **`/renn.restyle <stage>`**
134
+ Redesign a stage's visuals without re-planning.
135
+
136
+ - Requires existing design artifacts from a prior `/renn.design-system` run
137
+ - Keeps existing stylekit, creates new screen prototypes
138
+ - Preserves architecture plans (run.md files) -- only design changes
139
+
140
+ Usage: `/renn.restyle 3`
141
+
142
+ ### Execution
143
+
144
+ **`/renn.run-stage <stage-number>`**
145
+ Execute all runs in a stage.
146
+
147
+ - Groups runs by batch (from frontmatter), executes batches sequentially
148
+ - Runs within each batch run in parallel via Task tool
149
+ - Verifies stage goal after all runs complete
150
+ - Updates specs.md, track.md, pulse.md
151
+
152
+ Usage: `/renn.run-stage 5`
153
+
154
+ ### Quick Mode
155
+
156
+ **`/renn.dash`**
157
+ Execute small, ad-hoc tasks with RENN guarantees but skip optional agents.
158
+
159
+ Quick mode uses the same system with a shorter path:
160
+ - Spawns architect + runner (skips scout, reviewer, auditor)
161
+ - Quick tasks live in `.renn/quick/` separate from planned stages
162
+ - Updates pulse.md tracking (not track.md)
163
+
164
+ Use when you know exactly what to do and the task is small enough to not need research or auditing.
165
+
166
+ Usage: `/renn.dash`
167
+ Result: Creates `.renn/quick/NNN-slug/run.md`, `.renn/quick/NNN-slug/recap.md`
168
+
169
+ ### Track Management
170
+
171
+ **`/renn.add-stage <description>`**
172
+ Add new stage to end of current milestone.
173
+
174
+ - Appends to track.md
175
+ - Uses next sequential number
176
+ - Updates stage directory structure
177
+
178
+ Usage: `/renn.add-stage "Add admin dashboard"`
179
+
180
+ **`/renn.insert-stage <after> <description>`**
181
+ Insert urgent work as decimal stage between existing stages.
182
+
183
+ - Creates intermediate stage (e.g., 7.1 between 7 and 8)
184
+ - Useful for discovered work that must happen mid-milestone
185
+ - Maintains stage ordering
186
+
187
+ Usage: `/renn.insert-stage 7 "Fix critical auth bug"`
188
+ Result: Creates Stage 7.1
189
+
190
+ **`/renn.remove-stage <number>`**
191
+ Remove a future stage and renumber subsequent stages.
192
+
193
+ - Deletes stage directory and all references
194
+ - Renumbers all subsequent stages to close the gap
195
+ - Only works on future (unstarted) stages
196
+ - Git commit preserves historical record
197
+
198
+ Usage: `/renn.remove-stage 17`
199
+ Result: Stage 17 deleted, stages 18-20 become 17-19
200
+
201
+ ### Milestone Management
202
+
203
+ **`/renn.new-milestone <name>`**
204
+ Start a new milestone through unified flow.
205
+
206
+ - Deep questioning to understand what you're building next
207
+ - Optional domain research (spawns 4 parallel scout agents)
208
+ - Requirements definition with scoping
209
+ - Track creation with stage breakdown
210
+
211
+ Mirrors `/renn.start` flow for brownfield projects (existing brief.md).
212
+
213
+ Usage: `/renn.new-milestone "v2.0 Features"`
214
+
215
+ **`/renn.complete-milestone <version>`**
216
+ Archive completed milestone and prepare for next version.
217
+
218
+ - Creates milestones.md entry with stats
219
+ - Archives full details to milestones/ directory
220
+ - Creates git tag for the release
221
+ - Prepares workspace for next version
222
+
223
+ Usage: `/renn.complete-milestone 1.0.0`
224
+
225
+ ### Shipping
226
+
227
+ **`/renn.ship`**
228
+ Ship your project to a deployment target.
229
+
230
+ - Detects your stack and suggests relevant platforms
231
+ - Researches deployment requirements for chosen target
232
+ - Generates and walks a deployment checklist (auto + human-gated steps)
233
+
234
+ Usage: `/renn.ship`
235
+
236
+ **`/renn.watch`**
237
+ Set up monitoring for your deployed project.
238
+
239
+ - Reads project context from brief.md and ship-target.md
240
+ - If no RENN context exists, asks you directly for stack and platform info
241
+ - Researches monitoring tools (free-tier-first) and generates a setup checklist
242
+ - Walks the checklist with auto-execution and human-gated steps
243
+
244
+ Usage: `/renn.watch`
245
+
246
+ ### Progress Tracking
247
+
248
+ **`/renn.status`**
249
+ Check project status and intelligently route to next action.
250
+
251
+ - Shows visual progress bar and completion percentage
252
+ - Summarizes recent work from RECAP files
253
+ - Displays current position and what's next
254
+ - Lists key decisions and open issues
255
+ - Offers to execute next run or create it if missing
256
+ - Detects 100% milestone completion
257
+
258
+ Usage: `/renn.status`
259
+
260
+ ### Session Management
261
+
262
+ **`/renn.continue`**
263
+ Resume work from previous session with full context restoration.
264
+
265
+ - Reads pulse.md for project context
266
+ - Shows current position and recent progress
267
+ - Offers next actions based on project state
268
+
269
+ Usage: `/renn.continue`
270
+
271
+ **`/renn.pause`**
272
+ Create context handoff when pausing work mid-stage.
273
+
274
+ - Creates .continue-here file with current state
275
+ - Updates pulse.md session continuity section
276
+ - Captures in-progress work context
277
+
278
+ Usage: `/renn.pause`
279
+
280
+ ### Debugging
281
+
282
+ **`/renn.debug [issue description]`**
283
+ Systematic debugging with persistent state across context resets.
284
+
285
+ - Gathers symptoms through adaptive questioning
286
+ - Creates `.renn/debug/[slug].md` to track investigation
287
+ - Investigates using scientific method (evidence → hypothesis → test)
288
+ - Survives `/clear` — run `/renn.debug` with no args to resume
289
+ - Archives resolved issues to `.renn/debug/resolved/`
290
+
291
+ Usage: `/renn.debug "login button doesn't work"`
292
+ Usage: `/renn.debug` (resume active session)
293
+
294
+ ### Todo Management
295
+
296
+ **`/renn.add-todo [description]`**
297
+ Capture idea or task as todo from current conversation.
298
+
299
+ - Extracts context from conversation (or uses provided description)
300
+ - Creates structured todo file in `.renn/todos/pending/`
301
+ - Infers area from file paths for grouping
302
+ - Checks for duplicates before creating
303
+ - Updates pulse.md todo count
304
+
305
+ Usage: `/renn.add-todo` (infers from conversation)
306
+ Usage: `/renn.add-todo Add auth token refresh`
307
+
308
+ **`/renn.check-todos [area]`**
309
+ List pending todos and select one to work on.
310
+
311
+ - Lists all pending todos with title, area, age
312
+ - Optional area filter (e.g., `/renn.check-todos api`)
313
+ - Loads full context for selected todo
314
+ - Routes to appropriate action (work now, add to stage, brainstorm)
315
+ - Moves todo to done/ when work begins
316
+
317
+ Usage: `/renn.check-todos`
318
+ Usage: `/renn.check-todos api`
319
+
320
+ ### User Acceptance Testing
321
+
322
+ **`/renn.audit [stage]`**
323
+ Validate built features through conversational UAT.
324
+
325
+ - Extracts testable deliverables from RECAP files
326
+ - Presents tests one at a time (yes/no responses)
327
+ - Automatically diagnoses failures and creates fix runs
328
+ - Ready for re-execution if issues found
329
+
330
+ Usage: `/renn.audit 3`
331
+
332
+ ### Milestone Auditing
333
+
334
+ **`/renn.audit-milestone [version]`**
335
+ Audit milestone completion against original intent.
336
+
337
+ - Reads all stage proof.md files
338
+ - Checks requirements coverage
339
+ - Spawns integration checker for cross-stage wiring
340
+ - Creates MILESTONE-AUDIT.md with gaps and tech debt
341
+
342
+ Usage: `/renn.audit-milestone`
343
+
344
+ **`/renn.plan-milestone-gaps`**
345
+ Create stages to close gaps identified by audit.
346
+
347
+ - Reads MILESTONE-AUDIT.md and groups gaps into stages
348
+ - Prioritizes by requirement priority (must/should/nice)
349
+ - Adds gap closure stages to track.md
350
+ - Ready for `/renn.plan-stage` on new stages
351
+
352
+ Usage: `/renn.plan-milestone-gaps`
353
+
354
+ ### Configuration
355
+
356
+ **`/renn.settings`**
357
+ Configure workflow toggles and horsepower profile interactively.
358
+
359
+ - Toggle scout, plan reviewer, auditor agents
360
+ - Select horsepower profile (max/balanced/eco)
361
+ - Updates `.renn/config.json`
362
+
363
+ Usage: `/renn.settings`
364
+
365
+ **`/renn.set-profile <profile>`**
366
+ Quick switch horsepower profile for RENN agents.
367
+
368
+ - `max` — Opus everywhere except auditing
369
+ - `balanced` — Opus for planning, Sonnet for execution (default)
370
+ - `eco` — Sonnet for writing, Haiku for research/auditing
371
+
372
+ Usage: `/renn.set-profile eco`
373
+
374
+ ### Utility Commands
375
+
376
+ **`/renn.help`**
377
+ Show this command reference.
378
+
379
+ ## Files & Structure
380
+
381
+ ```
382
+ .renn/
383
+ ├── brief.md # Project vision
384
+ ├── track.md # Current stage breakdown
385
+ ├── pulse.md # Project memory & context
386
+ ├── config.json # Workflow style & gates
387
+ ├── todos/ # Captured ideas and tasks
388
+ │ ├── pending/ # Todos waiting to be worked on
389
+ │ └── done/ # Completed todos
390
+ ├── debug/ # Active debug sessions
391
+ │ └── resolved/ # Archived resolved issues
392
+ ├── codebase/ # Codebase map (brownfield projects)
393
+ │ ├── STACK.md # Languages, frameworks, dependencies
394
+ │ ├── ARCHITECTURE.md # Patterns, layers, data flow
395
+ │ ├── STRUCTURE.md # Directory layout, key files
396
+ │ ├── CONVENTIONS.md # Coding standards, naming
397
+ │ ├── TESTING.md # Test setup, patterns
398
+ │ ├── INTEGRATIONS.md # External services, APIs
399
+ │ └── CONCERNS.md # Tech debt, known issues
400
+ └── stages/
401
+ ├── 01-foundation/
402
+ │ ├── 01-01-run.md
403
+ │ └── 01-01-recap.md
404
+ └── 02-core-features/
405
+ ├── 02-01-run.md
406
+ └── 02-01-recap.md
407
+ ```
408
+
409
+ ## Workflow Styles
410
+
411
+ Set during `/renn.start`:
412
+
413
+ **Guided Mode**
414
+
415
+ - Confirms each major decision
416
+ - Pauses at gates for approval
417
+ - More guidance throughout
418
+
419
+ **Turbo Mode**
420
+
421
+ - Auto-approves most decisions
422
+ - Executes runs without confirmation
423
+ - Only stops for critical gates
424
+
425
+ Change anytime by editing `.renn/config.json`
426
+
427
+ ## Planning Configuration
428
+
429
+ Configure how planning artifacts are managed in `.renn/config.json`:
430
+
431
+ **`planning.commit_docs`** (default: `true`)
432
+ - `true`: Planning artifacts committed to git (standard workflow)
433
+ - `false`: Planning artifacts kept local-only, not committed
434
+
435
+ When `commit_docs: false`:
436
+ - Add `.renn/` to your `.gitignore`
437
+ - Useful for OSS contributions, client projects, or keeping planning private
438
+ - All planning files still work normally, just not tracked in git
439
+
440
+ **`planning.search_gitignored`** (default: `false`)
441
+ - `true`: Add `--no-ignore` to broad ripgrep searches
442
+ - Only needed when `.renn/` is gitignored and you want project-wide searches to include it
443
+
444
+ Example config:
445
+ ```json
446
+ {
447
+ "planning": {
448
+ "commit_docs": false,
449
+ "search_gitignored": true
450
+ }
451
+ }
452
+ ```
453
+
454
+ ## Common Workflows
455
+
456
+ **Starting a new project:**
457
+
458
+ ```
459
+ /renn.start # Unified flow: questioning → research → requirements → track
460
+ /clear
461
+ /renn.plan-stage 1 # Create runs for first stage
462
+ /clear
463
+ /renn.run-stage 1 # Execute all runs in stage
464
+ ```
465
+
466
+ For projects with UI stages, add design commands before `/renn.plan-stage`:
467
+
468
+ ```
469
+ /renn.start # Unified flow
470
+ /clear
471
+ /renn.design-system # Create design system for all UI stages
472
+ /clear
473
+ /renn.design-screens 1 # Create screen prototypes
474
+ /clear
475
+ /renn.plan-stage 1 # Plan implementation
476
+ /clear
477
+ /renn.run-stage 1 # Execute
478
+ ```
479
+
480
+ **Designing a UI stage:**
481
+
482
+ ```
483
+ /renn.design-system # Create design system for all UI stages
484
+ /clear
485
+ /renn.design-screens 2 # Create screen prototypes
486
+ /clear
487
+ /renn.plan-stage 2 # Plan implementation using design artifacts
488
+ /clear
489
+ /renn.run-stage 2 # Execute
490
+ ```
491
+
492
+ **Resuming work after a break:**
493
+
494
+ ```
495
+ /renn.status # See where you left off and continue
496
+ ```
497
+
498
+ **Adding urgent mid-milestone work:**
499
+
500
+ ```
501
+ /renn.insert-stage 5 "Critical security fix"
502
+ /renn.plan-stage 5.1
503
+ /renn.run-stage 5.1
504
+ ```
505
+
506
+ **Completing a milestone:**
507
+
508
+ ```
509
+ /renn.complete-milestone 1.0.0
510
+ /clear
511
+ /renn.ship # Ship to production (optional)
512
+ /clear
513
+ /renn.watch # Set up monitoring (optional)
514
+ /clear
515
+ /renn.new-milestone # Start next milestone
516
+ ```
517
+
518
+ **Capturing ideas during work:**
519
+
520
+ ```
521
+ /renn.add-todo # Capture from conversation context
522
+ /renn.add-todo Fix modal z-index # Capture with explicit description
523
+ /renn.check-todos # Review and work on todos
524
+ /renn.check-todos api # Filter by area
525
+ ```
526
+
527
+ **Debugging an issue:**
528
+
529
+ ```
530
+ /renn.debug "form submission fails silently" # Start debug session
531
+ # ... investigation happens, context fills up ...
532
+ /clear
533
+ /renn.debug # Resume from where you left off
534
+ ```
535
+
536
+ ## Getting Help
537
+
538
+ - Read `.renn/brief.md` for project vision
539
+ - Read `.renn/pulse.md` for current context
540
+ - Check `.renn/track.md` for stage status
541
+ - Run `/renn.status` to check where you're up to
542
+ </reference>
543
+
544
+ <process>
545
+ Output the reference content above verbatim. Do not add project-specific analysis, git status, or commentary.
546
+ </process>
547
+
548
+ <success_criteria>
549
+ - [ ] Complete command reference displayed to user
550
+ </success_criteria>