@punks/cli 2.5.3 → 2.6.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 +37 -0
- package/dist/CHANGELOG.md +47 -0
- package/dist/data/scripts/sync-subagents.mjs +0 -1
- package/dist/index.js +580 -523
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +16 -14
- package/dist/skills/phases/bug-discovery-phase/SKILL.md +1 -0
- package/dist/skills/phases/bug-discovery-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/bug-resolution-phase/SKILL.md +1 -0
- package/dist/skills/phases/bug-resolution-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/delivery-phase/SKILL.md +1 -0
- package/dist/skills/phases/delivery-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/design-phase/SKILL.md +3 -2
- package/dist/skills/phases/design-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/design-phase/phases/delivery-handoff.md +5 -5
- package/dist/skills/phases/finder-phase/SKILL.md +1 -0
- package/dist/skills/phases/finder-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/requirements-phase/SKILL.md +1 -0
- package/dist/skills/phases/requirements-phase/agents/openai.yaml +2 -0
- package/dist/skills/phases/resolve-debt-phase/SKILL.md +7 -5
- package/dist/skills/phases/resolve-debt-phase/agents/openai.yaml +2 -0
- package/package.json +1 -1
|
@@ -7,20 +7,22 @@ description: Materialize canonical backlog kinds into provider-native items. Use
|
|
|
7
7
|
|
|
8
8
|
## Quick start
|
|
9
9
|
|
|
10
|
-
1.
|
|
11
|
-
2. If
|
|
12
|
-
3.
|
|
13
|
-
4. If
|
|
14
|
-
5.
|
|
15
|
-
6.
|
|
16
|
-
7.
|
|
17
|
-
8.
|
|
18
|
-
9.
|
|
19
|
-
10.
|
|
20
|
-
11.
|
|
21
|
-
12.
|
|
22
|
-
13.
|
|
23
|
-
14.
|
|
10
|
+
1. Before any provider materialization, read `.devpunks/settings.json` and resolve the destination from `backlogProvider` plus `backlogProjectUrl`.
|
|
11
|
+
2. 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.
|
|
12
|
+
3. Read [REFERENCE.md](REFERENCE.md) and [assets/concepts/backlog-model.md](assets/concepts/backlog-model.md).
|
|
13
|
+
4. If `requirements-grill` artifacts exist, read `*-grill-status.md` first and `*-grill-log.md` second.
|
|
14
|
+
5. If subagents are available and the source material is large, use `requirements-synthesizer` to compress accepted, rejected, superseded, parked, and unresolved decisions.
|
|
15
|
+
6. If subagents are available, use `backlog-shaper` for a draft module/epic/story hierarchy; keep final backlog judgment in the parent thread.
|
|
16
|
+
7. Derive the item kind first: `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
|
|
17
|
+
8. Place `fog` at the backlog root; place concrete `grilling`, `research`, `prototype`, `epic`, and `story` items under a module/milestone.
|
|
18
|
+
9. Preserve delivery semantics: epics anchor future `SPEC.md`; stories remain product-facing children of epics.
|
|
19
|
+
10. Apply the item-count rule before finalizing implementation epics/stories.
|
|
20
|
+
11. Make story ordering explicit with native dependency primitives when the provider supports them.
|
|
21
|
+
12. Keep all item bodies product-facing and appropriate to their kind.
|
|
22
|
+
13. When approved design/prototype artifacts are source material, preserve approved artifact context and durable links in the relevant backlog items.
|
|
23
|
+
14. For visual assets, use `repo-asset-management`: prefer backlog attachments first, then repo-provider fallback links when attachments are unavailable or unsuitable.
|
|
24
|
+
15. Read the matching provider payload asset before generating or syncing create payloads.
|
|
25
|
+
16. Stop after the backlog structure and create payload guidance are complete.
|
|
24
26
|
|
|
25
27
|
## Item-count rule
|
|
26
28
|
|
|
@@ -4,6 +4,7 @@ description: >-
|
|
|
4
4
|
Runs AFK ClawPatch bug discovery, reporting, and triage without source
|
|
5
5
|
mutation. Use for ClawPatch discovery, broad bug discovery, bug lifecycle
|
|
6
6
|
triage, finding ledgers, AFK bug review, or durable bug reports.
|
|
7
|
+
disable-model-invocation: true
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# Bug Discovery Phase
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: delivery-phase
|
|
3
3
|
description: Routes a scoped delivery goal to the next lifecycle phase from current artifacts and evidence. Use when delivering, resuming, or closing a goal that may pass through spec, plan, implementation, review, debugging, docs ingest, and closeout.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Delivery Phase
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-phase
|
|
3
3
|
description: Routes product design work through evidence intake, lean grill, prototype, approval, backlog, and delivery handoff.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Design Phase
|
|
@@ -24,7 +25,7 @@ Completion of one phase does not imply loading the rest.
|
|
|
24
25
|
- **Prototype:** produce the requested image reference or prototype artifact.
|
|
25
26
|
- **Approval:** record accepted artifacts per user-visible scope unit.
|
|
26
27
|
- **Backlog:** convert approved artifacts into backlog context.
|
|
27
|
-
- **Delivery handoff:**
|
|
28
|
+
- **Delivery handoff:** prepare the approved brief for explicit user invocation of `$delivery-phase`.
|
|
28
29
|
|
|
29
30
|
Direct entry into any mode still starts at the router.
|
|
30
31
|
|
|
@@ -36,7 +37,7 @@ Direct entry into any mode still starts at the router.
|
|
|
36
37
|
- [phases/prototype.md](phases/prototype.md): delegate artifact production.
|
|
37
38
|
- [phases/approval.md](phases/approval.md): record approved artifact sets.
|
|
38
39
|
- [phases/backlog.md](phases/backlog.md): call `write-backlog` with artifact context.
|
|
39
|
-
- [phases/delivery-handoff.md](phases/delivery-handoff.md):
|
|
40
|
+
- [phases/delivery-handoff.md](phases/delivery-handoff.md): present the brief and stop for explicit user invocation of `$delivery-phase`.
|
|
40
41
|
|
|
41
42
|
## Rules
|
|
42
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Delivery Handoff Phase
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Prepare approved design context for explicit user invocation of `$delivery-phase`.
|
|
4
4
|
|
|
5
5
|
## Prerequisite
|
|
6
6
|
|
|
@@ -12,18 +12,18 @@ Fresh backlog ids plus approved artifact set links.
|
|
|
12
12
|
2. Include frontend taste skills expected during implementation: `design-taste-frontend`, `gpt-taste`, and relevant web/mobile image or prototype context.
|
|
13
13
|
3. Include browser or screenshot validation expectations.
|
|
14
14
|
4. Include before/after PR evidence guidance and require durable links through `repo-asset-management`.
|
|
15
|
-
5.
|
|
15
|
+
5. Present the delivery brief, tell the user to invoke `$delivery-phase` explicitly with it, and stop.
|
|
16
16
|
|
|
17
17
|
## Rules
|
|
18
18
|
|
|
19
|
-
- `delivery-handoff`
|
|
19
|
+
- `delivery-handoff` does not load or start `delivery-phase`; only the user can invoke it explicitly.
|
|
20
20
|
- Do not re-open design approval during delivery unless artifacts are stale or contradicted.
|
|
21
21
|
- Local temp files and transient browser URLs are not final evidence.
|
|
22
22
|
|
|
23
23
|
## Output
|
|
24
24
|
|
|
25
|
-
- Delivery
|
|
25
|
+
- Delivery handoff brief.
|
|
26
26
|
- Backlog ids.
|
|
27
27
|
- Approved artifact links.
|
|
28
28
|
- Before/after evidence expectations.
|
|
29
|
-
- Phase handoff with next
|
|
29
|
+
- Phase handoff with next action: explicit user invocation of `$delivery-phase`.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: finder-phase
|
|
3
3
|
description: Route loose oversized foggy work before requirements or delivery. Use when an idea is too large for one agent session, wrapped in fog, or needs backlog-native frontier shaping before requirements-phase.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Finder Phase
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: requirements-phase
|
|
3
3
|
description: Orchestrates the human-centric requirements phase from ambiguity through requirements-grill artifacts into backlog shape. Use when the user asks to run a requirements phase, move from discovery to backlog, close requirement branches, decide whether backlog writing is ready, or coordinate requirements-grill with write-backlog.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Requirements Phase
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: resolve-debt-phase
|
|
3
3
|
description: Resolves one candidate or accepted tech debt item through validation, resolution spec creation, delivery, and closeout. Use when the user asks to resolve a tech debt entry, process a debt candidate, or continue from a canonical `docs/reference/tech-debt/<domain>/<spec>/<debt-slug>.md` artifact.
|
|
4
|
+
disable-model-invocation: true
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Resolve Debt Phase
|
|
@@ -11,8 +12,9 @@ description: Resolves one candidate or accepted tech debt item through validatio
|
|
|
11
12
|
- **Scope:** one candidate or accepted debt item, never generic debt management
|
|
12
13
|
- **Canonical input:** `docs/reference/tech-debt/<domain>/<spec>/<debt-slug>.md`
|
|
13
14
|
- **Source of truth:** debt file; backlog mirrors are secondary and may be stale
|
|
14
|
-
- **Delegates to:** `$parallel-research` for independent readonly checks; `$create-spec` or equivalent spec workflow for accepted debt
|
|
15
|
-
- **
|
|
15
|
+
- **Delegates to:** `$parallel-research` for independent readonly checks; `$create-spec` or equivalent spec workflow for accepted debt
|
|
16
|
+
- **Manual delivery handoff:** accepted debt presents a bounded brief for explicit user invocation of `$delivery-phase`
|
|
17
|
+
- **Stop conditions:** draft decision requested, accepted item waiting for explicit user `$delivery-phase` invocation, resolved item no-oped, or completed item marked resolved with links
|
|
16
18
|
|
|
17
19
|
## Use When
|
|
18
20
|
|
|
@@ -54,8 +56,8 @@ Move the one accepted item toward delivery.
|
|
|
54
56
|
|
|
55
57
|
1. Create or update a debt-resolution spec tied to the original domain/spec and debt slug.
|
|
56
58
|
2. The resolution spec must state the initial debt, why it matters, the bounded fix, non-goals, acceptance checks, and closeout requirements.
|
|
57
|
-
3.
|
|
58
|
-
4.
|
|
59
|
+
3. Build and present a delivery brief naming the resolution spec, bounded fix, acceptance checks, closeout requirements, and implementation scope.
|
|
60
|
+
4. Tell the user to invoke `$delivery-phase` explicitly with that brief, then stop without loading or running it.
|
|
59
61
|
|
|
60
62
|
### `resolved`
|
|
61
63
|
|
|
@@ -82,6 +84,6 @@ Always report:
|
|
|
82
84
|
|
|
83
85
|
- debt file path and status before/after
|
|
84
86
|
- evidence inspected or validation performed
|
|
85
|
-
- decision requested for `draft`, handoff
|
|
87
|
+
- decision requested for `draft`, manual `$delivery-phase` handoff or returned delivery result for `accepted`, or no-op reason for `resolved`
|
|
86
88
|
- resolution spec and implementation notes links when present
|
|
87
89
|
- backlog mirror sync outcome when available
|