@punks/cli 3.1.2 → 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 +46 -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/hooks/format-edited-file.mjs +13 -0
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.mjs +862 -49
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.test.ts +1295 -38
- 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/hooks/format-edited-file.mjs +13 -0
- package/dist/data/scripts/sync-subagents.mjs +862 -49
- package/dist/data/subagents/manifest.mjs +3 -1
- package/dist/index.js +667 -194
- 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
package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/write-backlog/REFERENCE.md
CHANGED
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Purpose
|
|
4
4
|
|
|
5
|
-
`write-backlog` is the
|
|
5
|
+
`write-backlog` is the provider-mutation adapter for three bounded branches: pre-spec decision intake, update-existing claim/release/resolution, and post-spec delivery projection. It does not compile specifications or create concrete implementation plans. Updating requires a provider id or URL, reads current state first, rejects conflicting claims, and writes the immutable resolution pointer supplied by Finder.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Supported `kind` values:
|
|
7
|
+
The direct backlog concepts are:
|
|
10
8
|
|
|
11
9
|
- `fog`
|
|
12
10
|
- `grilling`
|
|
@@ -15,78 +13,71 @@ Supported `kind` values:
|
|
|
15
13
|
- `epic`
|
|
16
14
|
- `story`
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Downstream contract:
|
|
21
|
-
|
|
22
|
-
- every supported `kind` is visible, assignable, searchable, linkable, and closeable in the target provider
|
|
23
|
-
- `fog` is root-level only
|
|
24
|
-
- concrete `grilling`, `research`, `prototype`, `epic`, and `story` items live under a capability module
|
|
25
|
-
- chronological execution milestones are derived separately from native blockers
|
|
26
|
-
- one epic maps to one future `SPEC.md`
|
|
27
|
-
- child stories remain the product-facing slices beneath that epic
|
|
28
|
-
- `PLAN.md` later decomposes execution without replacing the backlog model
|
|
29
|
-
|
|
30
|
-
## Supported inputs
|
|
31
|
-
|
|
32
|
-
`write-backlog` can work from:
|
|
33
|
-
|
|
34
|
-
- a raw requirements discussion
|
|
35
|
-
- an existing messy backlog
|
|
36
|
-
- `requirements-grill` artifacts from `/Users/stefan/Desktop/repos/weareDevpunks-multiplai/.agents/skills/requirements-grill`
|
|
37
|
-
- `wayfinder` or `finder-phase` route decisions
|
|
38
|
-
- accepted research, prototype, or grilling closure notes
|
|
16
|
+
No shared cross-provider classification field is required. Every adapter must still make the direct concept visible and searchable through configured native representation or its documented nearest-native fallback. If neither preserves the concept, fail before mutation. Provider vocabulary does not become canonical domain vocabulary.
|
|
39
17
|
|
|
40
|
-
|
|
18
|
+
## Pre-spec intake contract
|
|
41
19
|
|
|
42
|
-
|
|
20
|
+
Finder may request one `fog`, `grilling`, `research`, or `prototype` item before
|
|
21
|
+
a spec exists. A `fog` item requires a frontier or uncertainty description; it
|
|
22
|
+
does not require a precise question. A `grilling`, `research`, or `prototype`
|
|
23
|
+
item requires the precise question derived when fog graduates. Every intake
|
|
24
|
+
also requires its selected classification, map link, dependencies, and claim
|
|
25
|
+
state. Validate the complete intake dependency graph for missing targets,
|
|
26
|
+
self-edges, and cycles before mutation. Materialize exactly that intake item;
|
|
27
|
+
do not infer or create delivery epics/stories.
|
|
43
28
|
|
|
44
|
-
|
|
29
|
+
## Delivery input contract
|
|
45
30
|
|
|
46
|
-
|
|
47
|
-
- `<wiki-root>/content/docs/project/grilling/<topic>-grill-log.md`
|
|
31
|
+
Before inspecting or mutating provider state for an `epic` or `story` delivery projection, require:
|
|
48
32
|
|
|
49
|
-
|
|
33
|
+
- a verified stable blob URL to an authoritative `SPEC.md`; local SHA plus path is insufficient
|
|
34
|
+
- frontmatter `readiness: agent-ready`
|
|
35
|
+
- stable `US-###` user stories
|
|
36
|
+
- stable `AC-###` acceptance criteria
|
|
37
|
+
- every criterion carrying `Covers: US-###`
|
|
38
|
+
- no uncovered story and no criterion pointing to a missing story
|
|
39
|
+
- accepted technical/testing decisions and verification seams
|
|
40
|
+
- prototype verdict links when prototypes informed the decisions
|
|
50
41
|
|
|
51
|
-
|
|
52
|
-
2. log file second
|
|
42
|
+
If any requirement is missing, return a readiness failure naming every gap. Write nothing to the provider.
|
|
53
43
|
|
|
54
|
-
|
|
44
|
+
## Projection contract
|
|
55
45
|
|
|
56
|
-
-
|
|
57
|
-
- completion percentages
|
|
58
|
-
- locked direction
|
|
59
|
-
- still-open items
|
|
60
|
-
- parked branches
|
|
46
|
+
Create one capability-boundary epic for the spec. Derive the fewest product-facing stories that preserve all `US-###` outcomes and `AC-###` evidence. Every story must:
|
|
61
47
|
|
|
62
|
-
|
|
48
|
+
- name its source `US-###` records
|
|
49
|
+
- name its covered `AC-###` records
|
|
50
|
+
- be agent-sized
|
|
51
|
+
- be a vertical tracer bullet with one demonstrable user, operator, or system outcome
|
|
52
|
+
- remain understandable without the implementation plan
|
|
63
53
|
|
|
64
|
-
|
|
65
|
-
- superseded decisions
|
|
66
|
-
- canonical terms
|
|
67
|
-
- branch closure notes
|
|
54
|
+
Split only across distinct product outcomes, acceptance signals, provider boundaries, or true dependencies. Technical layers are not stories.
|
|
68
55
|
|
|
69
|
-
|
|
56
|
+
## Readiness before mutation
|
|
70
57
|
|
|
71
|
-
|
|
72
|
-
- do not promote unresolved still-open items into committed story scope without marking them explicitly
|
|
73
|
-
- preserve parked branches as deferred scope, follow-up epic candidates, or backlog notes when relevant
|
|
74
|
-
- if two decisions conflict, the latest explicit superseding decision wins
|
|
58
|
+
Build and validate the complete intended projection in memory before the first provider write:
|
|
75
59
|
|
|
76
|
-
|
|
60
|
+
1. Resolve the target from `.devpunks/settings.json`.
|
|
61
|
+
2. Validate the spec and traceability.
|
|
62
|
+
3. Validate every story as an agent-sized tracer bullet.
|
|
63
|
+
4. Resolve every blocker to a projected story.
|
|
64
|
+
5. Reject self-blockers, missing targets, and cycles.
|
|
65
|
+
6. Derive chronological execution milestones from the complete blocker DAG.
|
|
66
|
+
7. Validate provider representation and required native primitives.
|
|
67
|
+
8. Only after every check passes, write immediately without a separate approval stop.
|
|
77
68
|
|
|
78
|
-
|
|
79
|
-
- remaining work is non-design validation
|
|
80
|
-
- recommended next direction is backlog/user-story creation
|
|
69
|
+
A validation failure produces zero mutations. If a provider fails during the write sequence, stop, report created identifiers, and do not claim atomicity or readiness.
|
|
81
70
|
|
|
82
|
-
|
|
71
|
+
## Intake resolution
|
|
83
72
|
|
|
84
|
-
-
|
|
85
|
-
- reflect the unresolved branch as an open scope note instead of pretending closure
|
|
73
|
+
When the work began as a pre-spec `fog`, `grilling`, `research`, or `prototype` item:
|
|
86
74
|
|
|
87
|
-
|
|
75
|
+
- keep that intake item as historical decision evidence
|
|
76
|
+
- resolve it with the immutable spec link and the accepted outcome
|
|
77
|
+
- create a separate delivery epic projection
|
|
78
|
+
- never silently promote or relabel the intake item as the delivery epic
|
|
88
79
|
|
|
89
|
-
|
|
80
|
+
## Provider model
|
|
90
81
|
|
|
91
82
|
```text
|
|
92
83
|
Backlog root
|
|
@@ -102,256 +93,14 @@ Execution milestones
|
|
|
102
93
|
M1 -> M2 -> M3 ...
|
|
103
94
|
```
|
|
104
95
|
|
|
105
|
-
|
|
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))`.
|
|
106
97
|
|
|
107
|
-
|
|
108
|
-
- fog -> root-level issue/work item/item
|
|
109
|
-
- capability module -> durable provider grouping independent from chronology
|
|
110
|
-
- execution milestone -> dependency-derived chronological wave
|
|
111
|
-
- grilling/research/prototype -> capability-module-scoped issue/work item/item
|
|
112
|
-
- epic -> capability-module-scoped parent issue/work item/capability record
|
|
113
|
-
- story -> child issue/sub-issue/work item under an epic
|
|
114
|
-
|
|
115
|
-
monday.com mapping:
|
|
116
|
-
|
|
117
|
-
- fog -> root/backlog group item or root planning group item
|
|
118
|
-
- capability module -> board group
|
|
119
|
-
- execution milestone -> separate Status or Dropdown column derived from dependencies
|
|
120
|
-
- grilling/research/prototype -> parent item in a capability group
|
|
121
|
-
- epic/capability -> parent item
|
|
122
|
-
- story -> subitem
|
|
123
|
-
- story ordering -> dependency column when present
|
|
124
|
-
|
|
125
|
-
Rules:
|
|
126
|
-
|
|
127
|
-
- every supported kind must be a first-class backlog item
|
|
128
|
-
- `kind` is separate from workflow state, capability grouping, execution milestone, and parent/child hierarchy
|
|
129
|
-
- `fog` must not have child tickets by default
|
|
130
|
-
- concrete non-fog items must first choose or create a capability module
|
|
131
|
-
- `grilling`, `research`, and `prototype` must close into accepted decisions before they create or update implementation epics/stories
|
|
132
|
-
- every story must be independently understandable and product-facing
|
|
133
|
-
- one epic may contain multiple stories
|
|
134
|
-
- one epic maps to one future `SPEC.md`
|
|
135
|
-
- one story does not imply one future `SPEC.md`
|
|
98
|
+
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.
|
|
136
99
|
|
|
137
100
|
## Body ownership
|
|
138
101
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
Fog bodies may include:
|
|
142
|
-
|
|
143
|
-
- unclear frontier
|
|
144
|
-
- why it is not yet module-scoped
|
|
145
|
-
- suspected modules or outcomes
|
|
146
|
-
- next route candidates
|
|
147
|
-
|
|
148
|
-
Grilling bodies may include:
|
|
149
|
-
|
|
150
|
-
- decision question
|
|
151
|
-
- context
|
|
152
|
-
- options
|
|
153
|
-
- branch/artifact links
|
|
154
|
-
- closure note with accepted answer and downstream items
|
|
155
|
-
|
|
156
|
-
Research bodies may include:
|
|
157
|
-
|
|
158
|
-
- research question
|
|
159
|
-
- evidence sources
|
|
160
|
-
- answer criteria
|
|
161
|
-
- closure note with evidence and downstream items
|
|
162
|
-
|
|
163
|
-
Prototype bodies may include:
|
|
164
|
-
|
|
165
|
-
- learning goal
|
|
166
|
-
- artifact expectations
|
|
167
|
-
- acceptance signal for the prototype result
|
|
168
|
-
- closure note with artifact links and downstream items
|
|
169
|
-
|
|
170
|
-
Epic bodies may include:
|
|
171
|
-
|
|
172
|
-
- outcome
|
|
173
|
-
- scope
|
|
174
|
-
- cross-story constraints
|
|
175
|
-
- links
|
|
176
|
-
|
|
177
|
-
Story bodies may include:
|
|
178
|
-
|
|
179
|
-
- outcome
|
|
180
|
-
- acceptance signals
|
|
181
|
-
- non-goals
|
|
182
|
-
- links
|
|
183
|
-
- approved artifact links or durable visual asset links when they are acceptance context
|
|
184
|
-
|
|
185
|
-
Do not put these in backlog bodies:
|
|
186
|
-
|
|
187
|
-
- plan task ids
|
|
188
|
-
- TDD targets
|
|
189
|
-
- file paths
|
|
190
|
-
- validation commands
|
|
191
|
-
- worker handoffs
|
|
192
|
-
- code-structure notes
|
|
193
|
-
|
|
194
|
-
## Ordering rules
|
|
195
|
-
|
|
196
|
-
Implementation order belongs in the backlog only through native dependency primitives when supported. Capability grouping never determines chronology. Derive `M1`, `M2`, and later execution milestones with the DAG algorithm in [assets/concepts/backlog-model.md](assets/concepts/backlog-model.md), then store them in the provider mechanism documented by the matching payload asset.
|
|
197
|
-
|
|
198
|
-
Preferred order signal:
|
|
199
|
-
|
|
200
|
-
- native `blockedBy` / `blocks`
|
|
201
|
-
|
|
202
|
-
Avoid:
|
|
203
|
-
|
|
204
|
-
- prose-only dependency paragraphs
|
|
205
|
-
- fake ordering labels when native blockers exist
|
|
206
|
-
- using plan tasks as backlog children
|
|
207
|
-
|
|
208
|
-
## Kind selection workflow
|
|
209
|
-
|
|
210
|
-
### 1. Decide whether the frontier is still fog
|
|
211
|
-
|
|
212
|
-
Use `fog` when the work is real but not yet sharp enough to choose a capability module or concrete learning/implementation ticket.
|
|
213
|
-
|
|
214
|
-
Do not use `fog` as:
|
|
215
|
-
|
|
216
|
-
- a parent for research or grilling tickets
|
|
217
|
-
- delivery scope
|
|
218
|
-
- a `SPEC.md` anchor
|
|
219
|
-
- an execution container
|
|
220
|
-
|
|
221
|
-
### 2. Derive modules
|
|
222
|
-
|
|
223
|
-
For concrete non-fog work, split the discussion into durable capability groups that would still make sense if implementation order changed.
|
|
224
|
-
|
|
225
|
-
Good capability module:
|
|
226
|
-
|
|
227
|
-
- intake and review
|
|
228
|
-
- account lifecycle
|
|
229
|
-
- notifications
|
|
230
|
-
|
|
231
|
-
Bad module:
|
|
232
|
-
|
|
233
|
-
- backend foundation
|
|
234
|
-
- frontend polish
|
|
235
|
-
|
|
236
|
-
### 3. Derive learning items
|
|
237
|
-
|
|
238
|
-
Use these before implementation scope is accepted:
|
|
239
|
-
|
|
240
|
-
- `grilling`: the blocker is a human decision.
|
|
241
|
-
- `research`: readonly investigation can answer it.
|
|
242
|
-
- `prototype`: artifact-driven learning is needed.
|
|
243
|
-
|
|
244
|
-
Each item must live under a capability module and close with an accepted decision note before changing epics/stories.
|
|
245
|
-
|
|
246
|
-
### 4. Derive epics
|
|
247
|
-
|
|
248
|
-
Within each module, create epics/capabilities that will later justify one coherent spec.
|
|
249
|
-
|
|
250
|
-
Good epic:
|
|
251
|
-
|
|
252
|
-
- submission lifecycle management
|
|
253
|
-
- account onboarding and activation
|
|
254
|
-
|
|
255
|
-
Bad epic:
|
|
256
|
-
|
|
257
|
-
- database schema
|
|
258
|
-
- API routes
|
|
259
|
-
|
|
260
|
-
### 5. Derive stories
|
|
261
|
-
|
|
262
|
-
Break each epic into stories only when the slice is product-facing and independently observable.
|
|
263
|
-
|
|
264
|
-
Good story:
|
|
265
|
-
|
|
266
|
-
- coordinator creates a new submission from external intake
|
|
267
|
-
- lead reassigns ownership to another reviewer
|
|
268
|
-
|
|
269
|
-
Bad story:
|
|
270
|
-
|
|
271
|
-
- add column and router
|
|
272
|
-
- create mutation and form hook
|
|
273
|
-
|
|
274
|
-
### 6. Add native order
|
|
275
|
-
|
|
276
|
-
Only add blockers when one story truly depends on another story outcome.
|
|
277
|
-
|
|
278
|
-
Use blockers for:
|
|
279
|
-
|
|
280
|
-
- foundational product slices
|
|
281
|
-
- gating flows
|
|
282
|
-
- prerequisite user-visible capability
|
|
283
|
-
|
|
284
|
-
Do not add blockers for:
|
|
285
|
-
|
|
286
|
-
- internal code layering preferences
|
|
287
|
-
- one engineer wanting to implement one file before another
|
|
288
|
-
|
|
289
|
-
## Using grill artifacts during derivation
|
|
290
|
-
|
|
291
|
-
When the source is a grill status/log pair:
|
|
292
|
-
|
|
293
|
-
- use branch names and locked direction to identify likely module boundaries
|
|
294
|
-
- use accepted decisions to define epic boundaries
|
|
295
|
-
- use branch closure notes and concrete accepted answers to derive stories
|
|
296
|
-
- use still-open items only as:
|
|
297
|
-
- explicit open questions for the backlog author
|
|
298
|
-
- deferred scope notes
|
|
299
|
-
- follow-up epic/story candidates when the source already frames them that way
|
|
300
|
-
|
|
301
|
-
Do not:
|
|
302
|
-
|
|
303
|
-
- turn every grill question into a story
|
|
304
|
-
- treat partially closed branches as committed epic scope by default
|
|
305
|
-
- ignore canonical terminology captured in the grill log
|
|
306
|
-
|
|
307
|
-
## Closure and handoff
|
|
308
|
-
|
|
309
|
-
For `grilling`, `research`, and `prototype`, closure notes must include:
|
|
310
|
-
|
|
311
|
-
- answer
|
|
312
|
-
- accepted direction
|
|
313
|
-
- artifacts or evidence
|
|
314
|
-
- created or updated epics/stories
|
|
315
|
-
|
|
316
|
-
Do not create or update implementation `epic` or `story` items from unresolved learning work.
|
|
317
|
-
|
|
318
|
-
## Handoff to `create-spec`
|
|
319
|
-
|
|
320
|
-
When `create-spec` is given a backlog-backed epic:
|
|
321
|
-
|
|
322
|
-
- the epic is the spec anchor
|
|
323
|
-
- every child story is mandatory source material
|
|
324
|
-
- the resulting `SPEC.md` must cover all child stories under that epic
|
|
325
|
-
- the spec must preserve per-story requirements while unifying them into one coherent problem-space contract
|
|
326
|
-
|
|
327
|
-
## Provider policy
|
|
328
|
-
|
|
329
|
-
This skill documents raw provider create/setup payloads and provider-native kind storage.
|
|
330
|
-
|
|
331
|
-
In scope:
|
|
332
|
-
|
|
333
|
-
- create issue/work item payload shapes
|
|
334
|
-
- create provider containers needed for the canonical hierarchy
|
|
335
|
-
- required vs optional fields
|
|
336
|
-
- how `kind` appears at creation time
|
|
337
|
-
- how module/epic/story intent appears at creation time
|
|
338
|
-
|
|
339
|
-
Out of scope:
|
|
340
|
-
|
|
341
|
-
- completion-time execution sync
|
|
342
|
-
- comment payloads
|
|
343
|
-
- status churn after backlog creation
|
|
344
|
-
- provider-specific asset upload commands; use `repo-asset-management` for backlog attachments and repo-provider fallback links
|
|
345
|
-
|
|
346
|
-
If a provider cannot express part of the canonical model in one create call:
|
|
347
|
-
|
|
348
|
-
- document the limitation explicitly
|
|
349
|
-
- include the minimal native follow-up call needed to preserve module -> epic -> story
|
|
350
|
-
- do not silently flatten or reshape the model
|
|
102
|
+
Epic bodies contain outcome, scope, cross-story constraints, the immutable spec link, and child story links.
|
|
351
103
|
|
|
352
|
-
|
|
104
|
+
Story bodies contain product outcome, `US-###` sources, `AC-###` coverage, demonstration signal, non-goals, dependencies, and durable accepted-artifact links.
|
|
353
105
|
|
|
354
|
-
|
|
355
|
-
- one `SPEC.md` per child story when the epic is the real capability boundary
|
|
356
|
-
- milestone descriptions that duplicate entire epic bodies
|
|
357
|
-
- story bodies rewritten into execution handoffs after planning
|
|
106
|
+
Keep `PLAN.md` task ids, file paths, validation commands, worker assignments, and code structure out of backlog bodies. Concrete planning remains downstream in `delivery-phase` / `create-plan`.
|
|
@@ -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)
|