@punks/cli 3.2.1 → 3.3.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 (117) hide show
  1. package/AGENTS.md +2 -0
  2. package/dist/BASELINE_CHANGELOG.md +76 -0
  3. package/dist/CHANGELOG.md +46 -1
  4. package/dist/baseline/scaffold-baseline/baseline.json +5 -5
  5. package/dist/baseline/scaffold-baseline/data/catalog/lint-assets.json +4 -1
  6. package/dist/baseline/scaffold-baseline/data/catalog/packs.json +7 -3
  7. package/dist/baseline/scaffold-baseline/data/catalog/skills.json +32 -0
  8. package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/post-command-flow.md +25 -17
  9. package/dist/baseline/scaffold-baseline/skills/agnostic/docs/rule-authoring/SKILL.md +18 -0
  10. package/dist/baseline/scaffold-baseline/skills/agnostic/docs/rule-authoring/references/migration.md +10 -0
  11. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/LICENSE +21 -0
  12. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/RECIPES.md +333 -0
  13. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/SKILL.md +203 -0
  14. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/animate/UPSTREAM.md +9 -0
  15. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/LICENSE +21 -0
  16. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/SKILL.md +112 -0
  17. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/STANDARDS.md +229 -0
  18. package/dist/baseline/scaffold-baseline/skills/agnostic/frontend/review-animations/UPSTREAM.md +9 -0
  19. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/REFERENCE.md +5 -1
  20. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +9 -7
  21. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/architecture-convergence.md +4 -3
  22. package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/planner-task-graph.md +12 -7
  23. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/tdd/SKILL.md +3 -2
  24. package/dist/baseline/scaffold-baseline/skills/agnostic/quality/tdd/high-signal-tests.md +17 -3
  25. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/domain-modeling/{CONTEXT-FORMAT.md → GLOSSARY-FORMAT.md} +9 -9
  26. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/domain-modeling/SKILL.md +12 -12
  27. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md +4 -1
  28. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +36 -3
  29. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +18 -1
  30. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +1 -1
  31. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +4 -3
  32. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +2 -2
  33. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +6 -6
  34. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +7 -7
  35. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +12 -12
  36. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +9 -9
  37. package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +10 -10
  38. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/LICENSE +21 -0
  39. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/RECIPES.md +435 -0
  40. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/SKILL.md +255 -0
  41. package/dist/baseline/scaffold-baseline/skills/frameworks/expo/animate-expo/UPSTREAM.md +9 -0
  42. package/dist/baseline/scaffold-baseline/skills/misc/wait-what/SKILL.md +1 -1
  43. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +5 -7
  44. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/review.md +50 -25
  45. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +29 -21
  46. package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/phase-handoff.md +28 -10
  47. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/AUTHORING-HANDOFF.md +14 -11
  48. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/prepare-review.md +1 -1
  49. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/retain-report.md +9 -2
  50. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/return-route.md +6 -8
  51. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/run-review.md +8 -5
  52. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/durable-report.md +29 -14
  53. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/state-graph.md +45 -32
  54. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/targets.md +2 -1
  55. package/dist/baseline/scaffold-baseline/skills/phases/review-phase/scripts/review-contract.mjs +86 -12
  56. package/dist/baseline/scaffold-baseline.json +5 -5
  57. package/dist/baseline/scaffold-baseline.tgz +0 -0
  58. package/dist/data/AGENTS.md +2 -0
  59. package/dist/index.js +17 -17
  60. package/dist/skills/agnostic/cli/hi-cli/references/post-command-flow.md +10 -2
  61. package/dist/skills/agnostic/docs/rule-authoring/SKILL.md +18 -0
  62. package/dist/skills/agnostic/docs/rule-authoring/references/migration.md +10 -0
  63. package/dist/skills/agnostic/frontend/animate/LICENSE +21 -0
  64. package/dist/skills/agnostic/frontend/animate/RECIPES.md +324 -0
  65. package/dist/skills/agnostic/frontend/animate/SKILL.md +199 -0
  66. package/dist/skills/agnostic/frontend/animate/UPSTREAM.md +9 -0
  67. package/dist/skills/agnostic/frontend/review-animations/LICENSE +21 -0
  68. package/dist/skills/agnostic/frontend/review-animations/SKILL.md +112 -0
  69. package/dist/skills/agnostic/frontend/review-animations/STANDARDS.md +187 -0
  70. package/dist/skills/agnostic/frontend/review-animations/UPSTREAM.md +9 -0
  71. package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +5 -1
  72. package/dist/skills/agnostic/planning/create-plan/SKILL.md +9 -7
  73. package/dist/skills/agnostic/planning/create-plan/references/architecture-convergence.md +4 -3
  74. package/dist/skills/agnostic/planning/create-plan/references/planner-task-graph.md +12 -7
  75. package/dist/skills/agnostic/quality/tdd/SKILL.md +3 -2
  76. package/dist/skills/agnostic/quality/tdd/high-signal-tests.md +17 -3
  77. package/dist/skills/agnostic/requirements/domain-modeling/{CONTEXT-FORMAT.md → GLOSSARY-FORMAT.md} +9 -9
  78. package/dist/skills/agnostic/requirements/domain-modeling/SKILL.md +12 -12
  79. package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +4 -1
  80. package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +33 -3
  81. package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +18 -1
  82. package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +1 -1
  83. package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +4 -3
  84. package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +2 -2
  85. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +6 -6
  86. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +7 -7
  87. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +12 -12
  88. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +9 -9
  89. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +10 -10
  90. package/dist/skills/frameworks/expo/animate-expo/LICENSE +21 -0
  91. package/dist/skills/frameworks/expo/animate-expo/RECIPES.md +385 -0
  92. package/dist/skills/frameworks/expo/animate-expo/SKILL.md +255 -0
  93. package/dist/skills/frameworks/expo/animate-expo/UPSTREAM.md +9 -0
  94. package/dist/skills/misc/wait-what/SKILL.md +1 -1
  95. package/dist/skills/phases/delivery-phase/SKILL.md +5 -7
  96. package/dist/skills/phases/delivery-phase/phases/review.md +50 -25
  97. package/dist/skills/phases/delivery-phase/phases/router.md +27 -19
  98. package/dist/skills/phases/delivery-phase/references/phase-handoff.md +28 -10
  99. package/dist/skills/phases/review-phase/AUTHORING-HANDOFF.md +14 -11
  100. package/dist/skills/phases/review-phase/phases/prepare-review.md +1 -1
  101. package/dist/skills/phases/review-phase/phases/retain-report.md +9 -2
  102. package/dist/skills/phases/review-phase/phases/return-route.md +6 -8
  103. package/dist/skills/phases/review-phase/phases/run-review.md +8 -5
  104. package/dist/skills/phases/review-phase/references/durable-report.md +29 -14
  105. package/dist/skills/phases/review-phase/references/state-graph.md +19 -6
  106. package/dist/skills/phases/review-phase/references/targets.md +2 -1
  107. package/dist/skills/phases/review-phase/scripts/review-contract.mjs +91 -11
  108. package/package.json +4 -23
  109. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/claude.test.ts +0 -130
  110. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/codex.test.ts +0 -135
  111. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/cursor.test.ts +0 -138
  112. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/adapters/opencode.test.ts +0 -135
  113. package/dist/baseline/scaffold-baseline/data/scripts/harness-projection/contract.test.ts +0 -875
  114. package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.lifecycle.test.ts +0 -205
  115. package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.native.test.ts +0 -2765
  116. package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.test.ts +0 -2108
  117. package/dist/baseline/scaffold-baseline/data/subagents/manifest.test.ts +0 -116
@@ -65,6 +65,24 @@ Accepted answer:
65
65
  - <locked answer>
66
66
  ```
67
67
 
68
+ For a technical question, add the grounding beside the decision:
69
+
70
+ ```md
71
+ Evidence anchor:
72
+ - `<path>:<symbol>`
73
+
74
+ Observed constraint:
75
+ - <what the current code requires or leaves unresolved>
76
+
77
+ Question:
78
+ <requirements decision>
79
+
80
+ Code consequence:
81
+ - <what contract, ownership, invariant, lifecycle, or boundary the answer determines>
82
+ ```
83
+
84
+ Use the same question id and accepted-answer fields. Keep the question at requirements level; implementation sequence and task breakdown belong to planning.
85
+
68
86
  Group related decisions under branch headings.
69
87
 
70
88
  When the user changes an earlier decision, add a new entry that explicitly supersedes the old one.
@@ -126,15 +144,27 @@ Maintain a compact branch dashboard with:
126
144
  - pinned axioms
127
145
  - flagged ambiguities
128
146
 
147
+ For active code- or architecture-bearing branches, also maintain:
148
+
149
+ ```md
150
+ ## Technical Grounding
151
+
152
+ | Branch | Evidence anchors | Applicable dimensions | Open technical decisions | Grounding |
153
+ | --- | --- | --- | --- | --- |
154
+ | <branch> | `<path>:<symbol>` | <topology, persistence, ...> | <Q ids or `none`> | <unknown or grounded> |
155
+ ```
156
+
157
+ `unknown` means current code evidence has not grounded the branch. `grounded` means evidence anchors exist and every applicable technical dimension is answered, parked, deferred, or marked not applicable with supporting evidence. Record those dispositions in `Applicable dimensions`. Parked or deferred branches stay visible but are outside the active closure calculation.
158
+
129
159
  Completion percentages are working signals:
130
160
 
131
161
  - `0-50%`: branch discovered but unsettled
132
162
  - `50-85%`: major direction set, important questions remain
133
163
  - `85-99%`: mostly closed, only constants/schema/naming remain
134
- - `100%`: no unanswered items remain, the frontier is empty, and shared understanding is explicitly confirmed; remaining work is implementation/tuning
164
+ - `100%`: no unanswered items remain, the frontier is empty, shared understanding is explicitly confirmed, and every active technical branch is grounded with no open technical decisions; remaining work is implementation/tuning
135
165
  - `parked`: preserved for later, out of current scope
136
166
 
137
- Keep a branch below `100%` while it has unanswered items or while shared-understanding confirmation is pending.
167
+ Keep a branch below `100%` while it has unanswered items, shared-understanding confirmation is pending, or its technical grounding is `unknown` or has open decisions.
138
168
 
139
169
  ## Glossary Snapshot Contract
140
170
 
@@ -169,7 +199,7 @@ When a branch closes:
169
199
 
170
200
  1. Update the grill log with final accepted decisions.
171
201
  2. Update the status file percentage, open items, round/frontier state, glossary snapshot, axioms, and ambiguities.
172
- 3. Confirm no unanswered item or pending shared-understanding confirmation is represented as `100%`.
202
+ 3. Confirm no unanswered item, pending shared-understanding confirmation, unknown technical grounding, or open technical decision is represented as `100%`.
173
203
  4. Invoke `$domain-modeling` for a final consistency pass.
174
204
  5. After explicit user closure, run the wiki-output workflow for durable domain/product knowledge.
175
205
  6. Say exactly what changed, which routed artifacts were updated, and whether `meta.json` or wiki log bookkeeping changed.
@@ -10,13 +10,30 @@ Use the shared `$grilling` primitive as the sole scheduling and traversal contra
10
10
 
11
11
  Before the first question, invoke `$domain-modeling` and give it the current status-file glossary as working persistence. During the grill, invoke it whenever terminology, relationships, or domain decisions change. Persist accepted results at the current round boundary rather than writing a separate domain artifact mid-grill.
12
12
 
13
+ ## Technical Grounding
14
+
15
+ Before `$grilling` constructs the first frontier:
16
+
17
+ 1. Identify every active branch whose decisions affect code or architecture.
18
+ 2. Inspect the smallest relevant slice of current code, tests, schemas, contracts, configuration, and runtime paths.
19
+ 3. Record concrete evidence anchors and the applicable technical dimensions in the status file. Use anchors such as `path:symbol`, a schema, a contract operation, a configuration key, or a runtime flow.
20
+ 4. Mark each active technical branch `grounded`. Keep it `unknown`, or park or defer it explicitly, when current evidence cannot ground it. Open the first frontier only when no active technical branch remains `unknown`.
21
+
22
+ Technical grounding supplies requirements evidence, not an implementation plan. Ask which ownership, contract, invariant, lifecycle, or boundary must hold. Leave edit order, estimates, task breakdown, and reversible coding tactics to planning.
23
+
24
+ ## Live Visual Reasoning
25
+
26
+ Use `$show-me` inside any grilling branch when a difficult question, comparison, set of interacting parts, or key turning point is easier to reason about visually. Select the smallest applicable view from its full view catalog. Derive the view from current code evidence and durable artifacts; route decisions and corrections through the ordinary question ids and round persistence contract.
27
+
28
+ At each persisted round boundary, reassess the next frontier, glossary, parked branches, and flow for a useful `$show-me` view. The persisted artifacts remain authoritative.
29
+
13
30
  ## Round Artifact Integration
14
31
 
15
32
  At each `$grilling` round boundary, apply the [round persistence contract](artifact-output.md#round-persistence-contract). A partial response set resolves only the supplied stable question ids; omitted ids stay unanswered. Persist `$grilling` completion in the artifact's shared-understanding confirmation field before any downstream transition.
16
33
 
17
34
  ## Domain Modeling
18
35
 
19
- Use `$domain-modeling` as the sole authority for modeling pressure and acceptance criteria. This workflow owns only when its accepted results are persisted: inline in the active grill glossary, then through wiki synthesis after explicit closure.
36
+ Use `$domain-modeling` for terminology, relationships, and implementation pressure. For each active technical branch, ask questions for the applicable topology, dependency direction or injection, seams, boundaries, persistence, and module shape. State the evidence anchor and observed code constraint, ask the unresolved requirements decision, then state its code consequence. Persist accepted architecture in grill artifacts for `create-spec`; keep the active glossary implementation-free.
20
37
 
21
38
  ## Conservative Closure
22
39
 
@@ -28,7 +28,7 @@ This is a vertical tracer bullet: one agent can deliver and demonstrate the prod
28
28
 
29
29
  - `US-002 / Lead manages the unassigned queue` is blocked by `US-001 / Lead restores ownership`.
30
30
  - Both targets exist and the graph is acyclic.
31
- - `US-001` is assigned `M1`; `US-002` is assigned `M2`.
31
+ - Both stories share their containing epic's milestone when the provider supports membership; the native blocker relation carries their ordering.
32
32
 
33
33
  If a blocker target is missing or the graph cycles, write nothing.
34
34
 
@@ -62,7 +62,7 @@ Build and validate the complete intended projection in memory before the first p
62
62
  3. Validate every story as an agent-sized tracer bullet.
63
63
  4. Resolve every blocker to a projected story.
64
64
  5. Reject self-blockers, missing targets, and cycles.
65
- 6. Derive chronological execution milestones from the complete blocker DAG.
65
+ 6. Assign milestones across the overview-level taxonomy from `fog` through `epic` (`fog`, `grilling`, `research`, `prototype`, `epic`) for project-level chronological precedence. When supported, assign each child story the same containing overview milestone; never derive distinct story milestones. Native blockers explain story relations.
66
66
  7. Validate provider representation and required native primitives.
67
67
  8. Only after every check passes, write immediately without a separate approval stop.
68
68
 
@@ -89,11 +89,12 @@ Backlog root
89
89
  epic
90
90
  story
91
91
 
92
- Execution milestones
92
+ Project overview execution milestones
93
93
  M1 -> M2 -> M3 ...
94
+ (assigned only to overview-level items from fog through epic)
94
95
  ```
95
96
 
96
- Capability grouping is independent from chronology. Native blockers are authoritative. A story with no blockers is `M1`; every other story is `M(1 + max(blocker milestone))`.
97
+ Capability grouping is independent from chronology. Native blockers are authoritative for story relations. Milestones are a project-overview signal: assign them to overview-level `fog`, `grilling`, `research`, `prototype`, and `epic` items when chronological precedence is useful, and let their containing stories share that milestone when the provider supports membership. Never use milestone values to order stories.
97
98
 
98
99
  Provider representation is defined in [assets/providers/](assets/providers/). Use actual metadata and native hierarchy/dependency primitives. Do not invent fields, flatten child stories, or replace representable blockers with prose.
99
100
 
@@ -19,10 +19,10 @@ silently renaming them.
19
19
  5. For intake, validate the complete intake dependency graph for missing targets, self-edges, and cycles before mutation; then materialize only the Finder-supplied description or question, route, dependencies, and claim state.
20
20
  6. For delivery, use `backlog-shaper` only to draft the epic/story projection; keep final judgment in the parent thread.
21
21
  7. Classify each item directly as `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
22
- 8. Place `fog` at the backlog root; place concrete `grilling`, `research`, `prototype`, `epic`, and `story` items in a capability module. Keep capability grouping separate from execution milestones.
22
+ 8. Place `fog` at the backlog root; place concrete `grilling`, `research`, `prototype`, `epic`, and `story` items in a capability module. Use provider execution milestones across the overview-level taxonomy from `fog` through `epic` to provide project-level chronological precedence; when supported, stories inherit their containing overview milestone as one shared membership value.
23
23
  9. Project one capability-boundary epic from the existing `SPEC.md`; derive product-facing stories from its `US-###` and `AC-###` records.
24
24
  10. Prove complete `US-###` / `AC-###` traceability and that each story is an agent-sized vertical tracer bullet.
25
- 11. Resolve every blocker target. Reject missing targets, self-blockers, and cycles, then derive chronological milestones from the blocker DAG.
25
+ 11. Resolve every blocker target. Reject missing targets, self-blockers, and cycles. Use native blockers for story relations; never derive distinct story milestones or use milestone assignment to encode story order. Keep one containing overview milestone across the story set when the provider supports membership.
26
26
  12. Use `$show-me` to present the proposed backlog topology before provider
27
27
  writes so the human and agent share the same hierarchy and dependency view.
28
28
  This presentation checks understanding, not authorization; it adds no
@@ -12,8 +12,9 @@ Backlog root
12
12
  epic
13
13
  story
14
14
 
15
- Execution milestones
15
+ Project overview execution milestones
16
16
  M1 -> M2 -> M3 ...
17
+ (assigned to overview-level items from fog through epic; containing stories may share that value)
17
18
  ```
18
19
 
19
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.
@@ -27,7 +28,7 @@ The direct concepts are `fog`, `grilling`, `research`, `prototype`, `epic`, and
27
28
  - `epic`: one capability-boundary projection of an authoritative agent-ready spec
28
29
  - `story`: product-facing child tracer bullet derived from spec stories and criteria
29
30
 
30
- Each capability module groups durable product ownership. It stays separate from every execution milestone and does not determine implementation order.
31
+ Each capability module groups durable product ownership. It stays separate from project-overview milestones and does not determine implementation order.
31
32
 
32
33
  ## Traceability and story readiness
33
34
 
@@ -50,11 +51,10 @@ Before mutation:
50
51
  1. Resolve every blocker identifier to a projected story.
51
52
  2. Reject missing targets and self-blockers.
52
53
  3. Detect and reject cycles across the complete selected graph.
53
- 4. Assign dependency-free stories to `M1`.
54
- 5. Assign every other story to `M(1 + max(milestone of each blocker))`.
55
- 6. Verify every blocker is in a strictly earlier milestone.
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.
56
56
 
57
- Items in the same wave may proceed in parallel across capability modules. Recompute milestones whenever blockers change.
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.
58
58
 
59
59
  ## Mutation boundary
60
60
 
@@ -15,7 +15,7 @@ Official source:
15
15
 
16
16
  ## Preflight before creation
17
17
 
18
- Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify every milestone, and prove the configured hierarchy, classification, and dependency representation is representable in Azure DevOps. A failed preflight writes nothing.
18
+ Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify overview milestones only, and prove the configured hierarchy, classification, and dependency representation is representable in Azure DevOps. A failed preflight writes nothing.
19
19
 
20
20
  ## Raw request body
21
21
 
@@ -126,7 +126,7 @@ Render these sections in `System.Description`; do not substitute a mutable local
126
126
 
127
127
  - fog -> root-level work item with `Custom.DevpunksKind = fog`
128
128
  - capability module -> `System.AreaPath`
129
- - execution milestone -> chronological `System.IterationPath` derived from native Predecessor links
129
+ - execution milestone -> chronological `System.IterationPath` for overview-level items (`fog` through `epic`), inherited by containing stories when supported
130
130
  - grilling -> capability-module-scoped work item with `Custom.DevpunksKind = grilling`
131
131
  - research -> capability-module-scoped work item with `Custom.DevpunksKind = research`
132
132
  - prototype -> capability-module-scoped work item with `Custom.DevpunksKind = prototype`
@@ -141,15 +141,15 @@ Do not encode execution waves in Area Path. One area can span multiple iteration
141
141
 
142
142
  ## Chronological execution milestones
143
143
 
144
- Use `/fields/System.IterationPath` for chronological `M1`, `M2`, and later execution waves only when the project has matching iteration nodes. Derive assignments from native Predecessor links:
144
+ Use `/fields/System.IterationPath` for chronological `M1`, `M2`, and later project-overview waves only when the project has matching iteration nodes. Apply it to `fog`, `grilling`, `research`, `prototype`, and `epic` items, and let containing stories inherit the same path when supported. Never derive distinct story iterations; native Predecessor links explain story ordering:
145
145
 
146
146
  1. In memory, resolve the complete selected graph and reject missing targets, self-edges, or cycles.
147
- 2. Derive blocker-free work items as `M1`; derive every other item as `M(1 + max(iteration number of each predecessor))`.
148
- 3. Verify every predecessor is in a strictly earlier iteration and that Azure DevOps can represent the complete hierarchy and graph.
147
+ 2. Keep one containing overview Iteration Path across each projected story set when supported; use native Predecessor links for story ordering.
148
+ 3. Verify every predecessor target is present and that Azure DevOps can represent the complete hierarchy and graph.
149
149
  4. Only after preflight passes, create work items, map planned keys to provider ids, and add each blocker with `System.LinkTypes.Dependency-Reverse`.
150
- 5. Create or resolve the verified iteration nodes and patch `/fields/System.IterationPath` on every selected milestone-eligible item.
150
+ 5. Create or resolve the verified overview iteration nodes and patch `/fields/System.IterationPath` on selected overview-level items, propagating the same path to containing stories when supported.
151
151
 
152
- Capability Area Path, parent/child hierarchy, and current Iteration Path never create dependency edges. Recompute iteration assignment whenever Predecessor relations change.
152
+ Capability Area Path, parent/child hierarchy, and current Iteration Path never create dependency edges. Keep story ordering in Predecessor relations; do not use Iteration Path to encode it.
153
153
 
154
154
  Apply the derived iteration with a follow-up JSON Patch operation:
155
155
 
@@ -11,7 +11,7 @@ Official sources:
11
11
 
12
12
  ## Preflight before creation
13
13
 
14
- Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify every milestone, and prove the configured hierarchy, classification, and dependency representation is representable in GitHub. A failed preflight writes nothing.
14
+ Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify overview milestones only, and prove the configured hierarchy, classification, and dependency representation is representable in GitHub. A failed preflight writes nothing.
15
15
 
16
16
  ## Intent
17
17
 
@@ -20,7 +20,7 @@ Use GitHub Projects V2 and GitHub Issues together.
20
20
  Canonical mapping:
21
21
 
22
22
  - capability module -> Project V2 custom single-select field
23
- - execution milestone -> chronological repository milestone derived from native issue dependencies
23
+ - execution milestone -> chronological repository milestone for overview-level items (`fog` through `epic`), inherited by containing stories when supported
24
24
  - epic/capability -> parent GitHub issue in the Project
25
25
  - story -> child issue/sub-issue in the Project
26
26
  - story ordering -> native issue dependency
@@ -96,23 +96,23 @@ If repository policy permits none of these, fail preflight. Do not create classi
96
96
 
97
97
  Store durable capability membership in a Project V2 custom single-select field named `Capability module`. This field answers which product capability owns the item. It is independent from repository milestones, parent/sub-issue hierarchy, and dependency order.
98
98
 
99
- Fog leaves `Capability module` empty until sharpening selects a module. Every selected concrete non-fog issue receives exactly one capability-module value. A module can contain issues from multiple execution milestones.
99
+ Fog leaves `Capability module` empty until sharpening selects a module. Every selected concrete non-fog issue receives exactly one capability-module value. A module can contain overview items from multiple execution milestones; containing stories may share their epic's milestone.
100
100
 
101
101
  ## Chronological execution milestones
102
102
 
103
- Use repository milestones named `M1`, `M2`, and so on only for dependency-derived execution waves. Do not create one repository milestone per capability module.
103
+ Use repository milestones named `M1`, `M2`, and so on only for overview-level `fog`, `grilling`, `research`, `prototype`, and `epic` items. Stories may inherit their containing epic's milestone when supported, but never receive distinct story milestones; do not create one repository milestone per capability module.
104
104
 
105
105
  1. In memory, resolve the complete selected graph and reject missing targets, self-edges, or cycles.
106
- 2. Derive blocker-free issues as `M1`; derive every other issue as `M(1 + max(milestone number of each blocker))`.
107
- 3. Verify every blocker belongs to a strictly earlier milestone and that GitHub can represent the complete hierarchy and graph.
106
+ 2. Keep one containing overview milestone across each projected story set when supported; use native issue dependencies for story ordering.
107
+ 3. Verify every blocker target is present and that GitHub can represent the complete hierarchy and graph.
108
108
  4. Only after preflight passes, create issues, map planned keys to provider ids, add every native blocker with `addBlockedBy`, and create or reuse milestones.
109
- 5. Assign exactly one verified milestone to each selected milestone-eligible issue.
109
+ 5. Assign at most one verified milestone to each selected overview-level item and propagate that same membership to its stories when supported; never derive story-specific milestones.
110
110
 
111
- Issues from different capability modules can share one milestone, and one capability module can span multiple milestones. Recompute milestone assignment whenever native dependencies change.
111
+ Overview items from different capability modules can share one milestone. Containing stories may share that milestone, but parent/sub-issue hierarchy and milestone assignment never determine story chronology; update native dependencies when story relations change.
112
112
 
113
113
  ## Create missing execution milestones
114
114
 
115
- Create only the chronological repository milestones derived above.
115
+ Create only the chronological repository milestones derived above for overview-level items; propagate membership to containing stories when supported without deriving story-specific milestones.
116
116
 
117
117
  Endpoint:
118
118
 
@@ -139,8 +139,8 @@ Required field:
139
139
 
140
140
  - `title`
141
141
 
142
- For GraphQL milestone assignment after dependency derivation, use the returned milestone node ID as `milestoneId`.
143
- For REST milestone assignment after dependency derivation, use the returned milestone number as `milestone`.
142
+ For GraphQL overview-item milestone assignment, use the returned milestone node ID as `milestoneId`.
143
+ For REST overview-item milestone assignment, use the returned milestone number as `milestone`.
144
144
 
145
145
  ## Create a fog issue
146
146
 
@@ -299,4 +299,4 @@ mutation AddBlockedBy($issueId: ID!, $blockingIssueId: ID!) {
299
299
 
300
300
  - GitHub REST issue creation is still acceptable for plain issue creation, but GraphQL is preferred for backlog sync because it can attach Project V2 IDs, parent issues, and dependency relations.
301
301
  - Project fields store capability grouping metadata. Issue hierarchy remains the source for epic -> story.
302
- - Repository milestones store dependency-derived chronology only.
302
+ - Repository milestones store project-overview chronology only; native issue dependencies store story relations.
@@ -14,7 +14,7 @@ Official sources:
14
14
 
15
15
  ## Preflight before creation
16
16
 
17
- Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify every milestone, and prove the configured hierarchy, classification, and dependency representation is representable in Linear. A failed preflight writes nothing.
17
+ Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify overview milestones only, and prove the configured hierarchy, classification, and dependency representation is representable in Linear. A failed preflight writes nothing.
18
18
 
19
19
  ## Minimum documented mutation
20
20
 
@@ -101,7 +101,7 @@ If workspace policy permits none of these, fail preflight. Do not create labels
101
101
 
102
102
  - fog -> root-level issue with `Kind/fog`; no parent or capability module required until sharpened
103
103
  - capability module -> non-milestone capability metadata, such as a dedicated module label
104
- - execution milestone -> chronological Linear project milestone derived from native blockers
104
+ - execution milestone -> chronological Linear project milestone for overview-level items (`fog` through `epic`), inherited by containing stories when supported
105
105
  - grilling -> capability-module-scoped issue with `Kind/grilling`
106
106
  - research -> capability-module-scoped issue with `Kind/research`
107
107
  - prototype -> capability-module-scoped issue with `Kind/prototype`
@@ -134,17 +134,17 @@ Use these headings in `description`; do not substitute a mutable local spec path
134
134
 
135
135
  ## Chronological execution milestones
136
136
 
137
- Linear project milestones answer first/next/later. Name them chronologically, such as `M1`, `M2`, and `M3`, and derive every assignment from native `blockedBy` / `blocks` relations:
137
+ Linear project milestones answer first/next/later at the project overview level. Name them chronologically, such as `M1`, `M2`, and `M3`, and derive them only for `fog`, `grilling`, `research`, `prototype`, and `epic` issues. When supported, stories inherit their containing overview milestone as one shared membership value; native `blockedBy` / `blocks` relations explain story order.
138
138
 
139
- Only selected non-fog `grilling`, `research`, `prototype`, `epic`, and `story` issues are milestone-eligible. Fog has no execution milestone until sharpened into concrete work. Capability-module metadata remains grouping and is not an execution issue.
139
+ The overview-level taxonomy from `fog` through `epic` is milestone-eligible: `fog`, `grilling`, `research`, `prototype`, and `epic`. Stories never receive distinct derived milestones; when supported, they share the containing overview milestone. Capability-module metadata remains grouping and is not an execution relation.
140
140
 
141
141
  1. In memory, resolve the complete selected graph and reject missing targets, self-edges, or cycles.
142
- 2. Derive blocker-free issues as `M1`; derive every other issue as `M(1 + max(milestone number of each blocker))`.
143
- 3. Verify every blocker is in a strictly earlier milestone and that the configured Linear representation supports the full graph.
144
- 4. Only after preflight passes, create issues, map planned keys to provider ids, create native blocker relations, and create or reuse the derived milestones.
145
- 5. Assign exactly one verified milestone to each selected milestone-eligible issue.
142
+ 2. Keep one containing overview milestone across each projected story set when supported; use native blocker relations for story ordering.
143
+ 3. Verify every blocker target is present and that the configured Linear representation supports the full graph.
144
+ 4. Only after preflight passes, create issues, map planned keys to provider ids, create native blocker relations, and create or reuse the derived overview milestones.
145
+ 5. Assign at most one verified milestone to each selected overview-level item and propagate that same membership to its stories when supported; never derive story-specific milestones.
146
146
 
147
- Issues in the same derived wave share a milestone and can proceed in parallel, even when they belong to different capability modules. A capability module can span multiple milestones. Capability grouping, parent/child hierarchy, and existing milestone assignment never determine chronology. Native blocker relations remain authoritative; recompute milestone assignment and numbering whenever they change.
147
+ Overview items in the same wave share a milestone. Containing stories may share that milestone, but capability grouping, parent/child hierarchy, and milestone assignment never determine story chronology. Native blocker relations remain authoritative for stories; recompute blockers when story relations change.
148
148
 
149
149
  ## Notes
150
150
 
@@ -7,7 +7,7 @@ Connector source:
7
7
 
8
8
  ## Preflight before creation
9
9
 
10
- Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify every milestone, and prove the configured hierarchy, classification, and dependency representation is representable in monday.com. A failed preflight writes nothing.
10
+ Before creating any item, build the complete in-memory projection. Resolve every dependency target, reject missing targets, self-edges, and cycles, derive and verify overview milestones only, and prove the configured hierarchy, classification, and dependency representation is representable in monday.com. A failed preflight writes nothing.
11
11
 
12
12
  ## Intent
13
13
 
@@ -17,7 +17,7 @@ Canonical mapping:
17
17
 
18
18
  - fog -> first-class root/backlog item
19
19
  - capability module -> board group
20
- - execution milestone -> dedicated Status or Dropdown column derived from dependency values
20
+ - execution milestone -> dedicated Status or Dropdown column for overview-level items (`fog` through `epic`), inherited by containing stories when supported
21
21
  - grilling/research/prototype -> parent item in a capability group
22
22
  - epic/capability -> parent item
23
23
  - story -> subitem under the epic item
@@ -41,7 +41,7 @@ Expected board shape, subject to explicit board configuration:
41
41
  - one board group per capability module
42
42
  - parent items for epics/capabilities
43
43
  - subitems for stories
44
- - dedicated Status or Dropdown column named `Execution milestone` with `M1`, `M2`, and later derived values
44
+ - dedicated Status or Dropdown column named `Execution milestone` with `M1`, `M2`, and later overview values
45
45
  - dependency column wherever selected work has blockers
46
46
 
47
47
  If the target group for a capability module is missing, create it before creating concrete items.
@@ -105,7 +105,7 @@ Closure notes record the answer or verdict, evidence, observations, open decisio
105
105
 
106
106
  Use one stable board group per durable capability module. A group answers which product capability owns the item; it does not answer when the item executes.
107
107
 
108
- Fog stays in a root/backlog group until sharpening selects a capability module. Do not name capability groups `M1`, `M2`, or other chronological wave names. One capability group can contain items from multiple execution milestones.
108
+ Fog stays in a root/backlog group until sharpening selects a capability module. Do not name capability groups `M1`, `M2`, or other chronological wave names. One capability group can contain overview items from multiple execution milestones; containing stories may share their epic's milestone.
109
109
 
110
110
  ## Create a capability-module group
111
111
 
@@ -130,16 +130,16 @@ Use stable capability names. Do not create implementation-phase groups such as b
130
130
 
131
131
  ## Chronological execution milestones
132
132
 
133
- Use a separate Status or Dropdown column named `Execution milestone` for `M1`, `M2`, and later dependency-derived waves. The exact column ID comes from board metadata.
133
+ Use a separate Status or Dropdown column named `Execution milestone` for `M1`, `M2`, and later project-overview waves. Set it on `fog`, `grilling`, `research`, `prototype`, and `epic` items, and propagate the same value to containing stories when supported; never derive story-specific values. The exact column ID comes from board metadata.
134
134
 
135
135
  1. Inspect both parent-item and subitem board metadata.
136
136
  2. In memory, resolve the complete selected graph and reject missing targets, self-edges, or cycles.
137
137
  3. Prove every edge is representable by monday.com's same-board dependency constraint. If an edge crosses unsupported storage, stop before creation.
138
- 4. Derive dependency-free items as `M1`; derive every other item as `M(1 + max(milestone number of each dependency))`.
139
- 5. Verify every dependency points to a strictly earlier milestone and that all required configured columns exist.
140
- 6. Only after preflight passes, create items, map planned keys to provider ids, populate dependencies, and set exactly one verified milestone value per eligible item.
138
+ 4. Keep one containing overview milestone across each projected story set when supported; use the dependency column for story ordering.
139
+ 5. Verify every dependency target is present and that all required configured columns exist.
140
+ 6. Only after preflight passes, create items, map planned keys to provider ids, populate dependencies, and set at most one verified milestone value per selected overview-level item, propagating that same value to containing stories when supported.
141
141
 
142
- Items from different capability groups can share one execution milestone. Group membership, parent/subitem hierarchy, and current milestone value never create dependency edges. Recompute milestone values whenever the dependency column changes.
142
+ Overview items from different capability groups can share one execution milestone. Containing stories may share that value, but group membership, parent/subitem hierarchy, and current milestone value never create story dependency edges. Update the dependency column when story relations change.
143
143
 
144
144
  ## Create an epic item
145
145
 
@@ -226,7 +226,7 @@ Tool:
226
226
  3. Complete the in-memory hierarchy, graph, milestone, and representability preflight.
227
227
  4. Only after preflight passes, create required groups, items, and subitems.
228
228
  5. Set only explicitly configured classification metadata.
229
- 6. Map planned keys to provider ids, add dependency values, and set already-derived milestones.
229
+ 6. Map planned keys to provider ids, add dependency values, and set already-derived overview milestones.
230
230
 
231
231
  ## Notes
232
232
 
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Emil Kowalski
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.