@selesai/code 0.3.6 → 0.3.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.
|
@@ -441,7 +441,9 @@ export class WorkflowStateMachine {
|
|
|
441
441
|
const sat = await this.artifactSatisfiedFor(this.phase, deps);
|
|
442
442
|
if (!sat.exists) return { kind: "noOp" };
|
|
443
443
|
if (sat.reason) {
|
|
444
|
-
|
|
444
|
+
// Keep armed: the artifact exists but failed the semantic gate. The
|
|
445
|
+
// next corrected write/subagent result must be able to advance this
|
|
446
|
+
// same phase; disarming here leaves the workflow stuck forever.
|
|
445
447
|
const missing = this.config.phaseArtifacts[this.phase]!;
|
|
446
448
|
return { kind: "blocked", phase: this.phase, missing, reason: sat.reason };
|
|
447
449
|
}
|