@yemi33/minions 0.1.877 → 0.1.879

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/CHANGELOG.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.877 (2026-04-11)
3
+ ## 0.1.879 (2026-04-11)
4
4
 
5
5
  ### Features
6
6
  - add 13 missing CC action types for full dashboard parity
7
7
 
8
8
  ### Fixes
9
+ - suppress false [steering-failed] banner when agent responded (closes #894) (#896)
10
+ - delete .backup sidecar when archiving PRD
9
11
  - CC action bugs + security guard on generic fallback
10
12
  - reset central work-items.json on agent kill (closes #890) (#891)
11
13
  - include started_at in done/error agent status so duration renders
@@ -351,6 +351,11 @@ function archivePlan(planFile, plan, projects, config) {
351
351
  fs.renameSync(planPath, path.join(prdArchiveDir, planFile));
352
352
  log('info', `Archived completed PRD: prd/archive/${planFile}`);
353
353
  }
354
+ // Remove .backup sidecar — if left behind, safeJson() would restore the pre-completion
355
+ // snapshot (status: approved, no _completionNotified) on engine restart, re-triggering
356
+ // plan completion and spawning duplicate verify tasks for already-archived plans.
357
+ const backupPath = planPath + '.backup';
358
+ if (fs.existsSync(backupPath)) fs.unlinkSync(backupPath);
354
359
  } catch (err) {
355
360
  log('warn', `Failed to archive PRD ${planFile}: ${err.message}`);
356
361
  }
package/engine.js CHANGED
@@ -898,7 +898,11 @@ async function spawnAgent(dispatchItem, config) {
898
898
  try { fs.unlinkSync(steerPromptPath); } catch { /* cleanup */ }
899
899
  if (resumeCode !== 0) {
900
900
  log('warn', `Steering resume for ${agentId} exited with code ${resumeCode} | stderr: ${stderr.slice(-300).replace(/\n/g, ' ')}`);
901
- try { fs.appendFileSync(liveOutputPath, `\n[steering-failed] Resume exited with code ${resumeCode}. Your message was received but the agent could not continue the session.\n`); } catch {}
901
+ // Claude CLI can exit code 1 after a successful single-turn --resume session.
902
+ // Only show [steering-failed] if no output was produced — suppress when agent responded despite non-zero exit.
903
+ if (!stdout.trim()) {
904
+ try { fs.appendFileSync(liveOutputPath, `\n[steering-failed] Resume exited with code ${resumeCode}. Your message was received but the agent could not continue the session.\n`); } catch {}
905
+ }
902
906
  // Don't assume original work completed — run normal close handler to parse output and determine actual result
903
907
  onAgentClose(resumeCode);
904
908
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.877",
3
+ "version": "0.1.879",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"