@codeam/shared 2.61.95 → 2.61.96
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/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -880,6 +880,16 @@ interface PackStageDef {
|
|
|
880
880
|
/** The full role prompt sent (with the pack workflow article + task +
|
|
881
881
|
* previous handoff) as the stage's opening prompt. Read-only in the app. */
|
|
882
882
|
prompt: string;
|
|
883
|
+
/**
|
|
884
|
+
* Whether this stage MUST end in a new commit to hand off. Defaults to `true`
|
|
885
|
+
* (undefined = true) — a Specifier/Coder/QA produces an artifact (spec, code,
|
|
886
|
+
* report) and a no-commit stage is a stall. Set `false` for review-style
|
|
887
|
+
* stages that legitimately approve clean with NO change: a Reviewer that finds
|
|
888
|
+
* nothing to fix should hand off "reviewed, no changes needed" against the
|
|
889
|
+
* commit it reviewed, not stall the pipeline. (Agent Packs live-run finding,
|
|
890
|
+
* 2026-08-08 — a clean Reviewer was mis-treated as "stage produced no commit".)
|
|
891
|
+
*/
|
|
892
|
+
requiresCommit?: boolean;
|
|
883
893
|
}
|
|
884
894
|
interface PackDefinition {
|
|
885
895
|
id: PackId;
|
package/dist/index.d.ts
CHANGED
|
@@ -880,6 +880,16 @@ interface PackStageDef {
|
|
|
880
880
|
/** The full role prompt sent (with the pack workflow article + task +
|
|
881
881
|
* previous handoff) as the stage's opening prompt. Read-only in the app. */
|
|
882
882
|
prompt: string;
|
|
883
|
+
/**
|
|
884
|
+
* Whether this stage MUST end in a new commit to hand off. Defaults to `true`
|
|
885
|
+
* (undefined = true) — a Specifier/Coder/QA produces an artifact (spec, code,
|
|
886
|
+
* report) and a no-commit stage is a stall. Set `false` for review-style
|
|
887
|
+
* stages that legitimately approve clean with NO change: a Reviewer that finds
|
|
888
|
+
* nothing to fix should hand off "reviewed, no changes needed" against the
|
|
889
|
+
* commit it reviewed, not stall the pipeline. (Agent Packs live-run finding,
|
|
890
|
+
* 2026-08-08 — a clean Reviewer was mis-treated as "stage produced no commit".)
|
|
891
|
+
*/
|
|
892
|
+
requiresCommit?: boolean;
|
|
883
893
|
}
|
|
884
894
|
interface PackDefinition {
|
|
885
895
|
id: PackId;
|
package/dist/index.js
CHANGED
|
@@ -2614,7 +2614,9 @@ var PACK_REGISTRY = {
|
|
|
2614
2614
|
name: "Reviewer",
|
|
2615
2615
|
description: "Skeptical review in a fresh context \u2014 finds and fixes what the coder missed.",
|
|
2616
2616
|
skillIds: ["code-review", "code-naming"],
|
|
2617
|
-
prompt: REVIEWER_PROMPT
|
|
2617
|
+
prompt: REVIEWER_PROMPT,
|
|
2618
|
+
// Review-only: approving clean with no change is success, not a stall.
|
|
2619
|
+
requiresCommit: false
|
|
2618
2620
|
}
|
|
2619
2621
|
]
|
|
2620
2622
|
},
|
|
@@ -2643,7 +2645,9 @@ var PACK_REGISTRY = {
|
|
|
2643
2645
|
name: "Reviewer",
|
|
2644
2646
|
description: "Audits correctness, scope, design, and conventions with fresh eyes.",
|
|
2645
2647
|
skillIds: ["code-review", "code-naming"],
|
|
2646
|
-
prompt: REVIEWER_PROMPT
|
|
2648
|
+
prompt: REVIEWER_PROMPT,
|
|
2649
|
+
// Review-only: approving clean with no change is success, not a stall.
|
|
2650
|
+
requiresCommit: false
|
|
2647
2651
|
},
|
|
2648
2652
|
{
|
|
2649
2653
|
role: "qa",
|