@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.
- package/AGENTS.md +1 -1
- package/dist/BASELINE_CHANGELOG.md +11 -2
- package/dist/CHANGELOG.md +20 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -5
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +9 -3
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +32 -0
- package/dist/baseline/scaffold-baseline/data/subagents/manifest.mjs +1 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/SKILL.md +20 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +14 -9
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/backlog-sync.md +61 -29
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/plan-schema.md +25 -6
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/SKILL.md +10 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md +4 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/SKILL.md +20 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/lifecycle.md +20 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/wayfinder/SKILL.md +13 -36
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/SKILL.md +57 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/agents/openai.yaml +4 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/audit-portfolio.md +47 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/implement-suite.md +40 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/route-api-design.md +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/references/user-journey-design.md +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +42 -26
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +80 -97
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +93 -96
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +43 -52
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +70 -136
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/backlog-initialization.md +88 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/business-projection.md +31 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/delivery-status.md +66 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/fog-intake.md +72 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/functional-projection.md +27 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/issue-reconciliation.md +76 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/normalization.md +105 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/project-context.md +43 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/providers/github.md +168 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/providers/linear.md +190 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/references/technical-projection.md +65 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/scripts/validate-task-blocker-graph.mjs +137 -0
- package/dist/baseline/scaffold-baseline/skills/phases/business-finder/SKILL.md +30 -0
- package/dist/baseline/scaffold-baseline/skills/phases/business-finder/agents/openai.yaml +2 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/backlog.md +10 -3
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/closeout.md +12 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/implement.md +21 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +8 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/artifact-state.md +18 -3
- package/dist/baseline/scaffold-baseline/skills/phases/design-phase/phases/backlog.md +9 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/AUTHORING-HANDOFF.md +276 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/SKILL.md +43 -51
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/adopt-business-path.md +52 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/business-grilling.md +68 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/ensure-fog.md +43 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/functional-grilling.md +53 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/handback.md +36 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/prototype.md +40 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/reconcile.md +52 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/research.md +38 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/return-target.md +42 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/router.md +64 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/technical-grilling.md +67 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/entrypoint-contract.md +38 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/root-routing.md +14 -27
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/runtime-handoff.md +62 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/state-graph.md +60 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/scripts/finder-contract.mjs +383 -0
- package/dist/baseline/scaffold-baseline/skills/phases/functional-finder/SKILL.md +78 -0
- package/dist/baseline/scaffold-baseline/skills/phases/functional-finder/agents/openai.yaml +2 -0
- package/dist/baseline/scaffold-baseline/skills/phases/technical-finder/SKILL.md +74 -0
- package/dist/baseline/scaffold-baseline/skills/phases/technical-finder/agents/openai.yaml +2 -0
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/subagents/manifest.mjs +1 -0
- package/dist/index.js +6 -6
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +20 -4
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +14 -9
- package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +61 -29
- package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +25 -6
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +10 -4
- package/dist/skills/agnostic/planning/create-spec/references/readiness.md +4 -0
- package/dist/skills/agnostic/planning/implement-spec/SKILL.md +20 -1
- package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +20 -3
- package/dist/skills/agnostic/planning/wayfinder/SKILL.md +13 -36
- package/dist/skills/agnostic/quality/make-tsuite/SKILL.md +57 -0
- package/dist/skills/agnostic/quality/make-tsuite/agents/openai.yaml +4 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/audit-portfolio.md +47 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/implement-suite.md +40 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/route-api-design.md +21 -0
- package/dist/skills/agnostic/quality/make-tsuite/references/user-journey-design.md +21 -0
- package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +42 -26
- package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +80 -97
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +93 -96
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +43 -52
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +70 -136
- package/dist/skills/agnostic/requirements/write-backlog/references/backlog-initialization.md +88 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/business-projection.md +31 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/delivery-status.md +66 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/fog-intake.md +72 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/functional-projection.md +27 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/issue-reconciliation.md +76 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/normalization.md +105 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/project-context.md +43 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/providers/github.md +168 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/providers/linear.md +190 -0
- package/dist/skills/agnostic/requirements/write-backlog/references/technical-projection.md +65 -0
- package/dist/skills/agnostic/requirements/write-backlog/scripts/validate-task-blocker-graph.mjs +135 -0
- package/dist/skills/phases/business-finder/SKILL.md +30 -0
- package/dist/skills/phases/business-finder/agents/openai.yaml +2 -0
- package/dist/skills/phases/delivery-phase/phases/backlog.md +10 -3
- package/dist/skills/phases/delivery-phase/phases/closeout.md +12 -0
- package/dist/skills/phases/delivery-phase/phases/implement.md +21 -0
- package/dist/skills/phases/delivery-phase/phases/router.md +8 -0
- package/dist/skills/phases/delivery-phase/references/artifact-state.md +18 -3
- package/dist/skills/phases/design-phase/phases/backlog.md +9 -1
- package/dist/skills/phases/finder-phase/AUTHORING-HANDOFF.md +276 -0
- package/dist/skills/phases/finder-phase/SKILL.md +43 -51
- package/dist/skills/phases/finder-phase/agents/openai.yaml +1 -1
- package/dist/skills/phases/finder-phase/phases/adopt-business-path.md +52 -0
- package/dist/skills/phases/finder-phase/phases/business-grilling.md +68 -0
- package/dist/skills/phases/finder-phase/phases/ensure-fog.md +43 -0
- package/dist/skills/phases/finder-phase/phases/functional-grilling.md +53 -0
- package/dist/skills/phases/finder-phase/phases/handback.md +36 -0
- package/dist/skills/phases/finder-phase/phases/prototype.md +40 -0
- package/dist/skills/phases/finder-phase/phases/reconcile.md +52 -0
- package/dist/skills/phases/finder-phase/phases/research.md +38 -0
- package/dist/skills/phases/finder-phase/phases/return-target.md +42 -0
- package/dist/skills/phases/finder-phase/phases/router.md +64 -0
- package/dist/skills/phases/finder-phase/phases/technical-grilling.md +67 -0
- package/dist/skills/phases/finder-phase/references/entrypoint-contract.md +38 -0
- package/dist/skills/phases/finder-phase/references/root-routing.md +14 -27
- package/dist/skills/phases/finder-phase/references/runtime-handoff.md +62 -0
- package/dist/skills/phases/finder-phase/references/state-graph.md +60 -0
- package/dist/skills/phases/finder-phase/scripts/finder-contract.mjs +383 -0
- package/dist/skills/phases/functional-finder/SKILL.md +78 -0
- package/dist/skills/phases/functional-finder/agents/openai.yaml +2 -0
- package/dist/skills/phases/technical-finder/SKILL.md +74 -0
- package/dist/skills/phases/technical-finder/agents/openai.yaml +2 -0
- package/package.json +4 -2
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/convergence.md +0 -39
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/frontier-lifecycle.md +0 -76
- package/dist/skills/phases/finder-phase/references/convergence.md +0 -39
- package/dist/skills/phases/finder-phase/references/frontier-lifecycle.md +0 -76
|
@@ -1,107 +1,104 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: write-backlog
|
|
3
|
-
description:
|
|
3
|
+
description: Reconcile or materialize a coherent Linear or GitHub product backlog from accepted Finder, project-initialization, Normalization, planning, or delivery intent.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Write Backlog
|
|
7
7
|
|
|
8
|
+
`write-backlog` is the sole physical provider mutation authority. Callers supply
|
|
9
|
+
semantic intent and evidence; this skill owns reconciliation, provider writes,
|
|
10
|
+
and readback. It preserves the user's ticket wording, canonical project terms,
|
|
11
|
+
source links, and durable traceability while structuring the ticket correctly.
|
|
12
|
+
|
|
8
13
|
Before naming or rewriting domain concepts, read the canonical glossary in the
|
|
9
14
|
routed `requirements-grill` status artifact. Preserve its canonical terms;
|
|
10
15
|
route proposed terminology changes through `requirements-grill` instead of
|
|
11
16
|
silently renaming them.
|
|
12
17
|
|
|
13
|
-
##
|
|
14
|
-
|
|
15
|
-
1.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- `
|
|
49
|
-
- `
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
## Advanced features
|
|
102
|
-
|
|
103
|
-
- Canonical hierarchy and handoff contract: see [REFERENCE.md](REFERENCE.md)
|
|
104
|
-
- Backlog model and body ownership: see [assets/concepts/backlog-model.md](assets/concepts/backlog-model.md)
|
|
105
|
-
- Epic/story body shape: see [assets/concepts/story-shape.md](assets/concepts/story-shape.md)
|
|
106
|
-
- Provider create payloads: see [assets/providers/](assets/providers/)
|
|
107
|
-
- Intake and post-spec delivery branches: see [REFERENCE.md](REFERENCE.md)
|
|
18
|
+
## Mutation Pipeline
|
|
19
|
+
|
|
20
|
+
1. Read [project context](references/project-context.md). Resolve
|
|
21
|
+
`.devpunks/settings.json`, the Product/Backlog Root, project wiki,
|
|
22
|
+
repository identity, and current provider workspace. Missing or legacy
|
|
23
|
+
destination settings stop with exact `hi ensure` guidance; never discover or
|
|
24
|
+
guess another destination.
|
|
25
|
+
2. Read project context, repository identity, and fresh provider state. Read
|
|
26
|
+
every intended target, parent, relation, milestone, field, and view before
|
|
27
|
+
deciding whether the operation creates, enriches, or repairs anything.
|
|
28
|
+
3. Read [the mutation envelope](REFERENCE.md) and
|
|
29
|
+
[identity reconciliation](references/issue-reconciliation.md). After a
|
|
30
|
+
complete provider search, create on zero stable matches, enrich one stable
|
|
31
|
+
match carrying the same durable wiki identity, and stop on any ambiguity,
|
|
32
|
+
conflict, or incomplete search.
|
|
33
|
+
4. Load exactly one semantic branch:
|
|
34
|
+
- [initialize or reconstruct a backlog](references/backlog-initialization.md)
|
|
35
|
+
- [ensure Fog, pre-resolution grilling child shell, or Research/Prototype support child](references/fog-intake.md)
|
|
36
|
+
- [project accepted Business grilling](references/business-projection.md)
|
|
37
|
+
- [project accepted Functional grilling](references/functional-projection.md)
|
|
38
|
+
- [project accepted Technical grilling from a verified stable blob URL](references/technical-projection.md)
|
|
39
|
+
- [normalize existing backlog state](references/normalization.md)
|
|
40
|
+
- [record directly observed delivery state](references/delivery-status.md)
|
|
41
|
+
5. Construct the complete intended mutation in memory. Validate authority,
|
|
42
|
+
stable identity, hierarchy, provider representation, source links,
|
|
43
|
+
contextual `V*` membership, and the full reachable Task blocker graph.
|
|
44
|
+
6. Use `$show-me` to preview the authority-derived topology. Boundary, goal,
|
|
45
|
+
parent, roadmap, milestone movement, duplicate closure, merge, split,
|
|
46
|
+
reparenting, or reorganization changes require explicit approval. The visual
|
|
47
|
+
explains the proposal; it is not approval. Unambiguous additive links and
|
|
48
|
+
stale-state repairs may continue after preflight.
|
|
49
|
+
7. Apply `$wait-what` when proposed ticket wording or project terms do not land.
|
|
50
|
+
Re-pitch in the project's language; preserve accepted meaning and user
|
|
51
|
+
wording instead of silently renaming it.
|
|
52
|
+
8. Select exactly one adapter from `backlogProvider`:
|
|
53
|
+
- `Linear`: read [the Linear provider branch](references/providers/linear.md).
|
|
54
|
+
- `GitHub`: read [the GitHub provider branch](references/providers/github.md).
|
|
55
|
+
If exact hierarchy, metadata, milestone, relation, or readback representation
|
|
56
|
+
is unavailable, stop with zero provider mutations and setup guidance.
|
|
57
|
+
9. Write only the approved, validated delta. Then perform exact readback of
|
|
58
|
+
every intended identity, parent, relation, source link, field, view,
|
|
59
|
+
milestone, status, and provider object. A partial provider failure returns
|
|
60
|
+
the observed writes and unresolved delta; it never claims atomic success.
|
|
61
|
+
10. Return the stable provider IDs and URLs, durable wiki identities, branch,
|
|
62
|
+
created/enriched/unchanged classification, approved structural decisions,
|
|
63
|
+
exact readback, and any remaining blocker to the caller.
|
|
64
|
+
|
|
65
|
+
## Invariants
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
Product/Backlog Root
|
|
69
|
+
└── Product Area
|
|
70
|
+
└── Initiative
|
|
71
|
+
└── Epic
|
|
72
|
+
└── Story [one contextual V*]
|
|
73
|
+
└── Task 1..n [required, same V* + blockers]
|
|
74
|
+
|
|
75
|
+
Fog ──provenance/enrichment──> Area | Initiative | Epic | Story | Task
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
- Business projection creates or enriches Product Area, Initiative, and Epic.
|
|
79
|
+
- Functional projection creates one Story per accepted Functional child.
|
|
80
|
+
- Technical projection requires an authoritative agent-ready `SPEC.md`, then
|
|
81
|
+
creates one or more mandatory, atomic, owner-ready Tasks per Story.
|
|
82
|
+
- Every Story belongs to exactly one contextual `V*` milestone iteration. Each
|
|
83
|
+
Task inherits the same iteration. Product Areas, Initiatives, and Epics span
|
|
84
|
+
iterations. A Fog may target a fitting iteration.
|
|
85
|
+
- Reuse a fitting existing structure or milestone before proposing a new one.
|
|
86
|
+
- Blockers, not milestone order, define precedence. Reject missing targets,
|
|
87
|
+
future-iteration edges, self-edges, and cycles across the complete reachable
|
|
88
|
+
Task graph before any provider mutation.
|
|
89
|
+
- Fog is lateral provenance, not a delivery parent. Its accepted stage children
|
|
90
|
+
and every enriched or produced provider object remain linked to it.
|
|
91
|
+
- Project views are Product Map, Roadmap, Fogs, and Current Delivery. This skill
|
|
92
|
+
does not design CI/CD pipelines, sprints, provider Cycles, or scheduling.
|
|
93
|
+
|
|
94
|
+
## Body Contract
|
|
95
|
+
|
|
96
|
+
Every written ticket stays independently understandable and retains its source
|
|
97
|
+
authority. Add a compact `$show-me` visual when the relationships are harder to
|
|
98
|
+
understand than the prose. The visual does not replace product outcome,
|
|
99
|
+
`US-###`/`AC-###` traceability, immutable evidence, or provider-native
|
|
100
|
+
relations. Concrete files, commands, workers, and
|
|
101
|
+
execution notes stay in planning and delivery artifacts.
|
|
102
|
+
|
|
103
|
+
See [examples](EXAMPLES.md) for representative initialization and staged
|
|
104
|
+
projection results. Provider mechanics remain behind this mutation seam; Finder and delivery callers never perform provider writes themselves.
|
|
@@ -1,69 +1,60 @@
|
|
|
1
1
|
# Backlog Model
|
|
2
2
|
|
|
3
|
-
## Canonical
|
|
3
|
+
## Canonical Topology
|
|
4
4
|
|
|
5
5
|
```text
|
|
6
|
-
Backlog
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
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
|
-
##
|
|
23
|
+
## Staged Projection
|
|
46
24
|
|
|
47
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
44
|
+
Validate the complete reachable Task graph before mutation:
|
|
62
45
|
|
|
63
|
-
|
|
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
|
-
##
|
|
52
|
+
## Mutation Boundary
|
|
66
53
|
|
|
67
|
-
|
|
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
|
-
|
|
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
|
|
3
|
+
## Shared Rules
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
24
|
+
## Grilling Body
|
|
17
25
|
|
|
18
|
-
|
|
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
|
-
|
|
21
|
-
|
|
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
|
-
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Fog bodies must not define child tickets or delivery scope.
|
|
36
|
+
## Epic Body
|
|
39
37
|
|
|
40
|
-
|
|
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
|
-
|
|
44
|
+
## Story Body
|
|
43
45
|
|
|
44
46
|
```md
|
|
45
|
-
##
|
|
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
|
-
##
|
|
51
|
+
## Source stories
|
|
84
52
|
|
|
85
|
-
|
|
86
|
-
Evidence:
|
|
87
|
-
Observations:
|
|
88
|
-
Open decisions:
|
|
89
|
-
Resolution pointer:
|
|
90
|
-
```
|
|
53
|
+
- `US-###`
|
|
91
54
|
|
|
92
|
-
##
|
|
55
|
+
## Acceptance criteria
|
|
93
56
|
|
|
94
|
-
|
|
57
|
+
- `AC-###`
|
|
95
58
|
|
|
96
|
-
|
|
97
|
-
## Learning Goal
|
|
59
|
+
## Demonstration
|
|
98
60
|
|
|
99
|
-
[
|
|
61
|
+
[One observable end-to-end result]
|
|
100
62
|
|
|
101
|
-
##
|
|
63
|
+
## Boundaries
|
|
102
64
|
|
|
103
65
|
- ...
|
|
104
66
|
|
|
105
|
-
##
|
|
67
|
+
## Non-goals
|
|
106
68
|
|
|
107
69
|
- ...
|
|
108
70
|
|
|
109
|
-
##
|
|
71
|
+
## Dependencies
|
|
110
72
|
|
|
111
|
-
|
|
112
|
-
Observations:
|
|
113
|
-
Open decisions:
|
|
114
|
-
Resolution pointer:
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
## Epic body
|
|
73
|
+
- Stable product or provider identity
|
|
118
74
|
|
|
119
|
-
|
|
75
|
+
## Durable accepted-artifact links
|
|
120
76
|
|
|
121
|
-
|
|
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
|
-
-
|
|
81
|
+
- Parent Epic: ...
|
|
82
|
+
- Fog and Functional resolution: ...
|
|
83
|
+
- Immutable spec: ... when compiled
|
|
84
|
+
- Milestone iteration: `V*`
|
|
139
85
|
```
|
|
140
86
|
|
|
141
|
-
|
|
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
|
-
##
|
|
90
|
+
## Responsibility
|
|
151
91
|
|
|
152
|
-
[
|
|
92
|
+
[One atomic shippable unit]
|
|
153
93
|
|
|
154
|
-
##
|
|
94
|
+
## Owner
|
|
155
95
|
|
|
156
|
-
|
|
96
|
+
[One explicit ownership boundary]
|
|
157
97
|
|
|
158
|
-
## Acceptance
|
|
98
|
+
## Acceptance
|
|
159
99
|
|
|
160
|
-
- `AC-###`
|
|
100
|
+
- Source Story and `AC-###`
|
|
161
101
|
|
|
162
|
-
##
|
|
102
|
+
## Verification
|
|
163
103
|
|
|
164
|
-
[
|
|
104
|
+
[Observable evidence]
|
|
165
105
|
|
|
166
|
-
##
|
|
106
|
+
## Blockers
|
|
167
107
|
|
|
168
|
-
-
|
|
108
|
+
- Stable provider Task identity
|
|
169
109
|
|
|
170
|
-
##
|
|
110
|
+
## Authority
|
|
171
111
|
|
|
172
|
-
- Parent
|
|
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
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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.
|