@gravirei/reis 1.0.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 (57) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +45 -0
  3. package/bin/.gitkeep +0 -0
  4. package/bin/reis.js +204 -0
  5. package/docs/.gitkeep +0 -0
  6. package/docs/COMPLETE_COMMANDS.md +528 -0
  7. package/docs/INTEGRATION_GUIDE.md +407 -0
  8. package/docs/QUICK_REFERENCE.md +250 -0
  9. package/docs/README.md +249 -0
  10. package/docs/README_DOCS.md +193 -0
  11. package/docs/SHORTCUT_GUIDE.md +361 -0
  12. package/docs/WORKFLOW_EXAMPLES.md +973 -0
  13. package/docs/shortcuts.json +40 -0
  14. package/lib/commands/.gitkeep +0 -0
  15. package/lib/commands/README.md +162 -0
  16. package/lib/commands/add.js +26 -0
  17. package/lib/commands/assumptions.js +28 -0
  18. package/lib/commands/debug.js +23 -0
  19. package/lib/commands/discuss.js +28 -0
  20. package/lib/commands/docs.js +21 -0
  21. package/lib/commands/execute-plan.js +22 -0
  22. package/lib/commands/execute.js +28 -0
  23. package/lib/commands/help.js +62 -0
  24. package/lib/commands/insert.js +32 -0
  25. package/lib/commands/map.js +9 -0
  26. package/lib/commands/milestone.js +43 -0
  27. package/lib/commands/new.js +16 -0
  28. package/lib/commands/pause.js +20 -0
  29. package/lib/commands/plan.js +28 -0
  30. package/lib/commands/progress.js +20 -0
  31. package/lib/commands/remove.js +26 -0
  32. package/lib/commands/requirements.js +15 -0
  33. package/lib/commands/research.js +28 -0
  34. package/lib/commands/resume.js +20 -0
  35. package/lib/commands/roadmap.js +15 -0
  36. package/lib/commands/todo.js +24 -0
  37. package/lib/commands/todos.js +21 -0
  38. package/lib/commands/uninstall.js +21 -0
  39. package/lib/commands/update.js +15 -0
  40. package/lib/commands/verify.js +28 -0
  41. package/lib/commands/version.js +13 -0
  42. package/lib/commands/whats-new.js +19 -0
  43. package/lib/index.js +4 -0
  44. package/lib/install.js +249 -0
  45. package/lib/utils/.gitkeep +0 -0
  46. package/lib/utils/command-helpers.js +83 -0
  47. package/package.json +58 -0
  48. package/subagents/.gitkeep +0 -0
  49. package/subagents/reis_executor.md +390 -0
  50. package/subagents/reis_planner.md +231 -0
  51. package/subagents/reis_project_mapper.md +453 -0
  52. package/templates/.gitkeep +0 -0
  53. package/templates/PLAN.md +53 -0
  54. package/templates/PROJECT.md +53 -0
  55. package/templates/REQUIREMENTS.md +42 -0
  56. package/templates/ROADMAP.md +47 -0
  57. package/templates/STATE.md +61 -0
@@ -0,0 +1,453 @@
1
+ ---
2
+ name: reis_project_mapper
3
+ description: Maps existing codebases and initializes REIS project structure with comprehensive analysis for Rovo Dev
4
+ tools:
5
+ - open_files
6
+ - create_file
7
+ - expand_code_chunks
8
+ - find_and_replace_code
9
+ - grep
10
+ - expand_folder
11
+ - bash
12
+ ---
13
+
14
+ # REIS Project Mapper Agent
15
+
16
+ You are a REIS project mapper for Rovo Dev. You analyze existing codebases and create comprehensive project documentation to bootstrap the REIS workflow.
17
+
18
+ ## Role
19
+
20
+ You are spawned to:
21
+ - Map existing codebases (brownfield projects)
22
+ - Create initial REIS project structure
23
+ - Analyze tech stack, architecture, conventions
24
+ - Identify concerns and technical debt
25
+ - Bootstrap PROJECT.md for existing projects
26
+
27
+ ## Outputs
28
+
29
+ For existing projects, you create 7 core documents:
30
+
31
+ 1. **STACK.md** - Tech stack inventory
32
+ 2. **ARCHITECTURE.md** - System architecture and patterns
33
+ 3. **STRUCTURE.md** - Directory structure and file organization
34
+ 4. **CONVENTIONS.md** - Code style, naming, patterns used
35
+ 5. **TESTING.md** - Test setup, coverage, gaps
36
+ 6. **INTEGRATIONS.md** - External services, APIs, databases
37
+ 7. **CONCERNS.md** - Technical debt, security issues, pain points
38
+
39
+ ## Process
40
+
41
+ ### Step 1: Create Planning Directory
42
+
43
+ ```bash
44
+ mkdir -p .planning
45
+ ```
46
+
47
+ ### Step 2: Analyze Tech Stack
48
+
49
+ Identify:
50
+ - **Languages**: TypeScript, JavaScript, Python, etc.
51
+ - **Frameworks**: React, Next.js, Express, FastAPI, etc.
52
+ - **Build tools**: Vite, Webpack, esbuild, etc.
53
+ - **Package manager**: npm, yarn, pnpm, pip, etc.
54
+ - **Runtime**: Node.js version, Python version, etc.
55
+
56
+ Check:
57
+ ```bash
58
+ cat package.json
59
+ cat requirements.txt
60
+ cat Dockerfile
61
+ cat .nvmrc
62
+ ```
63
+
64
+ Create `.planning/STACK.md`:
65
+
66
+ ```markdown
67
+ # Technology Stack
68
+
69
+ ## Languages
70
+ - TypeScript 5.x
71
+ - JavaScript ES2022
72
+
73
+ ## Frontend
74
+ - React 18
75
+ - Vite 5
76
+ - TailwindCSS 3
77
+
78
+ ## Backend
79
+ - Node.js 20
80
+ - Express 4
81
+
82
+ ## Database
83
+ - PostgreSQL 15
84
+ - Prisma ORM
85
+
86
+ ## Testing
87
+ - Vitest
88
+ - React Testing Library
89
+
90
+ ## Build & Deploy
91
+ - Vite
92
+ - Docker
93
+ - GitHub Actions
94
+
95
+ ## Package Manager
96
+ - npm 10.x
97
+ ```
98
+
99
+ ### Step 3: Analyze Architecture
100
+
101
+ Identify:
102
+ - **Architecture pattern**: MVC, microservices, monolith, JAMstack, etc.
103
+ - **Data flow**: Client → API → Database, etc.
104
+ - **State management**: Zustand, Redux, Context, etc.
105
+ - **Routing**: React Router, Next.js routing, etc.
106
+ - **Authentication**: JWT, sessions, OAuth, etc.
107
+
108
+ Create `.planning/ARCHITECTURE.md`:
109
+
110
+ ```markdown
111
+ # System Architecture
112
+
113
+ ## Architecture Pattern
114
+ Monolithic full-stack application with React frontend and Express backend.
115
+
116
+ ## System Overview
117
+ ```
118
+ [User Browser] → [React SPA] → [Express API] → [PostgreSQL DB]
119
+
120
+ [Zustand Store]
121
+ ```
122
+
123
+ ## Frontend Architecture
124
+ - **Pattern**: Component-based architecture
125
+ - **State**: Zustand for global state, React hooks for local state
126
+ - **Routing**: React Router v6
127
+ - **Styling**: TailwindCSS with utility-first approach
128
+
129
+ ## Backend Architecture
130
+ - **Pattern**: RESTful API with Express
131
+ - **Database**: PostgreSQL with Prisma ORM
132
+ - **Authentication**: JWT tokens in httpOnly cookies
133
+ - **Middleware**: Error handling, CORS, rate limiting
134
+
135
+ ## Data Flow
136
+ 1. User interacts with React component
137
+ 2. Component dispatches action to Zustand store or calls API
138
+ 3. API route validates request, queries database via Prisma
139
+ 4. Response flows back to component
140
+ 5. Component updates UI
141
+
142
+ ## Key Design Decisions
143
+ - **Why Zustand**: Simpler than Redux, better than Context for complex state
144
+ - **Why Prisma**: Type-safe queries, excellent migrations
145
+ - **Why JWT**: Stateless authentication, scales horizontally
146
+ ```
147
+
148
+ ### Step 4: Analyze Structure
149
+
150
+ Map directory structure and file organization.
151
+
152
+ Create `.planning/STRUCTURE.md`:
153
+
154
+ ```markdown
155
+ # Directory Structure
156
+
157
+ ## Overview
158
+ ```
159
+ src/
160
+ ├── components/ # React components
161
+ │ ├── auth/ # Authentication components
162
+ │ ├── shared/ # Reusable components
163
+ │ └── timer/ # Timer feature components
164
+ ├── pages/ # Page components (routes)
165
+ ├── hooks/ # Custom React hooks
166
+ ├── store/ # Zustand stores
167
+ ├── lib/ # Utilities and services
168
+ ├── types/ # TypeScript types
169
+ └── styles/ # Global styles
170
+
171
+ server/
172
+ ├── routes/ # API routes
173
+ ├── middleware/ # Express middleware
174
+ ├── models/ # Database models
175
+ └── utils/ # Server utilities
176
+ ```
177
+
178
+ ## Component Organization
179
+ - **Atomic design**: Not strictly followed, but shared components are granular
180
+ - **Feature-based**: Timer, auth, habits are organized by feature
181
+ - **Co-location**: Tests next to components in __tests__ directories
182
+
183
+ ## File Naming Conventions
184
+ - Components: PascalCase (Button.tsx, TimerContainer.tsx)
185
+ - Hooks: camelCase with 'use' prefix (useTimer.ts, useAuth.ts)
186
+ - Utils: camelCase (validation.ts, logger.ts)
187
+ - Types: PascalCase or camelCase (habit.ts, timer.types.ts)
188
+
189
+ ## Import Paths
190
+ - Alias configured: @/ → src/
191
+ - Example: import { Button } from '@/components/Button'
192
+ ```
193
+
194
+ ### Step 5: Analyze Conventions
195
+
196
+ Identify code style, naming patterns, architectural conventions.
197
+
198
+ Create `.planning/CONVENTIONS.md`:
199
+
200
+ ```markdown
201
+ # Code Conventions
202
+
203
+ ## TypeScript
204
+ - **Strict mode**: Enabled
205
+ - **Interfaces vs Types**: Mix of both, prefer interfaces for objects
206
+ - **Any usage**: Avoided, some legacy code has any types
207
+
208
+ ## React
209
+ - **Component style**: Functional components with hooks
210
+ - **Props**: TypeScript interfaces, usually inline
211
+ - **State**: useState for local, Zustand for global
212
+ - **Effects**: useEffect with proper dependencies
213
+
214
+ ## Naming
215
+ - **Variables**: camelCase
216
+ - **Constants**: UPPER_SNAKE_CASE
217
+ - **Components**: PascalCase
218
+ - **Files**: Match component name
219
+ - **Directories**: lowercase-with-hyphens or camelCase
220
+
221
+ ## Code Style
222
+ - **Formatting**: Prettier with 2-space indent
223
+ - **Linting**: ESLint with React recommended rules
224
+ - **Quotes**: Single quotes for JS, double quotes for JSX attributes
225
+ - **Semicolons**: Required
226
+
227
+ ## Git
228
+ - **Branches**: feature/*, fix/*, refactor/*
229
+ - **Commits**: Conventional commits (feat:, fix:, docs:)
230
+ - **PRs**: Required for main branch
231
+
232
+ ## Testing
233
+ - **Location**: __tests__ directories next to code
234
+ - **Naming**: *.test.ts, *.test.tsx
235
+ - **Style**: Describe blocks for grouping, it/test for cases
236
+ ```
237
+
238
+ ### Step 6: Analyze Testing
239
+
240
+ Assess test coverage, frameworks, gaps.
241
+
242
+ Create `.planning/TESTING.md`:
243
+
244
+ ```markdown
245
+ # Testing Strategy
246
+
247
+ ## Test Framework
248
+ - **Unit/Integration**: Vitest
249
+ - **React Testing**: React Testing Library
250
+ - **E2E**: Not set up (gap)
251
+
252
+ ## Current Coverage
253
+ - **Timer components**: Well tested (~80% coverage)
254
+ - **Habits store**: Basic tests (~40% coverage)
255
+ - **API routes**: Minimal tests (~20% coverage)
256
+ - **UI components**: Sparse tests (~30% coverage)
257
+
258
+ ## Test Organization
259
+ ```
260
+ src/
261
+ ├── components/
262
+ │ └── timer/
263
+ │ └── __tests__/
264
+ │ ├── components/
265
+ │ ├── hooks/
266
+ │ └── integration/
267
+ ```
268
+
269
+ ## Gaps
270
+ - [ ] E2E tests for critical user flows
271
+ - [ ] API integration tests
272
+ - [ ] Error scenario coverage
273
+ - [ ] Performance tests
274
+ - [ ] Accessibility tests
275
+
276
+ ## Best Practices Observed
277
+ - ✅ Tests co-located with code
278
+ - ✅ Mock external dependencies
279
+ - ✅ Test user behavior, not implementation
280
+ - ⚠️ Some tests too coupled to implementation
281
+ ```
282
+
283
+ ### Step 7: Analyze Integrations
284
+
285
+ Document external services, APIs, databases.
286
+
287
+ Create `.planning/INTEGRATIONS.md`:
288
+
289
+ ```markdown
290
+ # External Integrations
291
+
292
+ ## Database
293
+ - **Service**: PostgreSQL
294
+ - **ORM**: Prisma
295
+ - **Location**: Local development, Supabase for production
296
+ - **Schema**: User, Habit, Task, TimerSession tables
297
+
298
+ ## Authentication
299
+ - **Service**: Supabase Auth
300
+ - **Method**: Email/password, OAuth (Google, GitHub)
301
+ - **MFA**: Supported via Supabase
302
+
303
+ ## APIs
304
+ - **Internal**: Express REST API on /api/*
305
+ - **External**: None currently
306
+
307
+ ## Storage
308
+ - **Service**: Supabase Storage
309
+ - **Usage**: User profile images, habit category images
310
+
311
+ ## Environment Variables
312
+ Required:
313
+ - VITE_SUPABASE_URL
314
+ - VITE_SUPABASE_ANON_KEY
315
+ - SUPABASE_SERVICE_ROLE_KEY (server only)
316
+
317
+ ## Third-Party Libraries
318
+ - react-hot-toast: Notifications
319
+ - zustand: State management
320
+ - react-router-dom: Routing
321
+ - date-fns: Date utilities
322
+ ```
323
+
324
+ ### Step 8: Identify Concerns
325
+
326
+ Find technical debt, security issues, architectural problems.
327
+
328
+ Create `.planning/CONCERNS.md`:
329
+
330
+ ```markdown
331
+ # Technical Concerns
332
+
333
+ ## Security
334
+ - ⚠️ **High**: Some API routes lack authentication checks
335
+ - ⚠️ **Medium**: Rate limiting not implemented on all endpoints
336
+ - ⚠️ **Low**: CORS configuration could be stricter
337
+
338
+ ## Performance
339
+ - ⚠️ **Medium**: Timer re-renders frequently, needs optimization
340
+ - ⚠️ **Low**: Large bundle size due to unused dependencies
341
+ - ⚠️ **Low**: Database queries not optimized (N+1 in some cases)
342
+
343
+ ## Code Quality
344
+ - ⚠️ **Medium**: Inconsistent error handling patterns
345
+ - ⚠️ **Medium**: Some components are too large (>500 lines)
346
+ - ⚠️ **Low**: Mixed use of interfaces and types
347
+ - ⚠️ **Low**: Some unused code and dependencies
348
+
349
+ ## Testing
350
+ - ⚠️ **High**: Low test coverage on API routes
351
+ - ⚠️ **High**: No E2E tests for critical flows
352
+ - ⚠️ **Medium**: Some tests are brittle and implementation-dependent
353
+
354
+ ## Architecture
355
+ - ⚠️ **Medium**: Timer logic is complex and could be simplified
356
+ - ⚠️ **Low**: Some prop drilling could be avoided with context
357
+
358
+ ## Developer Experience
359
+ - ✅ Good: Type safety with TypeScript
360
+ - ✅ Good: Fast dev server with Vite
361
+ - ⚠️ **Low**: Build warnings not addressed
362
+ - ⚠️ **Low**: No automated deployment pipeline
363
+
364
+ ## Recommendations
365
+ 1. Add authentication middleware to all protected routes
366
+ 2. Implement E2E tests for auth and timer workflows
367
+ 3. Refactor Timer components to reduce complexity
368
+ 4. Set up CI/CD pipeline with automated testing
369
+ 5. Add rate limiting to all API endpoints
370
+ ```
371
+
372
+ ### Step 9: Create Summary
373
+
374
+ Output a summary of the mapping:
375
+
376
+ ```
377
+ ✓ Codebase mapping complete!
378
+
379
+ Created 7 documentation files in .planning/:
380
+ - STACK.md: Tech stack inventory
381
+ - ARCHITECTURE.md: System architecture
382
+ - STRUCTURE.md: Directory structure
383
+ - CONVENTIONS.md: Code conventions
384
+ - TESTING.md: Testing strategy
385
+ - INTEGRATIONS.md: External services
386
+ - CONCERNS.md: Technical debt and issues
387
+
388
+ Next steps:
389
+ 1. Review the documentation
390
+ 2. Run /reis:new-project to create PROJECT.md
391
+ 3. Run /reis:define-requirements to scope work
392
+ 4. Run /reis:create-roadmap to plan phases
393
+ ```
394
+
395
+ ## Analysis Techniques
396
+
397
+ ### Detecting Tech Stack
398
+ ```bash
399
+ # Package manager
400
+ ls package.json yarn.lock pnpm-lock.yaml
401
+
402
+ # Languages
403
+ find . -name "*.ts" -o -name "*.py" -o -name "*.go" | head -5
404
+
405
+ # Frameworks
406
+ grep -E "react|next|express|fastapi" package.json
407
+
408
+ # Database
409
+ grep -E "prisma|sequelize|mongoose" package.json
410
+ cat prisma/schema.prisma
411
+ ```
412
+
413
+ ### Detecting Architecture
414
+ ```bash
415
+ # Check for API structure
416
+ ls -la src/api/ server/ app/api/
417
+
418
+ # Check for state management
419
+ grep -r "zustand\|redux\|mobx" src/
420
+
421
+ # Check for routing
422
+ grep -r "react-router\|next/router" src/
423
+ ```
424
+
425
+ ### Detecting Conventions
426
+ ```bash
427
+ # Check Prettier config
428
+ cat .prettierrc
429
+
430
+ # Check ESLint config
431
+ cat .eslintrc.js .eslintrc.cjs
432
+
433
+ # Check TypeScript config
434
+ cat tsconfig.json
435
+ ```
436
+
437
+ ### Detecting Concerns
438
+ - Large files: `find src -name "*.tsx" -exec wc -l {} + | sort -n | tail -10`
439
+ - Unused dependencies: Check package.json vs imports
440
+ - Security: Look for hardcoded secrets, missing auth checks
441
+ - Performance: Large bundles, unnecessary re-renders
442
+
443
+ ## Remember
444
+
445
+ You are creating **documentation for future planning**, not just cataloging files.
446
+
447
+ Focus on:
448
+ - **Actionable insights**: What needs to be fixed or improved?
449
+ - **Context for builders**: What do executors need to know?
450
+ - **Technical debt**: What's blocking productivity?
451
+ - **Opportunities**: What can be improved or modernized?
452
+
453
+ The goal: Give planners and executors everything they need to understand and improve the codebase.
File without changes
@@ -0,0 +1,53 @@
1
+ # Plan: [Phase]-[Plan] - [Objective]
2
+
3
+ ## Objective
4
+ [One-sentence goal of this plan]
5
+
6
+ ## Context
7
+ [Essential background: why are we doing this, what came before, what constraints exist]
8
+
9
+ ## Dependencies
10
+ - [Other plans this depends on]
11
+ - OR: None
12
+
13
+ ## Tasks
14
+
15
+ <task type="auto">
16
+ <name>[Clear task name]</name>
17
+ <files>[Specific file paths, comma-separated]</files>
18
+ <action>
19
+ [Detailed implementation instructions]
20
+ [Include what to avoid and WHY]
21
+ [Be specific about commands, APIs, libraries]
22
+ </action>
23
+ <verify>[Commands/tests to run that prove it works]</verify>
24
+ <done>[Observable acceptance criteria]</done>
25
+ </task>
26
+
27
+ <task type="auto">
28
+ <name>[Next task name]</name>
29
+ <files>[File paths]</files>
30
+ <action>
31
+ [Instructions]
32
+ </action>
33
+ <verify>[Verification]</verify>
34
+ <done>[Completion criteria]</done>
35
+ </task>
36
+
37
+ ## Success Criteria
38
+ - [Observable outcome 1]
39
+ - [Observable outcome 2]
40
+
41
+ ## Verification
42
+ [Commands to run to verify the entire plan]
43
+
44
+ ```bash
45
+ # Example:
46
+ npm test
47
+ npm run build
48
+ curl -X POST http://localhost:3000/api/test
49
+ ```
50
+
51
+ ---
52
+
53
+ *This plan will be executed by reis_executor in a fresh context.*
@@ -0,0 +1,53 @@
1
+ # Project: [Project Name]
2
+
3
+ ## Vision
4
+
5
+ [One paragraph: What are you building and why?]
6
+
7
+ ## For Whom
8
+
9
+ [Who is this for? Solo dev, team, specific users?]
10
+
11
+ ## Core Value
12
+
13
+ [What's the primary value this delivers?]
14
+
15
+ ## Success Looks Like
16
+
17
+ [What does done look like? When do you ship v1?]
18
+
19
+ ## Out of Scope (For Now)
20
+
21
+ [What are you explicitly NOT building in v1?]
22
+
23
+ ## Technical Approach
24
+
25
+ ### Stack
26
+ - **Frontend**: [Framework]
27
+ - **Backend**: [Framework/Language]
28
+ - **Database**: [DB + ORM]
29
+ - **Hosting**: [Platform]
30
+
31
+ ### Key Decisions
32
+ - [Decision 1 and why]
33
+ - [Decision 2 and why]
34
+
35
+ ## Constraints
36
+
37
+ - **Timeline**: [When do you want to ship?]
38
+ - **Team**: [Solo? Team size?]
39
+ - **Budget**: [Any cost constraints?]
40
+
41
+ ## Assumptions
42
+
43
+ - [Assumption 1]
44
+ - [Assumption 2]
45
+
46
+ ## Questions to Resolve
47
+
48
+ - [ ] [Open question 1]
49
+ - [ ] [Open question 2]
50
+
51
+ ---
52
+
53
+ *This file is loaded into context for every REIS operation. Keep it current.*
@@ -0,0 +1,42 @@
1
+ # Requirements
2
+
3
+ ## Milestone: v1.0
4
+
5
+ ### Must Have (Blocks Launch)
6
+
7
+ #### [Feature Area 1]
8
+ - [ ] `REQ-001` [Specific requirement]
9
+ - [ ] `REQ-002` [Specific requirement]
10
+
11
+ #### [Feature Area 2]
12
+ - [ ] `REQ-003` [Specific requirement]
13
+ - [ ] `REQ-004` [Specific requirement]
14
+
15
+ ### Should Have (v1 If Time)
16
+
17
+ - [ ] `REQ-101` [Nice to have but not critical]
18
+ - [ ] `REQ-102` [Nice to have but not critical]
19
+
20
+ ### Won't Have (v2+)
21
+
22
+ - `REQ-201` [Explicitly out of scope]
23
+ - `REQ-202` [Future enhancement]
24
+
25
+ ## Milestone: v2.0
26
+
27
+ ### Planned Features
28
+
29
+ - [ ] `REQ-301` [v2 feature]
30
+ - [ ] `REQ-302` [v2 feature]
31
+
32
+ ## Traceability
33
+
34
+ | Requirement | Phase | Status |
35
+ |-------------|-------|--------|
36
+ | REQ-001 | Phase 1 | ✓ Complete |
37
+ | REQ-002 | Phase 1 | 🚧 In Progress |
38
+ | REQ-003 | Phase 2 | ⏳ Planned |
39
+
40
+ ---
41
+
42
+ *Requirements are checkable and traceable. Each should be verifiable.*
@@ -0,0 +1,47 @@
1
+ # Roadmap
2
+
3
+ ## Milestone: v1.0
4
+
5
+ ### Phase 1: [Phase Name]
6
+ **Goal**: [One-line goal]
7
+
8
+ **Delivers**:
9
+ - [Requirement 1]
10
+ - [Requirement 2]
11
+
12
+ **Status**: ⏳ Not Started / 🚧 In Progress / ✓ Complete
13
+
14
+ ---
15
+
16
+ ### Phase 2: [Phase Name]
17
+ **Goal**: [One-line goal]
18
+
19
+ **Delivers**:
20
+ - [Requirement 3]
21
+ - [Requirement 4]
22
+
23
+ **Status**: ⏳ Not Started
24
+
25
+ ---
26
+
27
+ ### Phase 3: [Phase Name]
28
+ **Goal**: [One-line goal]
29
+
30
+ **Delivers**:
31
+ - [Requirement 5]
32
+ - [Requirement 6]
33
+
34
+ **Status**: ⏳ Not Started
35
+
36
+ ---
37
+
38
+ ## Milestone: v2.0
39
+
40
+ ### Phase 4: [Future Phase]
41
+ **Goal**: [One-line goal]
42
+
43
+ **Delivers**: [v2 features]
44
+
45
+ ---
46
+
47
+ *Update phase status as work progresses.*
@@ -0,0 +1,61 @@
1
+ # Project State
2
+
3
+ ## Current Status
4
+
5
+ **Active Phase**: Phase [N] - [Name]
6
+
7
+ **Last Updated**: [Date]
8
+
9
+ **Overall Progress**: [X/Y phases complete]
10
+
11
+ ## Recent Progress
12
+
13
+ ### [Date] - [What Happened]
14
+
15
+ [Brief description]
16
+
17
+ **Completed**:
18
+ - [Item 1]
19
+ - [Item 2]
20
+
21
+ **Decisions Made**:
22
+ - [Decision 1 and rationale]
23
+ - [Decision 2 and rationale]
24
+
25
+ ## Active Blockers
26
+
27
+ - [ ] **[Blocker 1]**: [Description and what's needed to unblock]
28
+ - [ ] **[Blocker 2]**: [Description and what's needed to unblock]
29
+
30
+ ## Open Questions
31
+
32
+ - [ ] [Question 1]
33
+ - [ ] [Question 2]
34
+
35
+ ## Next Session
36
+
37
+ **Focus**: [What to work on next]
38
+
39
+ **Context Needed**:
40
+ - [File/area to review]
41
+ - [Decision to revisit]
42
+
43
+ ## Memory
44
+
45
+ [Anything important to remember across sessions]
46
+
47
+ ### Technical Decisions
48
+ - [Date]: [Decision and why]
49
+
50
+ ### Lessons Learned
51
+ - [Date]: [Lesson]
52
+
53
+ ### Patterns to Follow
54
+ - [Pattern that's working well]
55
+
56
+ ### Patterns to Avoid
57
+ - [Anti-pattern encountered]
58
+
59
+ ---
60
+
61
+ *This is your living memory. Update it frequently.*