@punks/cli 2.3.3 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,70 @@
1
+ # Frontier Lifecycle
2
+
3
+ ## Purpose
4
+
5
+ The frontier is the visible set of unresolved uncertainty that must be routed before delivery scope is accepted.
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 of uncertainty.
15
+ - Anticipates future modules, tickets, epics, and stories.
16
+ - Is not delivery-eligible.
17
+ - Is not a `SPEC.md` anchor.
18
+ - Does not own child tickets by default.
19
+
20
+ ### Grilling
21
+
22
+ - Module/milestone-scoped.
23
+ - Used when a human decision must close ambiguity.
24
+ - Closes with an accepted decision note before implementation scope changes.
25
+
26
+ ### Research
27
+
28
+ - Module/milestone-scoped.
29
+ - Used when readonly investigation can answer the unknown.
30
+ - Closes with answer, evidence, accepted direction, and created or updated implementation items when applicable.
31
+
32
+ ### Prototype
33
+
34
+ - Module/milestone-scoped.
35
+ - Used when learning needs an artifact, experiment, or throwaway proof.
36
+ - Closes with produced artifacts, accepted direction, and created or updated implementation items when applicable.
37
+
38
+ ### Epic
39
+
40
+ - Module/milestone-scoped.
41
+ - Accepted implementation capability.
42
+ - Anchors one future `SPEC.md`.
43
+
44
+ ### Story
45
+
46
+ - Child of one epic.
47
+ - Accepted product-facing implementation slice.
48
+ - Must not become a plan task or file chore.
49
+
50
+ ## Transition Rules
51
+
52
+ - Sharpening `fog` first chooses or creates a module/milestone, then creates concrete non-fog items there.
53
+ - `grilling`, `research`, and `prototype` do not become implementation scope silently.
54
+ - Closure notes for `grilling`, `research`, and `prototype` must include:
55
+ - answer
56
+ - accepted direction
57
+ - artifacts or evidence
58
+ - created or updated epics/stories
59
+ - Epic/story semantics stay strict even beside learning and uncertainty items.
60
+
61
+ ## Handoff Shape
62
+
63
+ Return:
64
+
65
+ - current frontier
66
+ - selected next kind
67
+ - chosen or proposed placement
68
+ - evidence used
69
+ - open blockers
70
+ - next skill or phase
@@ -0,0 +1,29 @@
1
+ # Root Routing
2
+
3
+ ## Trigger
4
+
5
+ Route to `finder-phase` before `requirements-phase` when a loose idea is too large for one agent session and still wrapped in fog.
6
+
7
+ Use this route when the first question is not "which requirement is unclear?" but "what kind of work is this frontier?"
8
+
9
+ ## Placement In Root Guidance
10
+
11
+ Keep root prompt guidance short:
12
+
13
+ - Foggy oversized work routes to `finder-phase` first.
14
+ - Unclear requirements inside a bounded topic route to `requirements-phase`.
15
+ - Accepted specs, issues, or plans route to `delivery-phase`.
16
+ - Runtime failures route to `debugging-phase`.
17
+ - Reviews route to `review-phase`.
18
+ - Docs learning after proven changes routes to `docs-ingest-phase`.
19
+
20
+ ## Boundary
21
+
22
+ `finder-phase` should not replace:
23
+
24
+ - `requirements-phase` for human decision closure inside a known topic.
25
+ - `parallel-research` for split-friendly readonly investigation.
26
+ - `prototype` for artifact-driven learning.
27
+ - `create-spec`, `create-plan`, or `delivery-phase` after implementation scope is accepted.
28
+
29
+ It chooses the route and updates the frontier handoff.
@@ -1,13 +1,16 @@
1
1
  ---
2
2
  name: goalify
3
- description: Goalify messy intent into a very lean `/goal` contract, activate it immediately, and continue execution under that goal.
3
+ description: Goalify messy intent by writing a very lean `/goal`, activating it immediately with the available goal tool, and continuing the user's task under that active goal.
4
4
  ---
5
5
 
6
6
  # Goalify
7
7
 
8
8
  `goalify` writes the smallest operating contract a goal-running Codex can adopt,
9
- then activates it immediately. It is a compiler, not a spec, handoff, or plan
10
- dump.
9
+ activates it immediately, then keeps working. It is a compiler, not a spec,
10
+ handoff, or plan dump.
11
+
12
+ Invocation is permission to activate now. Do not stop at printing a `/goal`
13
+ prompt or reporting the contract when a goal tool is available.
11
14
 
12
15
  Be very lean. Target the shortest contract that can run without re-asking.
13
16
  Hard limit: text after `/goal` must be non-empty and <= 4,000 characters. If
@@ -15,8 +18,8 @@ detail will not fit, point at a file instead of pasting overflow.
15
18
 
16
19
  ## Activation
17
20
 
18
- - Always activate spot on: write the goal, activate it with the available goal
19
- tool, then continue execution under that active goal.
21
+ - Always activate spot on: write the goal, call the available goal activation
22
+ tool immediately, then continue the user's task under that active goal.
20
23
  - If the task is tiny, unresolved, or lacks one objective, proof signal, and
21
24
  stop condition, ask one clarifying question.
22
25
  - If activation is unavailable, return the ready `/goal ...` prompt and name
@@ -46,8 +49,8 @@ paths, commands, ids, URLs, artifacts, and invariants.
46
49
  only if structure is needed.
47
50
  4. Check: one objective, explicit proof, stop/blocker conditions, no secrets, no
48
51
  vague "make it work", <= 4,000 characters.
49
- 5. Activate immediately. Report objective, proof surface, assumptions, and
50
- missing inputs, then execute.
52
+ 5. Activate immediately. After activation succeeds, continue execution; report
53
+ only what helps the active task move forward.
51
54
 
52
55
  ## Fallback Output
53
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/cli",
3
- "version": "2.3.3",
3
+ "version": "2.4.1",
4
4
  "description": "Harness Intelligence scaffolding CLI",
5
5
  "bin": {
6
6
  "devpunks": "dist/index.js",