@cleocode/cleo 2026.4.158 → 2026.4.161
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/cli/index.js +21 -3
- package/dist/cli/index.js.map +2 -2
- package/package.json +9 -9
- package/templates/HANDOFF-REDIRECT-STUB.md +37 -0
- package/templates/hooks/commit-msg +146 -6
package/dist/cli/index.js
CHANGED
|
@@ -744,7 +744,8 @@ var init_facade = __esm({
|
|
|
744
744
|
"bugfix",
|
|
745
745
|
"decision",
|
|
746
746
|
"refactor",
|
|
747
|
-
"diary"
|
|
747
|
+
"diary",
|
|
748
|
+
"session-summary"
|
|
748
749
|
];
|
|
749
750
|
AGENT_INSTANCE_STATUSES = [
|
|
750
751
|
"starting",
|
|
@@ -15178,10 +15179,14 @@ import {
|
|
|
15178
15179
|
appendForceBypassLine,
|
|
15179
15180
|
appendGateAuditLine,
|
|
15180
15181
|
checkAndIncrementOverrideCap,
|
|
15182
|
+
checkCallsiteCoverageAtom,
|
|
15183
|
+
checkEngineMigrationLocDrop,
|
|
15181
15184
|
checkGateEvidenceMinimum,
|
|
15182
15185
|
composeGateEvidence,
|
|
15183
15186
|
enforceSharedEvidence,
|
|
15184
15187
|
getAccessor as getAccessor7,
|
|
15188
|
+
hasCallsiteCoverageLabel,
|
|
15189
|
+
hasEngineMigrationLabel,
|
|
15185
15190
|
parseEvidence,
|
|
15186
15191
|
validateAtom
|
|
15187
15192
|
} from "@cleocode/core/internal";
|
|
@@ -15773,6 +15778,19 @@ Or set CLEO_OWNER_OVERRIDE=1 with CLEO_OWNER_OVERRIDE_REASON=<reason> for emerge
|
|
|
15773
15778
|
return engineError("E_EVIDENCE_INSUFFICIENT", missing2);
|
|
15774
15779
|
}
|
|
15775
15780
|
}
|
|
15781
|
+
const isImplementedTarget = targets.includes("implemented");
|
|
15782
|
+
if (isImplementedTarget && hasEngineMigrationLabel(task.labels ?? [])) {
|
|
15783
|
+
const locDropError = checkEngineMigrationLocDrop(validatedAtoms);
|
|
15784
|
+
if (locDropError) {
|
|
15785
|
+
return engineError("E_EVIDENCE_INSUFFICIENT", locDropError);
|
|
15786
|
+
}
|
|
15787
|
+
}
|
|
15788
|
+
if (isImplementedTarget && hasCallsiteCoverageLabel(task.labels ?? [])) {
|
|
15789
|
+
const callsiteError = checkCallsiteCoverageAtom(validatedAtoms);
|
|
15790
|
+
if (callsiteError) {
|
|
15791
|
+
return engineError("E_EVIDENCE_INSUFFICIENT", callsiteError);
|
|
15792
|
+
}
|
|
15793
|
+
}
|
|
15776
15794
|
}
|
|
15777
15795
|
evidenceStored.push(...validatedAtoms);
|
|
15778
15796
|
const evidence = composeGateEvidence(
|
|
@@ -46651,7 +46669,7 @@ var observeCommand = defineCommand({
|
|
|
46651
46669
|
},
|
|
46652
46670
|
type: {
|
|
46653
46671
|
type: "string",
|
|
46654
|
-
description: "Category: discovery (found something new), decision (choice made), bugfix (bug found/fixed), refactor (code restructured), feature (feature added), change (general change),
|
|
46672
|
+
description: "Category: discovery (found something new), decision (choice made), bugfix (bug found/fixed), refactor (code restructured), feature (feature added), change (general change), diary (journal entry), session-summary (end-of-session recap auto-created by cleo session end)"
|
|
46655
46673
|
},
|
|
46656
46674
|
agent: {
|
|
46657
46675
|
type: "string",
|
|
@@ -48491,7 +48509,7 @@ var recentCommand = makeMemorySubcommand({
|
|
|
48491
48509
|
},
|
|
48492
48510
|
type: {
|
|
48493
48511
|
type: "string",
|
|
48494
|
-
description: "Filter by observation type (discovery, decision, bugfix, refactor, feature, change,
|
|
48512
|
+
description: "Filter by observation type (discovery, decision, bugfix, refactor, feature, change, diary, session-summary)."
|
|
48495
48513
|
},
|
|
48496
48514
|
since: {
|
|
48497
48515
|
type: "string",
|