harnessed 4.32.8 → 4.32.10
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.mjs +4 -17
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -38,7 +38,7 @@ var init_package = __esm({
|
|
|
38
38
|
"package.json"() {
|
|
39
39
|
package_default = {
|
|
40
40
|
name: "harnessed",
|
|
41
|
-
version: "4.32.
|
|
41
|
+
version: "4.32.10",
|
|
42
42
|
description: "AI coding harness package manager + composition orchestrator",
|
|
43
43
|
type: "module",
|
|
44
44
|
license: "Apache-2.0",
|
|
@@ -548,9 +548,6 @@ __export(workflowStore_exports, {
|
|
|
548
548
|
function storePath() {
|
|
549
549
|
return harnessedFile("workflows.json");
|
|
550
550
|
}
|
|
551
|
-
function legacyPath() {
|
|
552
|
-
return harnessedFile("current-workflow.json");
|
|
553
|
-
}
|
|
554
551
|
function emptyStore() {
|
|
555
552
|
return { schemaVersion: SCHEMA_VERSIONS.workflowStore, workflows: {} };
|
|
556
553
|
}
|
|
@@ -576,16 +573,6 @@ async function readStoreRaw() {
|
|
|
576
573
|
if (Value.Check(WorkflowStoreV1, parsed)) return parsed;
|
|
577
574
|
} catch {
|
|
578
575
|
}
|
|
579
|
-
try {
|
|
580
|
-
const legacy = JSON.parse(await readFile(legacyPath(), "utf8"));
|
|
581
|
-
if (Value.Check(CurrentWorkflowV1, legacy)) {
|
|
582
|
-
return {
|
|
583
|
-
schemaVersion: SCHEMA_VERSIONS.workflowStore,
|
|
584
|
-
workflows: { [repoKey()]: legacy }
|
|
585
|
-
};
|
|
586
|
-
}
|
|
587
|
-
} catch {
|
|
588
|
-
}
|
|
589
576
|
return emptyStore();
|
|
590
577
|
}
|
|
591
578
|
async function writeStoreRaw(store) {
|
|
@@ -3109,7 +3096,7 @@ function buildOrchestratorBody(name, prompt) {
|
|
|
3109
3096
|
``,
|
|
3110
3097
|
`- Generated by \`harnessed setup\`. Re-run after a harnessed upgrade to refresh.`,
|
|
3111
3098
|
`- gate/discipline SoT: \`workflows/${nameToYamlHintPath(name)}\` + \`workflows/judgments/\` \u2014 consumed by \`harnessed gates\` + \`harnessed prompt\`.`,
|
|
3112
|
-
`- The per-sub ledger + evidence guard live in \`
|
|
3099
|
+
`- The per-sub ledger + evidence guard live in \`workflows.json\` (per-repo store, sole SoT) \u2014 written only by \`harnessed checkpoint\`; never edit state files directly.`,
|
|
3113
3100
|
``,
|
|
3114
3101
|
MARKER,
|
|
3115
3102
|
``
|
|
@@ -3790,7 +3777,7 @@ var init_completionSchema = __esm({
|
|
|
3790
3777
|
type: "object",
|
|
3791
3778
|
properties: {
|
|
3792
3779
|
status: { type: "string", enum: ["COMPLETE", "PARTIAL", "BLOCKED"] },
|
|
3793
|
-
phase: { type: "string"
|
|
3780
|
+
phase: { type: "string" },
|
|
3794
3781
|
summary: { type: "string" },
|
|
3795
3782
|
blockers: { type: "array", items: { type: "string" } },
|
|
3796
3783
|
// v3.5.0 Phase 2 — Option 1-Lite signal-driven Agent Teams escalation.
|
|
@@ -3801,7 +3788,7 @@ var init_completionSchema = __esm({
|
|
|
3801
3788
|
needs_teams_escalation: { type: "boolean" },
|
|
3802
3789
|
escalation_reason: { type: "string" }
|
|
3803
3790
|
},
|
|
3804
|
-
required: ["status"
|
|
3791
|
+
required: ["status"]
|
|
3805
3792
|
};
|
|
3806
3793
|
}
|
|
3807
3794
|
});
|