@yemi33/minions 0.1.188 → 0.1.190

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,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.190 (2026-04-02)
4
+
5
+ ### Documentation
6
+ - README.md
7
+
8
+ ## 0.1.189 (2026-04-02)
9
+
10
+ ### Dashboard
11
+ - dashboard/js/render-plans.js
12
+
13
+ ### Playbooks
14
+ - meeting-conclude.md
15
+
3
16
  ## 0.1.188 (2026-04-02)
4
17
 
5
18
  ### Dashboard
package/README.md CHANGED
@@ -188,7 +188,7 @@ You can also run scripts directly: `node ~/.minions/engine.js start`, `node ~/.m
188
188
  - **Human approval gate** — plans require approval before materializing as work items. Dashboard provides Approve / Discuss & Revise / Reject. Discussion launches an interactive Claude Code session.
189
189
  - **Dispatches AI agents** (Claude CLI) with full project context, git worktrees, and MCP server access
190
190
  - **Routes intelligently** — fixes first, then reviews, then implementation, matched to agent strengths
191
- - **LLM-powered consolidation** — Haiku summarizes notes (threshold: 5 files). Regex fallback. Source references required.
191
+ - **LLM-powered consolidation** — Claude Haiku summarizes notes (threshold: 5 files). Regex fallback. Source references required.
192
192
  - **Knowledge base** — `knowledge/` with categories: architecture, conventions, project-notes, build-reports, reviews. Full notes preserved. Dashboard browsable with inline Q&A.
193
193
  - **Token tracking** — per-agent and per-day usage. Dashboard Token Usage panel.
194
194
  - **Engine watchdog** — dashboard auto-restarts dead engine.
@@ -204,6 +204,10 @@ You can also run scripts directly: `node ~/.minions/engine.js start`, `node ~/.m
204
204
  - **Plan verification** — when all PRD items complete, engine auto-dispatches a verify task that builds all repos, starts the webapp, and writes a manual testing guide
205
205
  - **PRD modification** — edit plans via doc-chat in the modal, then "Generate PRD" to regenerate. Dashboard supports regenerating, retrying failed items, and syncing edits to pending work items.
206
206
  - **Auto-extracts skills** — agents write ` ```skill ` blocks in output; engine auto-extracts them
207
+ - **Team meetings** — multi-agent meetings with investigate → debate → conclude rounds. Agents research a topic, debate approaches, and produce a conclusion with action items.
208
+ - **Pipelines** — multi-stage workflows chaining tasks, meetings, plans, and more. Cron triggers or manual. Artifacts flow between stages.
209
+ - **Eval loop** — after implementation, auto-dispatches review → fix cycles (configurable iterations and cost ceiling per work item)
210
+ - **Pinned notes** — critical context pinned to all agent prompts via `pinned.md`
207
211
  - **Heartbeat monitoring** — detects dead/hung agents via output file activity, not just timeouts
208
212
  - **Auto-cleanup** — stale temp files, orphaned worktrees, zombie processes cleaned every 10 minutes
209
213
 
@@ -212,20 +216,20 @@ You can also run scripts directly: `node ~/.minions/engine.js start`, `node ~/.m
212
216
  The web dashboard at `http://localhost:7331` provides:
213
217
 
214
218
  - **Projects bar** — all linked projects with descriptions (hover for full text)
215
- - **Command Center** — add work items, notes, plans (multi-project via `#project` tags). "make a plan for..." auto-detection, "remember" keyword, `--parallel`/`--shared` flags, arrow key history, Past Commands modal.
219
+ - **Command Center** — add work items, notes, plans (multi-project via `#project` tags). "make a plan for..." auto-detection, "remember" keyword, `--parallel`/`--shared` flags, arrow key history, Past Commands modal. Session state persists across refreshes.
216
220
  - **Minions Members** — agent cards with status and result summary, click for charter/history/output detail panel
217
221
  - **Live Output tab** — real-time streaming output for working agents (auto-refreshes every 3s)
218
- - **Work Items** — paginated table with status, source, type, priority, assigned agent, linked PRs, fan-out badges, and retry button for failed items
219
- - **Plans** — plan approval UI with Approve / Discuss & Revise / Reject. Click to open in doc-chat modal for natural language editing; "Generate PRD" button appears after edits.
220
- - **Knowledge Base** — browsable by category with inline Q&A (Haiku-powered)
221
- - **PRD Progress** — dependency graph view, per-item retry button, "Edit PRD" and "Regenerate" actions. Failed items show green retry button.
222
- - **Token Usage** — per-agent and per-day token tracking, plus engine LLM usage (command-center, doc-chat, consolidation)
223
- - **Pull Requests** — paginated PR tracker sorted by date, with review/build/merge status
224
- - **Skills** — agent-created reusable workflows (minions-wide + project-specific), click to view full content
225
- - **Notes Inbox + Team Notes** — learnings and team rules, editable from dashboard modal
226
- - **Dispatch Queue + Engine Log** active/pending work and audit trail
227
- - **Agent Metrics** — tasks completed, errors, PRs created/approved/rejected, approval rates
228
- - **Document modals** — inline Q&A with Haiku on any document modal
222
+ - **Work Items** — paginated table (20/page) with status, source, type, priority, assigned agent, linked PRs, fan-out badges, retry/delete/archive with optimistic updates
223
+ - **Plans & PRD** — plan approval UI with Approve / Discuss & Revise / Reject / Pause / Archive. Paginated (10/page). Click to open in doc-chat modal for natural language editing. PRD dependency graph view with per-item retry, edit, and remove.
224
+ - **Meetings** — create multi-agent meetings, view live progress per round, advance/end/archive. Paginated (10/page). Create plan from meeting conclusion.
225
+ - **Pipelines** — multi-stage pipeline builder. Create, trigger, continue past wait stages, view run history with artifact links. Paginated (10/page).
226
+ - **Pull Requests** — paginated PR tracker (25/page) sorted by date, with review/build/merge status. Link external PRs manually.
227
+ - **Notes & KB** — inbox (paginated, 15/page), team notes (editable), knowledge base by category (paginated, 30/page) with inline Q&A. Pinned notes for critical context.
228
+ - **Schedules** — create/edit/delete scheduled tasks with visual cron builder and natural language parsing. Paginated (15/page).
229
+ - **Skills & MCP** — agent-created reusable workflows (minions-wide + project-specific), click to view full content. MCP server listing.
230
+ - **Engine** dispatch queue (completed paginated, 20/page), engine log (paginated, 50/page), agent metrics, token usage, context pressure.
231
+ - **Settings** — engine config, eval loop, agent management, routing editor.
232
+ - **Document modals** — inline Q&A on any document modal. Auto-polls for live updates with scroll preservation.
229
233
 
230
234
  ## Project Config
231
235
 
@@ -414,6 +418,10 @@ Routing rules in `routing.md`. Charters in `agents/{name}/charter.md`. Both are
414
418
  | `implement-shared.md` | Implement on a shared branch (multiple agents) |
415
419
  | `ask.md` | Answer a question about the codebase |
416
420
  | `verify.md` | Plan completion: build all repos, start webapp, write testing guide |
421
+ | `decompose.md` | Break large work items into 2-5 sub-tasks |
422
+ | `meeting-investigate.md` | Meeting round 1: research the topic |
423
+ | `meeting-debate.md` | Meeting round 2: debate approaches |
424
+ | `meeting-conclude.md` | Meeting round 3: synthesize conclusion |
417
425
 
418
426
  All playbooks use `{{template_variables}}` filled from project config. The `work-item.md` playbook uses `{{scope_section}}` to inject project-specific or multi-project context. Playbooks are fully customizable — edit them to match your workflow.
419
427
 
@@ -500,6 +508,11 @@ Engine behavior is controlled via `config.json`. Key settings:
500
508
  | `shutdownTimeout` | 300000 (5min) | Max wait for active agents during graceful shutdown (SIGTERM/SIGINT) |
501
509
  | `allowTempAgents` | false | Spawn ephemeral agents when all permanent agents are busy |
502
510
  | `autoDecompose` | true | Auto-decompose `implement:large` items into sub-tasks before dispatch |
511
+ | `autoApprovePlans` | false | Auto-approve PRDs without waiting for human approval |
512
+ | `evalLoop` | true | Auto-dispatch review → fix cycles after implementation completes |
513
+ | `evalMaxIterations` | 3 | Max review → fix cycles before escalating to human |
514
+ | `evalMaxCost` | null | USD ceiling per work item across all eval iterations (null = no limit) |
515
+ | `meetingRoundTimeout` | 600000 (10min) | Timeout per meeting round before auto-advance |
503
516
 
504
517
  ### Scheduled Tasks
505
518
 
@@ -550,7 +563,7 @@ Set `engine.allowTempAgents: true` to let the engine spawn ephemeral agents when
550
563
 
551
564
  ### Live Output Streaming
552
565
 
553
- The dashboard streams agent output in real-time via Server-Sent Events (SSE) instead of polling. The `GET /api/agent/:id/live-stream` endpoint pushes output chunks as they're written. Falls back to 3-second polling if SSE is unavailable.
566
+ The dashboard polls agent output every 3 seconds via `GET /api/agent/:id/live`. An SSE endpoint (`/api/agent/:id/live-stream`) is also available but polling is preferred to avoid HTTP/1.1 connection exhaustion.
554
567
 
555
568
  ## Node.js Upgrade Caution
556
569
 
@@ -591,21 +604,36 @@ To move to a new machine: `npm install -g @yemi33/minions && minions init --forc
591
604
  spawn-agent.js <- Agent spawn wrapper (resolves claude cli.js)
592
605
  preflight.js <- Prerequisite checks (Node, Git, Claude CLI, API key)
593
606
  scheduler.js <- Cron-style scheduled task discovery
607
+ pipeline.js <- Multi-stage pipeline orchestration
608
+ meeting.js <- Meeting creation, rounds, conclusion
609
+ cleanup.js <- Worktree + temp file cleanup
610
+ timeout.js <- Agent timeout and heartbeat detection
611
+ cooldown.js <- Dispatch cooldown with exponential backoff
612
+ github.js <- GitHub PR polling, comment polling, reconciliation
613
+ routing.js <- Agent routing and temp agent management
614
+ dispatch.js <- Dispatch queue mutations (add, complete, retry)
594
615
  ado-mcp-wrapper.js <- ADO MCP authentication wrapper
595
616
  check-status.js <- Quick status check without full engine load
596
617
  control.json <- running/paused/stopped (runtime, generated)
597
618
  dispatch.json <- pending/active/completed queue (runtime, generated)
598
- log.json <- Audit trail, capped at 500 (runtime, generated)
619
+ log.json <- Audit trail, capped at 2500 (runtime, generated)
599
620
  metrics.json <- Per-agent quality metrics (runtime, generated)
600
621
  cooldowns.json <- Dispatch cooldown tracking (runtime, generated)
601
622
  schedule-runs.json <- Last-run timestamps for scheduled tasks (runtime, generated)
623
+ pipeline-runs.json <- Pipeline run history per pipeline (runtime, generated)
602
624
  dashboard.js <- Web dashboard server
603
- dashboard.html <- Dashboard UI (single-file)
625
+ dashboard/
626
+ layout.html <- Page layout shell with sidebar navigation
627
+ styles.css <- Dashboard CSS (dark theme, responsive)
628
+ pages/ <- HTML fragments per page (work, plans, engine, etc.)
629
+ js/ <- JS modules: render-*.js, utils, refresh, settings, command-center
604
630
  config.json <- projects[], agents, engine, claude settings (generated by minions init)
605
631
  config.template.json <- Template for new installs
606
632
  package.json <- npm package definition
607
633
  plans/ <- Approved plans: plans/{project}-{date}.json (generated)
608
634
  prd/ <- PRD archives and verification guides (generated)
635
+ pipelines/ <- Pipeline definitions (generated)
636
+ meetings/ <- Meeting state files (generated)
609
637
  knowledge/ <- KB: architecture, conventions, project-notes, build-reports, reviews (generated)
610
638
  routing.md <- Dispatch rules table (generated, editable)
611
639
  notes.md <- Team rules + consolidated learnings (generated)
@@ -624,6 +652,9 @@ To move to a new machine: `npm install -g @yemi33/minions && minions init --forc
624
652
  ask.md <- Answer a question about the codebase
625
653
  verify.md <- Plan verification: build, test, start webapp, testing guide
626
654
  decompose.md <- Break large work items into 2-5 sub-tasks
655
+ meeting-investigate.md <- Meeting round 1: research
656
+ meeting-debate.md <- Meeting round 2: debate
657
+ meeting-conclude.md <- Meeting round 3: conclude
627
658
  skills/ <- Agent-created reusable workflows (generated)
628
659
  agents/
629
660
  {name}/
@@ -70,7 +70,7 @@ function derivePlanStatus(prdFile, mdFile, prdJsonStatus, workItems) {
70
70
  w.sourcePlan === prdFile || w.sourcePlan === mdFile ||
71
71
  (w.type === 'plan-to-prd' && (w.planFile === prdFile || w.planFile === mdFile))
72
72
  );
73
- const implementWi = wi.filter(w => w.type !== 'plan-to-prd' && w.type !== 'verify');
73
+ const implementWi = wi.filter(w => w.type !== 'plan-to-prd' && w.type !== 'verify' && w.type !== 'evaluate');
74
74
  const hasPendingPrd = wi.some(w => w.type === 'plan-to-prd' && (w.status === 'pending' || w.status === 'dispatched'));
75
75
  const hasActiveWork = implementWi.some(w => w.status === 'pending' || w.status === 'dispatched');
76
76
  const allDone = implementWi.length > 0 && implementWi.every(w => w.status === 'done');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.188",
3
+ "version": "0.1.190",
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"
@@ -34,42 +34,4 @@ Write a clear meeting conclusion covering:
34
34
 
35
35
  Be decisive. If there's a clear best option, say so.
36
36
 
37
- ## Plan Creation (conditional)
38
-
39
- After writing the conclusion, decide: **are there concrete action items that require implementation work?**
40
-
41
- - **If YES** — write a plan file to `plans/<slugified-meeting-title>-<YYYY-MM-DD>.md` using the Minions plan format below. Only create this file if there are real, actionable implementation tasks — not just discussion points or observations.
42
-
43
- - **If NO** — do not create a plan file. A conclusion with only open questions, observations, or decisions that require no code/implementation changes does not need a plan.
44
-
45
- ### Plan format (only if action items exist)
46
-
47
- ```markdown
48
- # <Plan Title>
49
-
50
- > Source: Meeting {{meeting_title}} — <date>
51
-
52
- ## Background
53
-
54
- <1-2 sentence summary of why this plan exists, from the meeting conclusion>
55
-
56
- ## Tasks
57
-
58
- ### 1. <Task title>
59
- - **What**: <what needs to be done>
60
- - **Why**: <from the meeting — what problem does this fix>
61
- - **Owner**: <agent role best suited: Engineer / Architect / Analyst>
62
- - **Files**: <relevant files if known>
63
-
64
- ### 2. <Task title>
65
- ...
66
-
67
- ## Open Questions
68
-
69
- <Any unresolved items that need human input before work begins>
70
- ```
71
-
72
- Do NOT create a plan for:
73
- - Informational findings with no follow-up work
74
- - Decisions that have already been made and require no changes
75
- - Items that are purely "monitor and observe"
37
+ Do NOT create plan files — plan creation is handled separately (by the pipeline plan stage or the dashboard "Create Plan" button).