Like sections in a legal code — each plan gets a stable, hierarchical §-number.
EXP-042 give no structural context — you cannot tell at a glance which area of the project a plan belongs to. A hierarchical §-number groups related plans by domain.context/plans/chapters/. Assign each new plan the next free §-number within its chapter. Use the §-number as the plan's primary identifier.| Rule | Detail |
|---|---|
| Tree-structured | New children appended at the end. Gaps allowed; numbers never reused. No letter suffixes. |
| Maximum 4 levels | §1.2.3.4 is the deepest. Beyond that, split into a parallel chapter. |
| No leading zeros | §1.2.3, not §01.02.03 |
| Never reused | Deleted plans retain their number as DEPRECATED_* so old references don't break. |
| May be reorganized | §-numbers are documentation anchors, not runtime IDs — may change during restructuring. |
Plans:
Type suffixes: .ctx.md · .exp.md · .prd.md · .task.md
Example: §1.2.3_static-asset-server.exp.md
| Level | Example | Meaning |
|---|---|---|
| Top-level | §1 | Major thematic area (Infrastructure, UI, Data) |
| Sub-chapter | §1.2 | Topic within the area (Deployment, Auth) |
| Plan | §1.2.3 | Concrete, actionable plan |
| Sub-plan | §1.2.3.4 | Fine-grained task — use sparingly |