ai-whisper 0.5.6 → 0.5.7
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/README.md
CHANGED
|
@@ -80,7 +80,7 @@ pnpm install
|
|
|
80
80
|
pnpm build
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
Install the bundled agent skills once (they let the agents verify, kick off, and report on workflows). This also installs `ai-whisper-code-review`, the skill workflow code-review handoffs use to evaluate agent-written code:
|
|
83
|
+
Install the bundled agent skills once (they let the agents verify, kick off, and report on workflows). This also installs `ai-whisper-code-review`, the skill workflow code-review handoffs use to evaluate agent-written code, and `ai-whisper-plan-execution`, the skill plan-execution handoffs use to structure how the implementer executes an approved plan:
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
86
|
whisper skill install
|
|
@@ -2215,8 +2215,10 @@ Non-blocking risks:
|
|
|
2215
2215
|
- <risk that does NOT block this gate, or "None.">
|
|
2216
2216
|
--- end protocol ---`;
|
|
2217
2217
|
var CODE_REVIEW_SKILL_GUIDANCE = "Use the ai-whisper-code-review skill to evaluate the delivered code. The workflow review protocol below controls your output format and evaluator semantics; the skill controls how you inspect code and decide which code-quality issues are blocking.\n\n";
|
|
2218
|
+
var PLAN_EXECUTION_SKILL_GUIDANCE = "Use the ai-whisper-plan-execution skill to structure HOW you execute this plan: subagent fan-out with model allocation where your harness supports it, disciplined inline execution otherwise. The handback contract above remains authoritative \u2014 settle all delegated work before handing back, and state which execution mode you used.";
|
|
2218
2219
|
var SDD_SPEC_REVIEW = "Review the spec at {specPath}. This is an autonomous workflow with no human in the loop.\n\n" + WORKFLOW_REVIEW_PROTOCOL;
|
|
2219
2220
|
var SDD_CODE_REVIEW = "Review the implementer's changes for this phase \u2014 the commits in {commitRange}. The upper bound is a LIVE `HEAD`: resolve it against the current repository at review time and INCLUDE any commits added during this review round (e.g. fixes for your prior findings); do not pin the review to an earlier tip. Verify against the spec's acceptance criteria and run the project's verification/tests. This is an autonomous workflow with no human in the loop.\n\n" + CODE_REVIEW_SKILL_GUIDANCE + WORKFLOW_REVIEW_PROTOCOL;
|
|
2221
|
+
var SDD_PLAN_EXECUTION = "Execute the plan at {planPath} now: make all changes it specifies, run the verification command the plan or spec defines and ensure it passes, then commit. This is an autonomous workflow \u2014 no human will respond. Do the work yourself; never ask for confirmation, permission, or clarification. Hand back the commit SHAs and the verification output, plus a 1-2 sentence summary; your reply must be at least two sentences, well over 100 characters \u2014 never hand back only a single word.\n\n" + PLAN_EXECUTION_SKILL_GUIDANCE;
|
|
2220
2222
|
var SPEC_DRIVEN_DEVELOPMENT = {
|
|
2221
2223
|
type: "spec-driven-development",
|
|
2222
2224
|
displayName: "Spec-Driven Development",
|
|
@@ -2261,9 +2263,9 @@ var SPEC_DRIVEN_DEVELOPMENT = {
|
|
|
2261
2263
|
reviewerRole: null,
|
|
2262
2264
|
maxRounds: 1,
|
|
2263
2265
|
initialHandoffStep: "execute",
|
|
2264
|
-
kickoffTemplate:
|
|
2266
|
+
kickoffTemplate: SDD_PLAN_EXECUTION,
|
|
2265
2267
|
stepTemplates: {
|
|
2266
|
-
execute:
|
|
2268
|
+
execute: SDD_PLAN_EXECUTION
|
|
2267
2269
|
},
|
|
2268
2270
|
evaluatorPromptKey: "execution-gate",
|
|
2269
2271
|
artifactOut: { kind: "commit-range" }
|
|
@@ -2248,8 +2248,10 @@ Non-blocking risks:
|
|
|
2248
2248
|
- <risk that does NOT block this gate, or "None.">
|
|
2249
2249
|
--- end protocol ---`;
|
|
2250
2250
|
var CODE_REVIEW_SKILL_GUIDANCE = "Use the ai-whisper-code-review skill to evaluate the delivered code. The workflow review protocol below controls your output format and evaluator semantics; the skill controls how you inspect code and decide which code-quality issues are blocking.\n\n";
|
|
2251
|
+
var PLAN_EXECUTION_SKILL_GUIDANCE = "Use the ai-whisper-plan-execution skill to structure HOW you execute this plan: subagent fan-out with model allocation where your harness supports it, disciplined inline execution otherwise. The handback contract above remains authoritative \u2014 settle all delegated work before handing back, and state which execution mode you used.";
|
|
2251
2252
|
var SDD_SPEC_REVIEW = "Review the spec at {specPath}. This is an autonomous workflow with no human in the loop.\n\n" + WORKFLOW_REVIEW_PROTOCOL;
|
|
2252
2253
|
var SDD_CODE_REVIEW = "Review the implementer's changes for this phase \u2014 the commits in {commitRange}. The upper bound is a LIVE `HEAD`: resolve it against the current repository at review time and INCLUDE any commits added during this review round (e.g. fixes for your prior findings); do not pin the review to an earlier tip. Verify against the spec's acceptance criteria and run the project's verification/tests. This is an autonomous workflow with no human in the loop.\n\n" + CODE_REVIEW_SKILL_GUIDANCE + WORKFLOW_REVIEW_PROTOCOL;
|
|
2254
|
+
var SDD_PLAN_EXECUTION = "Execute the plan at {planPath} now: make all changes it specifies, run the verification command the plan or spec defines and ensure it passes, then commit. This is an autonomous workflow \u2014 no human will respond. Do the work yourself; never ask for confirmation, permission, or clarification. Hand back the commit SHAs and the verification output, plus a 1-2 sentence summary; your reply must be at least two sentences, well over 100 characters \u2014 never hand back only a single word.\n\n" + PLAN_EXECUTION_SKILL_GUIDANCE;
|
|
2253
2255
|
var SPEC_DRIVEN_DEVELOPMENT = {
|
|
2254
2256
|
type: "spec-driven-development",
|
|
2255
2257
|
displayName: "Spec-Driven Development",
|
|
@@ -2294,9 +2296,9 @@ var SPEC_DRIVEN_DEVELOPMENT = {
|
|
|
2294
2296
|
reviewerRole: null,
|
|
2295
2297
|
maxRounds: 1,
|
|
2296
2298
|
initialHandoffStep: "execute",
|
|
2297
|
-
kickoffTemplate:
|
|
2299
|
+
kickoffTemplate: SDD_PLAN_EXECUTION,
|
|
2298
2300
|
stepTemplates: {
|
|
2299
|
-
execute:
|
|
2301
|
+
execute: SDD_PLAN_EXECUTION
|
|
2300
2302
|
},
|
|
2301
2303
|
evaluatorPromptKey: "execution-gate",
|
|
2302
2304
|
artifactOut: { kind: "commit-range" }
|
|
@@ -2218,8 +2218,10 @@ Non-blocking risks:
|
|
|
2218
2218
|
- <risk that does NOT block this gate, or "None.">
|
|
2219
2219
|
--- end protocol ---`;
|
|
2220
2220
|
var CODE_REVIEW_SKILL_GUIDANCE = "Use the ai-whisper-code-review skill to evaluate the delivered code. The workflow review protocol below controls your output format and evaluator semantics; the skill controls how you inspect code and decide which code-quality issues are blocking.\n\n";
|
|
2221
|
+
var PLAN_EXECUTION_SKILL_GUIDANCE = "Use the ai-whisper-plan-execution skill to structure HOW you execute this plan: subagent fan-out with model allocation where your harness supports it, disciplined inline execution otherwise. The handback contract above remains authoritative \u2014 settle all delegated work before handing back, and state which execution mode you used.";
|
|
2221
2222
|
var SDD_SPEC_REVIEW = "Review the spec at {specPath}. This is an autonomous workflow with no human in the loop.\n\n" + WORKFLOW_REVIEW_PROTOCOL;
|
|
2222
2223
|
var SDD_CODE_REVIEW = "Review the implementer's changes for this phase \u2014 the commits in {commitRange}. The upper bound is a LIVE `HEAD`: resolve it against the current repository at review time and INCLUDE any commits added during this review round (e.g. fixes for your prior findings); do not pin the review to an earlier tip. Verify against the spec's acceptance criteria and run the project's verification/tests. This is an autonomous workflow with no human in the loop.\n\n" + CODE_REVIEW_SKILL_GUIDANCE + WORKFLOW_REVIEW_PROTOCOL;
|
|
2224
|
+
var SDD_PLAN_EXECUTION = "Execute the plan at {planPath} now: make all changes it specifies, run the verification command the plan or spec defines and ensure it passes, then commit. This is an autonomous workflow \u2014 no human will respond. Do the work yourself; never ask for confirmation, permission, or clarification. Hand back the commit SHAs and the verification output, plus a 1-2 sentence summary; your reply must be at least two sentences, well over 100 characters \u2014 never hand back only a single word.\n\n" + PLAN_EXECUTION_SKILL_GUIDANCE;
|
|
2223
2225
|
var SPEC_DRIVEN_DEVELOPMENT = {
|
|
2224
2226
|
type: "spec-driven-development",
|
|
2225
2227
|
displayName: "Spec-Driven Development",
|
|
@@ -2264,9 +2266,9 @@ var SPEC_DRIVEN_DEVELOPMENT = {
|
|
|
2264
2266
|
reviewerRole: null,
|
|
2265
2267
|
maxRounds: 1,
|
|
2266
2268
|
initialHandoffStep: "execute",
|
|
2267
|
-
kickoffTemplate:
|
|
2269
|
+
kickoffTemplate: SDD_PLAN_EXECUTION,
|
|
2268
2270
|
stepTemplates: {
|
|
2269
|
-
execute:
|
|
2271
|
+
execute: SDD_PLAN_EXECUTION
|
|
2270
2272
|
},
|
|
2271
2273
|
evaluatorPromptKey: "execution-gate",
|
|
2272
2274
|
artifactOut: { kind: "commit-range" }
|
package/dist/bin/whisper.js
CHANGED
|
@@ -2585,7 +2585,7 @@ function derivePlanPath(specPath, dateIso) {
|
|
|
2585
2585
|
const date = dateIso.slice(0, 10);
|
|
2586
2586
|
return `docs/superpowers/plans/${date}-${slug}.md`;
|
|
2587
2587
|
}
|
|
2588
|
-
var RALPH_ITEM_DELIVERED_MARKER, RALPH_GOAL_COMPLETE_MARKER, WORKFLOW_REVIEW_PROTOCOL, WORKFLOW_OPERATOR_CONTROL, WORKFLOW_DIAGNOSIS_PROTOCOL, CODE_REVIEW_SKILL_GUIDANCE, SDD_SPEC_REVIEW, SDD_CODE_REVIEW, SPEC_DRIVEN_DEVELOPMENT, RALPH_KICKOFF, RALPH_FIX, RALPH_ITEM_REVIEW, RALPH_ACCEPTANCE_REVIEW, RALPH_LOOP, BUGFIX_DIAGNOSIS_KICKOFF, BUGFIX_DIAGNOSIS_REVIEW, BUGFIX_DIAGNOSIS_FIX, BUGFIX_FIX_KICKOFF, BUGFIX_FIX_REVIEW, BUGFIX_FIX_FIX, BUGFIX_POSTMORTEM_KICKOFF, BUGFIX_POSTMORTEM_REVIEW, BUGFIX_POSTMORTEM_FIX, COMPLEX_BUG_FIXING, REGISTRY;
|
|
2588
|
+
var RALPH_ITEM_DELIVERED_MARKER, RALPH_GOAL_COMPLETE_MARKER, WORKFLOW_REVIEW_PROTOCOL, WORKFLOW_OPERATOR_CONTROL, WORKFLOW_DIAGNOSIS_PROTOCOL, CODE_REVIEW_SKILL_GUIDANCE, PLAN_EXECUTION_SKILL_GUIDANCE, SDD_SPEC_REVIEW, SDD_CODE_REVIEW, SDD_PLAN_EXECUTION, SPEC_DRIVEN_DEVELOPMENT, RALPH_KICKOFF, RALPH_FIX, RALPH_ITEM_REVIEW, RALPH_ACCEPTANCE_REVIEW, RALPH_LOOP, BUGFIX_DIAGNOSIS_KICKOFF, BUGFIX_DIAGNOSIS_REVIEW, BUGFIX_DIAGNOSIS_FIX, BUGFIX_FIX_KICKOFF, BUGFIX_FIX_REVIEW, BUGFIX_FIX_FIX, BUGFIX_POSTMORTEM_KICKOFF, BUGFIX_POSTMORTEM_REVIEW, BUGFIX_POSTMORTEM_FIX, COMPLEX_BUG_FIXING, REGISTRY;
|
|
2589
2589
|
var init_workflow_registry = __esm({
|
|
2590
2590
|
"../broker/dist/runtime/workflow-registry.js"() {
|
|
2591
2591
|
"use strict";
|
|
@@ -2666,8 +2666,10 @@ Non-blocking risks:
|
|
|
2666
2666
|
- <risk that does NOT block this gate, or "None.">
|
|
2667
2667
|
--- end protocol ---`;
|
|
2668
2668
|
CODE_REVIEW_SKILL_GUIDANCE = "Use the ai-whisper-code-review skill to evaluate the delivered code. The workflow review protocol below controls your output format and evaluator semantics; the skill controls how you inspect code and decide which code-quality issues are blocking.\n\n";
|
|
2669
|
+
PLAN_EXECUTION_SKILL_GUIDANCE = "Use the ai-whisper-plan-execution skill to structure HOW you execute this plan: subagent fan-out with model allocation where your harness supports it, disciplined inline execution otherwise. The handback contract above remains authoritative \u2014 settle all delegated work before handing back, and state which execution mode you used.";
|
|
2669
2670
|
SDD_SPEC_REVIEW = "Review the spec at {specPath}. This is an autonomous workflow with no human in the loop.\n\n" + WORKFLOW_REVIEW_PROTOCOL;
|
|
2670
2671
|
SDD_CODE_REVIEW = "Review the implementer's changes for this phase \u2014 the commits in {commitRange}. The upper bound is a LIVE `HEAD`: resolve it against the current repository at review time and INCLUDE any commits added during this review round (e.g. fixes for your prior findings); do not pin the review to an earlier tip. Verify against the spec's acceptance criteria and run the project's verification/tests. This is an autonomous workflow with no human in the loop.\n\n" + CODE_REVIEW_SKILL_GUIDANCE + WORKFLOW_REVIEW_PROTOCOL;
|
|
2672
|
+
SDD_PLAN_EXECUTION = "Execute the plan at {planPath} now: make all changes it specifies, run the verification command the plan or spec defines and ensure it passes, then commit. This is an autonomous workflow \u2014 no human will respond. Do the work yourself; never ask for confirmation, permission, or clarification. Hand back the commit SHAs and the verification output, plus a 1-2 sentence summary; your reply must be at least two sentences, well over 100 characters \u2014 never hand back only a single word.\n\n" + PLAN_EXECUTION_SKILL_GUIDANCE;
|
|
2671
2673
|
SPEC_DRIVEN_DEVELOPMENT = {
|
|
2672
2674
|
type: "spec-driven-development",
|
|
2673
2675
|
displayName: "Spec-Driven Development",
|
|
@@ -2712,9 +2714,9 @@ Non-blocking risks:
|
|
|
2712
2714
|
reviewerRole: null,
|
|
2713
2715
|
maxRounds: 1,
|
|
2714
2716
|
initialHandoffStep: "execute",
|
|
2715
|
-
kickoffTemplate:
|
|
2717
|
+
kickoffTemplate: SDD_PLAN_EXECUTION,
|
|
2716
2718
|
stepTemplates: {
|
|
2717
|
-
execute:
|
|
2719
|
+
execute: SDD_PLAN_EXECUTION
|
|
2718
2720
|
},
|
|
2719
2721
|
evaluatorPromptKey: "execution-gate",
|
|
2720
2722
|
artifactOut: { kind: "commit-range" }
|
|
@@ -11340,8 +11342,8 @@ function compareSemver(a, b) {
|
|
|
11340
11342
|
var EZIO_PROVENANCE = {
|
|
11341
11343
|
ezioCliVersion: "0.2.0-beta.2",
|
|
11342
11344
|
ezioGitSha: "bb14110",
|
|
11343
|
-
builtAt: "2026-06-
|
|
11344
|
-
whisperVersion: "0.5.
|
|
11345
|
+
builtAt: "2026-06-12T01:11:16.623Z",
|
|
11346
|
+
whisperVersion: "0.5.7"
|
|
11345
11347
|
};
|
|
11346
11348
|
|
|
11347
11349
|
// src/ezio-provenance-types.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-whisper",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"description": "Terminal-first relay for paired AI coding agents (Claude + Codex), driven by structured workflows.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"ink-testing-library": "^4.0.0",
|
|
54
54
|
"@ai-whisper/adapter-ai-ezio": "0.0.0",
|
|
55
55
|
"@ai-whisper/adapter-claude": "0.0.0",
|
|
56
|
-
"@ai-whisper/adapter-codex": "0.0.0",
|
|
57
|
-
"@ai-whisper/companion-core": "0.0.0",
|
|
58
56
|
"@ai-whisper/broker": "0.0.0",
|
|
59
|
-
"@ai-whisper/
|
|
57
|
+
"@ai-whisper/companion-core": "0.0.0",
|
|
58
|
+
"@ai-whisper/shared": "0.0.0",
|
|
59
|
+
"@ai-whisper/adapter-codex": "0.0.0"
|
|
60
60
|
},
|
|
61
61
|
"files": [
|
|
62
62
|
"dist",
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ai-whisper-plan-execution
|
|
3
|
+
description: Use when executing an approved implementation plan as the implementer inside an ai-whisper autonomous workflow (plan-execution phase). Structures HOW to execute — subagent fan-out with model allocation where the harness supports it, disciplined inline execution otherwise.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# ai-whisper-plan-execution
|
|
7
|
+
|
|
8
|
+
Structure HOW you execute an approved implementation plan inside an ai-whisper autonomous workflow. The workflow handoff prompt stays authoritative for WHAT to deliver and the handback contract; this skill only governs execution structure.
|
|
9
|
+
|
|
10
|
+
## Gating
|
|
11
|
+
|
|
12
|
+
- Implementer role only, inside an ai-whisper autonomous workflow (e.g. the SDD plan-execution phase).
|
|
13
|
+
- Never as the reviewer; never for ad-hoc edits outside a workflow.
|
|
14
|
+
|
|
15
|
+
## Step 0 — fan-out decision
|
|
16
|
+
|
|
17
|
+
Read the plan once; extract every task with its full text. Then:
|
|
18
|
+
|
|
19
|
+
- **Default: fan out** (Path A below, or its built-in fallback).
|
|
20
|
+
- **Inline escape — only if** the plan has ≤2 tasks, OR is purely mechanical single-concern work (one repetitive transformation, e.g. a rename or codemod sweep). Inline execution still follows the plan task-by-task with per-task verification.
|
|
21
|
+
- Whichever branch you take, your handback MUST name the execution mode (see Handback).
|
|
22
|
+
|
|
23
|
+
## Path A — your harness supports subagent dispatch (e.g. Claude Code)
|
|
24
|
+
|
|
25
|
+
1. **If `superpowers:subagent-driven-development` is available in your session, you MUST invoke it** and follow its per-task loop: fresh implementer subagent per task → spec-compliance review → code-quality review, with fix-and-re-review loops. Skipping it to "just execute directly" is a contract violation, not a judgment call. Known rationalizations, pre-refuted:
|
|
26
|
+
- "It pauses for humans" — false: continuous execution between tasks is built into that skill.
|
|
27
|
+
- "Its endgame doesn't fit the workflow" — the workflow overrides below resolve every misfit.
|
|
28
|
+
2. **Workflow overrides** (apply while inside an ai-whisper workflow):
|
|
29
|
+
- "Escalate to the human" (BLOCKED because the plan itself is wrong) → hand back that you CANNOT PROCEED and why; the workflow escalation path handles it.
|
|
30
|
+
- `superpowers:finishing-a-development-branch` → do not use; the workflow handback replaces it. Merging is the operator's decision.
|
|
31
|
+
- "Never start implementation on main/master without consent" → the collab-mounted workspace/branch is operator-provided; mounting is that consent.
|
|
32
|
+
3. **Fallback — built-in minimal protocol** (ONLY when subagent-driven-development is not available; it mimics the same loop). For each task, sequentially:
|
|
33
|
+
1. Dispatch a fresh implementer subagent carrying the full task text plus scene-setting context. Never make a subagent read the plan file.
|
|
34
|
+
2. Dispatch a spec-compliance reviewer subagent, then a code-quality reviewer subagent; loop fixes until both approve.
|
|
35
|
+
3. Never dispatch implementation subagents in parallel.
|
|
36
|
+
4. **Model allocation** (applies to subagent dispatch under either protocol; your own model is fixed by the mount). Use model aliases (haiku / sonnet / opus), never versioned model names:
|
|
37
|
+
|
|
38
|
+
| Subagent role | Default | Flip condition |
|
|
39
|
+
| --- | --- | --- |
|
|
40
|
+
| Task implementer | sonnet | ↑ strongest tier if ambiguous / novel / cross-cutting / security-sensitive |
|
|
41
|
+
| Reviewer (spec or quality) | strongest available (opus or better) | never below the task implementer's tier |
|
|
42
|
+
| Mechanical / codemod | haiku | ↑ sonnet if it touches shared types or public API |
|
|
43
|
+
| Test-writer | sonnet | ↑ strongest tier for adversarial/repro tests; never haiku |
|
|
44
|
+
| Verification runner | haiku | ↑ sonnet if it must diagnose failures, not just report them |
|
|
45
|
+
|
|
46
|
+
Invariants: **reviewer tier ≥ implementer tier, always.** On the **2nd failed review of the same task**, bump the task implementer one tier and pass the failure history into the new dispatch.
|
|
47
|
+
|
|
48
|
+
## Path B — no subagent dispatch (e.g. Codex, ezio)
|
|
49
|
+
|
|
50
|
+
Execute the plan inline: task-by-task in plan order, run per-task verification, commit as the plan specifies, and hand back per the workflow prompt with the mode line `Execution mode: inline (no subagent dispatch)`. Path A does not apply to you — nothing in this skill blocks or changes your handback.
|
|
51
|
+
|
|
52
|
+
## Handback (both paths)
|
|
53
|
+
|
|
54
|
+
The workflow prompt is authoritative. Before handing back: all subagents settled, verification green, work committed. Include the commit SHAs, the verification output, the 1-2 sentence summary the workflow prompt demands, and one line naming the execution mode:
|
|
55
|
+
|
|
56
|
+
- `Execution mode: subagent-driven (superpowers)`
|
|
57
|
+
- `Execution mode: subagent-driven (built-in protocol)`
|
|
58
|
+
- `Execution mode: inline (<reason>)`
|
|
59
|
+
|
|
60
|
+
## Failure handling
|
|
61
|
+
|
|
62
|
+
- A subagent dies or hangs → retry once; then do that task inline at your own tier and disclose it in the handback.
|
|
63
|
+
- 2nd failed review of the same task → tier escalation per the model table.
|
|
64
|
+
- Plan unreadable or not task-shaped → execute inline with disclosure; never block the workflow on skill-internal structure.
|
|
65
|
+
- Verification red after all tasks → fix before handing back; never hand back red.
|