mindforge-cc 2.0.0 → 2.1.1
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/.agent/bin/lib/commands.cjs +959 -0
- package/.agent/bin/lib/config.cjs +421 -0
- package/.agent/bin/lib/core.cjs +1166 -0
- package/.agent/bin/lib/frontmatter.cjs +307 -0
- package/.agent/bin/lib/init.cjs +1336 -0
- package/.agent/bin/lib/milestone.cjs +252 -0
- package/.agent/bin/lib/model-profiles.cjs +68 -0
- package/.agent/bin/lib/phase.cjs +888 -0
- package/.agent/bin/lib/profile-output.cjs +952 -0
- package/.agent/bin/lib/profile-pipeline.cjs +539 -0
- package/.agent/bin/lib/roadmap.cjs +329 -0
- package/.agent/bin/lib/security.cjs +356 -0
- package/.agent/bin/lib/state.cjs +969 -0
- package/.agent/bin/lib/template.cjs +222 -0
- package/.agent/bin/lib/uat.cjs +189 -0
- package/.agent/bin/lib/verify.cjs +851 -0
- package/.agent/bin/lib/workstream.cjs +491 -0
- package/.agent/bin/mindforge-tools.cjs +897 -0
- package/.agent/file-manifest.json +219 -0
- package/.agent/hooks/mindforge-check-update.js +114 -0
- package/.agent/hooks/mindforge-context-monitor.js +156 -0
- package/.agent/hooks/mindforge-prompt-guard.js +96 -0
- package/.agent/hooks/mindforge-statusline.js +119 -0
- package/.agent/hooks/mindforge-workflow-guard.js +94 -0
- package/.agent/mindforge/add-backlog.md +32 -0
- package/.agent/mindforge/agent.md +31 -0
- package/.agent/mindforge/discuss-phase.md +1 -1
- package/.agent/mindforge/do.md +31 -0
- package/.agent/mindforge/help.md +1 -1
- package/.agent/mindforge/learn.md +3 -2
- package/.agent/mindforge/note.md +35 -0
- package/.agent/mindforge/plant-seed.md +31 -0
- package/.agent/mindforge/research.md +3 -2
- package/.agent/mindforge/review-backlog.md +34 -0
- package/.agent/mindforge/session-report.md +39 -0
- package/.agent/mindforge/steer.md +1 -1
- package/.agent/mindforge/ui-phase.md +34 -0
- package/.agent/mindforge/ui-review.md +36 -0
- package/.agent/mindforge/validate-phase.md +31 -0
- package/.agent/mindforge/workstreams.md +35 -0
- package/.agent/settings.json +38 -0
- package/.agent/skills/mindforge-add-backlog/SKILL.md +72 -0
- package/.agent/skills/mindforge-add-phase/SKILL.md +39 -0
- package/.agent/skills/mindforge-add-tests/SKILL.md +28 -0
- package/.agent/skills/mindforge-add-todo/SKILL.md +42 -0
- package/.agent/skills/mindforge-audit-milestone/SKILL.md +29 -0
- package/.agent/skills/mindforge-audit-uat/SKILL.md +20 -0
- package/.agent/skills/mindforge-autonomous/SKILL.md +33 -0
- package/.agent/skills/mindforge-check-todos/SKILL.md +40 -0
- package/.agent/skills/mindforge-cleanup/SKILL.md +19 -0
- package/.agent/skills/mindforge-complete-milestone/SKILL.md +131 -0
- package/.agent/skills/mindforge-debug/SKILL.md +163 -0
- package/.agent/skills/mindforge-discuss-phase/SKILL.md +54 -0
- package/.agent/skills/mindforge-do/SKILL.md +26 -0
- package/.agent/skills/mindforge-execute-phase/SKILL.md +49 -0
- package/.agent/skills/mindforge-fast/SKILL.md +23 -0
- package/.agent/skills/mindforge-forensics/SKILL.md +49 -0
- package/.agent/skills/mindforge-health/SKILL.md +17 -0
- package/.agent/skills/mindforge-help/SKILL.md +23 -0
- package/.agent/skills/mindforge-insert-phase/SKILL.md +28 -0
- package/.agent/skills/mindforge-join-discord/SKILL.md +19 -0
- package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +41 -0
- package/.agent/skills/mindforge-list-workspaces/SKILL.md +17 -0
- package/.agent/skills/mindforge-manager/SKILL.md +32 -0
- package/.agent/skills/mindforge-map-codebase/SKILL.md +64 -0
- package/.agent/skills/mindforge-milestone-summary/SKILL.md +44 -0
- package/.agent/skills/mindforge-new-milestone/SKILL.md +38 -0
- package/.agent/skills/mindforge-new-project/SKILL.md +36 -0
- package/.agent/skills/mindforge-new-workspace/SKILL.md +39 -0
- package/.agent/skills/mindforge-next/SKILL.md +19 -0
- package/.agent/skills/mindforge-note/SKILL.md +29 -0
- package/.agent/skills/mindforge-pause-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +28 -0
- package/.agent/skills/mindforge-plan-phase/SKILL.md +37 -0
- package/.agent/skills/mindforge-plant-seed/SKILL.md +22 -0
- package/.agent/skills/mindforge-pr-branch/SKILL.md +21 -0
- package/.agent/skills/mindforge-profile-user/SKILL.md +38 -0
- package/.agent/skills/mindforge-progress/SKILL.md +19 -0
- package/.agent/skills/mindforge-quick/SKILL.md +38 -0
- package/.agent/skills/mindforge-reapply-patches/SKILL.md +124 -0
- package/.agent/skills/mindforge-remove-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-remove-workspace/SKILL.md +22 -0
- package/.agent/skills/mindforge-research-phase/SKILL.md +186 -0
- package/.agent/skills/mindforge-resume-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-review/SKILL.md +31 -0
- package/.agent/skills/mindforge-review-backlog/SKILL.md +58 -0
- package/.agent/skills/mindforge-session-report/SKILL.md +16 -0
- package/.agent/skills/mindforge-set-profile/SKILL.md +9 -0
- package/.agent/skills/mindforge-settings/SKILL.md +32 -0
- package/.agent/skills/mindforge-ship/SKILL.md +16 -0
- package/.agent/skills/mindforge-stats/SKILL.md +16 -0
- package/.agent/skills/mindforge-thread/SKILL.md +123 -0
- package/.agent/skills/mindforge-ui-phase/SKILL.md +24 -0
- package/.agent/skills/mindforge-ui-review/SKILL.md +24 -0
- package/.agent/skills/mindforge-update/SKILL.md +35 -0
- package/.agent/skills/mindforge-validate-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-verify-work/SKILL.md +30 -0
- package/.agent/skills/mindforge-workstreams/SKILL.md +65 -0
- package/.agent/workflows/mindforge-add-phase.md +112 -0
- package/.agent/workflows/mindforge-add-tests.md +351 -0
- package/.agent/workflows/mindforge-add-todo.md +158 -0
- package/.agent/workflows/mindforge-audit-milestone.md +332 -0
- package/.agent/workflows/mindforge-audit-uat.md +109 -0
- package/.agent/workflows/mindforge-autonomous.md +815 -0
- package/.agent/workflows/mindforge-check-todos.md +177 -0
- package/.agent/workflows/mindforge-cleanup.md +152 -0
- package/.agent/workflows/mindforge-complete-milestone.md +766 -0
- package/.agent/workflows/mindforge-diagnose-issues.md +220 -0
- package/.agent/workflows/mindforge-discovery-phase.md +289 -0
- package/.agent/workflows/mindforge-discuss-phase-assumptions.md +645 -0
- package/.agent/workflows/mindforge-discuss-phase.md +1047 -0
- package/.agent/workflows/mindforge-do.md +104 -0
- package/.agent/workflows/mindforge-execute-phase.md +838 -0
- package/.agent/workflows/mindforge-execute-plan.md +509 -0
- package/.agent/workflows/mindforge-fast.md +105 -0
- package/.agent/workflows/mindforge-forensics.md +265 -0
- package/.agent/workflows/mindforge-health.md +181 -0
- package/.agent/workflows/mindforge-help.md +606 -0
- package/.agent/workflows/mindforge-insert-phase.md +130 -0
- package/.agent/workflows/mindforge-list-phase-assumptions.md +178 -0
- package/.agent/workflows/mindforge-list-workspaces.md +56 -0
- package/.agent/workflows/mindforge-manager.md +360 -0
- package/.agent/workflows/mindforge-map-codebase.md +370 -0
- package/.agent/workflows/mindforge-milestone-summary.md +223 -0
- package/.agent/workflows/mindforge-new-milestone.md +469 -0
- package/.agent/workflows/mindforge-new-project.md +1226 -0
- package/.agent/workflows/mindforge-new-workspace.md +237 -0
- package/.agent/workflows/mindforge-next.md +97 -0
- package/.agent/workflows/mindforge-node-repair.md +92 -0
- package/.agent/workflows/mindforge-note.md +156 -0
- package/.agent/workflows/mindforge-pause-work.md +176 -0
- package/.agent/workflows/mindforge-plan-milestone-gaps.md +273 -0
- package/.agent/workflows/mindforge-plan-phase.md +848 -0
- package/.agent/workflows/mindforge-plant-seed.md +169 -0
- package/.agent/workflows/mindforge-pr-branch.md +129 -0
- package/.agent/workflows/mindforge-profile-user.md +450 -0
- package/.agent/workflows/mindforge-progress.md +507 -0
- package/.agent/workflows/mindforge-quick.md +732 -0
- package/.agent/workflows/mindforge-remove-phase.md +155 -0
- package/.agent/workflows/mindforge-remove-workspace.md +90 -0
- package/.agent/workflows/mindforge-research-phase.md +74 -0
- package/.agent/workflows/mindforge-resume-project.md +325 -0
- package/.agent/workflows/mindforge-review.md +228 -0
- package/.agent/workflows/mindforge-session-report.md +146 -0
- package/.agent/workflows/mindforge-settings.md +283 -0
- package/.agent/workflows/mindforge-ship.md +228 -0
- package/.agent/workflows/mindforge-stats.md +60 -0
- package/.agent/workflows/mindforge-transition.md +671 -0
- package/.agent/workflows/mindforge-ui-phase.md +290 -0
- package/.agent/workflows/mindforge-ui-review.md +157 -0
- package/.agent/workflows/mindforge-update.md +323 -0
- package/.agent/workflows/mindforge-validate-phase.md +167 -0
- package/.agent/workflows/mindforge-verify-phase.md +254 -0
- package/.agent/workflows/mindforge-verify-work.md +623 -0
- package/.claude/commands/mindforge/add-backlog.md +32 -0
- package/.claude/commands/mindforge/agent.md +31 -0
- package/.claude/commands/mindforge/approve.md +27 -15
- package/.claude/commands/mindforge/audit.md +30 -26
- package/.claude/commands/mindforge/auto.md +29 -18
- package/.claude/commands/mindforge/benchmark.md +26 -29
- package/.claude/commands/mindforge/browse.md +24 -22
- package/.claude/commands/mindforge/complete-milestone.md +28 -14
- package/.claude/commands/mindforge/costs.md +26 -9
- package/.claude/commands/mindforge/cross-review.md +27 -13
- package/.claude/commands/mindforge/dashboard.md +35 -98
- package/.claude/commands/mindforge/debug.md +34 -126
- package/.claude/commands/mindforge/discuss-phase.md +36 -138
- package/.claude/commands/mindforge/do.md +31 -0
- package/.claude/commands/mindforge/execute-phase.md +37 -190
- package/.claude/commands/mindforge/health.md +27 -17
- package/.claude/commands/mindforge/help.md +25 -19
- package/.claude/commands/mindforge/init-org.md +37 -131
- package/.claude/commands/mindforge/init-project.md +40 -155
- package/.claude/commands/mindforge/install-skill.md +32 -15
- package/.claude/commands/mindforge/learn.md +36 -142
- package/.claude/commands/mindforge/map-codebase.md +36 -298
- package/.claude/commands/mindforge/marketplace.md +33 -120
- package/.claude/commands/mindforge/metrics.md +29 -18
- package/.claude/commands/mindforge/migrate.md +33 -40
- package/.claude/commands/mindforge/milestone.md +35 -12
- package/.claude/commands/mindforge/new-runtime.md +25 -15
- package/.claude/commands/mindforge/next.md +34 -105
- package/.claude/commands/mindforge/note.md +35 -0
- package/.claude/commands/mindforge/plan-phase.md +34 -125
- package/.claude/commands/mindforge/plant-seed.md +31 -0
- package/.claude/commands/mindforge/plugins.md +30 -36
- package/.claude/commands/mindforge/pr-review.md +32 -41
- package/.claude/commands/mindforge/profile-team.md +26 -19
- package/.claude/commands/mindforge/publish-skill.md +28 -17
- package/.claude/commands/mindforge/qa.md +27 -12
- package/.claude/commands/mindforge/quick.md +35 -135
- package/.claude/commands/mindforge/release.md +27 -8
- package/.claude/commands/mindforge/remember.md +25 -10
- package/.claude/commands/mindforge/research.md +27 -9
- package/.claude/commands/mindforge/retrospective.md +28 -22
- package/.claude/commands/mindforge/review-backlog.md +34 -0
- package/.claude/commands/mindforge/review.md +37 -157
- package/.claude/commands/mindforge/security-scan.md +34 -233
- package/.claude/commands/mindforge/session-report.md +39 -0
- package/.claude/commands/mindforge/ship.md +34 -100
- package/.claude/commands/mindforge/skills.md +36 -141
- package/.claude/commands/mindforge/status.md +30 -104
- package/.claude/commands/mindforge/steer.md +25 -10
- package/.claude/commands/mindforge/sync-confluence.md +28 -9
- package/.claude/commands/mindforge/sync-jira.md +32 -12
- package/.claude/commands/mindforge/tokens.md +25 -6
- package/.claude/commands/mindforge/ui-phase.md +34 -0
- package/.claude/commands/mindforge/ui-review.md +36 -0
- package/.claude/commands/mindforge/update.md +33 -42
- package/.claude/commands/mindforge/validate-phase.md +31 -0
- package/.claude/commands/mindforge/verify-phase.md +30 -62
- package/.claude/commands/mindforge/workspace.md +28 -25
- package/.claude/commands/mindforge/workstreams.md +35 -0
- package/.mindforge/memory/decision-library.jsonl +0 -0
- package/.mindforge/memory/knowledge-base.jsonl +7 -0
- package/.mindforge/memory/pattern-library.jsonl +1 -0
- package/.mindforge/memory/team-preferences.jsonl +4 -0
- package/.mindforge/personas/advisor-researcher.md +89 -0
- package/.mindforge/personas/analyst.md +112 -52
- package/.mindforge/personas/architect.md +100 -67
- package/.mindforge/personas/assumptions-analyzer-extend.md +87 -0
- package/.mindforge/personas/assumptions-analyzer.md +109 -0
- package/.mindforge/personas/codebase-mapper-extend.md +93 -0
- package/.mindforge/personas/codebase-mapper.md +770 -0
- package/.mindforge/personas/coverage-specialist.md +104 -0
- package/.mindforge/personas/debug-specialist.md +118 -52
- package/.mindforge/personas/debugger.md +97 -0
- package/.mindforge/personas/decision-architect.md +102 -0
- package/.mindforge/personas/developer.md +97 -85
- package/.mindforge/personas/executor.md +88 -0
- package/.mindforge/personas/integration-checker.md +92 -0
- package/.mindforge/personas/nyquist-auditor.md +84 -0
- package/.mindforge/personas/phase-researcher.md +107 -0
- package/.mindforge/personas/plan-checker.md +92 -0
- package/.mindforge/personas/planner.md +105 -0
- package/.mindforge/personas/project-researcher.md +99 -0
- package/.mindforge/personas/qa-engineer.md +113 -61
- package/.mindforge/personas/release-manager.md +102 -64
- package/.mindforge/personas/research-agent.md +109 -24
- package/.mindforge/personas/research-synthesizer.md +101 -0
- package/.mindforge/personas/roadmapper-extend.md +100 -0
- package/.mindforge/personas/roadmapper.md +103 -0
- package/.mindforge/personas/security-reviewer.md +114 -91
- package/.mindforge/personas/tech-writer.md +118 -51
- package/.mindforge/personas/ui-auditor.md +94 -0
- package/.mindforge/personas/ui-checker.md +89 -0
- package/.mindforge/personas/ui-researcher.md +99 -0
- package/.mindforge/personas/user-profiler.md +93 -0
- package/.mindforge/personas/verifier.md +101 -0
- package/.planning/ROADMAP.md +10 -0
- package/.planning/browser-daemon.log +32 -0
- package/.planning/phases/01-migrate-gsd-to-mindforge/.gitkeep +0 -0
- package/CHANGELOG.md +41 -0
- package/MINDFORGE.md +2 -0
- package/README.md +40 -3
- package/bin/installer-core.js +3 -4
- package/docs/PERSONAS.md +611 -0
- package/docs/commands-reference.md +1 -0
- package/docs/{Context → context}/Master-Context.md +6 -13
- package/docs/references/checkpoints.md +778 -0
- package/docs/{reference → references}/commands.md +53 -43
- package/docs/references/continuation-format.md +249 -0
- package/docs/references/decimal-phase-calculation.md +64 -0
- package/docs/references/git-integration.md +295 -0
- package/docs/references/git-planning-commit.md +38 -0
- package/docs/references/model-profile-resolution.md +36 -0
- package/docs/references/model-profiles.md +139 -0
- package/docs/references/phase-argument-parsing.md +61 -0
- package/docs/references/planning-config.md +202 -0
- package/docs/references/questioning.md +162 -0
- package/docs/references/tdd.md +263 -0
- package/docs/references/ui-brand.md +160 -0
- package/docs/references/user-profiling.md +681 -0
- package/docs/references/verification-patterns.md +612 -0
- package/docs/references/workstream-flag.md +58 -0
- package/docs/skills-authoring-guide.md +1 -1
- package/docs/templates/Agents/CLAUDE-MD.md +122 -0
- package/docs/templates/Agents/COPILOT-INSTRUCTIONS.md +7 -0
- package/docs/templates/Agents/DEBUGGER-PROMPT.md +91 -0
- package/docs/templates/Agents/PLANNER-PROMPT.md +117 -0
- package/docs/templates/Execution/CONTINUE-HERE.md +78 -0
- package/docs/templates/Execution/DISCUSSION-LOG.md +63 -0
- package/docs/templates/Execution/PHASE-PROMPT.md +610 -0
- package/docs/templates/Execution/STATE.md +176 -0
- package/docs/templates/Execution/SUMMARY-COMPLEX.md +59 -0
- package/docs/templates/Execution/SUMMARY-MINIMAL.md +41 -0
- package/docs/templates/Execution/SUMMARY-STANDARD.md +48 -0
- package/docs/templates/Execution/SUMMARY.md +248 -0
- package/docs/templates/Profile/DEV-PREFERENCES.md +21 -0
- package/docs/templates/Profile/USER-PROFILE.md +146 -0
- package/docs/templates/Profile/USER-SETUP.md +311 -0
- package/docs/templates/Project/DISCOVERY.md +146 -0
- package/docs/templates/Project/MILESTONE-ARCHIVE.md +123 -0
- package/docs/templates/Project/MILESTONE.md +115 -0
- package/docs/templates/Project/PROJECT.md +206 -0
- package/docs/templates/Project/REQUIREMENTS.md +231 -0
- package/docs/templates/Project/RETROSPECTIVE.md +54 -0
- package/docs/templates/Project/ROADMAP.md +202 -0
- package/docs/templates/Quality/DEBUG.md +164 -0
- package/docs/templates/Quality/UAT.md +280 -0
- package/docs/templates/Quality/UI-SPEC.md +100 -0
- package/docs/templates/Quality/VALIDATION.md +76 -0
- package/docs/templates/Quality/VERIFICATION-REPORT.md +322 -0
- package/docs/templates/System/CONFIG.json +43 -0
- package/docs/templates/System/CONTEXT.md +352 -0
- package/docs/templates/codebase/architecture.md +255 -0
- package/docs/templates/codebase/concerns.md +310 -0
- package/docs/templates/codebase/conventions.md +307 -0
- package/docs/templates/codebase/integrations.md +280 -0
- package/docs/templates/codebase/stack.md +186 -0
- package/docs/templates/codebase/structure.md +285 -0
- package/docs/templates/codebase/testing.md +480 -0
- package/docs/templates/research/ARCHITECTURE.md +204 -0
- package/docs/templates/research/FEATURES.md +147 -0
- package/docs/templates/research/PITFALLS.md +200 -0
- package/docs/templates/research/STACK.md +120 -0
- package/docs/templates/research/SUMMARY.md +170 -0
- package/docs/user-guide.md +1 -1
- package/package.json +7 -2
- /package/docs/{reference → references}/audit-events.md +0 -0
- /package/docs/{reference → references}/config-reference.md +0 -0
- /package/docs/{reference → references}/sdk-api.md +0 -0
- /package/docs/{reference → references}/skills-api.md +0 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# State Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/STATE.md` — the project's living memory.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Template
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
# Project State
|
|
11
|
+
|
|
12
|
+
## Project Reference
|
|
13
|
+
|
|
14
|
+
See: .planning/PROJECT.md (updated [date])
|
|
15
|
+
|
|
16
|
+
**Core value:** [One-liner from PROJECT.md Core Value section]
|
|
17
|
+
**Current focus:** [Current phase name]
|
|
18
|
+
|
|
19
|
+
## Current Position
|
|
20
|
+
|
|
21
|
+
Phase: [X] of [Y] ([Phase name])
|
|
22
|
+
Plan: [A] of [B] in current phase
|
|
23
|
+
Status: [Ready to plan / Planning / Ready to execute / In progress / Phase complete]
|
|
24
|
+
Last activity: [YYYY-MM-DD] — [What happened]
|
|
25
|
+
|
|
26
|
+
Progress: [░░░░░░░░░░] 0%
|
|
27
|
+
|
|
28
|
+
## Performance Metrics
|
|
29
|
+
|
|
30
|
+
**Velocity:**
|
|
31
|
+
- Total plans completed: [N]
|
|
32
|
+
- Average duration: [X] min
|
|
33
|
+
- Total execution time: [X.X] hours
|
|
34
|
+
|
|
35
|
+
**By Phase:**
|
|
36
|
+
|
|
37
|
+
| Phase | Plans | Total | Avg/Plan |
|
|
38
|
+
|-------|-------|-------|----------|
|
|
39
|
+
| - | - | - | - |
|
|
40
|
+
|
|
41
|
+
**Recent Trend:**
|
|
42
|
+
- Last 5 plans: [durations]
|
|
43
|
+
- Trend: [Improving / Stable / Degrading]
|
|
44
|
+
|
|
45
|
+
*Updated after each plan completion*
|
|
46
|
+
|
|
47
|
+
## Accumulated Context
|
|
48
|
+
|
|
49
|
+
### Decisions
|
|
50
|
+
|
|
51
|
+
Decisions are logged in PROJECT.md Key Decisions table.
|
|
52
|
+
Recent decisions affecting current work:
|
|
53
|
+
|
|
54
|
+
- [Phase X]: [Decision summary]
|
|
55
|
+
- [Phase Y]: [Decision summary]
|
|
56
|
+
|
|
57
|
+
### Pending Todos
|
|
58
|
+
|
|
59
|
+
[From .planning/todos/pending/ — ideas captured during sessions]
|
|
60
|
+
|
|
61
|
+
None yet.
|
|
62
|
+
|
|
63
|
+
### Blockers/Concerns
|
|
64
|
+
|
|
65
|
+
[Issues that affect future work]
|
|
66
|
+
|
|
67
|
+
None yet.
|
|
68
|
+
|
|
69
|
+
## Session Continuity
|
|
70
|
+
|
|
71
|
+
Last session: [YYYY-MM-DD HH:MM]
|
|
72
|
+
Stopped at: [Description of last completed action]
|
|
73
|
+
Resume file: [Path to .continue-here*.md if exists, otherwise "None"]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
<purpose>
|
|
77
|
+
|
|
78
|
+
STATE.md is the project's short-term memory spanning all phases and sessions.
|
|
79
|
+
|
|
80
|
+
**Problem it solves:** Information is captured in summaries, issues, and decisions but not systematically consumed. Sessions start without context.
|
|
81
|
+
|
|
82
|
+
**Solution:** A single, small file that's:
|
|
83
|
+
- Read first in every workflow
|
|
84
|
+
- Updated after every significant action
|
|
85
|
+
- Contains digest of accumulated context
|
|
86
|
+
- Enables instant session restoration
|
|
87
|
+
|
|
88
|
+
</purpose>
|
|
89
|
+
|
|
90
|
+
<lifecycle>
|
|
91
|
+
|
|
92
|
+
**Creation:** After ROADMAP.md is created (during init)
|
|
93
|
+
- Reference PROJECT.md (read it for current context)
|
|
94
|
+
- Initialize empty accumulated context sections
|
|
95
|
+
- Set position to "Phase 1 ready to plan"
|
|
96
|
+
|
|
97
|
+
**Reading:** First step of every workflow
|
|
98
|
+
- progress: Present status to user
|
|
99
|
+
- plan: Inform planning decisions
|
|
100
|
+
- execute: Know current position
|
|
101
|
+
- transition: Know what's complete
|
|
102
|
+
|
|
103
|
+
**Writing:** After every significant action
|
|
104
|
+
- execute: After SUMMARY.md created
|
|
105
|
+
- Update position (phase, plan, status)
|
|
106
|
+
- Note new decisions (detail in PROJECT.md)
|
|
107
|
+
- Add blockers/concerns
|
|
108
|
+
- transition: After phase marked complete
|
|
109
|
+
- Update progress bar
|
|
110
|
+
- Clear resolved blockers
|
|
111
|
+
- Refresh Project Reference date
|
|
112
|
+
|
|
113
|
+
</lifecycle>
|
|
114
|
+
|
|
115
|
+
<sections>
|
|
116
|
+
|
|
117
|
+
### Project Reference
|
|
118
|
+
Points to PROJECT.md for full context. Includes:
|
|
119
|
+
- Core value (the ONE thing that matters)
|
|
120
|
+
- Current focus (which phase)
|
|
121
|
+
- Last update date (triggers re-read if stale)
|
|
122
|
+
|
|
123
|
+
the agent reads PROJECT.md directly for requirements, constraints, and decisions.
|
|
124
|
+
|
|
125
|
+
### Current Position
|
|
126
|
+
Where we are right now:
|
|
127
|
+
- Phase X of Y — which phase
|
|
128
|
+
- Plan A of B — which plan within phase
|
|
129
|
+
- Status — current state
|
|
130
|
+
- Last activity — what happened most recently
|
|
131
|
+
- Progress bar — visual indicator of overall completion
|
|
132
|
+
|
|
133
|
+
Progress calculation: (completed plans) / (total plans across all phases) × 100%
|
|
134
|
+
|
|
135
|
+
### Performance Metrics
|
|
136
|
+
Track velocity to understand execution patterns:
|
|
137
|
+
- Total plans completed
|
|
138
|
+
- Average duration per plan
|
|
139
|
+
- Per-phase breakdown
|
|
140
|
+
- Recent trend (improving/stable/degrading)
|
|
141
|
+
|
|
142
|
+
Updated after each plan completion.
|
|
143
|
+
|
|
144
|
+
### Accumulated Context
|
|
145
|
+
|
|
146
|
+
**Decisions:** Reference to PROJECT.md Key Decisions table, plus recent decisions summary for quick access. Full decision log lives in PROJECT.md.
|
|
147
|
+
|
|
148
|
+
**Pending Todos:** Ideas captured via /mindforge-add-todo
|
|
149
|
+
- Count of pending todos
|
|
150
|
+
- Reference to .planning/todos/pending/
|
|
151
|
+
- Brief list if few, count if many (e.g., "5 pending todos — see /mindforge-check-todos")
|
|
152
|
+
|
|
153
|
+
**Blockers/Concerns:** From "Next Phase Readiness" sections
|
|
154
|
+
- Issues that affect future work
|
|
155
|
+
- Prefix with originating phase
|
|
156
|
+
- Cleared when addressed
|
|
157
|
+
|
|
158
|
+
### Session Continuity
|
|
159
|
+
Enables instant resumption:
|
|
160
|
+
- When was last session
|
|
161
|
+
- What was last completed
|
|
162
|
+
- Is there a .continue-here file to resume from
|
|
163
|
+
|
|
164
|
+
</sections>
|
|
165
|
+
|
|
166
|
+
<size_constraint>
|
|
167
|
+
|
|
168
|
+
Keep STATE.md under 100 lines.
|
|
169
|
+
|
|
170
|
+
It's a DIGEST, not an archive. If accumulated context grows too large:
|
|
171
|
+
- Keep only 3-5 recent decisions in summary (full log in PROJECT.md)
|
|
172
|
+
- Keep only active blockers, remove resolved ones
|
|
173
|
+
|
|
174
|
+
The goal is "read once, know where we are" — if it's too long, that fails.
|
|
175
|
+
|
|
176
|
+
</size_constraint>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
phase: XX-name
|
|
3
|
+
plan: YY
|
|
4
|
+
subsystem: [primary category]
|
|
5
|
+
tags: [searchable tech]
|
|
6
|
+
requires:
|
|
7
|
+
- phase: [prior phase]
|
|
8
|
+
provides: [what that phase built]
|
|
9
|
+
provides:
|
|
10
|
+
- [bullet list of what was built/delivered]
|
|
11
|
+
affects: [list of phase names or keywords]
|
|
12
|
+
tech-stack:
|
|
13
|
+
added: [libraries/tools]
|
|
14
|
+
patterns: [architectural/code patterns]
|
|
15
|
+
key-files:
|
|
16
|
+
created: [important files created]
|
|
17
|
+
modified: [important files modified]
|
|
18
|
+
key-decisions:
|
|
19
|
+
- "Decision 1"
|
|
20
|
+
patterns-established:
|
|
21
|
+
- "Pattern 1: description"
|
|
22
|
+
duration: Xmin
|
|
23
|
+
completed: YYYY-MM-DD
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# Phase [X]: [Name] Summary (Complex)
|
|
27
|
+
|
|
28
|
+
**[Substantive one-liner describing outcome]**
|
|
29
|
+
|
|
30
|
+
## Performance
|
|
31
|
+
- **Duration:** [time]
|
|
32
|
+
- **Tasks:** [count completed]
|
|
33
|
+
- **Files modified:** [count]
|
|
34
|
+
|
|
35
|
+
## Accomplishments
|
|
36
|
+
- [Key outcome 1]
|
|
37
|
+
- [Key outcome 2]
|
|
38
|
+
|
|
39
|
+
## Task Commits
|
|
40
|
+
1. **Task 1: [task name]** - `hash`
|
|
41
|
+
2. **Task 2: [task name]** - `hash`
|
|
42
|
+
3. **Task 3: [task name]** - `hash`
|
|
43
|
+
|
|
44
|
+
## Files Created/Modified
|
|
45
|
+
- `path/to/file.ts` - What it does
|
|
46
|
+
- `path/to/another.ts` - What it does
|
|
47
|
+
|
|
48
|
+
## Decisions Made
|
|
49
|
+
[Key decisions with brief rationale]
|
|
50
|
+
|
|
51
|
+
## Deviations from Plan (Auto-fixed)
|
|
52
|
+
[Detailed auto-fix records per MindForge deviation rules]
|
|
53
|
+
|
|
54
|
+
## Issues Encountered
|
|
55
|
+
[Problems during planned work and resolutions]
|
|
56
|
+
|
|
57
|
+
## Next Phase Readiness
|
|
58
|
+
[What's ready for next phase]
|
|
59
|
+
[Blockers or concerns]
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
phase: XX-name
|
|
3
|
+
plan: YY
|
|
4
|
+
subsystem: [primary category]
|
|
5
|
+
tags: [searchable tech]
|
|
6
|
+
provides:
|
|
7
|
+
- [bullet list of what was built/delivered]
|
|
8
|
+
affects: [list of phase names or keywords]
|
|
9
|
+
tech-stack:
|
|
10
|
+
added: [libraries/tools]
|
|
11
|
+
patterns: [architectural/code patterns]
|
|
12
|
+
key-files:
|
|
13
|
+
created: [important files created]
|
|
14
|
+
modified: [important files modified]
|
|
15
|
+
key-decisions: []
|
|
16
|
+
duration: Xmin
|
|
17
|
+
completed: YYYY-MM-DD
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Phase [X]: [Name] Summary (Minimal)
|
|
21
|
+
|
|
22
|
+
**[Substantive one-liner describing outcome]**
|
|
23
|
+
|
|
24
|
+
## Performance
|
|
25
|
+
- **Duration:** [time]
|
|
26
|
+
- **Tasks:** [count]
|
|
27
|
+
- **Files modified:** [count]
|
|
28
|
+
|
|
29
|
+
## Accomplishments
|
|
30
|
+
- [Most important outcome]
|
|
31
|
+
- [Second key accomplishment]
|
|
32
|
+
|
|
33
|
+
## Task Commits
|
|
34
|
+
1. **Task 1: [task name]** - `hash`
|
|
35
|
+
2. **Task 2: [task name]** - `hash`
|
|
36
|
+
|
|
37
|
+
## Files Created/Modified
|
|
38
|
+
- `path/to/file.ts` - What it does
|
|
39
|
+
|
|
40
|
+
## Next Phase Readiness
|
|
41
|
+
[Ready for next phase]
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
phase: XX-name
|
|
3
|
+
plan: YY
|
|
4
|
+
subsystem: [primary category]
|
|
5
|
+
tags: [searchable tech]
|
|
6
|
+
provides:
|
|
7
|
+
- [bullet list of what was built/delivered]
|
|
8
|
+
affects: [list of phase names or keywords]
|
|
9
|
+
tech-stack:
|
|
10
|
+
added: [libraries/tools]
|
|
11
|
+
patterns: [architectural/code patterns]
|
|
12
|
+
key-files:
|
|
13
|
+
created: [important files created]
|
|
14
|
+
modified: [important files modified]
|
|
15
|
+
key-decisions:
|
|
16
|
+
- "Decision 1"
|
|
17
|
+
duration: Xmin
|
|
18
|
+
completed: YYYY-MM-DD
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Phase [X]: [Name] Summary
|
|
22
|
+
|
|
23
|
+
**[Substantive one-liner describing outcome]**
|
|
24
|
+
|
|
25
|
+
## Performance
|
|
26
|
+
- **Duration:** [time]
|
|
27
|
+
- **Tasks:** [count completed]
|
|
28
|
+
- **Files modified:** [count]
|
|
29
|
+
|
|
30
|
+
## Accomplishments
|
|
31
|
+
- [Key outcome 1]
|
|
32
|
+
- [Key outcome 2]
|
|
33
|
+
|
|
34
|
+
## Task Commits
|
|
35
|
+
1. **Task 1: [task name]** - `hash`
|
|
36
|
+
2. **Task 2: [task name]** - `hash`
|
|
37
|
+
3. **Task 3: [task name]** - `hash`
|
|
38
|
+
|
|
39
|
+
## Files Created/Modified
|
|
40
|
+
- `path/to/file.ts` - What it does
|
|
41
|
+
- `path/to/another.ts` - What it does
|
|
42
|
+
|
|
43
|
+
## Decisions & Deviations
|
|
44
|
+
[Key decisions or "None - followed plan as specified"]
|
|
45
|
+
[Minor deviations if any, or "None"]
|
|
46
|
+
|
|
47
|
+
## Next Phase Readiness
|
|
48
|
+
[What's ready for next phase]
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
# Summary Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/phases/XX-name/{phase}-{plan}-SUMMARY.md` - phase completion documentation.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Template
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
---
|
|
11
|
+
phase: XX-name
|
|
12
|
+
plan: YY
|
|
13
|
+
subsystem: [primary category: auth, payments, ui, api, database, infra, testing, etc.]
|
|
14
|
+
tags: [searchable tech: jwt, stripe, react, postgres, prisma]
|
|
15
|
+
|
|
16
|
+
# Dependency graph
|
|
17
|
+
requires:
|
|
18
|
+
- phase: [prior phase this depends on]
|
|
19
|
+
provides: [what that phase built that this uses]
|
|
20
|
+
provides:
|
|
21
|
+
- [bullet list of what this phase built/delivered]
|
|
22
|
+
affects: [list of phase names or keywords that will need this context]
|
|
23
|
+
|
|
24
|
+
# Tech tracking
|
|
25
|
+
tech-stack:
|
|
26
|
+
added: [libraries/tools added in this phase]
|
|
27
|
+
patterns: [architectural/code patterns established]
|
|
28
|
+
|
|
29
|
+
key-files:
|
|
30
|
+
created: [important files created]
|
|
31
|
+
modified: [important files modified]
|
|
32
|
+
|
|
33
|
+
key-decisions:
|
|
34
|
+
- "Decision 1"
|
|
35
|
+
- "Decision 2"
|
|
36
|
+
|
|
37
|
+
patterns-established:
|
|
38
|
+
- "Pattern 1: description"
|
|
39
|
+
- "Pattern 2: description"
|
|
40
|
+
|
|
41
|
+
requirements-completed: [] # REQUIRED — Copy ALL requirement IDs from this plan's `requirements` frontmatter field.
|
|
42
|
+
|
|
43
|
+
# Metrics
|
|
44
|
+
duration: Xmin
|
|
45
|
+
completed: YYYY-MM-DD
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
# Phase [X]: [Name] Summary
|
|
49
|
+
|
|
50
|
+
**[Substantive one-liner describing outcome - NOT "phase complete" or "implementation finished"]**
|
|
51
|
+
|
|
52
|
+
## Performance
|
|
53
|
+
|
|
54
|
+
- **Duration:** [time] (e.g., 23 min, 1h 15m)
|
|
55
|
+
- **Started:** [ISO timestamp]
|
|
56
|
+
- **Completed:** [ISO timestamp]
|
|
57
|
+
- **Tasks:** [count completed]
|
|
58
|
+
- **Files modified:** [count]
|
|
59
|
+
|
|
60
|
+
## Accomplishments
|
|
61
|
+
- [Most important outcome]
|
|
62
|
+
- [Second key accomplishment]
|
|
63
|
+
- [Third if applicable]
|
|
64
|
+
|
|
65
|
+
## Task Commits
|
|
66
|
+
|
|
67
|
+
Each task was committed atomically:
|
|
68
|
+
|
|
69
|
+
1. **Task 1: [task name]** - `abc123f` (feat/fix/test/refactor)
|
|
70
|
+
2. **Task 2: [task name]** - `def456g` (feat/fix/test/refactor)
|
|
71
|
+
3. **Task 3: [task name]** - `hij789k` (feat/fix/test/refactor)
|
|
72
|
+
|
|
73
|
+
**Plan metadata:** `lmn012o` (docs: complete plan)
|
|
74
|
+
|
|
75
|
+
_Note: TDD tasks may have multiple commits (test → feat → refactor)_
|
|
76
|
+
|
|
77
|
+
## Files Created/Modified
|
|
78
|
+
- `path/to/file.ts` - What it does
|
|
79
|
+
- `path/to/another.ts` - What it does
|
|
80
|
+
|
|
81
|
+
## Decisions Made
|
|
82
|
+
[Key decisions with brief rationale, or "None - followed plan as specified"]
|
|
83
|
+
|
|
84
|
+
## Deviations from Plan
|
|
85
|
+
|
|
86
|
+
[If no deviations: "None - plan executed exactly as written"]
|
|
87
|
+
|
|
88
|
+
[If deviations occurred:]
|
|
89
|
+
|
|
90
|
+
### Auto-fixed Issues
|
|
91
|
+
|
|
92
|
+
**1. [Rule X - Category] Brief description**
|
|
93
|
+
- **Found during:** Task [N] ([task name])
|
|
94
|
+
- **Issue:** [What was wrong]
|
|
95
|
+
- **Fix:** [What was done]
|
|
96
|
+
- **Files modified:** [file paths]
|
|
97
|
+
- **Verification:** [How it was verified]
|
|
98
|
+
- **Committed in:** [hash] (part of task commit)
|
|
99
|
+
|
|
100
|
+
[... repeat for each auto-fix ...]
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
**Total deviations:** [N] auto-fixed ([breakdown by rule])
|
|
105
|
+
**Impact on plan:** [Brief assessment - e.g., "All auto-fixes necessary for correctness/security. No scope creep."]
|
|
106
|
+
|
|
107
|
+
## Issues Encountered
|
|
108
|
+
[Problems and how they were resolved, or "None"]
|
|
109
|
+
|
|
110
|
+
[Note: "Deviations from Plan" documents unplanned work that was handled automatically via deviation rules. "Issues Encountered" documents problems during planned work that required problem-solving.]
|
|
111
|
+
|
|
112
|
+
## User Setup Required
|
|
113
|
+
|
|
114
|
+
[If USER-SETUP.md was generated:]
|
|
115
|
+
**External services require manual configuration.** See [{phase}-USER-SETUP.md](./{phase}-USER-SETUP.md) for:
|
|
116
|
+
- Environment variables to add
|
|
117
|
+
- Dashboard configuration steps
|
|
118
|
+
- Verification commands
|
|
119
|
+
|
|
120
|
+
[If no USER-SETUP.md:]
|
|
121
|
+
None - no external service configuration required.
|
|
122
|
+
|
|
123
|
+
## Next Phase Readiness
|
|
124
|
+
[What's ready for next phase]
|
|
125
|
+
[Any blockers or concerns]
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
*Phase: XX-name*
|
|
129
|
+
*Completed: [date]*
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
<frontmatter_guidance>
|
|
133
|
+
**Purpose:** Enable automatic context assembly via dependency graph. Frontmatter makes summary metadata machine-readable so plan-phase can scan all summaries quickly and select relevant ones based on dependencies.
|
|
134
|
+
|
|
135
|
+
**Fast scanning:** Frontmatter is first ~25 lines, cheap to scan across all summaries without reading full content.
|
|
136
|
+
|
|
137
|
+
**Dependency graph:** `requires`/`provides`/`affects` create explicit links between phases, enabling transitive closure for context selection.
|
|
138
|
+
|
|
139
|
+
**Subsystem:** Primary categorization (auth, payments, ui, api, database, infra, testing) for detecting related phases.
|
|
140
|
+
|
|
141
|
+
**Tags:** Searchable technical keywords (libraries, frameworks, tools) for tech stack awareness.
|
|
142
|
+
|
|
143
|
+
**Key-files:** Important files for @context references in PLAN.md.
|
|
144
|
+
|
|
145
|
+
**Patterns:** Established conventions future phases should maintain.
|
|
146
|
+
|
|
147
|
+
**Population:** Frontmatter is populated during summary creation in execute-plan.md. See `<step name="create_summary">` for field-by-field guidance.
|
|
148
|
+
</frontmatter_guidance>
|
|
149
|
+
|
|
150
|
+
<one_liner_rules>
|
|
151
|
+
The one-liner MUST be substantive:
|
|
152
|
+
|
|
153
|
+
**Good:**
|
|
154
|
+
- "JWT auth with refresh rotation using jose library"
|
|
155
|
+
- "Prisma schema with User, Session, and Product models"
|
|
156
|
+
- "Dashboard with real-time metrics via Server-Sent Events"
|
|
157
|
+
|
|
158
|
+
**Bad:**
|
|
159
|
+
- "Phase complete"
|
|
160
|
+
- "Authentication implemented"
|
|
161
|
+
- "Foundation finished"
|
|
162
|
+
- "All tasks done"
|
|
163
|
+
|
|
164
|
+
The one-liner should tell someone what actually shipped.
|
|
165
|
+
</one_liner_rules>
|
|
166
|
+
|
|
167
|
+
<example>
|
|
168
|
+
```markdown
|
|
169
|
+
# Phase 1: Foundation Summary
|
|
170
|
+
|
|
171
|
+
**JWT auth with refresh rotation using jose library, Prisma User model, and protected API middleware**
|
|
172
|
+
|
|
173
|
+
## Performance
|
|
174
|
+
|
|
175
|
+
- **Duration:** 28 min
|
|
176
|
+
- **Started:** 2025-01-15T14:22:10Z
|
|
177
|
+
- **Completed:** 2025-01-15T14:50:33Z
|
|
178
|
+
- **Tasks:** 5
|
|
179
|
+
- **Files modified:** 8
|
|
180
|
+
|
|
181
|
+
## Accomplishments
|
|
182
|
+
- User model with email/password auth
|
|
183
|
+
- Login/logout endpoints with httpOnly JWT cookies
|
|
184
|
+
- Protected route middleware checking token validity
|
|
185
|
+
- Refresh token rotation on each request
|
|
186
|
+
|
|
187
|
+
## Files Created/Modified
|
|
188
|
+
- `prisma/schema.prisma` - User and Session models
|
|
189
|
+
- `src/app/api/auth/login/route.ts` - Login endpoint
|
|
190
|
+
- `src/app/api/auth/logout/route.ts` - Logout endpoint
|
|
191
|
+
- `src/middleware.ts` - Protected route checks
|
|
192
|
+
- `src/lib/auth.ts` - JWT helpers using jose
|
|
193
|
+
|
|
194
|
+
## Decisions Made
|
|
195
|
+
- Used jose instead of jsonwebtoken (ESM-native, Edge-compatible)
|
|
196
|
+
- 15-min access tokens with 7-day refresh tokens
|
|
197
|
+
- Storing refresh tokens in database for revocation capability
|
|
198
|
+
|
|
199
|
+
## Deviations from Plan
|
|
200
|
+
|
|
201
|
+
### Auto-fixed Issues
|
|
202
|
+
|
|
203
|
+
**1. [Rule 2 - Missing Critical] Added password hashing with bcrypt**
|
|
204
|
+
- **Found during:** Task 2 (Login endpoint implementation)
|
|
205
|
+
- **Issue:** Plan didn't specify password hashing - storing plaintext would be critical security flaw
|
|
206
|
+
- **Fix:** Added bcrypt hashing on registration, comparison on login with salt rounds 10
|
|
207
|
+
- **Files modified:** src/app/api/auth/login/route.ts, src/lib/auth.ts
|
|
208
|
+
- **Verification:** Password hash test passes, plaintext never stored
|
|
209
|
+
- **Committed in:** abc123f (Task 2 commit)
|
|
210
|
+
|
|
211
|
+
**2. [Rule 3 - Blocking] Installed missing jose dependency**
|
|
212
|
+
- **Found during:** Task 4 (JWT token generation)
|
|
213
|
+
- **Issue:** jose package not in package.json, import failing
|
|
214
|
+
- **Fix:** Ran `npm install jose`
|
|
215
|
+
- **Files modified:** package.json, package-lock.json
|
|
216
|
+
- **Verification:** Import succeeds, build passes
|
|
217
|
+
- **Committed in:** def456g (Task 4 commit)
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
**Total deviations:** 2 auto-fixed (1 missing critical, 1 blocking)
|
|
222
|
+
**Impact on plan:** Both auto-fixes essential for security and functionality. No scope creep.
|
|
223
|
+
|
|
224
|
+
## Issues Encountered
|
|
225
|
+
- jsonwebtoken CommonJS import failed in Edge runtime - switched to jose (planned library change, worked as expected)
|
|
226
|
+
|
|
227
|
+
## Next Phase Readiness
|
|
228
|
+
- Auth foundation complete, ready for feature development
|
|
229
|
+
- User registration endpoint needed before public launch
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
*Phase: 01-foundation*
|
|
233
|
+
*Completed: 2025-01-15*
|
|
234
|
+
```
|
|
235
|
+
</example>
|
|
236
|
+
|
|
237
|
+
<guidelines>
|
|
238
|
+
**Frontmatter:** MANDATORY - complete all fields. Enables automatic context assembly for future planning.
|
|
239
|
+
|
|
240
|
+
**One-liner:** Must be substantive. "JWT auth with refresh rotation using jose library" not "Authentication implemented".
|
|
241
|
+
|
|
242
|
+
**Decisions section:**
|
|
243
|
+
- Key decisions made during execution with rationale
|
|
244
|
+
- Extracted to STATE.md accumulated context
|
|
245
|
+
- Use "None - followed plan as specified" if no deviations
|
|
246
|
+
|
|
247
|
+
**After creation:** STATE.md updated with position, decisions, issues.
|
|
248
|
+
</guidelines>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Load developer preferences into this session
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Developer Preferences
|
|
6
|
+
|
|
7
|
+
> Generated by MindForge on {{generated_at}} from {{data_source}}.
|
|
8
|
+
> Run `/mindforge-profile-user --refresh` to regenerate.
|
|
9
|
+
|
|
10
|
+
## Behavioral Directives
|
|
11
|
+
|
|
12
|
+
Follow these directives when working with this developer. Higher confidence
|
|
13
|
+
directives should be applied directly. Lower confidence directives should be
|
|
14
|
+
tried with hedging ("Based on your profile, I'll try X -- let me know if
|
|
15
|
+
that's off").
|
|
16
|
+
|
|
17
|
+
{{behavioral_directives}}
|
|
18
|
+
|
|
19
|
+
## Stack Preferences
|
|
20
|
+
|
|
21
|
+
{{stack_preferences}}
|