@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
@@ -0,0 +1,151 @@
1
+ ---
2
+ title: Plan Completion and Archive
3
+ tier: guide
4
+ domains:
5
+ - procedures
6
+ audience:
7
+ - developers
8
+ tags: []
9
+ status: active
10
+ last_updated: '2026-08-31'
11
+ version: 1.0.0
12
+ purpose: How persistent-planning decides a plan is finished, how that reaches
13
+ the agent automatically, and the procedure for retiring a completed plan into
14
+ the gitignored .planning/.archive/ directory.
15
+ estimated_read_time: 5 minutes
16
+ word_count: 812
17
+ last_validated: '2026-08-31'
18
+ backlinks: []
19
+ ---
20
+
21
+ # Plan Completion and Archive
22
+
23
+ ## What it is
24
+
25
+ Two things that only make sense together:
26
+
27
+ - **Status tracking** — a plan's completion is *derived from the plan artifacts*,
28
+ not stored anywhere else.
29
+ - **Archive** — a completed plan is moved out of the active `.planning/` tree into
30
+ a gitignored `.planning/.archive/`, so what remains under `.planning/` is only
31
+ ever live work.
32
+
33
+ ## Why it matters
34
+
35
+ The failure this prevents is a finished plan that nobody retires. It sits in
36
+ `.planning/`, and every future session — human or agent — re-reads it, re-reasons
37
+ about whether it is still relevant, and burns context deciding it isn't. Multiply
38
+ by a dozen plans and the working-memory directory becomes the thing you have to
39
+ work around.
40
+
41
+ The reason completion is *derived* rather than *declared* is drift. A `done: true`
42
+ flag someone has to remember to set is wrong the moment they forget, and nothing
43
+ detects that. Checkbox state cannot drift from the plan, because it **is** the
44
+ plan. Checking the last box is the completion signal; there is no second step to
45
+ forget.
46
+
47
+ ## Where it lives
48
+
49
+ | Piece | Path |
50
+ |---|---|
51
+ | Status scan (single implementation) | `scripts/plan-status.sh` |
52
+ | Archive operation | `scripts/archive-plan.sh` |
53
+ | Session-start nudge | `hooks/session-start.js` (shells out to `plan-status.sh --nudge`) |
54
+ | Slash commands | `commands/plan-status.md`, `commands/archive-plan.md` |
55
+ | Archived plans | `.planning/.archive/<slug>/` (gitignored) |
56
+
57
+ ## The completion rule
58
+
59
+ A plan is **COMPLETE** when either holds:
60
+
61
+ 1. Every checkbox in every markdown file under the plan directory is checked, or
62
+ 2. The plan's top-level artifact (`phase.md`, `task_plan.md`, or `task.md`)
63
+ declares `status: done` in frontmatter.
64
+
65
+ Other verdicts: `blocked` (an atom carries `status: blocked`), `empty` (no
66
+ checkboxes yet), `in progress` (anything else), `archived` (already stamped).
67
+
68
+ Because plans are seeded with [mandatory closing phases](../standards/mandatory-closing-phases.md),
69
+ a plan cannot read COMPLETE until its work has been tested *and* documented. The
70
+ two features are deliberately coupled: completion means finished, not "the fun
71
+ part is finished."
72
+
73
+ ## How the agent finds out
74
+
75
+ Three escalating surfaces, cheapest first:
76
+
77
+ 1. **SessionStart hook.** On every session, the hook runs `plan-status.sh --nudge`
78
+ and merges any result into the session's context: *"persistent-planning: 1
79
+ plan(s) complete but not archived — <slug>."* Silent when there is nothing to
80
+ say, so it costs nothing in the normal case.
81
+ 2. **`/plan-status`.** The full table, on demand.
82
+ 3. **The plan artifact itself.** Both templates carry an `## On Completion`
83
+ section stating the rule and the archive command, so an agent reading only the
84
+ plan still learns the protocol.
85
+
86
+ ## How to operate it
87
+
88
+ ```bash
89
+ /plan-status # what is in progress, blocked, complete
90
+ /archive-plan <slug> # retire one completed plan
91
+ /archive-plan --all-complete # retire every completed plan
92
+ /archive-plan <slug> --dry-run # show the move without making it
93
+ /archive-plan <slug> --force # retire an unfinished plan (deliberate)
94
+ ```
95
+
96
+ Machine-readable forms for scripts and subagents:
97
+
98
+ ```bash
99
+ bash scripts/plan-status.sh --complete # one complete plan slug per line
100
+ bash scripts/plan-status.sh --nudge # one line, or nothing
101
+ ```
102
+
103
+ Archiving performs four steps:
104
+
105
+ 1. Verifies completion (skipped under `--force`).
106
+ 2. Ensures `.planning/.archive/` exists and is in `.gitignore`.
107
+ 3. Moves `.planning/<slug>/` → `.planning/.archive/<slug>/`, preferring `git mv`
108
+ when the plan is tracked so history follows it.
109
+ 4. Stamps the top-level artifact: `status: archived` + `archived_on` in
110
+ frontmatter, or a dated footer for sm plans that have none.
111
+
112
+ **Nothing is ever deleted.** Archiving is a move plus a stamp.
113
+
114
+ ## Restoring an archived plan
115
+
116
+ ```bash
117
+ mv .planning/.archive/<slug> .planning/<slug>
118
+ ```
119
+
120
+ Then set `status:` back to `active` and remove the `archived_on` stamp. The plan
121
+ resumes reading as in-progress the moment a box is unchecked.
122
+
123
+ ## How to fix it
124
+
125
+ | Symptom | Cause | Fix |
126
+ |---|---|---|
127
+ | Finished plan never reads COMPLETE | A checkbox is still unchecked somewhere in the tree — often in a nested atom file | `bash scripts/plan-status.sh` shows `checked/total`; grep the plan for `- [ ]` |
128
+ | A brand-new plan reads COMPLETE | Its template checkboxes were checked without doing the work, or the plan has no checkboxes and `status: done` was set by hand | Uncheck, or correct the frontmatter |
129
+ | `archive-plan.sh` refuses | The plan is genuinely incomplete | Finish it. `--force` exists for deliberate abandonment, not for impatience |
130
+ | "Already archived: … exists" | A plan with that slug was archived before | Rename or move the existing entry under `.planning/.archive/` first |
131
+ | Nudge never appears | No `.planning/` directory, or no plan is complete, or the hook is not registered | `npx persistent-planning status` reports hook registration |
132
+ | Archived plans show up in `git status` | `.planning/` is tracked in this repo and the ignore line was added after the fact | Ensure `.gitignore` has `.planning/.archive/`; `git rm -r --cached .planning/.archive` if already tracked |
133
+
134
+ ## Design notes
135
+
136
+ **One implementation of the scan.** The hook, the slash command, and
137
+ `archive-plan.sh`'s completion check all shell out to `plan-status.sh`. A second
138
+ copy of the "is this done?" rule in JavaScript would be a second copy that could
139
+ disagree.
140
+
141
+ **The hook merges rather than appends.** `@theglitchking/claude-plugin-runtime`
142
+ owns the single `SessionStart` JSON response and exposes no hook for adding to it,
143
+ and emitting a second response line would be invalid. `hooks/session-start.js`
144
+ intercepts that one write and merges the nudge into the same payload, failing
145
+ open — if the payload is not the shape it expects, it is written through
146
+ untouched and the update check still works.
147
+
148
+ **Archive is gitignored on purpose.** A completed plan is a record of how *this
149
+ machine* got somewhere. Sharing it with every clone would grow the repository
150
+ with reasoning nobody reads. If a particular plan is worth keeping, promote its
151
+ findings into a real doc — which is what the mandatory documentation phase is for.
@@ -0,0 +1,42 @@
1
+ ---
2
+ title: Quickstart Documentation Index
3
+ tier: reference
4
+ domains: [quickstart]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Complete listing of quickstart documentation
9
+ ---
10
+
11
+ # Quickstart Documentation
12
+
13
+ > Setup guides, dev workflow, onboarding
14
+
15
+ ## Overview
16
+
17
+ - **Total Documents:** 1
18
+ - **Domain:** `quickstart/`
19
+ - **Category:** features
20
+ - **Load Priority:** 9/10
21
+
22
+ ## Documents
23
+
24
+ ### Guides
25
+
26
+ | Document | Status | Updated | Words |
27
+ |----------|--------|---------|-------|
28
+ | [Examples: Persistent Planning in Action](examples.md) | active | 2026-08-31 | 136 |
29
+
30
+ ## Keywords
31
+
32
+ This domain covers: quickstart, quick-start, getting-started, setup, install, installation, onboarding, developer, dev, workflow
33
+
34
+ ## Related Domains
35
+
36
+ - [Workflows](../workflows/) - Process documentation, multi-step operations
37
+ - [Features](../features/) - Feature implementation guides, admin docs
38
+ - [Procedures](../procedures/) - Step-by-step operational procedures (SOP)
39
+
40
+ ---
41
+
42
+ *Last updated: 2026-08-31*
@@ -0,0 +1,51 @@
1
+ ---
2
+ title: Quickstart Registry
3
+ tier: reference
4
+ domains: [quickstart]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Quick reference for quickstart documentation
9
+ ---
10
+
11
+ # Quickstart Registry
12
+
13
+ > Quick reference for setup guides, dev workflow, onboarding.
14
+
15
+ ## At a Glance
16
+
17
+ | Metric | Value |
18
+ |--------|-------|
19
+ | Documents | 1 |
20
+ | Category | features |
21
+ | Load Priority | 9/10 |
22
+
23
+ ## Active Documents
24
+
25
+ - [Examples: Persistent Planning in Action](examples.md)
26
+
27
+ ## Recently Updated
28
+
29
+ - [Examples: Persistent Planning in Action](examples.md) - 2026-08-31
30
+
31
+ ## By Status
32
+
33
+ | Status | Count |
34
+ |--------|-------|
35
+ | active | 1 |
36
+ | draft | 0 |
37
+ | deprecated | 0 |
38
+ | archived | 0 |
39
+
40
+ ## Keywords
41
+
42
+ `quickstart` `quick-start` `getting-started` `setup` `install` `installation` `onboarding` `developer` `dev` `workflow` `start` `begin` `intro` `introduction` `new-developer`
43
+
44
+ ## See Also
45
+
46
+ - [Full Index](INDEX.md) - Complete document listing
47
+ - [Root Index](../INDEX.md) - All domains
48
+
49
+ ---
50
+
51
+ *Last updated: 2026-08-31*
@@ -1,3 +1,23 @@
1
+ ---
2
+ title: 'Examples: Persistent Planning in Action'
3
+ tier: plan
4
+ domains:
5
+ - quickstart
6
+ audience:
7
+ - all
8
+ tags:
9
+ - authentication
10
+ status: active
11
+ last_updated: '2026-08-31'
12
+ version: 1.0.0
13
+ purpose: '**User Request:** "Research the benefits of morning exercise and write
14
+ a summary"'
15
+ estimated_read_time: 1 minute
16
+ word_count: 136
17
+ last_validated: '2026-08-31'
18
+ backlinks: []
19
+ ---
20
+
1
21
  # Examples: Persistent Planning in Action
2
22
 
3
23
  ## Example 1: Research Task
@@ -0,0 +1,42 @@
1
+ ---
2
+ title: Reference Documentation Index
3
+ tier: reference
4
+ domains: [reference]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Complete listing of reference documentation
9
+ ---
10
+
11
+ # Reference Documentation
12
+
13
+ > Schema, frontmatter, and CLI reference material for the planning artifacts
14
+
15
+ ## Overview
16
+
17
+ - **Total Documents:** 1
18
+ - **Domain:** `reference/`
19
+ - **Category:** development
20
+ - **Load Priority:** 7/10
21
+
22
+ ## Documents
23
+
24
+ ### Standards
25
+
26
+ | Document | Status | Updated | Words |
27
+ |----------|--------|---------|-------|
28
+ | [workspace.json schema](workspace-json.md) | active | 2026-05-07 | 358 |
29
+
30
+ ## Keywords
31
+
32
+ This domain covers: schema, frontmatter, workspace.json, field, enum, cli, flags, reference, contract
33
+
34
+ ## Related Domains
35
+
36
+ - [Architecture](../architecture/) - System design, AI coach, project registry, patterns
37
+ - [Standards](../standards/) - Coding standards (backend, frontend, database, devops, security)
38
+ - [Testing](../testing/) - Test strategies, fixtures, patterns, integration/e2e
39
+
40
+ ---
41
+
42
+ *Last updated: 2026-08-31*
@@ -0,0 +1,51 @@
1
+ ---
2
+ title: Reference Registry
3
+ tier: reference
4
+ domains: [reference]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Quick reference for reference documentation
9
+ ---
10
+
11
+ # Reference Registry
12
+
13
+ > Quick reference for schema, frontmatter, and cli reference material for the planning artifacts.
14
+
15
+ ## At a Glance
16
+
17
+ | Metric | Value |
18
+ |--------|-------|
19
+ | Documents | 1 |
20
+ | Category | development |
21
+ | Load Priority | 7/10 |
22
+
23
+ ## Active Documents
24
+
25
+ - [workspace.json schema](workspace-json.md)
26
+
27
+ ## Recently Updated
28
+
29
+ - [workspace.json schema](workspace-json.md) - 2026-05-07
30
+
31
+ ## By Status
32
+
33
+ | Status | Count |
34
+ |--------|-------|
35
+ | active | 1 |
36
+ | draft | 0 |
37
+ | deprecated | 0 |
38
+ | archived | 0 |
39
+
40
+ ## Keywords
41
+
42
+ `schema` `frontmatter` `workspace.json` `field` `enum` `cli` `flags` `reference` `contract`
43
+
44
+ ## See Also
45
+
46
+ - [Full Index](INDEX.md) - Complete document listing
47
+ - [Root Index](../INDEX.md) - All domains
48
+
49
+ ---
50
+
51
+ *Last updated: 2026-08-31*
@@ -2,13 +2,19 @@
2
2
  title: workspace.json schema
3
3
  tier: standard
4
4
  domains:
5
- - planning
6
- status: active
7
- last_updated: 2026-05-07
8
- version: 1.0.0
5
+ - reference
9
6
  audience:
10
7
  - developers
11
- purpose: Document the .planning/.meta/workspace.json schema introduced in v3.0 for sm/lg mode tracking
8
+ tags: []
9
+ status: active
10
+ last_updated: '2026-05-07'
11
+ version: 1.0.0
12
+ purpose: Document the .planning/.meta/workspace.json schema introduced in v3.0
13
+ for sm/lg mode tracking
14
+ estimated_read_time: 2 minutes
15
+ word_count: 358
16
+ last_validated: '2026-08-31'
17
+ backlinks: []
12
18
  ---
13
19
 
14
20
  # `workspace.json` schema (v3.0)
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: Security Documentation Index
3
+ tier: reference
4
+ domains: [security]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Complete listing of security documentation
9
+ ---
10
+
11
+ # Security Documentation
12
+
13
+ > Security, auth, Vault, Keycloak, RLS
14
+
15
+ ## Overview
16
+
17
+ - **Total Documents:** 0
18
+ - **Domain:** `security/`
19
+ - **Category:** core
20
+ - **Load Priority:** 9/10
21
+
22
+ ## Documents
23
+
24
+ *No documents in this domain yet.*
25
+
26
+ To add a document:
27
+
28
+ 1. Create a markdown file in this directory
29
+ 2. Add YAML frontmatter with required metadata
30
+ 3. Run `npx hit-em-with-the-docs integrate <file>`
31
+ ## Keywords
32
+
33
+ This domain covers: security, auth, authentication, authorization, oauth, jwt, keycloak, vault, secrets, rls
34
+
35
+ ## Related Domains
36
+
37
+ - [Database](../database/) - Schema, migrations, RLS, queries, procedures
38
+ - [API](../api/) - API endpoints, routes, specifications, contracts
39
+ - [DevOps](../devops/) - Deployment, CI/CD, Docker, environments, infrastructure
40
+
41
+ ---
42
+
43
+ *Last updated: 2026-08-31*
@@ -0,0 +1,38 @@
1
+ ---
2
+ title: Security Registry
3
+ tier: reference
4
+ domains: [security]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Quick reference for security documentation
9
+ ---
10
+
11
+ # Security Registry
12
+
13
+ > Quick reference for security, auth, vault, keycloak, rls.
14
+
15
+ ## At a Glance
16
+
17
+ | Metric | Value |
18
+ |--------|-------|
19
+ | Documents | 0 |
20
+ | Category | core |
21
+ | Load Priority | 9/10 |
22
+
23
+ ## Documents
24
+
25
+ *No documents in this domain yet.*
26
+
27
+ ## Keywords
28
+
29
+ `security` `auth` `authentication` `authorization` `oauth` `jwt` `keycloak` `vault` `secrets` `rls` `row-level-security` `rbac` `permissions` `access-control` `encryption` `ssl` `tls` `certificate`
30
+
31
+ ## See Also
32
+
33
+ - [Full Index](INDEX.md) - Complete document listing
34
+ - [Root Index](../INDEX.md) - All domains
35
+
36
+ ---
37
+
38
+ *Last updated: 2026-08-31*
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: Standards Documentation Index
3
+ tier: reference
4
+ domains: [standards]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Complete listing of standards documentation
9
+ ---
10
+
11
+ # Standards Documentation
12
+
13
+ > Coding standards (backend, frontend, database, devops, security)
14
+
15
+ ## Overview
16
+
17
+ - **Total Documents:** 2
18
+ - **Domain:** `standards/`
19
+ - **Category:** development
20
+ - **Load Priority:** 10/10
21
+
22
+ ## Documents
23
+
24
+ ### Standards
25
+
26
+ | Document | Status | Updated | Words |
27
+ |----------|--------|---------|-------|
28
+ | [Atom Granularity (anti-pattern guide)](atom-granularity.md) | active | 2026-05-07 | 556 |
29
+ | [Mandatory Closing Phases](mandatory-closing-phases.md) | active | 2026-08-31 | 770 |
30
+
31
+ ## Keywords
32
+
33
+ This domain covers: standard, standards, convention, conventions, pattern, patterns, best-practice, best-practices, guideline, guidelines
34
+
35
+ ## Related Domains
36
+
37
+ - [Architecture](../architecture/) - System design, AI coach, project registry, patterns
38
+ - [Testing](../testing/) - Test strategies, fixtures, patterns, integration/e2e
39
+ - [Reference](../reference/) - Schema, frontmatter, and CLI reference material for the planning artifacts
40
+
41
+ ---
42
+
43
+ *Last updated: 2026-08-31*
@@ -0,0 +1,53 @@
1
+ ---
2
+ title: Standards Registry
3
+ tier: reference
4
+ domains: [standards]
5
+ status: active
6
+ last_updated: '2026-08-31'
7
+ version: '1.0.0'
8
+ purpose: Quick reference for standards documentation
9
+ ---
10
+
11
+ # Standards Registry
12
+
13
+ > Quick reference for coding standards (backend, frontend, database, devops, security).
14
+
15
+ ## At a Glance
16
+
17
+ | Metric | Value |
18
+ |--------|-------|
19
+ | Documents | 2 |
20
+ | Category | development |
21
+ | Load Priority | 10/10 |
22
+
23
+ ## Active Documents
24
+
25
+ - [Atom Granularity (anti-pattern guide)](atom-granularity.md)
26
+ - [Mandatory Closing Phases](mandatory-closing-phases.md)
27
+
28
+ ## Recently Updated
29
+
30
+ - [Mandatory Closing Phases](mandatory-closing-phases.md) - 2026-08-31
31
+ - [Atom Granularity (anti-pattern guide)](atom-granularity.md) - 2026-05-07
32
+
33
+ ## By Status
34
+
35
+ | Status | Count |
36
+ |--------|-------|
37
+ | active | 2 |
38
+ | draft | 0 |
39
+ | deprecated | 0 |
40
+ | archived | 0 |
41
+
42
+ ## Keywords
43
+
44
+ `standard` `standards` `convention` `conventions` `pattern` `patterns` `best-practice` `best-practices` `guideline` `guidelines` `style` `style-guide` `coding` `naming` `formatting` `linting` `rules`
45
+
46
+ ## See Also
47
+
48
+ - [Full Index](INDEX.md) - Complete document listing
49
+ - [Root Index](../INDEX.md) - All domains
50
+
51
+ ---
52
+
53
+ *Last updated: 2026-08-31*
@@ -2,13 +2,20 @@
2
2
  title: Atom Granularity (anti-pattern guide)
3
3
  tier: standard
4
4
  domains:
5
- - planning
6
- status: active
7
- last_updated: 2026-05-07
8
- version: 1.0.0
5
+ - standards
9
6
  audience:
10
7
  - developers
11
- purpose: When to spawn a standalone atom file vs. add an inline atom checkbox to task.md. The atom layer is load-bearing for subagent hand-off; this doc keeps it from being misused.
8
+ tags: []
9
+ status: active
10
+ last_updated: '2026-05-07'
11
+ version: 1.0.0
12
+ purpose: When to spawn a standalone atom file vs. add an inline atom checkbox to
13
+ task.md. The atom layer is load-bearing for subagent hand-off; this doc keeps
14
+ it from being misused.
15
+ estimated_read_time: 3 minutes
16
+ word_count: 556
17
+ last_validated: '2026-08-31'
18
+ backlinks: []
12
19
  ---
13
20
 
14
21
  # Atom Granularity