@punks/cli 3.3.6 → 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 +14 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -5
- 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 +6 -6
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +20 -4
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +14 -9
- package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +61 -29
- package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +25 -6
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +10 -4
- package/dist/skills/agnostic/planning/create-spec/references/readiness.md +4 -0
- package/dist/skills/agnostic/planning/implement-spec/SKILL.md +20 -1
- package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +20 -3
- package/dist/skills/agnostic/planning/wayfinder/SKILL.md +13 -36
- package/dist/skills/agnostic/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
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: functional-finder
|
|
3
|
+
description: Define shippable product behavior through cumulative Business and Functional grilling.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Functional Finder
|
|
8
|
+
|
|
9
|
+
Human entrypoint for a technical or proficient nontechnical user. Use precise
|
|
10
|
+
project language. Define product behavior one level below Business scope and
|
|
11
|
+
stop before engineering design or Task decomposition.
|
|
12
|
+
|
|
13
|
+
## Inputs
|
|
14
|
+
|
|
15
|
+
- one product-behavior request
|
|
16
|
+
- optional stable provider or durable wiki Fog identity
|
|
17
|
+
- optional exact accepted Business child and Product Area -> Initiative -> Epic
|
|
18
|
+
path
|
|
19
|
+
- product context, constraints, dependencies, and milestone preference supplied
|
|
20
|
+
by the human
|
|
21
|
+
|
|
22
|
+
## Composition
|
|
23
|
+
|
|
24
|
+
Directly compose [the Finder engine](../finder-phase/SKILL.md) with target
|
|
25
|
+
depth: `Functional`. This is cumulative Business and Functional depth over one
|
|
26
|
+
Fog; this adapter supplies only its audience, presentation, and return profile.
|
|
27
|
+
|
|
28
|
+
Reuse a fresh accepted Business child. When none exists, an exact existing
|
|
29
|
+
Product Area -> Initiative -> Epic path from provider readback plus the
|
|
30
|
+
human's explicit `reuse-unchanged` decision takes the fast path without
|
|
31
|
+
changing business scope. Its Business-path adoption gate creates the required
|
|
32
|
+
Business child and immutable resolution without a Business grill. Otherwise
|
|
33
|
+
let the engine complete Business grilling
|
|
34
|
+
before Functional grilling. When accepted lower-stage evidence needs repair,
|
|
35
|
+
the engine may enrich existing Business structures before it continues. The
|
|
36
|
+
engine's
|
|
37
|
+
[Functional gate](../finder-phase/phases/functional-grilling.md) composes atomic
|
|
38
|
+
`$grilling` and resolves one Functional child per accepted Story intent.
|
|
39
|
+
|
|
40
|
+
## Presentation
|
|
41
|
+
|
|
42
|
+
Before grilling, use the smallest authoritative `$show-me` view to show the
|
|
43
|
+
current Business path, relevant existing Stories and `V*` milestones, and the
|
|
44
|
+
requested product behavior. Continue to use `$show-me` at each decision about:
|
|
45
|
+
|
|
46
|
+
- the observable workflow
|
|
47
|
+
- the Story split and Story boundaries
|
|
48
|
+
- an alternate path or failure path
|
|
49
|
+
- a product dependency
|
|
50
|
+
- the milestone iteration
|
|
51
|
+
- the final Story write
|
|
52
|
+
|
|
53
|
+
When terminology or behavior does not land, use `$wait-what`: pause, repitch in
|
|
54
|
+
plain language with accepted project terms, and ask again. Preserve the user's
|
|
55
|
+
language when it already matches those terms.
|
|
56
|
+
|
|
57
|
+
## Functional depth
|
|
58
|
+
|
|
59
|
+
For each proposed Story, settle the actor, trigger, observable workflow and
|
|
60
|
+
result, applicable business rules, visible alternate or failure paths,
|
|
61
|
+
product-level edge cases, acceptance signals, Story boundaries, known product
|
|
62
|
+
dependencies, and unresolved engineering questions.
|
|
63
|
+
|
|
64
|
+
Assign exactly one contextual `V*` milestone to each Story. Reuse a fitting
|
|
65
|
+
existing `V*` milestone before proposing a new one. Show and obtain approval
|
|
66
|
+
before moving accepted work to another milestone.
|
|
67
|
+
|
|
68
|
+
After immutable Functional evidence is accepted, hand semantic projection
|
|
69
|
+
intent to `$write-backlog`. It is the physical mutation authority and must
|
|
70
|
+
write and read back exactly one Story per accepted Functional child.
|
|
71
|
+
|
|
72
|
+
## Return
|
|
73
|
+
|
|
74
|
+
Return the exact Fog identity, accepted Business child identity and resolution
|
|
75
|
+
pointer, selected Functional child identities and resolution pointers, the
|
|
76
|
+
resolved Product Area -> Initiative -> Epic path, exact Story provider
|
|
77
|
+
identities and readback, milestone membership, unresolved decisions, and the
|
|
78
|
+
durable Finder handoff. Stop at the engine's `target_depth_reached` outcome.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: technical-finder
|
|
3
|
+
description: Resolve Story delivery through cumulative Business, Functional, and Technical grilling.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Technical Finder
|
|
8
|
+
|
|
9
|
+
Human entrypoint for a technical user. Close technical requirements for
|
|
10
|
+
accepted Stories without taking ownership of implementation or provider writes.
|
|
11
|
+
|
|
12
|
+
## Composition
|
|
13
|
+
|
|
14
|
+
Directly compose [the Finder engine](../finder-phase/SKILL.md) with target
|
|
15
|
+
depth: `Technical`. This is cumulative Business, Functional, and Technical
|
|
16
|
+
depth over one Fog; this adapter supplies only its audience, presentation, and
|
|
17
|
+
return profile. The engine's [Technical gate](../finder-phase/phases/technical-grilling.md)
|
|
18
|
+
owns the executable per-Story sequence and durable state.
|
|
19
|
+
|
|
20
|
+
## Story-scoped presentation
|
|
21
|
+
|
|
22
|
+
Let the engine validate and reuse fresh accepted Business and Functional
|
|
23
|
+
stages. It resumes the first missing or invalidated stage and selects one Story
|
|
24
|
+
at a time for Technical resolution.
|
|
25
|
+
|
|
26
|
+
Present the selected gate's evidence in its authoritative order:
|
|
27
|
+
|
|
28
|
+
1. Reuse or allocate the durable Technical child identity for the exact Fog,
|
|
29
|
+
Stage `Technical`, and stable Story identity; show the `$write-backlog`
|
|
30
|
+
child-shell ensure and exact readback.
|
|
31
|
+
2. Open or resume exactly one durable full `$requirements-grill` once per Story.
|
|
32
|
+
3. Show the immutable accepted resolution persisted on that Technical child.
|
|
33
|
+
4. Show `$create-spec` returning `readiness: agent-ready` and a verified stable
|
|
34
|
+
blob URL.
|
|
35
|
+
5. Show the nonempty Task intent derived from that specification.
|
|
36
|
+
6. Show the `$write-backlog` Technical projection and exact Task/relation
|
|
37
|
+
readback.
|
|
38
|
+
7. Re-enter the Finder router so accepted pending projection reconciles before
|
|
39
|
+
the next Story is selected.
|
|
40
|
+
|
|
41
|
+
A Technical child shell exists before `$requirements-grill` and cannot
|
|
42
|
+
authorize projection. Preserve the same child and requirements artifacts on
|
|
43
|
+
resume. A duplicate or ambiguous child returns zero writes and human steering.
|
|
44
|
+
`spec-not-ready`, a missing verified blob, or an empty Task intent returns zero
|
|
45
|
+
Technical projection through the engine's declared handback route.
|
|
46
|
+
|
|
47
|
+
This wrapper advances none of those steps itself. `$requirements-grill` owns
|
|
48
|
+
decision closure, `$create-spec` owns specification compilation, and
|
|
49
|
+
`$write-backlog` remains the sole physical provider mutation and readback
|
|
50
|
+
authority.
|
|
51
|
+
|
|
52
|
+
## Task projection
|
|
53
|
+
|
|
54
|
+
The semantic intent carries the exact Story and milestone, immutable Technical
|
|
55
|
+
resolution and specification URL, a nonempty Task set, and the complete intended
|
|
56
|
+
blocker graph. Each proposed responsibility must be atomic and independently
|
|
57
|
+
owner-ready. `$write-backlog` validates the full reachable graph, same-`V*`
|
|
58
|
+
membership, cross-Story or cross-Epic blockers, and provider representation
|
|
59
|
+
before it writes anything.
|
|
60
|
+
|
|
61
|
+
Use `$show-me` to present the Story boundary, accepted specification, proposed
|
|
62
|
+
Task split, parallel work, and blocker topology. Preserve writer-owned approval
|
|
63
|
+
gates and return its exact rejection, partial-write, or readback evidence to the
|
|
64
|
+
Finder engine without implementing provider mechanics here.
|
|
65
|
+
|
|
66
|
+
## Return
|
|
67
|
+
|
|
68
|
+
At `target_depth_reached`, return the exact Fog identity, all stage children and
|
|
69
|
+
their immutable pointers, resolved product path and Stories, specification URLs,
|
|
70
|
+
Task IDs and URLs, blocker edges, milestone membership, exact readback, support
|
|
71
|
+
evidence, unresolved decisions, and durable Finder handoff.
|
|
72
|
+
|
|
73
|
+
Reaching Technical depth does not complete the Fog. Return its remaining
|
|
74
|
+
production-evidence obligations so delivery can prove completion later.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@punks/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Harness Intelligence scaffolding CLI",
|
|
5
5
|
"homepage": "https://github.com/wearedevpunks/harness-intelligence/tree/main/apps/cli#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@effect/eslint-plugin": "latest",
|
|
51
51
|
"@effect/platform-bun": "catalog:",
|
|
52
|
+
"@effect/tsgo": "0.36.5",
|
|
52
53
|
"@effect/vitest": "catalog:",
|
|
53
54
|
"@oxlint/plugins": "latest",
|
|
54
55
|
"@punks/contract": "workspace:*",
|
|
@@ -56,7 +57,8 @@
|
|
|
56
57
|
"@punks/scaffold": "workspace:*",
|
|
57
58
|
"@types/node": "catalog:",
|
|
58
59
|
"effect": "catalog:",
|
|
59
|
-
"oxlint": "
|
|
60
|
+
"oxlint": "1.78.0",
|
|
61
|
+
"oxlint-tsgolint": "7.0.2001",
|
|
60
62
|
"typescript": "catalog:",
|
|
61
63
|
"ultracite": "latest",
|
|
62
64
|
"vitest": "catalog:"
|
package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/convergence.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Convergence
|
|
2
|
-
|
|
3
|
-
## Resume Input
|
|
4
|
-
|
|
5
|
-
Resume from the backlog root, destination, current mode, claimed ticket, native
|
|
6
|
-
dependencies, and immutable child-flow resolution pointers. Re-read provider
|
|
7
|
-
state; a prose handoff is evidence, not authoritative map state.
|
|
8
|
-
|
|
9
|
-
## Child Dispatch
|
|
10
|
-
|
|
11
|
-
- `grilling` -> `requirements-grill`; only the human closes product decisions.
|
|
12
|
-
- `research` -> `parallel-research` in durable-report mode; require the retained
|
|
13
|
-
report's immutable commit SHA and path. Facts may close, product direction may
|
|
14
|
-
not.
|
|
15
|
-
- `prototype` -> `prototype-phase`; wait for a human verdict.
|
|
16
|
-
- closed or explicitly parked frontier -> `create-spec`.
|
|
17
|
-
|
|
18
|
-
Dispatch one bounded child flow per work session.
|
|
19
|
-
|
|
20
|
-
## Provider Mutation Boundary
|
|
21
|
-
|
|
22
|
-
A claim is a semantic output of Finder: ticket, claimant, and intended native
|
|
23
|
-
assignment/state change. When provider mutation is in scope, delegate that
|
|
24
|
-
physical write to `write-backlog` and confirm it before child dispatch.
|
|
25
|
-
|
|
26
|
-
A resolution is a semantic output of Finder: ticket, result, immutable evidence
|
|
27
|
-
pointer, and intended native state change. Delegate the physical resolution
|
|
28
|
-
write to `write-backlog` and confirm it before recomputing the frontier.
|
|
29
|
-
|
|
30
|
-
## Reconciliation
|
|
31
|
-
|
|
32
|
-
1. Verify the child result and immutable evidence pointer.
|
|
33
|
-
2. Produce the semantic resolution and route its provider-native write through
|
|
34
|
-
`write-backlog`.
|
|
35
|
-
3. Repair claims, dependencies, or scope invalidated by the result.
|
|
36
|
-
4. Move newly discovered out-of-scope work to the appropriate backlog root or
|
|
37
|
-
explicitly park it; never smuggle it into the active destination.
|
|
38
|
-
5. Graduate newly precise fog and recompute open, unblocked, unclaimed tickets.
|
|
39
|
-
6. Return the next ticket, a chart-mode repair, or a closed frontier.
|
package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/frontier-lifecycle.md
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# Frontier Lifecycle
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
The frontier is the set of open, unblocked, and unclaimed decision tickets.
|
|
6
|
-
|
|
7
|
-
The backlog root is the living map. Docs, specs, grill logs, and notes are evidence for updating that map.
|
|
8
|
-
|
|
9
|
-
## States
|
|
10
|
-
|
|
11
|
-
### Fog
|
|
12
|
-
|
|
13
|
-
- Root-level only.
|
|
14
|
-
- Tracks a real but not-yet-sharp area through a frontier or uncertainty description.
|
|
15
|
-
- Graduates when Finder can derive a precise question for `grilling`, `research`,
|
|
16
|
-
or `prototype`; the fog item itself does not require that question.
|
|
17
|
-
- Is not delivery-eligible.
|
|
18
|
-
- Is not a `SPEC.md` anchor.
|
|
19
|
-
- Does not own child tickets by default.
|
|
20
|
-
|
|
21
|
-
### Grilling
|
|
22
|
-
|
|
23
|
-
- Capability-module-scoped.
|
|
24
|
-
- Used when a human decision must close ambiguity.
|
|
25
|
-
- Closes with an accepted decision note before implementation scope changes.
|
|
26
|
-
|
|
27
|
-
### Research
|
|
28
|
-
|
|
29
|
-
- Capability-module-scoped.
|
|
30
|
-
- Used when readonly investigation can answer the unknown.
|
|
31
|
-
- Closes with answer and immutable evidence. Wayfinder, not research, selects
|
|
32
|
-
any product direction.
|
|
33
|
-
|
|
34
|
-
### Prototype
|
|
35
|
-
|
|
36
|
-
- Capability-module-scoped.
|
|
37
|
-
- Used when learning needs an artifact, experiment, or throwaway proof.
|
|
38
|
-
- Closes with a human verdict and immutable artifact/verdict evidence.
|
|
39
|
-
|
|
40
|
-
### Epic
|
|
41
|
-
|
|
42
|
-
- Capability-module-scoped.
|
|
43
|
-
- Accepted implementation capability.
|
|
44
|
-
- Is a post-spec delivery projection.
|
|
45
|
-
|
|
46
|
-
### Story
|
|
47
|
-
|
|
48
|
-
- Child of one epic.
|
|
49
|
-
- Accepted product-facing implementation slice.
|
|
50
|
-
- Must not become a plan task or file chore.
|
|
51
|
-
|
|
52
|
-
## Transition Rules
|
|
53
|
-
|
|
54
|
-
- Sharpening `fog` derives a precise question, chooses or creates a
|
|
55
|
-
capability module, then creates a concrete `grilling`, `research`, or
|
|
56
|
-
`prototype` item there.
|
|
57
|
-
- Execution milestones are separately blocker-derived chronology; they do not
|
|
58
|
-
determine capability placement.
|
|
59
|
-
- `grilling`, `research`, and `prototype` do not become implementation scope silently.
|
|
60
|
-
- Resolution records for `grilling`, `research`, and `prototype` include:
|
|
61
|
-
- answer
|
|
62
|
-
- artifacts or evidence by immutable commit SHA and path
|
|
63
|
-
- Use provider-native blocker relations. Claim a ticket through native
|
|
64
|
-
assignment/state before working it.
|
|
65
|
-
- Epic/story semantics stay strict even beside learning and uncertainty items.
|
|
66
|
-
|
|
67
|
-
## Handoff Shape
|
|
68
|
-
|
|
69
|
-
Return:
|
|
70
|
-
|
|
71
|
-
- current frontier
|
|
72
|
-
- selected next concept
|
|
73
|
-
- chosen or proposed placement
|
|
74
|
-
- evidence used
|
|
75
|
-
- open blockers
|
|
76
|
-
- next skill or phase
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Convergence
|
|
2
|
-
|
|
3
|
-
## Resume Input
|
|
4
|
-
|
|
5
|
-
Resume from the backlog root, destination, current mode, claimed ticket, native
|
|
6
|
-
dependencies, and immutable child-flow resolution pointers. Re-read provider
|
|
7
|
-
state; a prose handoff is evidence, not authoritative map state.
|
|
8
|
-
|
|
9
|
-
## Child Dispatch
|
|
10
|
-
|
|
11
|
-
- `grilling` -> `requirements-grill`; only the human closes product decisions.
|
|
12
|
-
- `research` -> `parallel-research` in durable-report mode; require the retained
|
|
13
|
-
report's immutable commit SHA and path. Facts may close, product direction may
|
|
14
|
-
not.
|
|
15
|
-
- `prototype` -> `prototype-phase`; wait for a human verdict.
|
|
16
|
-
- closed or explicitly parked frontier -> `create-spec`.
|
|
17
|
-
|
|
18
|
-
Dispatch one bounded child flow per work session.
|
|
19
|
-
|
|
20
|
-
## Provider Mutation Boundary
|
|
21
|
-
|
|
22
|
-
A claim is a semantic output of Finder: ticket, claimant, and intended native
|
|
23
|
-
assignment/state change. When provider mutation is in scope, delegate that
|
|
24
|
-
physical write to `write-backlog` and confirm it before child dispatch.
|
|
25
|
-
|
|
26
|
-
A resolution is a semantic output of Finder: ticket, result, immutable evidence
|
|
27
|
-
pointer, and intended native state change. Delegate the physical resolution
|
|
28
|
-
write to `write-backlog` and confirm it before recomputing the frontier.
|
|
29
|
-
|
|
30
|
-
## Reconciliation
|
|
31
|
-
|
|
32
|
-
1. Verify the child result and immutable evidence pointer.
|
|
33
|
-
2. Produce the semantic resolution and route its provider-native write through
|
|
34
|
-
`write-backlog`.
|
|
35
|
-
3. Repair claims, dependencies, or scope invalidated by the result.
|
|
36
|
-
4. Move newly discovered out-of-scope work to the appropriate backlog root or
|
|
37
|
-
explicitly park it; never smuggle it into the active destination.
|
|
38
|
-
5. Graduate newly precise fog and recompute open, unblocked, unclaimed tickets.
|
|
39
|
-
6. Return the next ticket, a chart-mode repair, or a closed frontier.
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# Frontier Lifecycle
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
The frontier is the set of open, unblocked, and unclaimed decision tickets.
|
|
6
|
-
|
|
7
|
-
The backlog root is the living map. Docs, specs, grill logs, and notes are evidence for updating that map.
|
|
8
|
-
|
|
9
|
-
## States
|
|
10
|
-
|
|
11
|
-
### Fog
|
|
12
|
-
|
|
13
|
-
- Root-level only.
|
|
14
|
-
- Tracks a real but not-yet-sharp area through a frontier or uncertainty description.
|
|
15
|
-
- Graduates when Finder can derive a precise question for `grilling`, `research`,
|
|
16
|
-
or `prototype`; the fog item itself does not require that question.
|
|
17
|
-
- Is not delivery-eligible.
|
|
18
|
-
- Is not a `SPEC.md` anchor.
|
|
19
|
-
- Does not own child tickets by default.
|
|
20
|
-
|
|
21
|
-
### Grilling
|
|
22
|
-
|
|
23
|
-
- Capability-module-scoped.
|
|
24
|
-
- Used when a human decision must close ambiguity.
|
|
25
|
-
- Closes with an accepted decision note before implementation scope changes.
|
|
26
|
-
|
|
27
|
-
### Research
|
|
28
|
-
|
|
29
|
-
- Capability-module-scoped.
|
|
30
|
-
- Used when readonly investigation can answer the unknown.
|
|
31
|
-
- Closes with answer and immutable evidence. Wayfinder, not research, selects
|
|
32
|
-
any product direction.
|
|
33
|
-
|
|
34
|
-
### Prototype
|
|
35
|
-
|
|
36
|
-
- Capability-module-scoped.
|
|
37
|
-
- Used when learning needs an artifact, experiment, or throwaway proof.
|
|
38
|
-
- Closes with a human verdict and immutable artifact/verdict evidence.
|
|
39
|
-
|
|
40
|
-
### Epic
|
|
41
|
-
|
|
42
|
-
- Capability-module-scoped.
|
|
43
|
-
- Accepted implementation capability.
|
|
44
|
-
- Is a post-spec delivery projection.
|
|
45
|
-
|
|
46
|
-
### Story
|
|
47
|
-
|
|
48
|
-
- Child of one epic.
|
|
49
|
-
- Accepted product-facing implementation slice.
|
|
50
|
-
- Must not become a plan task or file chore.
|
|
51
|
-
|
|
52
|
-
## Transition Rules
|
|
53
|
-
|
|
54
|
-
- Sharpening `fog` derives a precise question, chooses or creates a
|
|
55
|
-
capability module, then creates a concrete `grilling`, `research`, or
|
|
56
|
-
`prototype` item there.
|
|
57
|
-
- Execution milestones are separately blocker-derived chronology; they do not
|
|
58
|
-
determine capability placement.
|
|
59
|
-
- `grilling`, `research`, and `prototype` do not become implementation scope silently.
|
|
60
|
-
- Resolution records for `grilling`, `research`, and `prototype` include:
|
|
61
|
-
- answer
|
|
62
|
-
- artifacts or evidence by immutable commit SHA and path
|
|
63
|
-
- Use provider-native blocker relations. Claim a ticket through native
|
|
64
|
-
assignment/state before working it.
|
|
65
|
-
- Epic/story semantics stay strict even beside learning and uncertainty items.
|
|
66
|
-
|
|
67
|
-
## Handoff Shape
|
|
68
|
-
|
|
69
|
-
Return:
|
|
70
|
-
|
|
71
|
-
- current frontier
|
|
72
|
-
- selected next concept
|
|
73
|
-
- chosen or proposed placement
|
|
74
|
-
- evidence used
|
|
75
|
-
- open blockers
|
|
76
|
-
- next skill or phase
|