zugzbot-sdd 1.5.37 → 1.5.39
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.
|
@@ -175,16 +175,29 @@ export default tool({
|
|
|
175
175
|
report.push(`⚠️ Sincronización automática de habilidades fallida o no disponible: ${e.message || e}`);
|
|
176
176
|
}
|
|
177
177
|
// 4. No temporary file is needed on disk, we feed it directly to git commit stdin in step 7.
|
|
178
|
-
// 5. Resetear el lockfile a idle (ANTES del commit para incluirlo en el cierre)
|
|
178
|
+
// 5. Resetear el lockfile a idle con un estado completamente limpio y fresco (ANTES del commit para incluirlo en el cierre)
|
|
179
179
|
if (fs.existsSync(lockfilePath)) {
|
|
180
180
|
try {
|
|
181
|
-
const lockfile =
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
181
|
+
const lockfile = {
|
|
182
|
+
change_name: "nuevo-cambio",
|
|
183
|
+
active_phase: 0,
|
|
184
|
+
active_subagent: "sdd-explorer",
|
|
185
|
+
status: "idle",
|
|
186
|
+
auto_pilot: false,
|
|
187
|
+
iteration: 0,
|
|
188
|
+
last_updated: dateStr,
|
|
189
|
+
orchestrator_mode: "delegation_only",
|
|
190
|
+
direction: "forward",
|
|
191
|
+
last_successful_phase: 0,
|
|
192
|
+
retry_count: 0,
|
|
193
|
+
corrective_loop_active: false,
|
|
194
|
+
fresh_task: false,
|
|
195
|
+
checkpoints: [],
|
|
196
|
+
tasks: [],
|
|
197
|
+
complexity: "low"
|
|
198
|
+
};
|
|
186
199
|
fs.writeFileSync(lockfilePath, JSON.stringify(lockfile, null, 2), "utf-8");
|
|
187
|
-
report.push(`✓ Lockfile .openspec/sdd-lock.json restablecido a 'idle'`);
|
|
200
|
+
report.push(`✓ Lockfile .openspec/sdd-lock.json restablecido a 'idle' con valores limpios`);
|
|
188
201
|
}
|
|
189
202
|
catch (e) {
|
|
190
203
|
report.push(`⚠️ No se pudo restablecer el lockfile: ${e.message}`);
|
package/bin/zugzbot.js
CHANGED
package/package.json
CHANGED
|
@@ -174,16 +174,29 @@ export default tool({
|
|
|
174
174
|
|
|
175
175
|
// 4. No temporary file is needed on disk, we feed it directly to git commit stdin in step 7.
|
|
176
176
|
|
|
177
|
-
// 5. Resetear el lockfile a idle (ANTES del commit para incluirlo en el cierre)
|
|
177
|
+
// 5. Resetear el lockfile a idle con un estado completamente limpio y fresco (ANTES del commit para incluirlo en el cierre)
|
|
178
178
|
if (fs.existsSync(lockfilePath)) {
|
|
179
179
|
try {
|
|
180
|
-
const lockfile =
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
const lockfile = {
|
|
181
|
+
change_name: "nuevo-cambio",
|
|
182
|
+
active_phase: 0,
|
|
183
|
+
active_subagent: "sdd-explorer",
|
|
184
|
+
status: "idle",
|
|
185
|
+
auto_pilot: false,
|
|
186
|
+
iteration: 0,
|
|
187
|
+
last_updated: dateStr,
|
|
188
|
+
orchestrator_mode: "delegation_only",
|
|
189
|
+
direction: "forward",
|
|
190
|
+
last_successful_phase: 0,
|
|
191
|
+
retry_count: 0,
|
|
192
|
+
corrective_loop_active: false,
|
|
193
|
+
fresh_task: false,
|
|
194
|
+
checkpoints: [],
|
|
195
|
+
tasks: [],
|
|
196
|
+
complexity: "low"
|
|
197
|
+
}
|
|
185
198
|
fs.writeFileSync(lockfilePath, JSON.stringify(lockfile, null, 2), "utf-8")
|
|
186
|
-
report.push(`✓ Lockfile .openspec/sdd-lock.json restablecido a 'idle'`)
|
|
199
|
+
report.push(`✓ Lockfile .openspec/sdd-lock.json restablecido a 'idle' con valores limpios`)
|
|
187
200
|
} catch (e: any) {
|
|
188
201
|
report.push(`⚠️ No se pudo restablecer el lockfile: ${e.message}`)
|
|
189
202
|
}
|