@punks/cli 2.5.3 → 2.5.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 +24 -0
- package/dist/CHANGELOG.md +29 -0
- package/dist/index.js +6 -2
- 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
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Baseline Changelog
|
|
2
2
|
|
|
3
|
+
## baseline/stable/2026.07.10-manual-delivery-phase - 2026-07-10
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Require explicit user invocation for `delivery-phase` and the six external/manual lifecycle phases; keep only `review-phase`, `debugging-phase`, and `docs-ingest-phase` model-invocable as delivery's internal delegates.
|
|
8
|
+
- Sync shared skills from `wearedevpunks/skills@7fde033`, changing design and debt resolution to present a bounded delivery brief and stop for explicit user `$delivery-phase` invocation.
|
|
9
|
+
- Align the active `delivery-phase`, `design-phase`, and `resolve-debt-phase` mirrors with the CLI-vendored baseline copies.
|
|
10
|
+
|
|
11
|
+
## baseline/stable/2026.07.10-external-phase-invocation - 2026-07-10
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Correct explicit-only invocation to cover exactly the six external/manual lifecycle entrypoints: `bug-discovery-phase`, `bug-resolution-phase`, `design-phase`, `finder-phase`, `requirements-phase`, and `resolve-debt-phase`.
|
|
16
|
+
- Sync shared skills from `wearedevpunks/skills@a2648cc`, keeping `delivery-phase`, `review-phase`, `debugging-phase`, and `docs-ingest-phase` model-invocable for delivery, design, and debt workflow delegation.
|
|
17
|
+
- Align the four corrected active Harness phase mirrors with the CLI-vendored baseline copies.
|
|
18
|
+
|
|
19
|
+
## baseline/stable/2026.07.10-explicit-phase-invocation - 2026-07-10
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Sync shared lifecycle phase skills from `wearedevpunks/skills@5779f6e`.
|
|
24
|
+
- Require explicit user invocation for every lifecycle `*-phase` skill with Claude `disable-model-invocation: true` and Codex `policy.allow_implicit_invocation: false`.
|
|
25
|
+
- Align active Harness phase-skill mirrors with the CLI-vendored baseline copies.
|
|
26
|
+
|
|
3
27
|
## baseline/stable/2026.07.09-backend-domain-guardrails - 2026-07-09
|
|
4
28
|
|
|
5
29
|
### Changed
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.5.4 - 2026-07-10
|
|
4
|
+
|
|
5
|
+
Pending npm publish: `@punks/cli@2.5.4`.
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Preserve an existing project-owned `apps/wiki/scripts/sync-content.mjs` during `hi update` and `hi check`, while still reporting and recreating the script when missing ([#69](https://github.com/wearedevpunks/harness-intelligence/issues/69)).
|
|
10
|
+
|
|
11
|
+
## baseline/stable/2026.07.10-manual-delivery-phase - 2026-07-10
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- Make `delivery-phase` explicit-only alongside the six external/manual lifecycle phases, leaving only `review-phase`, `debugging-phase`, and `docs-ingest-phase` model-invocable as delivery's internal delegates.
|
|
16
|
+
- Sync shared skills from `wearedevpunks/skills@7fde033`; design and debt resolution now present a bounded delivery brief and stop for explicit user `$delivery-phase` invocation.
|
|
17
|
+
|
|
18
|
+
## baseline/stable/2026.07.10-external-phase-invocation - 2026-07-10
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Limit explicit-only invocation to the six external/manual lifecycle entrypoints: `bug-discovery-phase`, `bug-resolution-phase`, `design-phase`, `finder-phase`, `requirements-phase`, and `resolve-debt-phase`.
|
|
23
|
+
- Sync the correction from `wearedevpunks/skills@a2648cc`, restoring model invocation for `delivery-phase`, `review-phase`, `debugging-phase`, and `docs-ingest-phase` so routed workflows can delegate to them.
|
|
24
|
+
|
|
25
|
+
## baseline/stable/2026.07.10-explicit-phase-invocation - 2026-07-10
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Release the stable scaffold baseline with lifecycle `*-phase` skills as explicit user entrypoints.
|
|
30
|
+
- Sync shared skills from `wearedevpunks/skills@5779f6e`, setting Claude `disable-model-invocation: true` and Codex `policy.allow_implicit_invocation: false` on all lifecycle phase skills.
|
|
31
|
+
|
|
3
32
|
## 2.5.3 - 2026-07-09
|
|
4
33
|
|
|
5
34
|
Pending npm publish: `@punks/cli@2.5.3`.
|
package/dist/index.js
CHANGED
|
@@ -51355,7 +51355,7 @@ var embeddedAssets = [];
|
|
|
51355
51355
|
|
|
51356
51356
|
// package.json
|
|
51357
51357
|
var name = "@punks/cli";
|
|
51358
|
-
var version = "2.5.
|
|
51358
|
+
var version = "2.5.4";
|
|
51359
51359
|
// src/content/data.ts
|
|
51360
51360
|
var findFirst8 = (candidates) => candidates.find((candidate) => existsSync(candidate));
|
|
51361
51361
|
var executableSignature = () => {
|
|
@@ -60958,6 +60958,7 @@ var buildChanges = ({
|
|
|
60958
60958
|
}).toSorted((left3, right3) => left3.path.localeCompare(right3.path));
|
|
60959
60959
|
};
|
|
60960
60960
|
var syncSubagentsScriptFile = ".agents/scripts/sync-subagents.mjs";
|
|
60961
|
+
var projectAuthoredWikiSyncFile = "apps/wiki/scripts/sync-content.mjs";
|
|
60961
60962
|
var isWikiManagedPath = (relativePath) => relativePath.startsWith("wiki/") || relativePath.startsWith("app/wiki/") || relativePath.startsWith("apps/wiki/");
|
|
60962
60963
|
var isTailoredSyncSubagentsScript = (rootDirectory) => {
|
|
60963
60964
|
const scriptPath = path13.join(rootDirectory, syncSubagentsScriptFile);
|
|
@@ -60971,6 +60972,9 @@ var isProjectAuthoredManagedFile = ({
|
|
|
60971
60972
|
file: file6,
|
|
60972
60973
|
rootDirectory
|
|
60973
60974
|
}) => {
|
|
60975
|
+
if (file6.path === projectAuthoredWikiSyncFile) {
|
|
60976
|
+
return existsSync11(path13.join(rootDirectory, file6.path));
|
|
60977
|
+
}
|
|
60974
60978
|
if (file6.path === ".agents/scripts/sync-subagents.mjs") {
|
|
60975
60979
|
return isTailoredSyncSubagentsScript(rootDirectory);
|
|
60976
60980
|
}
|
|
@@ -61070,7 +61074,7 @@ var buildWikiAlignment = ({
|
|
|
61070
61074
|
path: relativePath,
|
|
61071
61075
|
sha256: hashPath(expectedDirectory, relativePath) ?? "",
|
|
61072
61076
|
kind: "harness"
|
|
61073
|
-
}));
|
|
61077
|
+
})).filter((file6) => !isProjectAuthoredManagedFile({ file: file6, rootDirectory }));
|
|
61074
61078
|
return {
|
|
61075
61079
|
expectedDirectory,
|
|
61076
61080
|
expectedFiles,
|
|
@@ -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
|