@punks/cli 3.3.6 → 4.0.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.
Files changed (142) hide show
  1. package/AGENTS.md +1 -1
  2. package/dist/BASELINE_CHANGELOG.md +11 -2
  3. package/dist/CHANGELOG.md +20 -0
  4. package/dist/baseline/scaffold-baseline/baseline.json +5 -5
  5. package/dist/baseline/scaffold-baseline/data/catalog/packs.json +9 -3
  6. package/dist/baseline/scaffold-baseline/data/catalog/skills.json +32 -0
  7. package/dist/baseline/scaffold-baseline/data/subagents/manifest.mjs +1 -0
  8. package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/SKILL.md +20 -4
  9. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +14 -9
  10. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/backlog-sync.md +61 -29
  11. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/plan-schema.md +25 -6
  12. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/SKILL.md +10 -4
  13. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md +4 -0
  14. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/SKILL.md +20 -1
  15. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/lifecycle.md +20 -3
  16. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/wayfinder/SKILL.md +13 -36
  17. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/SKILL.md +57 -0
  18. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/agents/openai.yaml +4 -0
  19. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/audit-portfolio.md +47 -0
  20. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/implement-suite.md +40 -0
  21. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/route-api-design.md +21 -0
  22. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/user-journey-design.md +21 -0
  23. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +42 -26
  24. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +80 -97
  25. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +93 -96
  26. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +43 -52
  27. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +70 -136
  28. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/backlog-initialization.md +88 -0
  29. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/business-projection.md +31 -0
  30. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/delivery-status.md +66 -0
  31. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/fog-intake.md +72 -0
  32. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/functional-projection.md +27 -0
  33. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/issue-reconciliation.md +76 -0
  34. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/normalization.md +105 -0
  35. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/project-context.md +43 -0
  36. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/providers/github.md +168 -0
  37. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/providers/linear.md +190 -0
  38. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/technical-projection.md +65 -0
  39. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/scripts/validate-task-blocker-graph.mjs +137 -0
  40. package/dist/baseline/scaffold-baseline/skills/phases/business-finder/SKILL.md +30 -0
  41. package/dist/baseline/scaffold-baseline/skills/phases/business-finder/agents/openai.yaml +2 -0
  42. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/backlog.md +10 -3
  43. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/closeout.md +12 -0
  44. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/implement.md +21 -0
  45. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +8 -0
  46. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/artifact-state.md +18 -3
  47. package/dist/baseline/scaffold-baseline/skills/phases/design-phase/phases/backlog.md +9 -1
  48. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/AUTHORING-HANDOFF.md +276 -0
  49. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/SKILL.md +43 -51
  50. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/agents/openai.yaml +1 -1
  51. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/adopt-business-path.md +52 -0
  52. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/business-grilling.md +68 -0
  53. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/ensure-fog.md +43 -0
  54. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/functional-grilling.md +53 -0
  55. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/handback.md +36 -0
  56. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/prototype.md +40 -0
  57. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/reconcile.md +52 -0
  58. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/research.md +38 -0
  59. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/return-target.md +42 -0
  60. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/router.md +64 -0
  61. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/technical-grilling.md +67 -0
  62. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/entrypoint-contract.md +38 -0
  63. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/root-routing.md +14 -27
  64. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/runtime-handoff.md +62 -0
  65. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/state-graph.md +60 -0
  66. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/scripts/finder-contract.mjs +383 -0
  67. package/dist/baseline/scaffold-baseline/skills/phases/functional-finder/SKILL.md +78 -0
  68. package/dist/baseline/scaffold-baseline/skills/phases/functional-finder/agents/openai.yaml +2 -0
  69. package/dist/baseline/scaffold-baseline/skills/phases/technical-finder/SKILL.md +74 -0
  70. package/dist/baseline/scaffold-baseline/skills/phases/technical-finder/agents/openai.yaml +2 -0
  71. package/dist/baseline/scaffold-baseline.json +5 -5
  72. package/dist/baseline/scaffold-baseline.tgz +0 -0
  73. package/dist/data/subagents/manifest.mjs +1 -0
  74. package/dist/index.js +6 -6
  75. package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +20 -4
  76. package/dist/skills/agnostic/planning/create-plan/SKILL.md +14 -9
  77. package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +61 -29
  78. package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +25 -6
  79. package/dist/skills/agnostic/planning/create-spec/SKILL.md +10 -4
  80. package/dist/skills/agnostic/planning/create-spec/references/readiness.md +4 -0
  81. package/dist/skills/agnostic/planning/implement-spec/SKILL.md +20 -1
  82. package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +20 -3
  83. package/dist/skills/agnostic/planning/wayfinder/SKILL.md +13 -36
  84. package/dist/skills/agnostic/quality/make-tsuite/SKILL.md +57 -0
  85. package/dist/skills/agnostic/quality/make-tsuite/agents/openai.yaml +4 -0
  86. package/dist/skills/agnostic/quality/make-tsuite/references/audit-portfolio.md +47 -0
  87. package/dist/skills/agnostic/quality/make-tsuite/references/implement-suite.md +40 -0
  88. package/dist/skills/agnostic/quality/make-tsuite/references/route-api-design.md +21 -0
  89. package/dist/skills/agnostic/quality/make-tsuite/references/user-journey-design.md +21 -0
  90. package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +42 -26
  91. package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +80 -97
  92. package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +93 -96
  93. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +43 -52
  94. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +70 -136
  95. package/dist/skills/agnostic/requirements/write-backlog/references/backlog-initialization.md +88 -0
  96. package/dist/skills/agnostic/requirements/write-backlog/references/business-projection.md +31 -0
  97. package/dist/skills/agnostic/requirements/write-backlog/references/delivery-status.md +66 -0
  98. package/dist/skills/agnostic/requirements/write-backlog/references/fog-intake.md +72 -0
  99. package/dist/skills/agnostic/requirements/write-backlog/references/functional-projection.md +27 -0
  100. package/dist/skills/agnostic/requirements/write-backlog/references/issue-reconciliation.md +76 -0
  101. package/dist/skills/agnostic/requirements/write-backlog/references/normalization.md +105 -0
  102. package/dist/skills/agnostic/requirements/write-backlog/references/project-context.md +43 -0
  103. package/dist/skills/agnostic/requirements/write-backlog/references/providers/github.md +168 -0
  104. package/dist/skills/agnostic/requirements/write-backlog/references/providers/linear.md +190 -0
  105. package/dist/skills/agnostic/requirements/write-backlog/references/technical-projection.md +65 -0
  106. package/dist/skills/agnostic/requirements/write-backlog/scripts/validate-task-blocker-graph.mjs +135 -0
  107. package/dist/skills/phases/business-finder/SKILL.md +30 -0
  108. package/dist/skills/phases/business-finder/agents/openai.yaml +2 -0
  109. package/dist/skills/phases/delivery-phase/phases/backlog.md +10 -3
  110. package/dist/skills/phases/delivery-phase/phases/closeout.md +12 -0
  111. package/dist/skills/phases/delivery-phase/phases/implement.md +21 -0
  112. package/dist/skills/phases/delivery-phase/phases/router.md +8 -0
  113. package/dist/skills/phases/delivery-phase/references/artifact-state.md +18 -3
  114. package/dist/skills/phases/design-phase/phases/backlog.md +9 -1
  115. package/dist/skills/phases/finder-phase/AUTHORING-HANDOFF.md +276 -0
  116. package/dist/skills/phases/finder-phase/SKILL.md +43 -51
  117. package/dist/skills/phases/finder-phase/agents/openai.yaml +1 -1
  118. package/dist/skills/phases/finder-phase/phases/adopt-business-path.md +52 -0
  119. package/dist/skills/phases/finder-phase/phases/business-grilling.md +68 -0
  120. package/dist/skills/phases/finder-phase/phases/ensure-fog.md +43 -0
  121. package/dist/skills/phases/finder-phase/phases/functional-grilling.md +53 -0
  122. package/dist/skills/phases/finder-phase/phases/handback.md +36 -0
  123. package/dist/skills/phases/finder-phase/phases/prototype.md +40 -0
  124. package/dist/skills/phases/finder-phase/phases/reconcile.md +52 -0
  125. package/dist/skills/phases/finder-phase/phases/research.md +38 -0
  126. package/dist/skills/phases/finder-phase/phases/return-target.md +42 -0
  127. package/dist/skills/phases/finder-phase/phases/router.md +64 -0
  128. package/dist/skills/phases/finder-phase/phases/technical-grilling.md +67 -0
  129. package/dist/skills/phases/finder-phase/references/entrypoint-contract.md +38 -0
  130. package/dist/skills/phases/finder-phase/references/root-routing.md +14 -27
  131. package/dist/skills/phases/finder-phase/references/runtime-handoff.md +62 -0
  132. package/dist/skills/phases/finder-phase/references/state-graph.md +60 -0
  133. package/dist/skills/phases/finder-phase/scripts/finder-contract.mjs +383 -0
  134. package/dist/skills/phases/functional-finder/SKILL.md +78 -0
  135. package/dist/skills/phases/functional-finder/agents/openai.yaml +2 -0
  136. package/dist/skills/phases/technical-finder/SKILL.md +74 -0
  137. package/dist/skills/phases/technical-finder/agents/openai.yaml +2 -0
  138. package/package.json +4 -2
  139. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/convergence.md +0 -39
  140. package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/frontier-lifecycle.md +0 -76
  141. package/dist/skills/phases/finder-phase/references/convergence.md +0 -39
  142. package/dist/skills/phases/finder-phase/references/frontier-lifecycle.md +0 -76
@@ -1,69 +1,60 @@
1
1
  # Backlog Model
2
2
 
3
- ## Canonical model
3
+ ## Canonical Topology
4
4
 
5
5
  ```text
6
- Backlog root
7
- fog
8
- capability module
9
- grilling
10
- research
11
- prototype
12
- epic
13
- story
14
-
15
- Project overview execution milestones
16
- M1 -> M2 -> M3 ...
17
- (assigned to overview-level items from fog through epic; containing stories may share that value)
6
+ Product/Backlog Root
7
+ └── Product Area
8
+ └── Initiative
9
+ └── Epic
10
+ └── Story [exactly one contextual V*]
11
+ └── Task 1..n [same V* + blocker relations]
12
+
13
+ Fog ──lateral provenance/enrichment──> Product Area | Initiative | Epic | Story | Task
18
14
  ```
19
15
 
20
- The direct concepts are `fog`, `grilling`, `research`, `prototype`, `epic`, and `story`. Each is visible, assignable, searchable, linkable, and closeable. A provider adapter may represent them with native issue types, fields, labels, columns, or a stable title convention; no shared classification field is required. If no representation preserves the direct concept, preflight fails.
21
-
22
- ## Placement
23
-
24
- - `fog`: root-level uncertainty, never delivery scope or a parent container
25
- - `grilling`: capability-scoped human decision work
26
- - `research`: capability-scoped readonly evidence work
27
- - `prototype`: capability-scoped experiment work
28
- - `epic`: one capability-boundary projection of an authoritative agent-ready spec
29
- - `story`: product-facing child tracer bullet derived from spec stories and criteria
30
-
31
- Each capability module groups durable product ownership. It stays separate from project-overview milestones and does not determine implementation order.
32
-
33
- ## Traceability and story readiness
34
-
35
- Every projected story names its source `US-###` records and covered `AC-###` records. Before mutation, prove:
36
-
37
- - every spec story is represented
38
- - every criterion maps to an existing story
39
- - every criterion is covered by at least one projected story
40
- - every projected story has a demonstrable end-to-end outcome
41
- - each story is small enough for one prepared agent session
42
-
43
- Do not create layer stories such as database, API, frontend, tests, or wiring. Fold those concerns into a vertical story or leave them for concrete planning.
16
+ - Product Area: stable product responsibility.
17
+ - Initiative: business goal within one Product Area.
18
+ - Epic: long-lived business slice within one Initiative.
19
+ - Story: one shippable product outcome within one Epic.
20
+ - Task: required atomic, owner-ready Story work.
21
+ - Fog: external intake, evidence, decision history, and delivery provenance.
44
22
 
45
- ## Blocker graph
23
+ ## Staged Projection
46
24
 
47
- Use native `blockedBy` / `blocks` relations where available.
25
+ - Business grilling may reuse, enrich, or create the resolved Product Area,
26
+ Initiative, and Epic path.
27
+ - Functional grilling creates exactly one Story per accepted Functional child.
28
+ - Technical grilling requires an authoritative agent-ready Story `SPEC.md`, then
29
+ creates one or more mandatory Tasks and native blocker relations.
48
30
 
49
- Before mutation:
31
+ Every stage preserves its immutable resolution pointer and the exact provider
32
+ objects it enriched or produced. Fog is lateral provenance; it is not another
33
+ ownership level and does not replace native parent relations.
50
34
 
51
- 1. Resolve every blocker identifier to a projected story.
52
- 2. Reject missing targets and self-blockers.
53
- 3. Detect and reject cycles across the complete selected graph.
54
- 4. Keep every story in the containing overview milestone when the provider supports membership; do not derive a distinct milestone for a story.
55
- 5. Verify every blocker target is present in the selected projection.
35
+ ## Iterations And Blockers
56
36
 
57
- Use milestones across the overview-level taxonomy from `fog` through `epic` (`fog`, `grilling`, `research`, `prototype`, `epic`) when the project overview needs chronological precedence. Stories may share their containing overview milestone when the provider supports membership, but never receive distinct derived milestones or use milestones to encode story order; update native blockers when story relations change.
37
+ Every Story belongs to exactly one contextual `V*` milestone iteration. Every Task belongs to the same iteration as its Story. A Fog may target a fitting
38
+ iteration. Product Areas, Initiatives, and Epics span iterations.
58
39
 
59
- ## Mutation boundary
40
+ Reuse a fitting existing milestone before proposing another. Moving work to a
41
+ different iteration requires explicit approval. Milestones do not encode Task
42
+ precedence.
60
43
 
61
- Validate the full agent-ready projection, graph, provider destination, hierarchy support, and dependency representation before the first provider write. A failed validation writes nothing. After validation, write immediately without an approval checkpoint.
44
+ Validate the complete reachable Task graph before mutation:
62
45
 
63
- Provider execution can still fail mid-sequence. Report every created identifier and the failure honestly; never describe a multi-request provider as transactionally atomic.
46
+ 1. Resolve every blocker target by stable identity.
47
+ 2. Reject missing targets and self-edges.
48
+ 3. Reject a dependency on a future `V*` milestone iteration.
49
+ 4. Reject cycles across all reachable Tasks.
50
+ 5. Preserve real blockers across Stories and Epics.
64
51
 
65
- ## Intake and downstream handoff
52
+ ## Mutation Boundary
66
53
 
67
- Resolve any pre-spec intake item with the immutable spec link and accepted outcome. Preserve it as history; do not silently promote it into the delivery epic.
54
+ Construct and validate the full intended provider delta before the first write.
55
+ An identity, hierarchy, milestone, relation, representation, or approval
56
+ failure produces zero provider mutations. After writing, exact provider
57
+ readback must prove every intended object and relation.
68
58
 
69
- The delivery epic and stories link back to `SPEC.md`. Concrete files, commands, tests, worker assignments, and execution order belong later in `delivery-phase` / `create-plan`.
59
+ Provider writes may fail between requests. Return all observed provider IDs and
60
+ the unresolved delta; never claim transactional atomicity.
@@ -1,187 +1,121 @@
1
1
  # Backlog Item Body Shape
2
2
 
3
- ## Shared rules
3
+ ## Shared Rules
4
4
 
5
- Keep every backlog item body product-facing and appropriate to its direct classification.
5
+ Preserve the user's title and wording unless accepted evidence changes the
6
+ meaning. Use canonical project terms and `$wait-what` to re-pitch unclear text.
7
+ Keep every body independently understandable, product-facing at its level, and
8
+ linked to durable source authority.
6
9
 
7
- All bodies may include durable source links, accepted evidence, and closure notes. Do not include execution plans, file-level implementation notes, or validation commands.
10
+ Add a compact `$show-me` visual when hierarchy, alternatives, or dependencies
11
+ are harder to understand in prose. The visual is explanatory. Native parent,
12
+ milestone, blocker, provenance, source, and approval records remain authority.
8
13
 
9
- Every written ticket body includes a compact `$show-me` visual explainer suited
10
- to its classification. Keep the body independently understandable in text: the
11
- visual supplements its product outcome and never replaces source-story or
12
- acceptance-criteria traceability, authority links, or provider-native relations.
14
+ ## Fog Body
13
15
 
14
- ## Fog body
16
+ - uncertainty or request
17
+ - why it is still Fog
18
+ - accepted and open decisions
19
+ - Business, Functional, and Technical child identities
20
+ - supporting Research or Prototype evidence
21
+ - affected or produced backlog objects
22
+ - target and completion iteration when known
15
23
 
16
- Use a short root-level body.
24
+ ## Grilling Body
17
25
 
18
- Recommended sections:
26
+ - Stage: Business, Functional, or Technical
27
+ - question and accepted decision
28
+ - evidence, observations, and open decisions
29
+ - immutable resolution pointer
30
+ - supported-by and produced-or-enriched relations
19
31
 
20
- ```md
21
- ## Frontier
22
-
23
- [What is real but still unclear]
24
-
25
- ## Why This Is Fog
26
-
27
- - ...
28
-
29
- ## Suspected Directions
30
-
31
- - ...
32
-
33
- ## Next Route
32
+ Research and Prototype bodies preserve the exact supported grilling child,
33
+ question or learning goal, answer or verdict, evidence, observations, open
34
+ decisions, and immutable resolution pointer.
34
35
 
35
- - `grilling` | `research` | `prototype` | Finder reconciliation
36
- ```
37
-
38
- Fog bodies must not define child tickets or delivery scope.
36
+ ## Epic Body
39
37
 
40
- ## Grilling body
38
+ - business outcome and why it matters
39
+ - scope, boundaries, constraints, and non-goals
40
+ - Initiative parent and Fog provenance
41
+ - child Story links when available
42
+ - durable Business evidence
41
43
 
42
- Recommended sections:
44
+ ## Story Body
43
45
 
44
46
  ```md
45
- ## Decision
46
-
47
- [The human decision to close]
48
-
49
- ## Context
50
-
51
- - ...
52
-
53
- ## Options
54
-
55
- - ...
56
-
57
- ## Closure
58
-
59
- Answer:
60
- Artifacts:
61
- Observations:
62
- Open decisions:
63
- Resolution pointer:
64
- ```
65
-
66
- ## Research body
67
-
68
- Recommended sections:
69
-
70
- ```md
71
- ## Question
72
-
73
- [The fact to establish]
74
-
75
- ## Evidence Sources
76
-
77
- - ...
78
-
79
- ## Answer Criteria
47
+ ## Outcome
80
48
 
81
- - ...
49
+ [One shippable product result]
82
50
 
83
- ## Closure
51
+ ## Source stories
84
52
 
85
- Answer:
86
- Evidence:
87
- Observations:
88
- Open decisions:
89
- Resolution pointer:
90
- ```
53
+ - `US-###`
91
54
 
92
- ## Prototype body
55
+ ## Acceptance criteria
93
56
 
94
- Recommended sections:
57
+ - `AC-###`
95
58
 
96
- ```md
97
- ## Learning Goal
59
+ ## Demonstration
98
60
 
99
- [What the artifact must teach]
61
+ [One observable end-to-end result]
100
62
 
101
- ## Artifact Expectations
63
+ ## Boundaries
102
64
 
103
65
  - ...
104
66
 
105
- ## Result Signal
67
+ ## Non-goals
106
68
 
107
69
  - ...
108
70
 
109
- ## Closure
71
+ ## Dependencies
110
72
 
111
- Artifacts:
112
- Observations:
113
- Open decisions:
114
- Resolution pointer:
115
- ```
116
-
117
- ## Epic body
73
+ - Stable product or provider identity
118
74
 
119
- Use a short bounded body.
75
+ ## Durable accepted-artifact links
120
76
 
121
- Recommended sections:
122
-
123
- ```md
124
- ## Outcome
125
-
126
- [What capability this epic delivers and why it matters]
127
-
128
- ## Scope
129
-
130
- - ...
131
-
132
- ## Constraints
133
-
134
- - ...
77
+ - Immutable evidence or approved visual: ...
135
78
 
136
79
  ## Authority
137
80
 
138
- - Immutable spec: ...
81
+ - Parent Epic: ...
82
+ - Fog and Functional resolution: ...
83
+ - Immutable spec: ... when compiled
84
+ - Milestone iteration: `V*`
139
85
  ```
140
86
 
141
- Epic bodies may summarize the capability boundary, but should not re-copy every child story verbatim once the child stories exist.
142
-
143
- ## Story body
144
-
145
- Keep stories product-facing and independently understandable.
146
-
147
- Recommended sections:
87
+ ## Task Body
148
88
 
149
89
  ```md
150
- ## Outcome
90
+ ## Responsibility
151
91
 
152
- [What this story enables]
92
+ [One atomic shippable unit]
153
93
 
154
- ## Source stories
94
+ ## Owner
155
95
 
156
- - `US-###`
96
+ [One explicit ownership boundary]
157
97
 
158
- ## Acceptance criteria
98
+ ## Acceptance
159
99
 
160
- - `AC-###`
100
+ - Source Story and `AC-###`
161
101
 
162
- ## Demonstration
102
+ ## Verification
163
103
 
164
- [One end-to-end observable result]
104
+ [Observable evidence]
165
105
 
166
- ## Non-goals
106
+ ## Blockers
167
107
 
168
- - ...
108
+ - Stable provider Task identity
169
109
 
170
- ## Links
110
+ ## Authority
171
111
 
172
- - Parent epic
173
- - Immutable spec
112
+ - Parent Story: ...
113
+ - Immutable spec: ...
114
+ - Technical resolution and Fog: ...
115
+ - Milestone iteration: same `V*` as Story
174
116
  ```
175
117
 
176
- ## Body anti-patterns
177
-
178
- Do not put these in backlog bodies:
179
-
180
- - `Plan task: T123`
181
- - `TDD target`
182
- - `Validation`
183
- - file paths
184
- - package names as pseudo-scope
185
- - worker handoff notes
186
-
187
- Those belong in `PLAN.md`, execution comments, or implementation notes instead.
118
+ Task bodies may name the owned delivery responsibility and proof seam. Private
119
+ worker handoffs, transient commands, or plan-only identities remain in planning
120
+ and execution notes. The provider Task ID is the durable identity that planning
121
+ preserves.
@@ -0,0 +1,88 @@
1
+ # Backlog Initialization
2
+
3
+ Use this branch to initialize a greenfield backlog, reconstruct an inherited
4
+ backlog, or reconcile an existing backlog. It is backlog initialization, not a
5
+ separate Epic-creation flow.
6
+
7
+ ## Read Before Proposal
8
+
9
+ Read the complete wiki context, repository identity, Product/Backlog Root,
10
+ Product Areas, Initiatives, Epics, Stories, Tasks, Fogs, provider metadata,
11
+ milestones, and saved views. Classify each desired object as exact reuse,
12
+ enrichment, missing, ambiguous, or conflicting. Existing coherent structure is
13
+ the default; initialization never recreates it under a new title.
14
+
15
+ For an inherited provider object with a stable provider ID but no durable wiki
16
+ binding, run the inherited-object adoption path in
17
+ `issue-reconciliation.md` before classifying it as missing or creating a
18
+ replacement. Adoption is an explicit identity decision, not automatic reuse.
19
+
20
+ ## Root Metadata
21
+
22
+ Reconcile this complete product context:
23
+
24
+ - Product brief
25
+ - business objectives
26
+ - target users
27
+ - product boundaries
28
+ - existing Product Map
29
+ - durable constraints and non-goals
30
+ - operating rules
31
+ - owner
32
+ - repository link
33
+ - wiki link
34
+ - current and future `V*` milestone context
35
+
36
+ Project only provider-supported metadata. Preserve the full authoritative value
37
+ in the wiki and link it when the provider has no native field.
38
+
39
+ ## Structure
40
+
41
+ Create or reconcile one Product/Backlog Root and evidence-backed Product Areas
42
+ and Initiatives. Business grilling creates or enriches Epics later; backlog
43
+ initialization does not invent empty Epics, Stories, or Tasks.
44
+
45
+ Creating a root, Product Area, Initiative, semantic field, or saved view is a
46
+ material structural change. Use `$show-me` to preview existing versus intended
47
+ topology and obtain explicit approval before writing.
48
+
49
+ ## Milestone Context
50
+
51
+ Ensure one contextual current and one contextual future `V*` milestone are
52
+ identifiable. Reuse a fitting existing milestone before proposing another.
53
+ Preserve every valid existing `V*` milestone; propose a new one only when none fits
54
+ and an accepted version identity exists. Never invent a version number.
55
+
56
+ When the provider supports milestone metadata, write:
57
+
58
+ 1. Version name
59
+ 2. One-sentence product goal
60
+ 3. Included product outcomes or capability changes
61
+
62
+ When those metadata fields are unsupported, name only is sufficient. Moving
63
+ work between milestones changes roadmap commitment and requires explicit
64
+ approval.
65
+
66
+ ## Product-Owner Views
67
+
68
+ Create or preserve exactly these semantic views:
69
+
70
+ - **Product Map**: Product Area → Initiative → Epic, showing the existing
71
+ product shape without Story or Task noise.
72
+ - **Roadmap**: ordered `V*` milestone iterations, with Story and Task progress
73
+ rolled up to Epic and Initiative outcomes.
74
+ - **Fogs**: business status, affected Product Areas, Initiatives, and Epics,
75
+ target iteration, generated Stories and Tasks, completion iteration, and
76
+ production evidence.
77
+ - **Current Delivery**: active Stories and Tasks grouped by milestone iteration,
78
+ status, owner, and blocker readiness.
79
+
80
+ Reuse an equivalent configured view. Creating or materially changing a view
81
+ requires the structural preview and approval gate.
82
+
83
+ ## Completion
84
+
85
+ Write only the approved missing or stale delta. Read back the root metadata,
86
+ hierarchy, milestone context, semantic fields, and four views. Return exact
87
+ created, enriched, and unchanged identities. Initialization is incomplete when
88
+ any intended structure or representation cannot be read back.
@@ -0,0 +1,31 @@
1
+ # Business Projection
2
+
3
+ Require one immutable accepted Business grilling resolution, its Fog identity,
4
+ and fresh reads of relevant Product Areas, Initiatives, Epics, and `V*`
5
+ milestones.
6
+
7
+ ## Resolve The Path
8
+
9
+ 1. Identify the requested business outcome and affected product responsibility.
10
+ 2. Complete the provider search using durable wiki identity and any known stable
11
+ provider identity.
12
+ 3. Reuse or enrich the exact Product Area → Initiative → Epic path when one
13
+ stable match carries the same durable wiki identity.
14
+ 4. Enrich the exact existing structure when the accepted meaning adds durable
15
+ context without changing its boundary.
16
+ 5. Exact-create only the missing level when the complete search has zero stable
17
+ matches and the accepted resolution authorizes it.
18
+
19
+ One Fog normally targets one Product Area and one Initiative. A request that
20
+ crosses either boundary is scope expansion: use `$show-me` to expose the split,
21
+ warn about the larger product scope, and require explicit approval to split or
22
+ proceed. New Product Areas, Initiatives, and material Epic boundaries use the
23
+ same approval gate. Never duplicate an Initiative or Product Area.
24
+
25
+ ## Write And Read Back
26
+
27
+ Preserve the Business resolution's user wording, product goal, outcomes,
28
+ boundaries, constraints, non-goals, source links, and Fog backlink. Write only
29
+ the validated created or enriched delta. Read back the complete resolved path,
30
+ all provenance links, and any selected fitting milestone relation. Return those
31
+ identities to Finder without creating lower-stage delivery work.
@@ -0,0 +1,66 @@
1
+ # Delivery Status
2
+
3
+ Use this branch when a delivery caller supplies a fact it directly observed for
4
+ an exact linked Story or Task. Preserve the existing provider identities;
5
+ delegate provider mapping, mutation, and readback to the selected adapter.
6
+
7
+ Require stable provider IDs for the exact linked Story or Task. They remain the
8
+ same identities across delivery updates. This branch creates no new Story,
9
+ Task, or provider object.
10
+
11
+ ## Observed Fact Handoff
12
+
13
+ The delivery caller reports only facts it directly observed. Accept one or more
14
+ of these facts, each with its evidence source and observation time:
15
+
16
+ - work started or changed to in-progress
17
+ - blocked, including the blocker reason and evidence
18
+ - pull request URL and observed state
19
+ - merge evidence
20
+ - staging deployment evidence
21
+ - production deployment evidence
22
+ - release branch, release name, and observed-at timestamp, when observed
23
+
24
+ For each newly observed fact, immediately record the exact linked Story or Task
25
+ delta through the provider adapter, then read back that fact before continuing.
26
+ Do not delay a start, blocker, or pull request update until a later delivery
27
+ event.
28
+
29
+ ## Evidence Boundaries
30
+
31
+ Record directly observed merge evidence as a merge fact only. Merge is never
32
+ staging deployment or production deployment. Staging is never production.
33
+ Recording merge leaves staging evidence, production evidence, and Fog
34
+ completion unchanged; the Fog remains open.
35
+
36
+ ## Fog Completion
37
+
38
+ Before considering completion, read the Fog's exact accepted resulting scope
39
+ from immutable grilling resolutions and provenance: every Epic enriched and
40
+ every Story and Task produced. Read the current production evidence linked to
41
+ each exact stable identity.
42
+
43
+ Complete the Fog only when exact production evidence covers every accepted
44
+ resulting Story and Task and therefore proves the Fog's accepted Epic
45
+ contribution reached production. A shared Epic may remain open for work outside
46
+ this Fog. Child creation, Task creation, merge, and staging deployment cannot
47
+ complete a Fog.
48
+
49
+ List every identity missing production evidence; while any remain, the Fog
50
+ remains open. On complete coverage, record the final contextual `V*` milestone
51
+ iteration in which the last required scope reached production, then read back
52
+ the Fog status, completion iteration, scope links, and production evidence.
53
+ Cancelled and Superseded Fogs receive no completion credit.
54
+
55
+ ## Result
56
+
57
+ The provider adapter owns status and evidence mapping, mutation, and exact
58
+ readback. Return the stable Story or Task identity, exact observed mutations,
59
+ exact readback, unchanged facts, and any unresolved delta.
60
+
61
+ On partial provider failure, stop and read back the exact observed writes and
62
+ unresolved delta. Resume from that readback and apply only the unresolved,
63
+ still-authorized fact; never replay the full update blindly.
64
+
65
+ This branch defines no CI/CD trigger, pipeline, or adapter design and performs
66
+ no automatic pipeline integration. It records evidence supplied by the caller.
@@ -0,0 +1,72 @@
1
+ # Fog Intake
2
+
3
+ Create or resume exactly one Fog. Allocate its durable wiki identity before a
4
+ provider write; attach the stable provider identity after exact readback.
5
+
6
+ Read the candidate Fog, direct children, relations, immutable evidence, and
7
+ linked provider objects first. Ambiguous identity or conflicting accepted
8
+ evidence produces zero writes.
9
+
10
+ ## Ensure Pre-Resolution Grilling Child
11
+
12
+ An exact Fog identity, exact Stage, durable child wiki identity, and stage
13
+ cardinality key authorize ensuring one child shell before accepted evidence exists.
14
+ Read all existing direct children before any create or update, then compare
15
+ Stage, durable identity, and cardinality key together.
16
+
17
+ Cardinality keys are:
18
+
19
+ - **Business**: the Fog-scoped Business singleton key.
20
+ - **Functional**: one durable Functional Story-intent key per intended Story.
21
+ - **Technical**: one Technical Story key using the exact stable Story identity.
22
+
23
+ Reuse the exact match and return its stable provider identity. When the complete
24
+ child read proves zero matches, create one unresolved `grilling` child shell with
25
+ its Fog relation, Stage, durable child wiki identity, and cardinality key, then
26
+ read it back exactly. A duplicate, ambiguous identity, or conflict authorizes zero writes.
27
+
28
+ The child shell carries no accepted decision or immutable resolution pointer. It
29
+ can host the interview and support relations, but cannot authorize backlog
30
+ projection. Business, Functional, and Technical projection still require the
31
+ immutable accepted grilling resolution persisted on that exact child.
32
+
33
+ ## Ensure Research or Prototype Support Child
34
+
35
+ An exact Fog identity, exact unresolved grilling-child identity, support kind
36
+ (`Research` or `Prototype`), durable support-child wiki identity, and one
37
+ support identity key authorize ensuring the direct Fog support child before its
38
+ answer or verdict exists. Read every direct Fog child and every relation first.
39
+ Reuse one exact kind, identity-key, grilling-child relation match. Create one
40
+ unresolved support child only when the complete read proves zero matches, then
41
+ read back its stable provider identity and exact relation. A duplicate,
42
+ ambiguous identity, wrong parent, or conflicting support relation authorizes
43
+ zero writes.
44
+
45
+ The unresolved support child carries no accepted answer, verdict, or immutable
46
+ resolution pointer. Research or Prototype owns producing that evidence; this
47
+ intake operation only establishes the stable child and relation needed to host
48
+ the support cycle.
49
+
50
+ Fog is lateral provenance. Preserve the user's uncertainty, accepted decisions,
51
+ evidence links, and every Product Area, Initiative, Epic, Story, or Task the Fog
52
+ enriched or produced. Fog never becomes a parent in the product hierarchy.
53
+
54
+ Its direct children use these provider-neutral semantics:
55
+
56
+ - kind: `grilling`; required Stage: Business, Functional, or Technical
57
+ - kind: Research or Prototype; linked to the exact grilling child supported
58
+
59
+ Research and Prototype closure records the answer or verdict, artifacts or
60
+ evidence, observations, open decisions, and immutable resolution pointer. That
61
+ evidence returns to Finder reconciliation. Support work cannot authorize backlog
62
+ projection by itself.
63
+
64
+ Create no duplicate Business child, no duplicate Functional child for one
65
+ Story intent, and no duplicate Technical child for one Story.
66
+
67
+ A Fog may target a fitting existing `V*` milestone iteration when Business
68
+ intake selects it. Reuse that target downstream unless a later explicit decision
69
+ changes it. Moving the Fog requires a topology preview and approval.
70
+
71
+ Returning from a Finder target depth leaves the Fog open. This branch records
72
+ intake and provenance; it never infers production or completes the Fog.
@@ -0,0 +1,27 @@
1
+ # Functional Projection
2
+
3
+ Require the exact Product Area → Initiative → Epic path, Fog identity, and one
4
+ immutable accepted Functional grilling resolution.
5
+
6
+ Create or enrich exactly one Story per Functional child. The Story preserves:
7
+
8
+ - actor and trigger
9
+ - observable workflow and result
10
+ - applicable business rules
11
+ - visible alternate and failure paths
12
+ - product-level edge cases
13
+ - acceptance signals and boundaries
14
+ - non-goals
15
+ - known product dependencies
16
+ - durable accepted-artifact links
17
+ - unresolved engineering handoff questions
18
+ - immutable Business and Functional evidence plus Fog provenance
19
+
20
+ The Story belongs to exactly one contextual `V*` milestone iteration. Reuse the
21
+ Functional resolution's fitting existing milestone. A missing exact iteration
22
+ or proposed movement stops before writing and requires a human decision.
23
+
24
+ Use stable identity reconciliation before create or enrich. Preserve user wording
25
+ and `US-###`/`AC-###` traceability when available. Read back the
26
+ Story parent, milestone, source links, and Fog relation. Return the stable Story
27
+ identity to Finder.