@theglitchking/persistent-planning 3.0.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.documentation/INDEX.md +216 -0
  4. package/.documentation/README.md +90 -0
  5. package/.documentation/REGISTRY.md +80 -0
  6. package/.documentation/agents/INDEX.md +43 -0
  7. package/.documentation/agents/REGISTRY.md +38 -0
  8. package/.documentation/api/INDEX.md +43 -0
  9. package/.documentation/api/REGISTRY.md +38 -0
  10. package/.documentation/architecture/INDEX.md +48 -0
  11. package/.documentation/architecture/REGISTRY.md +53 -0
  12. package/{docs/reference.md → .documentation/architecture/context-engineering-principles.md} +20 -1
  13. package/{docs → .documentation/architecture}/lg-mode.md +17 -8
  14. package/.documentation/archive/README.md +46 -0
  15. package/.documentation/backups/INDEX.md +43 -0
  16. package/.documentation/backups/REGISTRY.md +38 -0
  17. package/.documentation/database/INDEX.md +43 -0
  18. package/.documentation/database/REGISTRY.md +38 -0
  19. package/.documentation/devops/INDEX.md +43 -0
  20. package/.documentation/devops/REGISTRY.md +38 -0
  21. package/.documentation/drafts/.gitkeep +1 -0
  22. package/.documentation/features/INDEX.md +43 -0
  23. package/.documentation/features/REGISTRY.md +38 -0
  24. package/.documentation/plans/INDEX.md +43 -0
  25. package/.documentation/plans/REGISTRY.md +38 -0
  26. package/.documentation/procedures/INDEX.md +42 -0
  27. package/.documentation/procedures/REGISTRY.md +51 -0
  28. package/.documentation/procedures/plan-completion-and-archive.md +151 -0
  29. package/.documentation/quickstart/INDEX.md +42 -0
  30. package/.documentation/quickstart/REGISTRY.md +51 -0
  31. package/{docs → .documentation/quickstart}/examples.md +20 -0
  32. package/.documentation/reference/INDEX.md +42 -0
  33. package/.documentation/reference/REGISTRY.md +51 -0
  34. package/{docs → .documentation/reference}/workspace-json.md +11 -5
  35. package/.documentation/security/INDEX.md +43 -0
  36. package/.documentation/security/REGISTRY.md +38 -0
  37. package/.documentation/standards/INDEX.md +43 -0
  38. package/.documentation/standards/REGISTRY.md +53 -0
  39. package/{docs → .documentation/standards}/atom-granularity.md +12 -5
  40. package/.documentation/standards/mandatory-closing-phases.md +125 -0
  41. package/.documentation/testing/INDEX.md +42 -0
  42. package/.documentation/testing/REGISTRY.md +51 -0
  43. package/.documentation/testing/test-suite.md +88 -0
  44. package/.documentation/troubleshooting/INDEX.md +43 -0
  45. package/.documentation/troubleshooting/REGISTRY.md +38 -0
  46. package/.documentation/workflows/INDEX.md +43 -0
  47. package/.documentation/workflows/REGISTRY.md +38 -0
  48. package/CHANGELOG.md +49 -0
  49. package/README.md +67 -7
  50. package/commands/archive-plan.md +66 -0
  51. package/commands/plan-status.md +62 -0
  52. package/commands/start-atom.md +3 -3
  53. package/commands/start-planning.md +2 -2
  54. package/commands/start-task.md +2 -2
  55. package/hooks/session-start.js +79 -8
  56. package/package.json +6 -3
  57. package/scripts/archive-plan.sh +146 -0
  58. package/scripts/init-planning.sh +23 -0
  59. package/scripts/plan-status.sh +121 -0
  60. package/skills/persistent-planning/SKILL.md +34 -9
  61. package/templates/lg/phase.md +18 -2
  62. package/templates/lg/task.md +1 -1
@@ -21,6 +21,17 @@ Tasks with no inter-dependencies can be marked `parallelizable: true` in their f
21
21
  so subagent teams can pick them up concurrently.]
22
22
 
23
23
  - [ ] (no tasks yet — run `/start-task "Task name" --parent PHASE_SLUG_PLACEHOLDER`)
24
+ - [ ] **Validate success through comprehensive testing** (MANDATORY — second-to-last)
25
+ - [ ] **Documentation pass — create/update/deprecate docs** (MANDATORY — last)
26
+
27
+ > The two mandatory closing tasks above MUST remain the last two tasks of this phase.
28
+ > Add new tasks above them; never after. A phase cannot be marked `done` until both are
29
+ > `done`, and neither may be `parallelizable` — they gate on everything before them.
30
+ >
31
+ > - **Validate success**: prove the phase's work with tests that fail if it breaks.
32
+ > - **Documentation pass**: create/update/deprecate every doc this phase touches —
33
+ > what it is, where it lives, how to fix it, how to operate it, why it matters.
34
+ > If hit-em-with-the-docs is installed, use it for this pass.
24
35
 
25
36
  ## Decisions Made
26
37
  [Phase-level decisions that affect multiple tasks. Format: `**Decision**: rationale`.]
@@ -30,8 +41,13 @@ so subagent teams can pick them up concurrently.]
30
41
 
31
42
  Status enum: `draft | active | paused | done | archived`
32
43
 
33
- When all tasks are `done`, mark this phase `done`. When archived, this directory and
34
- its tasks/atoms move to `.planning/archive/PHASE_SLUG_PLACEHOLDER/`.
44
+ When all tasks are `done`, mark this phase `done`. Checking every box in this phase
45
+ IS the completion signal — `/plan-status` reads it straight off the artifacts.
46
+
47
+ When complete, retire it with `/archive-plan PHASE_SLUG_PLACEHOLDER`: the whole
48
+ directory (tasks and atoms with it) moves to the gitignored
49
+ `.planning/.archive/PHASE_SLUG_PLACEHOLDER/` and the frontmatter above is stamped
50
+ `status: archived` + `archived_on`. Nothing is destroyed.
35
51
 
36
52
  ---
37
53
 
@@ -27,7 +27,7 @@ via `/start-atom "Atom name" --parent TASK_SLUG_PLACEHOLDER` — these become fi
27
27
  under `atoms/` that subagents read via the planning MCP.
28
28
 
29
29
  Inline checkbox vs. standalone atom file — see anti-pattern doc:
30
- docs/atom-granularity.md.]
30
+ .documentation/standards/atom-granularity.md.]
31
31
 
32
32
  - [ ] (no atoms yet — add inline checkboxes here for simple atoms,
33
33
  or run `/start-atom "Atom name" --parent TASK_SLUG_PLACEHOLDER` for complex ones)