@punks/cli 3.3.5 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BASELINE_CHANGELOG.md +10 -2
- package/dist/CHANGELOG.md +22 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -5
- package/dist/baseline/scaffold-baseline/data/catalog/lint-assets.json +5 -0
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +3 -0
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +24 -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/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/index.js +69 -71
- 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/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
|
@@ -9,6 +9,11 @@ Use this skill to turn an existing repository into initial Harness wiki context
|
|
|
9
9
|
|
|
10
10
|
## Workflow
|
|
11
11
|
|
|
12
|
+
Before naming or rewriting domain concepts, read the canonical glossary in the
|
|
13
|
+
routed `requirements-grill` status artifact. Preserve its canonical terms;
|
|
14
|
+
route proposed terminology changes through `requirements-grill` instead of
|
|
15
|
+
silently renaming them.
|
|
16
|
+
|
|
12
17
|
1. Read repo guidance and the scaffolded wiki guidance.
|
|
13
18
|
2. Read `<wiki-root>/backlog-provider.md` and `<wiki-root>/wiki-framework.md`.
|
|
14
19
|
3. Discover backlog context:
|
|
@@ -17,9 +22,20 @@ Use this skill to turn an existing repository into initial Harness wiki context
|
|
|
17
22
|
- Treat remote backlog evidence and local clues as equally important and mandatory when available.
|
|
18
23
|
- If either lane is missing or inaccessible, ask the developer for the backlog location or access path before assuming no backlog exists.
|
|
19
24
|
4. Build and persist the Project Map before asking developer questions.
|
|
20
|
-
5. Run a targeted `requirements-grill` against the Project Map
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
5. Run a targeted `requirements-grill` against the Project Map for project-wide
|
|
26
|
+
reconstruction decisions.
|
|
27
|
+
6. Activate `write-backlog`'s backlog-initialization branch to reconcile the
|
|
28
|
+
Product/Backlog Root, Product Areas, Initiatives, `V*` context, and saved
|
|
29
|
+
views from accepted wiki and provider evidence.
|
|
30
|
+
7. For every candidate existing flow accepted by the onboarding grill, invoke
|
|
31
|
+
`create-spec` and record its readiness result. Project an agent-ready spec
|
|
32
|
+
with `write-backlog` only when the reconstructed evidence already supplies
|
|
33
|
+
the exact existing Epic/Story and accepted projection authority required by
|
|
34
|
+
that branch. Otherwise record the missing authority and exact human Finder
|
|
35
|
+
invocation; retain the compiled spec without provider mutation.
|
|
36
|
+
8. Leave new feature work to explicit human invocation of Business,
|
|
37
|
+
Functional, or Technical Finder. Onboarding never invokes a Finder
|
|
38
|
+
implicitly.
|
|
23
39
|
|
|
24
40
|
For the required Project Map sections, onboarding artifacts, evidence labels, and spec reconstruction rules, read [references/artifact-contract.md](references/artifact-contract.md).
|
|
25
41
|
|
|
@@ -44,4 +60,4 @@ Persist the Project Map and grill status before developer questions. On resume,
|
|
|
44
60
|
- Code can prove observed behavior, not original intent.
|
|
45
61
|
- Reconstructed spec history must be evidence-backed.
|
|
46
62
|
- Do not invent implementation notes, rationale, or tech-debt history without supporting artifacts.
|
|
47
|
-
-
|
|
63
|
+
- Use only `write-backlog` for physical provider mutation.
|
|
@@ -56,9 +56,10 @@ silently renaming them.
|
|
|
56
56
|
work, derive and validate the architecture contract accepted in `SPEC.md`; route missing or contradictory target design back to `requirements-grill`.
|
|
57
57
|
12. Read `references/planner-task-graph.md` and run `$swarm-planner` to produce the swarm graph and `Tn` task contract.
|
|
58
58
|
13. Read `references/tdd-shaping.md` and run `$tdd` to attach RED/GREEN targets to each `Tn` task.
|
|
59
|
-
14. Read `references/backlog-sync.md`.
|
|
60
|
-
|
|
61
|
-
reason and continue plan
|
|
59
|
+
14. Read `references/backlog-sync.md`. For eligible projected work, preserve the
|
|
60
|
+
provider Task identities and native blocker graph returned by
|
|
61
|
+
`write-backlog`; otherwise record an explicit skip reason and continue plan
|
|
62
|
+
completion.
|
|
62
63
|
15. Invoke `$show-me` to present the task graph, dependencies, waves, and
|
|
63
64
|
validation gates from the complete plan state before `$wait-what`. The
|
|
64
65
|
presentation is a derived view; `PLAN.md` fields remain the execution authority.
|
|
@@ -81,12 +82,15 @@ silently renaming them.
|
|
|
81
82
|
8. Assign each task the deduplicated union of skills whose exact triggers match
|
|
82
83
|
in every touched scope, merging all touched scopes for
|
|
83
84
|
cross-directory tasks.
|
|
84
|
-
9. Build
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
9. Build worker waves from the selected task-identity mode. Projected work uses
|
|
86
|
+
provider Tasks and native blocker edges. Planning-only work uses the explicit
|
|
87
|
+
unprojected `Tn` graph. Place every currently unblocked Task with a disjoint
|
|
88
|
+
write scope in the same wave. Use a one-Task wave only when blockers or
|
|
89
|
+
ownership leave one Task unblocked.
|
|
87
90
|
10. Normalize every task with stable ids, `depends_on`, `location`,
|
|
88
91
|
`owned_paths`, `wave_boundary`, `description`, `validation`, `status`, `log`,
|
|
89
|
-
`files edited/created`,
|
|
92
|
+
`files edited/created`, task-identity mode and its required identity fields,
|
|
93
|
+
`assigned_skills`,
|
|
90
94
|
`implementation_skill_guidance`,
|
|
91
95
|
`tdd_status`, `tdd_target`, RED/GREEN commands, evidence fields,
|
|
92
96
|
`codebase_design_notes`, `review_mode`, `runtime_validation`,
|
|
@@ -106,8 +110,9 @@ sections into `PLAN.md` and validate that they are internally consistent.
|
|
|
106
110
|
|
|
107
111
|
- Preserve `No Stack Required` or `Ready` plus its dependency evidence.
|
|
108
112
|
- Do not decide stack topology in `create-plan`.
|
|
109
|
-
-
|
|
110
|
-
|
|
113
|
+
- `depends_on` preserves provider-native Task blocker edges. Those delivery
|
|
114
|
+
blockers do not imply stacked PRs; accepted branch/base intent owns PR
|
|
115
|
+
topology separately.
|
|
111
116
|
- `Blocked` is invalid agent-ready input. Stop planning and report the stale or
|
|
112
117
|
contradictory spec instead of producing an execution-ready plan.
|
|
113
118
|
- If `Branch/Base Intent` is not `Not applicable`, make implementation tasks
|
|
@@ -1,31 +1,63 @@
|
|
|
1
1
|
# Backlog Sync
|
|
2
2
|
|
|
3
|
-
Use this reference only when an authoritative agent-ready `SPEC.md` exists at a
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
3
|
+
Use this reference only when an authoritative agent-ready `SPEC.md` exists at a
|
|
4
|
+
verified stable blob URL and `write-backlog` has projected it into
|
|
5
|
+
provider-native delivery items. Concrete planning follows exact provider
|
|
6
|
+
readback.
|
|
7
|
+
|
|
8
|
+
Backlog sync is eligible and in scope when the planning input retains that spec, its
|
|
9
|
+
projection relation, and a request to maintain the relation. A planning-only
|
|
10
|
+
request without retained projection records an explicit skip reason in
|
|
11
|
+
`PLAN.md` and uses `task_identity_mode: planning-only` for every `Tn`. Mixing
|
|
12
|
+
identity modes in one plan is invalid.
|
|
13
|
+
|
|
14
|
+
## Task identity handoff
|
|
15
|
+
|
|
16
|
+
Use the backlog model owned by `write-backlog` at
|
|
17
|
+
[backlog-model.md](https://github.com/wearedevpunks/skills/blob/main/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md).
|
|
18
|
+
Read its [technical projection
|
|
19
|
+
branch](../../write-backlog/references/technical-projection.md)
|
|
20
|
+
when the handoff includes implementation Tasks. Those references own taxonomy,
|
|
21
|
+
readiness, Task splitting, milestone rules, provider mutation, and readback.
|
|
22
|
+
|
|
23
|
+
Provider Tasks are the one execution graph. Before task synthesis, require the
|
|
24
|
+
exact `write-backlog` readback for every reachable Task:
|
|
25
|
+
|
|
26
|
+
- stable provider Task ID and URL
|
|
27
|
+
- stable parent Story identity and the same contextual `V*`
|
|
28
|
+
- native blocker edges resolved by stable provider Task ID
|
|
29
|
+
- immutable spec and Fog provenance links
|
|
30
|
+
|
|
31
|
+
`Tn` is a short plan alias for exactly one provider Task. Copy its ID into
|
|
32
|
+
`backlog_item_id`, its URL into `backlog_item_url`, and translate each native
|
|
33
|
+
blocker edge into `depends_on` through that one-to-one alias map. Preserve the
|
|
34
|
+
Task's same `V*` membership in the plan context. Worker waves derive from these
|
|
35
|
+
provider Tasks and native blockers, with disjoint `owned_paths` deciding which
|
|
36
|
+
unblocked Tasks may run in parallel.
|
|
37
|
+
|
|
38
|
+
Planning cannot create a second Task identity or private execution graph. When
|
|
39
|
+
a required provider Task, milestone membership, parent, source link, or blocker
|
|
40
|
+
edge is missing or stale, route the delta through `write-backlog` and resume
|
|
41
|
+
only from its exact readback. Planning performs no provider mutation.
|
|
42
|
+
|
|
43
|
+
## Planning-only identity handoff
|
|
44
|
+
|
|
45
|
+
When provider projection is not retained, `Tn` is the only execution identity.
|
|
46
|
+
Set `task_identity_mode: planning-only`, `backlog_item_id: not_applicable`,
|
|
47
|
+
`backlog_item_url: not_applicable`, and `relation_mode: unprojected`. Record one
|
|
48
|
+
nonempty `backlog_sync_skip_reason` on every task. In this mode, `depends_on`
|
|
49
|
+
names other `Tn` identities in the same plan, and each task still carries exact
|
|
50
|
+
ownership, validation, and evidence fields. Provider parent, milestone,
|
|
51
|
+
provenance, blocker, mutation, and readback claims are absent because no
|
|
52
|
+
provider projection exists.
|
|
53
|
+
|
|
54
|
+
## Completion criterion
|
|
55
|
+
|
|
56
|
+
Backlog sync is complete when the plan uses exactly one identity mode. In
|
|
57
|
+
`provider-task` mode, every `Tn` resolves one stable provider Task ID and URL,
|
|
58
|
+
every `depends_on` mirrors one native blocker edge, every Task retains its
|
|
59
|
+
Story's `V*`, and provider readback proves the graph. In `planning-only` mode,
|
|
60
|
+
every `Tn` carries the required `not_applicable` provider fields, `unprojected`
|
|
61
|
+
relation mode, and a nonempty skip reason. Keep files, commands, tests, workers,
|
|
62
|
+
and validation evidence in `PLAN.md`; keep projected provider bodies
|
|
63
|
+
owner-ready and product-facing through `write-backlog`.
|
|
@@ -49,9 +49,11 @@ Every task must include:
|
|
|
49
49
|
- `status`
|
|
50
50
|
- `log`
|
|
51
51
|
- `files edited/created`
|
|
52
|
+
- `task_identity_mode`
|
|
52
53
|
- `backlog_item_id`
|
|
53
54
|
- `backlog_item_url`
|
|
54
55
|
- `relation_mode`
|
|
56
|
+
- `backlog_sync_skip_reason`
|
|
55
57
|
- `assigned_skills`
|
|
56
58
|
- `implementation_skill_guidance`
|
|
57
59
|
- `tdd_status`
|
|
@@ -88,7 +90,23 @@ parallelism id. `responsibility_acceptance_criteria` lists the stable criterion
|
|
|
88
90
|
Every listed id must exist in the plan-level Responsibility Acceptance Criteria view, whose entry declares its
|
|
89
91
|
`due_architecture_wave`. Each criterion maps to at least one task and exactly one due architecture wave.
|
|
90
92
|
|
|
91
|
-
`
|
|
93
|
+
`task_identity_mode` is uniform across the plan:
|
|
94
|
+
|
|
95
|
+
- `provider-task`: `backlog_item_id` records the stable provider Task identity,
|
|
96
|
+
`backlog_item_url` records that exact Task's provider URL, `relation_mode` is
|
|
97
|
+
`native` or `body-links`, and `backlog_sync_skip_reason` is blank. Each `Tn`
|
|
98
|
+
is a plan alias for one provider Task, never a second execution identity.
|
|
99
|
+
Preserve the Task's exact parent Story, same `V*`, source links, and provider
|
|
100
|
+
readback in the plan context.
|
|
101
|
+
- `planning-only`: `Tn` is the execution identity. Set `backlog_item_id` and
|
|
102
|
+
`backlog_item_url` to `not_applicable`, `relation_mode` to `unprojected`, and
|
|
103
|
+
record a nonempty `backlog_sync_skip_reason`. Provider parent, milestone,
|
|
104
|
+
provenance, blocker, and readback claims are absent.
|
|
105
|
+
|
|
106
|
+
In `provider-task` mode, `depends_on` preserves or mirrors native provider Task
|
|
107
|
+
blocker edges through the `Tn` alias map. In `planning-only` mode, it names
|
|
108
|
+
other `Tn` identities in the same plan. Worker waves derive from the applicable
|
|
109
|
+
graph and disjoint ownership.
|
|
92
110
|
|
|
93
111
|
`owned_paths` lists the exact write scope assigned to the task. Tasks in the
|
|
94
112
|
same wave must have disjoint `owned_paths`.
|
|
@@ -96,9 +114,8 @@ same wave must have disjoint `owned_paths`.
|
|
|
96
114
|
`wave_boundary` names the explicit execution wave derived from completed
|
|
97
115
|
dependencies and disjoint ownership, for example `W1`.
|
|
98
116
|
|
|
99
|
-
Multiple
|
|
100
|
-
|
|
101
|
-
Do not create a new backlog item only because a task boundary exists in the plan.
|
|
117
|
+
Multiple provider Tasks may share one parent Story. Planning preserves those
|
|
118
|
+
separate provider identities and cannot create another Task identity for them.
|
|
102
119
|
|
|
103
120
|
`assigned_skills` must list the skills used to shape the task during planning, not only skills expected during implementation. Skill guidance should be reflected in the task's boundary, validation, `tdd_target`, `codebase_design_notes`, and `review_mode`.
|
|
104
121
|
|
|
@@ -145,9 +162,11 @@ Use `not_applicable` for the other runtime fields when `runtime_validation: not_
|
|
|
145
162
|
- **status**: Planned
|
|
146
163
|
- **log**:
|
|
147
164
|
- **files edited/created**:
|
|
165
|
+
- **task_identity_mode**: provider-task | planning-only
|
|
148
166
|
- **backlog_item_id**: CP-128
|
|
149
|
-
- **backlog_item_url**: https://linear.app/workspace/issue/CP-128/example-
|
|
150
|
-
- **relation_mode**: native | body-links
|
|
167
|
+
- **backlog_item_url**: https://linear.app/workspace/issue/CP-128/example-task
|
|
168
|
+
- **relation_mode**: native | body-links | unprojected
|
|
169
|
+
- **backlog_sync_skip_reason**:
|
|
151
170
|
- **assigned_skills**: [`effect`, `tdd`]
|
|
152
171
|
- **implementation_skill_guidance**:
|
|
153
172
|
- **skill**: `effect`
|
|
@@ -14,7 +14,8 @@ no questions, runs no local grill, and performs no backlog mutation.
|
|
|
14
14
|
Accept confirmed user decisions and their evidence: grill status/logs, research
|
|
15
15
|
reports, prototype verdicts, ADRs, glossary, axioms, constraints, system facts,
|
|
16
16
|
accepted implementation or testing decisions, dependency evidence, and accepted
|
|
17
|
-
parent/base constraints.
|
|
17
|
+
parent/base constraints. A Technical Finder invocation also supplies the exact
|
|
18
|
+
selected Story context required by the readiness contract.
|
|
18
19
|
|
|
19
20
|
## Steps
|
|
20
21
|
|
|
@@ -48,9 +49,14 @@ silently renaming them.
|
|
|
48
49
|
|
|
49
50
|
## Boundaries
|
|
50
51
|
|
|
51
|
-
- `SPEC.md` is provider-neutral authority
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
- `SPEC.md` is provider-neutral authority for resolved requirements. During a
|
|
53
|
+
Technical Finder invocation, Business and Functional Finder establish the
|
|
54
|
+
Area, Initiative, Epic, and exact Story before the Technical stage compiles
|
|
55
|
+
the Story-scoped spec. Non-Finder compilation requires no provider Story.
|
|
56
|
+
In that Finder path, stable retention lets `write-backlog`'s Technical
|
|
57
|
+
projection enrich the exact Story and create its provider Task graph.
|
|
58
|
+
`create-plan` preserves those Task identities and owns files, commands,
|
|
59
|
+
workers, and validation detail.
|
|
54
60
|
- A mutable path or local-only commit is not a backlog handoff. `write-backlog`
|
|
55
61
|
receives only the verified stable blob URL.
|
|
56
62
|
- Accepted technical and testing decisions belong in the spec. Detailed task
|
|
@@ -14,6 +14,10 @@ Required inputs:
|
|
|
14
14
|
accepted branch/base intent with concrete evidence; blocked or unevidenced
|
|
15
15
|
dependencies fail compilation
|
|
16
16
|
|
|
17
|
+
Technical Finder adds one conditional input: the exact selected Story context
|
|
18
|
+
established by its accepted Functional child. Non-Finder compilation has no
|
|
19
|
+
provider Story precondition.
|
|
20
|
+
|
|
17
21
|
## Dependency output contract
|
|
18
22
|
|
|
19
23
|
Serialize both sections in every compiled spec:
|
|
@@ -37,6 +37,23 @@ Follow [references/parallel.md](references/parallel.md) as the execution contrac
|
|
|
37
37
|
The parent owns wave orchestration and shared artifacts. Scoped workers own
|
|
38
38
|
implementation tasks.
|
|
39
39
|
|
|
40
|
+
## Task identity state
|
|
41
|
+
|
|
42
|
+
Read the plan's uniform `task_identity_mode` before execution.
|
|
43
|
+
|
|
44
|
+
- `provider-task`: each `Tn` aliases one stable provider Task. Immediately
|
|
45
|
+
activate `write-backlog` through its
|
|
46
|
+
[delivery-status.md](../write-backlog/references/delivery-status.md) branch for
|
|
47
|
+
a directly observed work start, blocker, pull request, merge, staging
|
|
48
|
+
deployment, or production deployment. Require exact readback before
|
|
49
|
+
advancing that Task and preserve its identity unchanged.
|
|
50
|
+
- `planning-only`: each `Tn` is the execution identity. Keep
|
|
51
|
+
`backlog_item_id` and `backlog_item_url` as `not_applicable`, preserve
|
|
52
|
+
`relation_mode: unprojected` and the skip reason, and advance from plan
|
|
53
|
+
dependencies and validation. Emit no provider Task status or readback claim.
|
|
54
|
+
|
|
55
|
+
Provider mechanics remain inside `write-backlog`.
|
|
56
|
+
|
|
40
57
|
## Quick start
|
|
41
58
|
|
|
42
59
|
1. Resolve the target spec folder by checking, in order: `apps/wiki/content/docs/project/specs/<domain>/<spec>/`, legacy `apps/wiki/specs/<domain>/<spec>/`, then `docs/specs/<domain>/<spec>/`.
|
|
@@ -53,7 +70,9 @@ implementation tasks.
|
|
|
53
70
|
6. Use `$codebase-design` vocabulary while reviewing each worker change: interface, seam, adapter, depth, leverage, locality, and test surface.
|
|
54
71
|
7. Resolve implementation debt as soon as it appears. Do not leave "later" work, TODOs, temporary compromises, or vague follow-up debt.
|
|
55
72
|
8. If a debt item needs a product/scope decision outside the active goal, stop and run a very small `$requirements-phase` clarification before continuing.
|
|
56
|
-
9.
|
|
73
|
+
9. Keep provider Task bodies owner-ready. Route lifecycle facts through
|
|
74
|
+
`write-backlog` instead of rewriting Epic, Story, or Task bodies with
|
|
75
|
+
execution handoff detail.
|
|
57
76
|
10. For UI implementation changes, follow [references/ui-screenshot-evidence.md](references/ui-screenshot-evidence.md) and use `repo-asset-management` for durable before/after asset links.
|
|
58
77
|
11. For tasks with `runtime_validation: required`, follow [references/runtime-product-validation.md](references/runtime-product-validation.md) and do not mark them complete without conclusive runtime evidence; an exact blocker keeps the task blocked.
|
|
59
78
|
12. After task and runtime checks, run `$verify-behavior` in `verify` mode for
|
|
@@ -105,6 +105,11 @@ Do not create the file when nothing durable must survive the run.
|
|
|
105
105
|
## 6. Shared execution invariants
|
|
106
106
|
|
|
107
107
|
- Require every planned task to declare dependencies, owned paths, validation gates, and a wave boundary.
|
|
108
|
+
- Read the plan's uniform `task_identity_mode`. In `provider-task` mode, require
|
|
109
|
+
every `Tn` to resolve one stable provider Task ID and URL and preserve that
|
|
110
|
+
identity, its same `V*`, and native blocker edges. In `planning-only` mode,
|
|
111
|
+
keep `Tn` as the execution identity, provider fields `not_applicable`,
|
|
112
|
+
`relation_mode: unprojected`, and the nonempty backlog-sync skip reason.
|
|
108
113
|
- Build each wave from tasks whose dependencies are complete and whose write scopes are disjoint.
|
|
109
114
|
- Workers own implementation changes. The parent coordinates, reviews, validates, updates shared artifacts, and finalizes.
|
|
110
115
|
- A wave may contain one worker when dependencies or owned paths leave one task unblocked.
|
|
@@ -126,9 +131,19 @@ Do not create the file when nothing durable must survive the run.
|
|
|
126
131
|
- Keep scope discipline. Out-of-scope findings that do not affect the current implementation go to `IMPLEMENTATION-NOTES.md`, not silent scope creep.
|
|
127
132
|
- Never leave sloppy debt, TODO placeholders, temporary compromises, or "later" implementation notes for in-goal work.
|
|
128
133
|
- When unclear debt affects the current implementation and the answer is not already in the spec/plan/backlog, pause for a tiny `$requirements-phase` clarification instead of guessing.
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
|
|
134
|
+
- In `provider-task` mode, load `write-backlog`'s
|
|
135
|
+
[delivery-status.md](../../write-backlog/references/delivery-status.md) branch
|
|
136
|
+
for lifecycle facts. When work starts, becomes blocked, gains a pull request,
|
|
137
|
+
merges, or receives staging or production evidence, immediately call
|
|
138
|
+
`write-backlog` with only the directly observed fact and require exact
|
|
139
|
+
readback before advancing the Task. Planning-only tasks emit no provider
|
|
140
|
+
lifecycle mutation or readback claim.
|
|
141
|
+
- Merge, staging, and production are distinct observations. Merge is never
|
|
142
|
+
deployment evidence. Fog completion remains production-only and requires
|
|
143
|
+
production evidence for every accepted resulting Story and Task.
|
|
144
|
+
- Never rewrite Epic, Story, or Task bodies with Task ids, TDD targets,
|
|
145
|
+
validation commands, or file lists. Provider mapping and mutations remain in
|
|
146
|
+
`write-backlog`.
|
|
132
147
|
|
|
133
148
|
## 7. Shared upkeep after each completed wave
|
|
134
149
|
|
|
@@ -156,6 +171,8 @@ After each completed wave:
|
|
|
156
171
|
- resolve any in-goal debt before advancing
|
|
157
172
|
- update the spec-linked tech-debt file only for blocked or explicitly parked debt with exact owner/next action
|
|
158
173
|
- if backlog sync is in scope, prefer native metadata changes or concise comments over body rewrites
|
|
174
|
+
- in `provider-task` mode, verify every observed provider Task fact has exact
|
|
175
|
+
`write-backlog` readback; a missing readback keeps that Task blocked
|
|
159
176
|
|
|
160
177
|
## 8. Handle blockers honestly
|
|
161
178
|
|
|
@@ -1,45 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wayfinder
|
|
3
|
-
description:
|
|
3
|
+
description: Recommend grilling, readonly research, or a prototype for one precise unknown already owned by an active workflow.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Wayfinder
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Nonmutating decision-support primitive for one precise unknown already owned by
|
|
9
|
+
a Finder grilling child or another active workflow.
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
payloads, create specs, plan implementation, or own backlog schema.
|
|
11
|
+
## Selection
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
1. Read the precise unknown, owning item, current evidence, and decision owner.
|
|
14
|
+
2. Recommend exactly one route:
|
|
15
|
+
- `grilling` when a human choice closes the unknown;
|
|
16
|
+
- `research` when readonly evidence can answer it;
|
|
17
|
+
- `prototype` when learning requires an artifact and human verdict.
|
|
18
|
+
3. Return one recommendation, the evidence that selected it, the owning item,
|
|
19
|
+
and the result required before the active workflow can resume.
|
|
14
20
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
2. Inspect the current operating surface.
|
|
19
|
-
- Prefer provider backlog state when available.
|
|
20
|
-
- Treat docs, specs, grill logs, and notes as evidence, not the living map.
|
|
21
|
-
|
|
22
|
-
3. Classify the next item.
|
|
23
|
-
- `fog`: root-level uncertainty; no capability module or execution shape is clear yet.
|
|
24
|
-
- `grilling`: a human decision must close ambiguity.
|
|
25
|
-
- `research`: readonly investigation can answer the unknown.
|
|
26
|
-
- `prototype`: learning requires an artifact or experiment.
|
|
27
|
-
- `epic`: post-spec capability projection.
|
|
28
|
-
- `story`: accepted product-facing slice belongs under an epic.
|
|
29
|
-
|
|
30
|
-
4. Choose placement.
|
|
31
|
-
- Keep `fog` at the backlog root.
|
|
32
|
-
- For every non-fog item, choose or propose a capability module first.
|
|
33
|
-
- Keep stories under epics.
|
|
34
|
-
- Execution milestones are separately blocker-derived chronology; they do
|
|
35
|
-
not determine capability placement.
|
|
36
|
-
|
|
37
|
-
5. Return a route.
|
|
38
|
-
- State the selected concept, placement, evidence, unresolved questions, and recommended next skill.
|
|
39
|
-
|
|
40
|
-
## Completion Criteria
|
|
41
|
-
|
|
42
|
-
- One route is selected.
|
|
43
|
-
- The selected concept is one of `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
|
|
44
|
-
- Provider materialization is explicitly delegated to `write-backlog` when backlog writes are needed.
|
|
45
|
-
- The handoff says whether the next move is requirements, research, prototype, backlog writing, spec creation, or delivery.
|
|
21
|
+
The active workflow owns state, placement, lifecycle, and mutation. Wayfinder
|
|
22
|
+
creates no item, changes no provider, and authorizes no projection or delivery.
|
|
@@ -1,41 +1,57 @@
|
|
|
1
1
|
# Write Backlog Examples
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Reconstruct An Existing Product
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The wiki identifies the product goal, owner, repository, two Product Areas, and
|
|
6
|
+
three Initiatives. Fresh provider reads find the same Product/Backlog Root and
|
|
7
|
+
one current and one future `V*` milestone under stable identities.
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
Existing structure is reused. The proposal enriches missing root metadata,
|
|
10
|
+
links the wiki and repository, and adds the missing Fogs view. `$show-me`
|
|
11
|
+
presents that structural delta. After explicit approval, exact readback proves
|
|
12
|
+
the metadata, links, milestone context, and Product Map, Roadmap, Fogs, and
|
|
13
|
+
Current Delivery views.
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
- `US-001`: Team lead restores ownership of an unassigned submission.
|
|
13
|
-
- `AC-001` — `Covers: US-001`: Reassignment preserves notes and evidence.
|
|
14
|
-
- `AC-002` — `Covers: US-001`: The new owner sees the submission in their queue.
|
|
15
|
+
## Cumulative Finder Projection
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
One Fog records a product owner's request.
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
1. **Business**: accepted Business grilling reuses Product Area `Knowledge` and
|
|
20
|
+
Initiative `Reliable answers`, then enriches Epic `Source quality`. The Fog
|
|
21
|
+
links to all three; no duplicate structure is created.
|
|
22
|
+
2. **Functional**: one accepted Functional child creates Story `Reader sees why
|
|
23
|
+
an answer is trustworthy` in `V4.0`. Its body preserves the product outcome,
|
|
24
|
+
`US-001`, `AC-001`, demonstration, evidence, and Fog provenance.
|
|
25
|
+
3. **Technical**: an authoritative agent-ready `SPEC.md` at a stable blob URL
|
|
26
|
+
enriches the existing Epic and Story with immutable spec authority, then
|
|
27
|
+
creates required Task `Expose source confidence` and Task `Render confidence
|
|
28
|
+
explanation`. Both inherit `V4.0`; the second is blocked by the first.
|
|
24
29
|
|
|
25
|
-
|
|
30
|
+
The Task graph has stable provider identities, no missing target, no
|
|
31
|
+
future-iteration dependency, no self-edge, and no cycle. Exact readback proves
|
|
32
|
+
the Story parent and milestone, both Task parents and milestones, the native
|
|
33
|
+
blocker, source links, and Fog relations.
|
|
26
34
|
|
|
27
|
-
##
|
|
35
|
+
## Existing Milestone Wins
|
|
28
36
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
37
|
+
The accepted Functional resolution targets the current product increment. A
|
|
38
|
+
fresh provider read finds a fitting `V4.0` milestone with the same goal and
|
|
39
|
+
outcomes. Reuse it. Do not propose another milestone because its display title
|
|
40
|
+
differs from the draft wording.
|
|
32
41
|
|
|
33
|
-
If
|
|
42
|
+
If milestone metadata is supported, preserve Version name, One-sentence product
|
|
43
|
+
goal, and Included product outcomes or capability changes. Otherwise preserve
|
|
44
|
+
the version name alone.
|
|
34
45
|
|
|
35
|
-
##
|
|
46
|
+
## Ambiguous Identity
|
|
36
47
|
|
|
37
|
-
|
|
48
|
+
Two Epics share a similar title, and neither carries the Fog's durable wiki
|
|
49
|
+
identity. Show both candidates and return the identity gap with zero writes.
|
|
50
|
+
Title similarity cannot select an upsert target.
|
|
38
51
|
|
|
39
|
-
##
|
|
52
|
+
## Partial Provider Failure
|
|
40
53
|
|
|
41
|
-
|
|
54
|
+
The Story write succeeds and the second Task relation fails. Stop, read back the
|
|
55
|
+
Story, Tasks, milestone memberships, and blockers, then return observed IDs plus
|
|
56
|
+
the missing relation. A retry reconciles fresh state and writes only that
|
|
57
|
+
validated relation.
|