wogiflow 1.0.21 → 1.0.22

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 (121) hide show
  1. package/.claude/commands/wogi-bug.md +43 -0
  2. package/.claude/commands/wogi-bulk.md +144 -0
  3. package/.claude/commands/wogi-changelog.md +36 -0
  4. package/.claude/commands/wogi-compact.md +99 -0
  5. package/.claude/commands/wogi-config.md +50 -0
  6. package/.claude/commands/wogi-context.md +68 -0
  7. package/.claude/commands/wogi-correction.md +73 -0
  8. package/.claude/commands/wogi-debt.md +128 -0
  9. package/.claude/commands/wogi-deps.md +32 -0
  10. package/.claude/commands/wogi-epics.md +145 -0
  11. package/.claude/commands/wogi-export.md +100 -0
  12. package/.claude/commands/wogi-feature.md +149 -0
  13. package/.claude/commands/wogi-guided-edit.md +83 -0
  14. package/.claude/commands/wogi-health.md +43 -0
  15. package/.claude/commands/wogi-help.md +96 -0
  16. package/.claude/commands/wogi-hybrid-edit.md +36 -0
  17. package/.claude/commands/wogi-hybrid-off.md +24 -0
  18. package/.claude/commands/wogi-hybrid-setup.md +79 -0
  19. package/.claude/commands/wogi-hybrid-status.md +45 -0
  20. package/.claude/commands/wogi-hybrid.md +54 -0
  21. package/.claude/commands/wogi-import.md +44 -0
  22. package/.claude/commands/wogi-init.md +618 -0
  23. package/.claude/commands/wogi-log.md +38 -0
  24. package/.claude/commands/wogi-map-add.md +29 -0
  25. package/.claude/commands/wogi-map-check.md +35 -0
  26. package/.claude/commands/wogi-map-index.md +98 -0
  27. package/.claude/commands/wogi-map-scan.md +38 -0
  28. package/.claude/commands/wogi-map-sync.md +91 -0
  29. package/.claude/commands/wogi-map.md +33 -0
  30. package/.claude/commands/wogi-morning.md +65 -0
  31. package/.claude/commands/wogi-onboard.md +99 -0
  32. package/.claude/commands/wogi-plan.md +173 -0
  33. package/.claude/commands/wogi-ready.md +84 -0
  34. package/.claude/commands/wogi-resume.md +95 -0
  35. package/.claude/commands/wogi-review.md +636 -0
  36. package/.claude/commands/wogi-roadmap.md +241 -0
  37. package/.claude/commands/wogi-rules.md +104 -0
  38. package/.claude/commands/wogi-search.md +33 -0
  39. package/.claude/commands/wogi-session-end.md +49 -0
  40. package/.claude/commands/wogi-setup-stack.md +151 -0
  41. package/.claude/commands/wogi-skill-learn.md +66 -0
  42. package/.claude/commands/wogi-skills.md +87 -0
  43. package/.claude/commands/wogi-standup.md +28 -0
  44. package/.claude/commands/wogi-start.md +465 -0
  45. package/.claude/commands/wogi-status.md +41 -0
  46. package/.claude/commands/wogi-statusline-setup/skill.md +109 -0
  47. package/.claude/commands/wogi-story.md +98 -0
  48. package/.claude/commands/wogi-suspend.md +87 -0
  49. package/.claude/commands/wogi-test-browser.md +43 -0
  50. package/.claude/commands/wogi-trace.md +198 -0
  51. package/.claude/docs/architecture.md +37 -0
  52. package/.claude/docs/commands.md +343 -0
  53. package/.claude/docs/knowledge-base/01-setup-onboarding/README.md +177 -0
  54. package/.claude/docs/knowledge-base/01-setup-onboarding/component-indexing.md +341 -0
  55. package/.claude/docs/knowledge-base/01-setup-onboarding/framework-detection.md +269 -0
  56. package/.claude/docs/knowledge-base/01-setup-onboarding/installation.md +146 -0
  57. package/.claude/docs/knowledge-base/01-setup-onboarding/onboarding-existing.md +317 -0
  58. package/.claude/docs/knowledge-base/01-setup-onboarding/team-setup.md +346 -0
  59. package/.claude/docs/knowledge-base/02-task-execution/01-task-planning.md +259 -0
  60. package/.claude/docs/knowledge-base/02-task-execution/02-execution-loop.md +443 -0
  61. package/.claude/docs/knowledge-base/02-task-execution/03-verification.md +417 -0
  62. package/.claude/docs/knowledge-base/02-task-execution/04-completion.md +374 -0
  63. package/.claude/docs/knowledge-base/02-task-execution/05-session-review.md +170 -0
  64. package/.claude/docs/knowledge-base/02-task-execution/README.md +173 -0
  65. package/.claude/docs/knowledge-base/02-task-execution/external-integrations.md +133 -0
  66. package/.claude/docs/knowledge-base/02-task-execution/model-management.md +202 -0
  67. package/.claude/docs/knowledge-base/02-task-execution/specification-mode.md +292 -0
  68. package/.claude/docs/knowledge-base/02-task-execution/sync-daemon.md +96 -0
  69. package/.claude/docs/knowledge-base/02-task-execution/trade-offs.md +345 -0
  70. package/.claude/docs/knowledge-base/02-task-execution/workflow-steps.md +357 -0
  71. package/.claude/docs/knowledge-base/03-self-improvement/README.md +199 -0
  72. package/.claude/docs/knowledge-base/03-self-improvement/long-input-processing.md +160 -0
  73. package/.claude/docs/knowledge-base/03-self-improvement/model-learning.md +334 -0
  74. package/.claude/docs/knowledge-base/03-self-improvement/project-learning.md +301 -0
  75. package/.claude/docs/knowledge-base/03-self-improvement/skill-learning.md +372 -0
  76. package/.claude/docs/knowledge-base/03-self-improvement/skill-matching.md +304 -0
  77. package/.claude/docs/knowledge-base/03-self-improvement/team-learning.md +342 -0
  78. package/.claude/docs/knowledge-base/04-memory-context/README.md +189 -0
  79. package/.claude/docs/knowledge-base/04-memory-context/context-management.md +308 -0
  80. package/.claude/docs/knowledge-base/04-memory-context/memory-commands.md +176 -0
  81. package/.claude/docs/knowledge-base/04-memory-context/memory-systems.md +359 -0
  82. package/.claude/docs/knowledge-base/04-memory-context/prd-management.md +115 -0
  83. package/.claude/docs/knowledge-base/04-memory-context/session-persistence.md +359 -0
  84. package/.claude/docs/knowledge-base/04-memory-context/team-history.md +317 -0
  85. package/.claude/docs/knowledge-base/05-development-tools/README.md +84 -0
  86. package/.claude/docs/knowledge-base/05-development-tools/code-traces.md +278 -0
  87. package/.claude/docs/knowledge-base/05-development-tools/figma-analyzer.md +253 -0
  88. package/.claude/docs/knowledge-base/05-development-tools/guided-edit.md +173 -0
  89. package/.claude/docs/knowledge-base/05-development-tools/mcp-integrations.md +286 -0
  90. package/.claude/docs/knowledge-base/06-safety-guardrails/README.md +153 -0
  91. package/.claude/docs/knowledge-base/06-safety-guardrails/checkpoint-rollback.md +302 -0
  92. package/.claude/docs/knowledge-base/06-safety-guardrails/commit-gates.md +309 -0
  93. package/.claude/docs/knowledge-base/06-safety-guardrails/damage-control.md +292 -0
  94. package/.claude/docs/knowledge-base/06-safety-guardrails/security-scanning.md +291 -0
  95. package/.claude/docs/knowledge-base/README.md +92 -0
  96. package/.claude/docs/knowledge-base/configuration/README.md +228 -0
  97. package/.claude/docs/knowledge-base/configuration/all-options.md +1632 -0
  98. package/.claude/docs/knowledge-base/future-features.md +277 -0
  99. package/.claude/docs/stack.md +25 -0
  100. package/.claude/docs/testing.md +71 -0
  101. package/.claude/rules/README.md +60 -0
  102. package/.claude/rules/architecture/component-reuse.md +38 -0
  103. package/.claude/rules/architecture/document-structure.md +76 -0
  104. package/.claude/rules/architecture/feature-refactoring-cleanup.md +87 -0
  105. package/.claude/rules/architecture/model-management.md +35 -0
  106. package/.claude/rules/code-style/naming-conventions.md +55 -0
  107. package/.claude/rules/security/security-patterns.md +116 -0
  108. package/.claude/skills/.gitkeep +0 -0
  109. package/.claude/skills/README.md +131 -0
  110. package/.claude/skills/_template/commands/.gitkeep +0 -0
  111. package/.claude/skills/_template/knowledge/anti-patterns.md +49 -0
  112. package/.claude/skills/_template/knowledge/learnings.md +60 -0
  113. package/.claude/skills/_template/knowledge/patterns.md +45 -0
  114. package/.claude/skills/_template/rules/.gitkeep +0 -0
  115. package/.claude/skills/_template/skill.md +99 -0
  116. package/.claude/skills/_template/templates/.gitkeep +0 -0
  117. package/.claude/skills/figma-analyzer/knowledge/anti-patterns.md +216 -0
  118. package/.claude/skills/figma-analyzer/knowledge/patterns.md +144 -0
  119. package/.claude/skills/figma-analyzer/skill.md +236 -0
  120. package/lib/installer.js +59 -19
  121. package/package.json +5 -1
@@ -0,0 +1,35 @@
1
+ Check for drift between app-map and codebase.
2
+
3
+ Verifies that all components listed in app-map.md still exist at their specified paths.
4
+
5
+ Output:
6
+ ```
7
+ 🔍 Checking app-map for drift...
8
+
9
+ Checking 12 mapped components...
10
+
11
+ ✓ Button → components/ui/Button
12
+ ✓ Input → components/ui/Input
13
+ ✓ Card → components/ui/Card
14
+ ✗ OldHeader → components/layout/OldHeader (NOT FOUND)
15
+ ✓ Avatar → components/ui/Avatar
16
+ ✗ DeprecatedModal → components/Modal (NOT FOUND)
17
+ ...
18
+
19
+ Found 2 orphaned entries:
20
+ • OldHeader - file not found at components/layout/OldHeader
21
+ • DeprecatedModal - file not found at components/Modal
22
+
23
+ Recommendation:
24
+ Remove these from app-map.md or update paths if moved.
25
+ ```
26
+
27
+ If no drift:
28
+ ```
29
+ 🔍 Checking app-map for drift...
30
+
31
+ Checking 12 mapped components...
32
+ ✓ All 12 components verified
33
+
34
+ ✓ No drift detected. App-map is in sync with codebase.
35
+ ```
@@ -0,0 +1,98 @@
1
+ Show or regenerate the auto-generated component index.
2
+
3
+ Usage:
4
+ - `/wogi-map-index` - Show current index summary
5
+ - `/wogi-map-index scan` - Rescan and regenerate index
6
+ - `/wogi-map-index full` - Show full index details
7
+
8
+ ## What It Does
9
+
10
+ Automatically scans configured directories and builds a machine-readable index of:
11
+ - Components (React, Vue, etc.)
12
+ - Pages/Routes
13
+ - Hooks
14
+ - Services
15
+ - Modules
16
+ - Utilities
17
+
18
+ ## Scan Process
19
+
20
+ 1. Read `config.json` → `componentIndex.directories`
21
+ 2. Find all relevant files (`.tsx`, `.jsx`, `.ts`, `.js`, `.vue`)
22
+ 3. Extract exports and categorize
23
+ 4. Save to `.workflow/state/component-index.json`
24
+
25
+ ## Categorization Rules
26
+
27
+ | Pattern | Category |
28
+ |---------|----------|
29
+ | `src/components/**` | components |
30
+ | `src/pages/**`, `pages/**`, `app/**` | pages |
31
+ | `use*.ts`, `src/hooks/**` | hooks |
32
+ | `*.service.ts`, `src/services/**` | services |
33
+ | `*.module.ts`, `src/modules/**` | modules |
34
+ | `src/utils/**`, `src/lib/**` | utils |
35
+
36
+ ## Output - Summary
37
+
38
+ ```
39
+ 📦 Component Index
40
+
41
+ Last scan: 2024-01-15 10:30:00
42
+
43
+ | Category | Count |
44
+ |------------|-------|
45
+ | Components | 45 |
46
+ | Pages | 12 |
47
+ | Hooks | 8 |
48
+ | Services | 6 |
49
+ | Modules | 4 |
50
+ | Utils | 15 |
51
+
52
+ Total: 90 items
53
+
54
+ Run /wogi-map-index full for details
55
+ Run /wogi-map-index scan to refresh
56
+ ```
57
+
58
+ ## Output - Full
59
+
60
+ ```
61
+ 📦 Component Index (Full)
62
+
63
+ ## Components (45)
64
+
65
+ | Name | Path | Exports |
66
+ |------|------|---------|
67
+ | Button | src/components/ui/Button.tsx | Button, ButtonProps |
68
+ | Input | src/components/ui/Input.tsx | Input, InputProps |
69
+ | Modal | src/components/ui/Modal.tsx | Modal |
70
+ ...
71
+
72
+ ## Hooks (8)
73
+
74
+ | Name | Path | Exports |
75
+ |------|------|---------|
76
+ | useAuth | src/hooks/useAuth.ts | useAuth |
77
+ | useDebounce | src/hooks/useDebounce.ts | useDebounce |
78
+ ...
79
+ ```
80
+
81
+ ## Difference from app-map.md
82
+
83
+ | `app-map.md` | `component-index.json` |
84
+ |--------------|------------------------|
85
+ | Curated by humans | Auto-generated |
86
+ | Rich descriptions | Just names and paths |
87
+ | "When to use" guidance | No context |
88
+ | Key components only | Everything found |
89
+ | May be outdated | Always current (after scan) |
90
+
91
+ Use `/wogi-map-sync` to compare them.
92
+
93
+ ## Auto-Scan Triggers
94
+
95
+ Based on `config.json` → `componentIndex.scanOn`:
96
+ - `sessionStart` - Scan when starting a session
97
+ - `afterTask` - Scan after completing a task
98
+ - `manual` - Only scan when explicitly requested
@@ -0,0 +1,38 @@
1
+ Scan codebase for unmapped components.
2
+
3
+ Usage: `/wogi-map-scan [directory]`
4
+
5
+ Default directory: `src/components`
6
+
7
+ Steps:
8
+ 1. Find all component files (.tsx, .jsx, .vue)
9
+ 2. Compare with entries in app-map.md
10
+ 3. Report unmapped components
11
+
12
+ Output:
13
+ ```
14
+ 🔍 Scanning: src/components
15
+
16
+ Found 15 component files
17
+ Mapped in app-map: 12
18
+
19
+ Unmapped (3):
20
+ • src/components/ui/Tooltip.tsx
21
+ • src/components/forms/DatePicker.tsx
22
+ • src/components/layout/Sidebar.tsx
23
+
24
+ Add these with /wogi-map-add or:
25
+ /wogi-map-add Tooltip components/ui/Tooltip
26
+ /wogi-map-add DatePicker components/forms/DatePicker
27
+ /wogi-map-add Sidebar components/layout/Sidebar
28
+ ```
29
+
30
+ If all components are mapped:
31
+ ```
32
+ 🔍 Scanning: src/components
33
+
34
+ Found 12 component files
35
+ Mapped in app-map: 12
36
+
37
+ ✓ All components are mapped!
38
+ ```
@@ -0,0 +1,91 @@
1
+ Compare auto-generated index with curated app-map and suggest updates.
2
+
3
+ Usage: `/wogi-map-sync`
4
+
5
+ ## What It Does
6
+
7
+ 1. Reads `component-index.json` (auto-generated)
8
+ 2. Reads `app-map.md` (curated)
9
+ 3. Finds discrepancies:
10
+ - In codebase but NOT in app-map → suggest adding
11
+ - In app-map but NOT in codebase → may be stale
12
+ 4. Offers to update app-map
13
+
14
+ ## Output
15
+
16
+ ```
17
+ 🔄 App Map Sync
18
+
19
+ Comparing component-index.json (scanned: 2024-01-15)
20
+ with app-map.md (updated: 2024-01-10)
21
+
22
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
23
+
24
+ 📥 IN CODEBASE, NOT IN APP-MAP (consider adding):
25
+
26
+ Components:
27
+ • DatePicker (src/components/ui/DatePicker.tsx)
28
+ • Tooltip (src/components/ui/Tooltip.tsx)
29
+ • Card (src/components/ui/Card.tsx)
30
+
31
+ Hooks:
32
+ • useDebounce (src/hooks/useDebounce.ts)
33
+ • useLocalStorage (src/hooks/useLocalStorage.ts)
34
+
35
+ Services:
36
+ • PaymentService (src/services/payment.service.ts)
37
+
38
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
39
+
40
+ 📤 IN APP-MAP, NOT IN CODEBASE (possibly stale):
41
+
42
+ Components:
43
+ • OldModal (listed at src/components/Modal.tsx - FILE NOT FOUND)
44
+
45
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
46
+
47
+ ✅ IN SYNC (67 items match)
48
+
49
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
50
+
51
+ Actions:
52
+ (a) Add all missing to app-map
53
+ (s) Select which to add
54
+ (r) Remove stale entries
55
+ (n) Do nothing
56
+ ```
57
+
58
+ ## Interactive Selection
59
+
60
+ If user chooses `(s)`:
61
+
62
+ ```
63
+ Select components to add (comma-separated numbers, or 'all'):
64
+
65
+ 1. DatePicker (src/components/ui/DatePicker.tsx)
66
+ 2. Tooltip (src/components/ui/Tooltip.tsx)
67
+ 3. Card (src/components/ui/Card.tsx)
68
+ 4. useDebounce (src/hooks/useDebounce.ts)
69
+ 5. useLocalStorage (src/hooks/useLocalStorage.ts)
70
+ 6. PaymentService (src/services/payment.service.ts)
71
+
72
+ > 1, 4, 6
73
+ ```
74
+
75
+ Then prompts for descriptions before adding.
76
+
77
+ ## When to Use
78
+
79
+ - After pulling new code
80
+ - Before starting a task (ensure map is current)
81
+ - During code review
82
+ - Periodically (weekly?)
83
+
84
+ ## Related Commands
85
+
86
+ | Command | Purpose |
87
+ |---------|---------|
88
+ | `/wogi-map` | View curated app-map |
89
+ | `/wogi-map-index` | View auto-generated index |
90
+ | `/wogi-map-index scan` | Refresh the index |
91
+ | `/wogi-map-add` | Manually add to app-map |
@@ -0,0 +1,33 @@
1
+ Display the component registry (app-map).
2
+
3
+ Read `.workflow/state/app-map.md` and show:
4
+
5
+ 1. **Screens** - All screens with their routes
6
+ 2. **Modals** - All modals with their triggers
7
+ 3. **Components** - All components with variants and paths
8
+
9
+ Output format:
10
+ ```
11
+ 🗺️ App Map
12
+
13
+ Screens (5):
14
+ • Login → /login
15
+ • Dashboard → /dashboard
16
+ • Profile → /profile
17
+ • Settings → /settings
18
+ • NotFound → /404
19
+
20
+ Modals (3):
21
+ • ConfirmDelete → Delete button click
22
+ • UserSettings → Settings icon click
23
+ • ImagePicker → Avatar click
24
+
25
+ Components (12):
26
+ • Button (primary, secondary, ghost) → components/ui/Button
27
+ • Input (text, password, email) → components/ui/Input
28
+ • Card (default, elevated) → components/ui/Card
29
+ • Avatar (small, medium, large) → components/ui/Avatar
30
+ ...
31
+
32
+ Use /wogi-map-add to add new components.
33
+ ```
@@ -0,0 +1,65 @@
1
+ Show a morning briefing with everything needed to start the day.
2
+
3
+ Run `./scripts/flow morning` to generate the briefing.
4
+
5
+ This command gathers context from:
6
+ 1. `.workflow/state/session-state.json` - Where you left off
7
+ 2. `.workflow/state/ready.json` - Pending tasks sorted by priority
8
+ 3. `.workflow/state/progress.md` - Key context and blockers
9
+ 4. Git log - Changes since last session
10
+
11
+ Output includes:
12
+ ```
13
+ MORNING BRIEFING
14
+
15
+ Last active: Mon Jan 6, 10:30 AM (14 hours ago)
16
+
17
+ WHERE YOU LEFT OFF
18
+ Task: wf-a1b2c3d4 - User Profile Page
19
+ Status: in_progress
20
+ Files: src/components/Profile.tsx, src/api/user.ts
21
+
22
+ KEY CONTEXT
23
+ - API endpoint for preferences not ready yet
24
+ - Using shadcn/ui for modal components
25
+
26
+ BLOCKERS
27
+ - Waiting on backend team for /preferences endpoint
28
+
29
+ CHANGES SINCE LAST SESSION
30
+ - 2 new commits
31
+ - 1 new bug filed
32
+
33
+ RECOMMENDED NEXT
34
+ 1. [P0] wf-a1b2c3d4: User Profile Page (in progress)
35
+ 2. [P1] wf-c3d4e5f6: Fix null check in API
36
+ 3. [P2] wf-e5f6g7h8: Add dark mode toggle
37
+
38
+ SUGGESTED PROMPT
39
+ Continue implementing wf-a1b2c3d4: User Profile Page.
40
+
41
+ Context:
42
+ - API endpoint not ready yet
43
+ - Using shadcn/ui for modal
44
+
45
+ Files to review:
46
+ - src/components/Profile.tsx
47
+ ```
48
+
49
+ Options:
50
+ - `--json` - Output JSON for programmatic access
51
+
52
+ Configuration in `.workflow/config.json`:
53
+ ```json
54
+ "morningBriefing": {
55
+ "enabled": true,
56
+ "showLastSession": true,
57
+ "showChanges": true,
58
+ "showRecommendedTasks": 3,
59
+ "generatePrompt": true,
60
+ "showBlockers": true,
61
+ "showKeyContext": true
62
+ }
63
+ ```
64
+
65
+ Set `enabled: false` to disable this command.
@@ -0,0 +1,99 @@
1
+ Analyze an existing project and set up workflow with full context.
2
+
3
+ Usage: `/wogi-onboard`
4
+
5
+ ## When to Use
6
+
7
+ - Starting to use Wogi Flow on an existing codebase
8
+ - After cloning a project you haven't worked on before
9
+ - When joining a new team/project
10
+
11
+ ## What It Does
12
+
13
+ ### 1. Analyzes Your Project
14
+ - Detects language (TypeScript, Python, Go, etc.)
15
+ - Detects framework (Next.js, NestJS, React, FastAPI, etc.)
16
+ - Detects database (PostgreSQL, MongoDB, etc.)
17
+ - Scans for components, pages, modules, API routes
18
+ - Counts lines of code
19
+
20
+ ### 2. Asks About Your Project
21
+ - Project name and description
22
+ - PRD or documentation (can read files or paste content)
23
+ - Current state (early dev, MVP, production, maintenance)
24
+ - Goals (add features, fix bugs, refactor, etc.)
25
+ - Known issues and tech debt
26
+ - Coding conventions
27
+
28
+ ### 3. Generates Workflow Files
29
+ - `project.md` - Full project specification with tech stack, goals, docs
30
+ - `app-map.md` - Auto-populated component registry
31
+ - `decisions.md` - Coding patterns and conventions
32
+ - Initial tasks from known issues
33
+
34
+ ### 4. Suggests Skills
35
+ Based on detected framework, suggests relevant skills:
36
+ - NestJS → nestjs skill
37
+ - React/Next.js → react skill
38
+ - FastAPI/Django → python skill
39
+
40
+ ## Output
41
+
42
+ ```
43
+ 🔍 Wogi Flow - Project Onboarding
44
+
45
+ ━━━ Analyzing Project ━━━
46
+
47
+ Language: TypeScript
48
+ Framework: NestJS
49
+ Database: PostgreSQL (TypeORM)
50
+
51
+ Scanning for components... ✓ Found 24 components/modules
52
+ Scanning for API routes... ✓ Found 15 API routes/controllers
53
+
54
+ ━━━ Project Interview ━━━
55
+
56
+ [Interactive questions...]
57
+
58
+ ━━━ Generating Workflow Files ━━━
59
+
60
+ ✓ Created project.md
61
+ ✓ Created app-map.md with 24 entries
62
+ ✓ Created decisions.md
63
+ ✓ Created 5 initial tasks from known issues
64
+ ✓ Recommended skill: nestjs
65
+
66
+ ╔═══════════════════════════════════════════════════════════════╗
67
+ ║ ✅ Project Onboarding Complete! ║
68
+ ╚═══════════════════════════════════════════════════════════════╝
69
+ ```
70
+
71
+ ## After Onboarding
72
+
73
+ The AI now has full context about your project:
74
+ - Tech stack and architecture
75
+ - Existing components and their locations
76
+ - Coding patterns to follow
77
+ - Known issues to fix
78
+ - Project goals
79
+
80
+ You can:
81
+ - Ask it to analyze specific code
82
+ - Ask for improvement suggestions
83
+ - Create new features that fit the architecture
84
+ - Fix bugs with proper context
85
+
86
+ ## Files Created
87
+
88
+ | File | Purpose |
89
+ |------|---------|
90
+ | `.workflow/specs/project.md` | Full project specification |
91
+ | `.workflow/state/app-map.md` | Component registry (auto-populated) |
92
+ | `.workflow/state/decisions.md` | Coding patterns |
93
+ | `.workflow/changes/onboarding/tasks.json` | Initial tasks |
94
+
95
+ ## CLI Equivalent
96
+
97
+ ```bash
98
+ ./scripts/flow onboard
99
+ ```
@@ -0,0 +1,173 @@
1
+ Manage plans - strategic initiatives that coordinate epics and features.
2
+
3
+ ## Overview
4
+
5
+ Plans (pl-XXXXXXXX) are the highest level in the work hierarchy. They represent strategic initiatives like roadmap items, quarterly goals, or major product launches.
6
+
7
+ ```
8
+ Plan (pl-XXXXXXXX) - Strategic initiative
9
+ ├── Epic (ep-XXXXXXXX) - Large initiative
10
+ │ └── Feature (ft-XXXXXXXX) - Coherent capability
11
+ │ └── Story (wf-XXXXXXXX) - Implementation spec
12
+ └── Feature (ft-XXXXXXXX) - Standalone capability (no epic)
13
+ └── Story (wf-XXXXXXXX) - Implementation spec
14
+ ```
15
+
16
+ ## Commands
17
+
18
+ ### Create Plan
19
+ ```bash
20
+ node scripts/flow-plan.js create "<title>"
21
+
22
+ # With goal
23
+ node scripts/flow-plan.js create "<title>" --goal "Ship by Q2"
24
+ ```
25
+
26
+ Example:
27
+ ```bash
28
+ node scripts/flow-plan.js create "Q1 2026 Product Roadmap"
29
+ ```
30
+
31
+ ### List Plans
32
+ ```bash
33
+ node scripts/flow-plan.js list
34
+
35
+ # JSON output
36
+ node scripts/flow-plan.js list --json
37
+ ```
38
+
39
+ ### Show Plan Details
40
+ ```bash
41
+ node scripts/flow-plan.js show <planId>
42
+ ```
43
+
44
+ ### Add Epic or Feature to Plan
45
+ ```bash
46
+ # Add epic
47
+ node scripts/flow-plan.js add <planId> <epicId>
48
+
49
+ # Add standalone feature
50
+ node scripts/flow-plan.js add <planId> <featureId>
51
+ ```
52
+
53
+ Example:
54
+ ```bash
55
+ node scripts/flow-plan.js add pl-a1b2c3d4 ep-e5f6g7h8
56
+ node scripts/flow-plan.js add pl-a1b2c3d4 ft-i9j0k1l2
57
+ ```
58
+
59
+ ### Remove Item from Plan
60
+ ```bash
61
+ node scripts/flow-plan.js remove <planId> <itemId>
62
+ ```
63
+
64
+ ### Check Progress
65
+ ```bash
66
+ node scripts/flow-plan.js progress <planId>
67
+ ```
68
+
69
+ ### Delete Plan
70
+ ```bash
71
+ node scripts/flow-plan.js delete <planId>
72
+ ```
73
+
74
+ ## File Structure
75
+
76
+ Plans are stored as markdown files in `.workflow/plans/`:
77
+
78
+ ```markdown
79
+ # Plan: Q1 2026 Product Roadmap
80
+
81
+ ## Goal
82
+ Ship user authentication and payment features by end of Q1.
83
+
84
+ ## Description
85
+ Strategic initiative to complete core product features.
86
+
87
+ ## Success Criteria
88
+ - [ ] User authentication live in production
89
+ - [ ] Payment integration complete
90
+ - [ ] 95% test coverage
91
+
92
+ ## Items
93
+
94
+ ### Epics
95
+ - ep-auth1234 # Authentication System
96
+
97
+ ### Features
98
+ - ft-payment5 # Payment Processing (standalone)
99
+
100
+ ## Timeline
101
+ | Phase | Description | Target |
102
+ |-------|-------------|--------|
103
+ | Phase 1 | Authentication | Feb 2026 |
104
+ | Phase 2 | Payments | Mar 2026 |
105
+
106
+ ## Status: inProgress
107
+ ## Progress: 35%
108
+ ```
109
+
110
+ ## Auto-Completion
111
+
112
+ When all epics and features in a plan are completed:
113
+ 1. Plan status automatically changes to `completed`
114
+ 2. Progress updates to 100%
115
+ 3. Plan file is archived to `.workflow/archive/plans/YYYY-MM/`
116
+
117
+ ## Cascade Completion
118
+
119
+ Progress flows up through the hierarchy:
120
+ ```
121
+ Story completes → Feature completes → Epic completes → Plan completes
122
+ ```
123
+
124
+ Each level auto-completes when all children are done.
125
+
126
+ ## Workflow Example
127
+
128
+ ```bash
129
+ # 1. Create a plan for a strategic initiative
130
+ node scripts/flow-plan.js create "Q1 2026 Product Roadmap"
131
+ # Creates: pl-a1b2c3d4
132
+
133
+ # 2. Create epics for major workstreams
134
+ node scripts/flow-epics.js create ep-auth --title "Authentication"
135
+
136
+ # 3. Add epics to plan
137
+ node scripts/flow-plan.js add pl-a1b2c3d4 ep-auth
138
+
139
+ # 4. Or add standalone features
140
+ node scripts/flow-feature.js create "Quick Win Feature"
141
+ node scripts/flow-plan.js add pl-a1b2c3d4 ft-quick123
142
+
143
+ # 5. Work proceeds normally via stories
144
+ /wogi-start wf-story-xyz
145
+
146
+ # 6. Check overall progress
147
+ node scripts/flow-plan.js progress pl-a1b2c3d4
148
+ ```
149
+
150
+ ## Use Cases
151
+
152
+ | Use Case | Plan Contains |
153
+ |----------|---------------|
154
+ | Quarterly Roadmap | Multiple epics across teams |
155
+ | Product Launch | Epics + standalone features |
156
+ | Technical Debt Sprint | Features only |
157
+ | Single Epic Focus | One epic reference |
158
+
159
+ ## Status Icons
160
+
161
+ | Icon | Status |
162
+ |------|--------|
163
+ | · | Ready (0%) |
164
+ | → | In Progress (1-99%) |
165
+ | ✓ | Completed (100%) |
166
+
167
+ ## Tips
168
+
169
+ - **Plans are for strategic visibility** - Track high-level progress
170
+ - **Mix epics and features** - Plans can contain both
171
+ - **Keep plans time-bound** - Quarterly or milestone-based
172
+ - **Review progress regularly** - Good for stakeholder updates
173
+ - **Archive completed plans** - They move to archive automatically