@punks/cli 3.1.3 → 3.1.4
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/dist/BASELINE_CHANGELOG.md +21 -0
- package/dist/CHANGELOG.md +40 -0
- package/dist/baseline/scaffold-baseline/baseline.json +4 -4
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +23 -3
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +26 -2
- package/dist/baseline/scaffold-baseline/data/subagents/manifest.mjs +3 -1
- package/dist/baseline/scaffold-baseline/data/subagents/manifest.test.ts +20 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/SKILL.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +3 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/SKILL-MECHANICS.md +22 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/SKILL.md +81 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-for-agents/UPSTREAM.md +9 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +27 -15
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/backlog-sync.md +19 -32
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/plan-schema.md +14 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/planner-task-graph.md +5 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/stop-conditions.md +2 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/SKILL.md +51 -105
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +26 -57
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/folder-naming.md +6 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md +41 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +15 -6
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +3 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/SKILL.md +21 -54
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +0 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/lifecycle.md +13 -15
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +7 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +4 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/parallel.md +9 -35
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/wayfinder/SKILL.md +11 -8
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md +3 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/EXAMPLES.md +25 -73
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md +54 -305
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/SKILL.md +46 -55
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +33 -119
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +24 -14
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +53 -11
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +48 -26
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +53 -12
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +49 -33
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +20 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/parallel-research/SKILL.md +14 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/LOGIC.md +57 -21
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/SKILL.md +17 -15
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/UI.md +12 -5
- package/dist/baseline/scaffold-baseline/skills/agnostic/research/prototype/UPSTREAM.md +11 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/SKILL.md +5 -12
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/references/CONFIG.md +10 -19
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/references/SERVICES_LAYERS.md +3 -63
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect/references/TESTING.md +2 -72
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-backend-structure/SKILL.md +12 -29
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-backend-structure/references/layout.md +9 -9
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-service-design/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-service-design/SKILL.md +124 -0
- package/dist/baseline/scaffold-baseline/skills/frameworks/effect/effect-service-design/references/AUDIT.md +98 -0
- package/dist/baseline/scaffold-baseline/skills/misc/wait-what/LICENSE +21 -0
- package/dist/baseline/scaffold-baseline/skills/misc/wait-what/SKILL.md +7 -0
- package/dist/baseline/scaffold-baseline/skills/misc/wait-what/UPSTREAM.md +9 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/backlog.md +31 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/implement.md +5 -4
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/plan.md +6 -4
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +16 -14
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/spec.md +9 -5
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/artifact-state.md +9 -2
- package/dist/baseline/scaffold-baseline/skills/phases/design-phase/phases/backlog.md +4 -4
- package/dist/baseline/scaffold-baseline/skills/phases/design-phase/phases/prototype.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/docs-ingest-phase/phases/private-internal.md +3 -1
- package/dist/baseline/scaffold-baseline/skills/phases/docs-ingest-phase/references/learning-artifacts.md +8 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/SKILL.md +24 -24
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/convergence.md +39 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/frontier-lifecycle.md +22 -16
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/root-routing.md +3 -2
- package/dist/baseline/scaffold-baseline/skills/phases/prototype-phase/SKILL.md +34 -0
- package/dist/baseline/scaffold-baseline/skills/phases/prototype-phase/VERDICT-TEMPLATE.md +16 -0
- package/dist/baseline/scaffold-baseline/skills/phases/prototype-phase/agents/openai.yaml +2 -0
- package/dist/baseline/scaffold-baseline/skills/phases/requirements-phase/SKILL.md +14 -57
- package/dist/baseline/scaffold-baseline.json +4 -4
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/subagents/manifest.mjs +3 -1
- package/dist/index.js +148 -185
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +4 -3
- package/dist/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +1 -1
- package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +3 -1
- package/dist/skills/agnostic/docs/writing-for-agents/LICENSE +21 -0
- package/dist/skills/agnostic/docs/writing-for-agents/SKILL-MECHANICS.md +22 -0
- package/dist/skills/agnostic/docs/writing-for-agents/SKILL.md +81 -0
- package/dist/skills/agnostic/docs/writing-for-agents/UPSTREAM.md +9 -0
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +27 -15
- package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +19 -32
- package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +14 -0
- package/dist/skills/agnostic/planning/create-plan/references/planner-task-graph.md +5 -1
- package/dist/skills/agnostic/planning/create-plan/references/stop-conditions.md +2 -1
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +51 -105
- package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +26 -57
- package/dist/skills/agnostic/planning/create-spec/references/folder-naming.md +6 -3
- package/dist/skills/agnostic/planning/create-spec/references/readiness.md +41 -0
- package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +15 -6
- package/dist/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +3 -3
- package/dist/skills/agnostic/planning/implement-spec/SKILL.md +21 -54
- package/dist/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +0 -4
- package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +13 -15
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +7 -4
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +4 -2
- package/dist/skills/agnostic/planning/implement-spec/references/parallel.md +9 -35
- package/dist/skills/agnostic/planning/wayfinder/SKILL.md +11 -8
- package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +3 -3
- package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +25 -73
- package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +54 -305
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +46 -55
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +33 -119
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +24 -14
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +53 -11
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +48 -26
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +53 -12
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +49 -33
- package/dist/skills/agnostic/research/parallel-research/DURABLE-REPORT.md +20 -0
- package/dist/skills/agnostic/research/parallel-research/SKILL.md +14 -2
- package/dist/skills/agnostic/research/prototype/LICENSE +21 -0
- package/dist/skills/agnostic/research/prototype/LOGIC.md +57 -21
- package/dist/skills/agnostic/research/prototype/SKILL.md +17 -15
- package/dist/skills/agnostic/research/prototype/UI.md +12 -5
- package/dist/skills/agnostic/research/prototype/UPSTREAM.md +11 -0
- package/dist/skills/frameworks/effect/effect/SKILL.md +5 -12
- package/dist/skills/frameworks/effect/effect/references/CONFIG.md +10 -19
- package/dist/skills/frameworks/effect/effect/references/SERVICES_LAYERS.md +3 -63
- package/dist/skills/frameworks/effect/effect/references/TESTING.md +2 -72
- package/dist/skills/frameworks/effect/effect-backend-structure/SKILL.md +12 -29
- package/dist/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +1 -1
- package/dist/skills/frameworks/effect/effect-backend-structure/references/layout.md +9 -9
- package/dist/skills/frameworks/effect/effect-service-design/LICENSE +21 -0
- package/dist/skills/frameworks/effect/effect-service-design/SKILL.md +124 -0
- package/dist/skills/frameworks/effect/effect-service-design/references/AUDIT.md +98 -0
- package/dist/skills/misc/wait-what/LICENSE +21 -0
- package/dist/skills/misc/wait-what/SKILL.md +7 -0
- package/dist/skills/misc/wait-what/UPSTREAM.md +9 -0
- package/dist/skills/phases/delivery-phase/SKILL.md +4 -3
- package/dist/skills/phases/delivery-phase/phases/backlog.md +31 -0
- package/dist/skills/phases/delivery-phase/phases/implement.md +5 -4
- package/dist/skills/phases/delivery-phase/phases/plan.md +6 -4
- package/dist/skills/phases/delivery-phase/phases/router.md +16 -14
- package/dist/skills/phases/delivery-phase/phases/spec.md +9 -5
- package/dist/skills/phases/delivery-phase/references/artifact-state.md +9 -2
- package/dist/skills/phases/design-phase/phases/backlog.md +4 -4
- package/dist/skills/phases/design-phase/phases/prototype.md +1 -1
- package/dist/skills/phases/docs-ingest-phase/phases/private-internal.md +3 -1
- package/dist/skills/phases/docs-ingest-phase/references/learning-artifacts.md +8 -1
- package/dist/skills/phases/finder-phase/SKILL.md +24 -24
- package/dist/skills/phases/finder-phase/agents/openai.yaml +1 -1
- package/dist/skills/phases/finder-phase/references/convergence.md +39 -0
- package/dist/skills/phases/finder-phase/references/frontier-lifecycle.md +22 -16
- package/dist/skills/phases/finder-phase/references/root-routing.md +3 -2
- package/dist/skills/phases/prototype-phase/SKILL.md +34 -0
- package/dist/skills/phases/prototype-phase/VERDICT-TEMPLATE.md +16 -0
- package/dist/skills/phases/prototype-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/requirements-phase/SKILL.md +14 -57
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-great-skills/GLOSSARY.md +0 -69
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/writing-great-skills/SKILL.md +0 -61
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/backlog-sync.md +0 -49
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/discovery.md +0 -54
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/grill-phase.md +0 -42
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/questioning.md +0 -51
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/sequential.md +0 -48
- package/dist/skills/agnostic/docs/writing-great-skills/GLOSSARY.md +0 -69
- package/dist/skills/agnostic/docs/writing-great-skills/SKILL.md +0 -61
- package/dist/skills/agnostic/planning/create-spec/references/backlog-sync.md +0 -49
- package/dist/skills/agnostic/planning/create-spec/references/discovery.md +0 -54
- package/dist/skills/agnostic/planning/create-spec/references/grill-phase.md +0 -42
- package/dist/skills/agnostic/planning/create-spec/references/questioning.md +0 -51
- package/dist/skills/agnostic/planning/implement-spec/references/sequential.md +0 -48
|
@@ -1,81 +1,72 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: write-backlog
|
|
3
|
-
description: Materialize
|
|
3
|
+
description: Materialize provider-native backlog items. Use for Finder-selected pre-spec intake or an agent-ready post-spec delivery projection in Linear, GitHub Projects V2, Azure DevOps, or monday.com.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Write Backlog
|
|
7
7
|
|
|
8
8
|
## Quick start
|
|
9
9
|
|
|
10
|
-
1.
|
|
11
|
-
2.
|
|
12
|
-
3.
|
|
13
|
-
4.
|
|
14
|
-
5.
|
|
15
|
-
6.
|
|
16
|
-
7.
|
|
10
|
+
1. Choose one branch: pre-spec intake creation; update-existing branch to claim, release, or resolve a decision ticket; or delivery projection, which may create `epic` or `story` and requires an authoritative `SPEC.md` with `readiness: agent-ready` at a verified stable blob URL before any provider mutation.
|
|
11
|
+
2. Read `.devpunks/settings.json` and resolve the destination from `backlogProvider` plus `backlogProjectUrl`.
|
|
12
|
+
3. If either setting is missing, or `backlogProjectUrl` is not an absolute HTTP(S) URL, stop and ask the operator to run `hi ensure`. Do not discover or guess a backlog destination.
|
|
13
|
+
4. Read [REFERENCE.md](REFERENCE.md) and [assets/concepts/backlog-model.md](assets/concepts/backlog-model.md).
|
|
14
|
+
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.
|
|
15
|
+
6. For delivery, use `backlog-shaper` only to draft the epic/story projection; keep final judgment in the parent thread.
|
|
16
|
+
7. Classify each item directly as `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
|
|
17
17
|
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.
|
|
18
|
-
9.
|
|
19
|
-
10.
|
|
20
|
-
11.
|
|
21
|
-
12.
|
|
22
|
-
13.
|
|
23
|
-
14.
|
|
24
|
-
15.
|
|
25
|
-
16.
|
|
18
|
+
9. Project one capability-boundary epic from the existing `SPEC.md`; derive product-facing stories from its `US-###` and `AC-###` records.
|
|
19
|
+
10. Prove complete `US-###` / `AC-###` traceability and that each story is an agent-sized vertical tracer bullet.
|
|
20
|
+
11. Resolve every blocker target. Reject missing targets, self-blockers, and cycles, then derive chronological milestones from the blocker DAG.
|
|
21
|
+
12. Read the matching provider asset and validate the complete projection before the first provider write.
|
|
22
|
+
13. If any readiness check fails, stop with zero provider mutations and name every failure.
|
|
23
|
+
14. Once validation passes, write immediately without a separate approval stop.
|
|
24
|
+
15. Resolve pre-spec intake items through the provider adapter with an immutable resolution pointer to the spec; never silently promote one into the delivery epic.
|
|
25
|
+
16. Return created ids and URLs to `delivery-phase`; concrete planning remains downstream in `create-plan`.
|
|
26
26
|
|
|
27
27
|
## Item-count rule
|
|
28
28
|
|
|
29
|
-
Within durable capability modules, produce the fewest epics and stories that preserve all accepted requirements. Split only when merging would lose a distinct product outcome, acceptance signal, dependency,
|
|
29
|
+
Within durable capability modules, produce the fewest epics and stories that preserve all accepted requirements. Split only when merging would lose a distinct product outcome, acceptance signal, dependency, or provider boundary; otherwise fold requirements into the existing item body as scope, constraints, or acceptance signals.
|
|
30
30
|
|
|
31
|
-
##
|
|
31
|
+
## Direct taxonomy
|
|
32
32
|
|
|
33
|
-
Every supported
|
|
33
|
+
Every supported concept is a first-class provider backlog item that is visible, assignable, searchable, linkable, and closeable.
|
|
34
34
|
|
|
35
35
|
- `fog`: root-level uncertainty; not delivery-eligible, not a `SPEC.md` anchor, and not an execution container.
|
|
36
36
|
- `grilling`: capability-module-scoped human decision work.
|
|
37
37
|
- `research`: capability-module-scoped readonly fact-finding.
|
|
38
38
|
- `prototype`: capability-module-scoped artifact or experiment learning.
|
|
39
|
-
- `epic`: capability-module-scoped
|
|
39
|
+
- `epic`: capability-module-scoped projection of one authoritative `SPEC.md`.
|
|
40
40
|
- `story`: product-facing accepted implementation slice under one epic.
|
|
41
41
|
|
|
42
|
-
`grilling`, `research`, and `prototype` close with
|
|
42
|
+
`grilling`, `research`, and `prototype` close with the answer or verdict, artifacts or evidence, observations, open decisions, and resolution pointer. Evidence returns to Wayfinder for reconciliation; closure does not authorize delivery.
|
|
43
43
|
|
|
44
44
|
## Workflows
|
|
45
45
|
|
|
46
|
-
###
|
|
47
|
-
|
|
48
|
-
1.
|
|
49
|
-
2.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
5. Derive backlog only from locked direction and accepted decisions.
|
|
71
|
-
6. Treat parked branches and still-open items as explicit backlog notes or deferred follow-up, not silently resolved scope.
|
|
72
|
-
|
|
73
|
-
### From an existing messy backlog
|
|
74
|
-
|
|
75
|
-
1. Read the current hierarchy and item bodies first.
|
|
76
|
-
2. Collapse technical chores back into product-facing stories when possible.
|
|
77
|
-
3. Rebuild root fog plus capability module -> concrete item structure, then recompute chronological milestones from native blockers.
|
|
78
|
-
4. Keep execution detail out of backlog bodies.
|
|
46
|
+
### Pre-spec intake
|
|
47
|
+
|
|
48
|
+
1. Accept a Finder-selected direct classification: `fog`, `grilling`, `research`, or `prototype`.
|
|
49
|
+
2. For `fog`, preserve the frontier or uncertainty description. For `grilling`,
|
|
50
|
+
`research`, or `prototype`, preserve the precise question. Also preserve the
|
|
51
|
+
capability module when known, dependencies, claim state, and map link.
|
|
52
|
+
3. Validate the complete intake dependency graph for missing targets, self-edges, and cycles before the first provider write.
|
|
53
|
+
4. Create exactly the requested intake item. Do not create an epic or story.
|
|
54
|
+
5. Return the immutable provider id and URL to Finder.
|
|
55
|
+
|
|
56
|
+
### Agent-ready delivery projection
|
|
57
|
+
|
|
58
|
+
1. Read the authoritative spec, never raw grill artifacts as a substitute.
|
|
59
|
+
2. Project one epic and the fewest traceable vertical stories.
|
|
60
|
+
3. Validate the complete projection and blocker graph before mutation.
|
|
61
|
+
4. Write immediately when valid, then resolve any named intake item with the immutable spec link.
|
|
62
|
+
|
|
63
|
+
### Update-existing decision ticket
|
|
64
|
+
|
|
65
|
+
1. Require the provider id or URL plus the expected current claim state.
|
|
66
|
+
2. Read the existing item before mutation; fail on a conflicting claimant or stale state.
|
|
67
|
+
3. Use the matching provider adapter to claim, release, or resolve it.
|
|
68
|
+
4. Resolution requires an immutable resolution pointer and terminal outcome; claim/release changes only ownership state.
|
|
69
|
+
5. Return the updated id, URL, and observed state to Finder for reconciliation.
|
|
79
70
|
|
|
80
71
|
### Provider payload selection
|
|
81
72
|
|
|
@@ -100,4 +91,4 @@ Every supported kind is a first-class provider backlog item that is visible, ass
|
|
|
100
91
|
- Backlog model and body ownership: see [assets/concepts/backlog-model.md](assets/concepts/backlog-model.md)
|
|
101
92
|
- Epic/story body shape: see [assets/concepts/story-shape.md](assets/concepts/story-shape.md)
|
|
102
93
|
- Provider create payloads: see [assets/providers/](assets/providers/)
|
|
103
|
-
-
|
|
94
|
+
- Intake and post-spec delivery branches: see [REFERENCE.md](REFERENCE.md)
|
|
@@ -16,140 +16,54 @@ Execution milestones
|
|
|
16
16
|
M1 -> M2 -> M3 ...
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
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.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
- fog -> root-level first-class backlog item
|
|
23
|
-
- capability module -> durable capability grouping, stored separately from execution milestones
|
|
24
|
-
- milestone -> chronological execution wave derived from native blockers
|
|
25
|
-
- grilling -> capability-module-scoped first-class decision item
|
|
26
|
-
- research -> capability-module-scoped first-class investigation item
|
|
27
|
-
- prototype -> capability-module-scoped first-class learning item
|
|
28
|
-
- epic -> capability-module-scoped parent issue / capability item
|
|
29
|
-
- story -> child issue / sub-issue / child work item under an epic
|
|
21
|
+
## Placement
|
|
30
22
|
|
|
31
|
-
|
|
23
|
+
- `fog`: root-level uncertainty, never delivery scope or a parent container
|
|
24
|
+
- `grilling`: capability-scoped human decision work
|
|
25
|
+
- `research`: capability-scoped readonly evidence work
|
|
26
|
+
- `prototype`: capability-scoped experiment work
|
|
27
|
+
- `epic`: one capability-boundary projection of an authoritative agent-ready spec
|
|
28
|
+
- `story`: product-facing child tracer bullet derived from spec stories and criteria
|
|
32
29
|
|
|
33
|
-
|
|
30
|
+
Each capability module groups durable product ownership. It stays separate from every execution milestone and does not determine implementation order.
|
|
34
31
|
|
|
35
|
-
|
|
32
|
+
## Traceability and story readiness
|
|
36
33
|
|
|
37
|
-
|
|
38
|
-
- `grilling`
|
|
39
|
-
- `research`
|
|
40
|
-
- `prototype`
|
|
41
|
-
- `epic`
|
|
42
|
-
- `story`
|
|
34
|
+
Every projected story names its source `US-###` records and covered `AC-###` records. Before mutation, prove:
|
|
43
35
|
|
|
44
|
-
|
|
36
|
+
- every spec story is represented
|
|
37
|
+
- every criterion maps to an existing story
|
|
38
|
+
- every criterion is covered by at least one projected story
|
|
39
|
+
- every projected story has a demonstrable end-to-end outcome
|
|
40
|
+
- each story is small enough for one prepared agent session
|
|
45
41
|
|
|
46
|
-
|
|
47
|
-
- capability-module grouping
|
|
48
|
-
- execution-milestone assignment
|
|
49
|
-
- parent/child hierarchy
|
|
50
|
-
- provider issue type, unless the provider requires that type for structure
|
|
42
|
+
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.
|
|
51
43
|
|
|
52
|
-
|
|
44
|
+
## Blocker graph
|
|
53
45
|
|
|
54
|
-
|
|
46
|
+
Use native `blockedBy` / `blocks` relations where available.
|
|
55
47
|
|
|
56
|
-
|
|
48
|
+
Before mutation:
|
|
57
49
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
50
|
+
1. Resolve every blocker identifier to a projected story.
|
|
51
|
+
2. Reject missing targets and self-blockers.
|
|
52
|
+
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.
|
|
61
56
|
|
|
62
|
-
|
|
57
|
+
Items in the same wave may proceed in parallel across capability modules. Recompute milestones whenever blockers change.
|
|
63
58
|
|
|
64
|
-
|
|
65
|
-
- be a `SPEC.md` anchor
|
|
66
|
-
- become an execution container
|
|
67
|
-
- own child tickets by default
|
|
59
|
+
## Mutation boundary
|
|
68
60
|
|
|
69
|
-
|
|
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.
|
|
70
62
|
|
|
71
|
-
|
|
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.
|
|
72
64
|
|
|
73
|
-
|
|
65
|
+
## Intake and downstream handoff
|
|
74
66
|
|
|
75
|
-
-
|
|
76
|
-
- represent decision, investigation, or artifact-learning work
|
|
77
|
-
- close before implementation scope changes
|
|
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.
|
|
78
68
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
- answer
|
|
82
|
-
- accepted direction
|
|
83
|
-
- artifacts or evidence
|
|
84
|
-
- created or updated epics/stories
|
|
85
|
-
|
|
86
|
-
## Ownership boundaries
|
|
87
|
-
|
|
88
|
-
- backlog owns product-facing coordination
|
|
89
|
-
- `SPEC.md` owns the full problem-space contract for one epic
|
|
90
|
-
- `PLAN.md` owns execution decomposition
|
|
91
|
-
|
|
92
|
-
## Epic contract
|
|
93
|
-
|
|
94
|
-
One epic:
|
|
95
|
-
|
|
96
|
-
- maps to one future `SPEC.md`
|
|
97
|
-
- groups the stories that share one coherent capability boundary
|
|
98
|
-
- can include cross-story scope and constraints
|
|
99
|
-
|
|
100
|
-
One epic must not:
|
|
101
|
-
|
|
102
|
-
- become an execution board
|
|
103
|
-
- duplicate the whole future `PLAN.md`
|
|
104
|
-
- be reduced to a pure label/container with no capability meaning
|
|
105
|
-
- absorb unresolved grilling, research, or prototype work as if it were accepted scope
|
|
106
|
-
|
|
107
|
-
## Story contract
|
|
108
|
-
|
|
109
|
-
One story:
|
|
110
|
-
|
|
111
|
-
- is independently observable
|
|
112
|
-
- describes one user-visible slice or system behavior slice
|
|
113
|
-
- stays product-facing
|
|
114
|
-
- can be ordered relative to other stories with native blockers
|
|
115
|
-
|
|
116
|
-
One story must not:
|
|
117
|
-
|
|
118
|
-
- become a plan task
|
|
119
|
-
- carry TDD or file-level detail
|
|
120
|
-
- be phrased as a technical chore
|
|
121
|
-
|
|
122
|
-
## Order contract
|
|
123
|
-
|
|
124
|
-
Use native provider relations for ordering when available.
|
|
125
|
-
|
|
126
|
-
Preferred primitives:
|
|
127
|
-
|
|
128
|
-
- `blockedBy`
|
|
129
|
-
- `blocks`
|
|
130
|
-
- native parent/child
|
|
131
|
-
|
|
132
|
-
Do not encode story order only in prose when the provider can store it natively.
|
|
133
|
-
|
|
134
|
-
Capability modules and execution milestones are independent. Modules are durable capability groups. Milestones are chronological execution waves and must be recomputed from native blocker relations. Capability membership, parent/child hierarchy, and existing milestone assignment do not create dependency edges or determine milestone assignment.
|
|
135
|
-
|
|
136
|
-
Milestone-eligible items are selected concrete non-fog work: `grilling`, `research`, `prototype`, `epic`, and `story`. Fog has no execution milestone until sharpening produces concrete items. Capability-module metadata is grouping, not an execution item.
|
|
137
|
-
|
|
138
|
-
Before materialization:
|
|
139
|
-
|
|
140
|
-
1. Build one directed edge from each blocker to the item it blocks across the full selected milestone-eligible scope.
|
|
141
|
-
2. Stop materialization on a missing blocker target or cycle.
|
|
142
|
-
3. Assign every selected milestone-eligible item with no blockers to `M1`.
|
|
143
|
-
4. Assign every other selected milestone-eligible item to `M(1 + max(milestone number of each blocker))`.
|
|
144
|
-
5. Validate every blocker is in a strictly earlier milestone than the item it blocks.
|
|
145
|
-
|
|
146
|
-
Items with the same derived number can proceed in parallel and share a milestone, including items from different capability modules. One capability module can span multiple milestones. Native `blockedBy` / `blocks` relations remain authoritative; recompute milestone assignment and numbering whenever those relations change.
|
|
147
|
-
|
|
148
|
-
## `create-spec` reading contract
|
|
149
|
-
|
|
150
|
-
When `create-spec` reads backlog items:
|
|
151
|
-
|
|
152
|
-
- the parent epic is the spec anchor
|
|
153
|
-
- all child stories under that epic are source material
|
|
154
|
-
- the resulting `SPEC.md` must include the combined scope of those stories
|
|
155
|
-
- no child story requirement should remain only in the backlog and not appear in the spec
|
|
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`.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Shared rules
|
|
4
4
|
|
|
5
|
-
Keep every backlog item body product-facing and
|
|
5
|
+
Keep every backlog item body product-facing and appropriate to its direct classification.
|
|
6
6
|
|
|
7
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.
|
|
8
8
|
|
|
@@ -27,7 +27,7 @@ Recommended sections:
|
|
|
27
27
|
|
|
28
28
|
## Next Route
|
|
29
29
|
|
|
30
|
-
- `grilling` | `research` | `prototype` |
|
|
30
|
+
- `grilling` | `research` | `prototype` | Finder reconciliation
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Fog bodies must not define child tickets or delivery scope.
|
|
@@ -52,9 +52,10 @@ Recommended sections:
|
|
|
52
52
|
## Closure
|
|
53
53
|
|
|
54
54
|
Answer:
|
|
55
|
-
Accepted direction:
|
|
56
55
|
Artifacts:
|
|
57
|
-
|
|
56
|
+
Observations:
|
|
57
|
+
Open decisions:
|
|
58
|
+
Resolution pointer:
|
|
58
59
|
```
|
|
59
60
|
|
|
60
61
|
## Research body
|
|
@@ -78,8 +79,9 @@ Recommended sections:
|
|
|
78
79
|
|
|
79
80
|
Answer:
|
|
80
81
|
Evidence:
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
Observations:
|
|
83
|
+
Open decisions:
|
|
84
|
+
Resolution pointer:
|
|
83
85
|
```
|
|
84
86
|
|
|
85
87
|
## Prototype body
|
|
@@ -102,8 +104,9 @@ Recommended sections:
|
|
|
102
104
|
## Closure
|
|
103
105
|
|
|
104
106
|
Artifacts:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
Observations:
|
|
108
|
+
Open decisions:
|
|
109
|
+
Resolution pointer:
|
|
107
110
|
```
|
|
108
111
|
|
|
109
112
|
## Epic body
|
|
@@ -125,9 +128,9 @@ Recommended sections:
|
|
|
125
128
|
|
|
126
129
|
- ...
|
|
127
130
|
|
|
128
|
-
##
|
|
131
|
+
## Authority
|
|
129
132
|
|
|
130
|
-
-
|
|
133
|
+
- Immutable spec: ...
|
|
131
134
|
```
|
|
132
135
|
|
|
133
136
|
Epic bodies may summarize the capability boundary, but should not re-copy every child story verbatim once the child stories exist.
|
|
@@ -143,10 +146,17 @@ Recommended sections:
|
|
|
143
146
|
|
|
144
147
|
[What this story enables]
|
|
145
148
|
|
|
146
|
-
##
|
|
149
|
+
## Source stories
|
|
150
|
+
|
|
151
|
+
- `US-###`
|
|
152
|
+
|
|
153
|
+
## Acceptance criteria
|
|
154
|
+
|
|
155
|
+
- `AC-###`
|
|
156
|
+
|
|
157
|
+
## Demonstration
|
|
147
158
|
|
|
148
|
-
-
|
|
149
|
-
- [ ] ...
|
|
159
|
+
[One end-to-end observable result]
|
|
150
160
|
|
|
151
161
|
## Non-goals
|
|
152
162
|
|
|
@@ -155,7 +165,7 @@ Recommended sections:
|
|
|
155
165
|
## Links
|
|
156
166
|
|
|
157
167
|
- Parent epic
|
|
158
|
-
-
|
|
168
|
+
- Immutable spec
|
|
159
169
|
```
|
|
160
170
|
|
|
161
171
|
## Body anti-patterns
|
|
@@ -13,10 +13,20 @@ Official source:
|
|
|
13
13
|
- `Content-Type: application/json-patch+json`
|
|
14
14
|
- `Authorization: Bearer <TOKEN>`
|
|
15
15
|
|
|
16
|
+
## Preflight before creation
|
|
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.
|
|
19
|
+
|
|
16
20
|
## Raw request body
|
|
17
21
|
|
|
18
22
|
Azure DevOps creates work items with a JSON Patch document.
|
|
19
23
|
|
|
24
|
+
## Update existing decision tickets
|
|
25
|
+
|
|
26
|
+
Use a JSON Patch update against the existing work-item URL for claim, release, and resolve after reading its revision, assignee, and state and rejecting a conflicting claim. Include a revision `test` operation when supported. Resolution sets the configured terminal state and records the immutable resolution pointer in history or description. Return the updated work-item id and URL to Finder.
|
|
27
|
+
|
|
28
|
+
The example includes `Custom.DevpunksKind` only to show an explicitly configured adapter field. Omit that operation when the project configuration does not name such a field.
|
|
29
|
+
|
|
20
30
|
```json
|
|
21
31
|
[
|
|
22
32
|
{
|
|
@@ -63,9 +73,13 @@ Azure DevOps creates work items with a JSON Patch document.
|
|
|
63
73
|
- `/fields/System.IterationPath`
|
|
64
74
|
- `/fields/Custom.DevpunksKind`
|
|
65
75
|
|
|
66
|
-
##
|
|
76
|
+
## Provider classification
|
|
77
|
+
|
|
78
|
+
Classification examples assume explicit configuration.
|
|
67
79
|
|
|
68
|
-
|
|
80
|
+
Inspect configured provider metadata before choosing a representation. An adapter-specific custom picklist field such as `Custom.DevpunksKind` may represent the direct backlog concepts.
|
|
81
|
+
|
|
82
|
+
Only when explicitly configured to use that field, include it in JSON Patch payloads. If it is absent, record a setup blocker; do not create custom fields by default.
|
|
69
83
|
|
|
70
84
|
Allowed values:
|
|
71
85
|
|
|
@@ -76,7 +90,37 @@ Allowed values:
|
|
|
76
90
|
- `epic`
|
|
77
91
|
- `story`
|
|
78
92
|
|
|
79
|
-
Use Work Item Type for provider structure
|
|
93
|
+
Use Work Item Type for provider structure. A configured custom field or tags may represent classification for this adapter; neither is required by the shared model.
|
|
94
|
+
|
|
95
|
+
Fallback order:
|
|
96
|
+
|
|
97
|
+
1. configured custom field
|
|
98
|
+
2. existing Work Item Type or tag that exactly preserves the direct concept
|
|
99
|
+
3. stable title prefix such as `[story]`
|
|
100
|
+
|
|
101
|
+
If process policy permits none of these, fail preflight. Do not create custom fields or tags implicitly.
|
|
102
|
+
|
|
103
|
+
## Delivery body contracts
|
|
104
|
+
|
|
105
|
+
Epic body ownership:
|
|
106
|
+
|
|
107
|
+
- outcome
|
|
108
|
+
- scope and cross-story constraints
|
|
109
|
+
- child story list
|
|
110
|
+
- immutable spec link
|
|
111
|
+
- accepted artifact links when relevant
|
|
112
|
+
|
|
113
|
+
Story body ownership:
|
|
114
|
+
|
|
115
|
+
- outcome
|
|
116
|
+
- source `US-###`
|
|
117
|
+
- covered `AC-###`
|
|
118
|
+
- demonstration
|
|
119
|
+
- non-goals and dependencies
|
|
120
|
+
- immutable spec link
|
|
121
|
+
- accepted artifact links
|
|
122
|
+
|
|
123
|
+
Render these sections in `System.Description`; do not substitute a mutable local spec path.
|
|
80
124
|
|
|
81
125
|
## Repo mapping
|
|
82
126
|
|
|
@@ -99,13 +143,11 @@ Do not encode execution waves in Area Path. One area can span multiple iteration
|
|
|
99
143
|
|
|
100
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:
|
|
101
145
|
|
|
102
|
-
1.
|
|
103
|
-
2.
|
|
104
|
-
3.
|
|
105
|
-
4.
|
|
106
|
-
5.
|
|
107
|
-
6. Create or resolve the matching iteration nodes and patch `/fields/System.IterationPath` on every selected milestone-eligible work item.
|
|
108
|
-
7. Verify every predecessor is in a strictly earlier iteration.
|
|
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.
|
|
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.
|
|
109
151
|
|
|
110
152
|
Capability Area Path, parent/child hierarchy, and current Iteration Path never create dependency edges. Recompute iteration assignment whenever Predecessor relations change.
|
|
111
153
|
|
|
@@ -125,5 +167,5 @@ Apply the derived iteration with a follow-up JSON Patch operation:
|
|
|
125
167
|
|
|
126
168
|
- Azure DevOps create requests are process-dependent. The exact work item type names available in `{type}` depend on the project template and process.
|
|
127
169
|
- This asset documents the raw create payload shape, not a universal field catalog for every process.
|
|
128
|
-
- If
|
|
170
|
+
- If an explicitly configured custom field does not exist, record the provider setup blocker. Do not create it by default.
|
|
129
171
|
- Parent/child and dependency relations require relation operations or follow-up requests. Keep those separate from the minimal create-only body, then derive Iteration Path only after the dependency graph is complete.
|