@yemi33/minions 0.1.2370 → 0.1.2371
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/bin/minions.js +38 -11
- package/dashboard/js/render-other.js +2 -30
- package/dashboard/js/render-work-items.js +0 -34
- package/dashboard/js/settings.js +12 -27
- package/dashboard/pages/tools.html +1 -1
- package/dashboard.js +80 -257
- package/docs/README.md +2 -3
- package/docs/architecture.excalidraw +2 -2
- package/docs/auto-discovery.md +3 -3
- package/docs/completion-reports.md +0 -121
- package/docs/copilot-cli-schema.md +9 -17
- package/docs/deprecated.json +0 -51
- package/docs/design-state-storage.md +4 -4
- package/docs/harness-propagation.md +33 -263
- package/docs/human-vs-automated.md +1 -1
- package/docs/named-agents.md +0 -2
- package/docs/plan-lifecycle.md +5 -6
- package/docs/qa-runbook-lifecycle.md +10 -25
- package/docs/shared-lifecycle-module-map.md +2 -10
- package/engine/ado-comment.js +5 -11
- package/engine/ado.js +10 -5
- package/engine/cleanup.js +16 -36
- package/engine/cli.js +13 -175
- package/engine/comment-format.js +8 -182
- package/engine/db/index.js +60 -10
- package/engine/db/migrations/018-sql-only-cutover.js +56 -0
- package/engine/dispatch-store.js +0 -114
- package/engine/dispatch.js +1 -6
- package/engine/gh-comment.js +2 -10
- package/engine/github.js +8 -6
- package/engine/lifecycle.js +58 -173
- package/engine/llm.js +9 -11
- package/engine/managed-spawn.js +1 -6
- package/engine/memory-store.js +8 -6
- package/engine/metrics-store.js +4 -128
- package/engine/pipeline.js +4 -7
- package/engine/playbook.js +8 -196
- package/engine/prd-store.js +115 -141
- package/engine/preflight.js +8 -55
- package/engine/projects.js +34 -41
- package/engine/pull-requests-store.js +9 -234
- package/engine/qa-runs.js +4 -15
- package/engine/qa-sessions.js +5 -17
- package/engine/queries.js +23 -103
- package/engine/routing.js +1 -1
- package/engine/runtimes/claude.js +1 -2
- package/engine/runtimes/codex.js +0 -2
- package/engine/runtimes/copilot.js +1 -4
- package/engine/shared-branch-pr-reconcile.js +2 -5
- package/engine/shared.js +174 -533
- package/engine/small-state-store.js +12 -647
- package/engine/spawn-agent.js +5 -96
- package/engine/state-operations.js +166 -0
- package/engine/supervisor.js +0 -1
- package/engine/watch-actions.js +2 -3
- package/engine/watches-store.js +2 -128
- package/engine/work-items-store.js +3 -254
- package/engine.js +102 -334
- package/package.json +2 -2
- package/playbooks/build-fix-complex.md +0 -4
- package/playbooks/fix.md +0 -4
- package/playbooks/implement-shared.md +0 -4
- package/playbooks/implement.md +0 -4
- package/playbooks/plan-to-prd.md +16 -11
- package/playbooks/plan.md +0 -4
- package/playbooks/review.md +0 -6
- package/playbooks/shared-rules.md +0 -65
- package/docs/harness-transparency.md +0 -199
- package/docs/project-skills.md +0 -193
- package/engine/discover-project-skills.js +0 -673
- package/engine/playbook-intents.js +0 -76
package/engine/runtimes/codex.js
CHANGED
|
@@ -328,7 +328,6 @@ function buildArgs(opts = {}) {
|
|
|
328
328
|
outputLastMessage,
|
|
329
329
|
sandbox = 'workspace-write',
|
|
330
330
|
skipGitRepoCheck = true,
|
|
331
|
-
ignoreRules = true,
|
|
332
331
|
configOverrides,
|
|
333
332
|
} = opts;
|
|
334
333
|
|
|
@@ -339,7 +338,6 @@ function buildArgs(opts = {}) {
|
|
|
339
338
|
if (model) args.push('--model', String(model));
|
|
340
339
|
if (sandbox) args.push('--sandbox', String(sandbox));
|
|
341
340
|
if (skipGitRepoCheck === true) args.push('--skip-git-repo-check');
|
|
342
|
-
if (ignoreRules === true) args.push('--ignore-rules');
|
|
343
341
|
if (outputLastMessage) args.push('--output-last-message', String(outputLastMessage));
|
|
344
342
|
|
|
345
343
|
const mappedEffort = _mapEffort(effort);
|
|
@@ -453,7 +453,6 @@ function buildArgs(opts = {}) {
|
|
|
453
453
|
addDirs,
|
|
454
454
|
stream,
|
|
455
455
|
disableBuiltinMcps,
|
|
456
|
-
suppressAgentsMd,
|
|
457
456
|
reasoningSummaries,
|
|
458
457
|
disabledMcpServers,
|
|
459
458
|
images,
|
|
@@ -489,7 +488,6 @@ function buildArgs(opts = {}) {
|
|
|
489
488
|
// Toggle flags — strict-true gating to avoid surprise opt-in from truthy
|
|
490
489
|
// strings or 1/0 numbers in config.
|
|
491
490
|
if (disableBuiltinMcps === true) args.push('--disable-builtin-mcps');
|
|
492
|
-
if (suppressAgentsMd === true) args.push('--no-custom-instructions');
|
|
493
491
|
if (reasoningSummaries === true) args.push('--enable-reasoning-summaries');
|
|
494
492
|
|
|
495
493
|
// P-mcp-storm — Disable named user-scope MCP servers per spawn. Copilot loads
|
|
@@ -542,7 +540,6 @@ function buildSpawnFlags(opts = {}) {
|
|
|
542
540
|
if (module.exports.capabilities.fallbackModel && opts.fallbackModel) flags.push('--fallback-model', String(opts.fallbackModel));
|
|
543
541
|
if (opts.stream != null && opts.stream !== '') flags.push('--stream', String(opts.stream));
|
|
544
542
|
if (opts.disableBuiltinMcps === true) flags.push('--disable-builtin-mcps');
|
|
545
|
-
if (opts.suppressAgentsMd === true) flags.push('--no-custom-instructions');
|
|
546
543
|
if (opts.reasoningSummaries === true) flags.push('--enable-reasoning-summaries');
|
|
547
544
|
// P-mcp-storm — forward each disabled user MCP server so spawn-agent.js can
|
|
548
545
|
// re-emit it on the copilot CLI (parseSpawnArgs accumulates these into
|
|
@@ -1274,7 +1271,7 @@ const capabilities = {
|
|
|
1274
1271
|
promptViaArg: false,
|
|
1275
1272
|
// No --max-budget-usd
|
|
1276
1273
|
budgetCap: false,
|
|
1277
|
-
// No --bare
|
|
1274
|
+
// No --bare equivalent.
|
|
1278
1275
|
bareMode: false,
|
|
1279
1276
|
// No --fallback-model
|
|
1280
1277
|
fallbackModel: false,
|
|
@@ -144,13 +144,10 @@ async function _reconcilePrdForProject(plan, file, project, planIds) {
|
|
|
144
144
|
* the sweep.
|
|
145
145
|
*/
|
|
146
146
|
async function reconcileSharedBranchPrs(config) {
|
|
147
|
-
|
|
148
|
-
try { planFiles = fs.readdirSync(PRD_DIR).filter(f => f.endsWith('.json')); }
|
|
149
|
-
catch { return; } // PRD dir absent -> nothing to do
|
|
147
|
+
const planFiles = require('./prd-store').listPrdRows().filter(row => !row.archived);
|
|
150
148
|
|
|
151
|
-
for (const file of planFiles) {
|
|
149
|
+
for (const { filename: file, plan } of planFiles) {
|
|
152
150
|
try {
|
|
153
|
-
const plan = shared.safeJsonNoRestore(path.join(PRD_DIR, file));
|
|
154
151
|
if (!_isSharedBranchPrd(plan)) continue;
|
|
155
152
|
const planIds = _collectPlanItemIds(plan);
|
|
156
153
|
if (planIds.length === 0) continue;
|