@monoes/monomindcli 2.16.3 → 2.16.5
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/.claude/agents/github/repo-architect.md +1 -1
- package/.claude/agents/specialists/integration-architect.md +9 -13
- package/.claude/commands/agents/agent-capabilities.md +1 -0
- package/.claude/commands/agents/agent-coordination.md +1 -0
- package/.claude/commands/agents/agent-spawning.md +1 -0
- package/.claude/commands/agents/agent-types.md +1 -0
- package/.claude/commands/analysis/bottleneck-detect.md +1 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +1 -0
- package/.claude/commands/analysis/performance-report.md +1 -0
- package/.claude/commands/analysis/token-usage.md +1 -0
- package/.claude/commands/automation/README.md +1 -1
- package/.claude/commands/automation/auto-agent.md +1 -0
- package/.claude/commands/automation/self-healing.md +1 -0
- package/.claude/commands/automation/session-memory.md +1 -0
- package/.claude/commands/automation/smart-agents.md +1 -0
- package/.claude/commands/automation/smart-spawn.md +1 -0
- package/.claude/commands/automation/workflow-select.md +22 -27
- package/.claude/commands/coordination/README.md +2 -2
- package/.claude/commands/coordination/agent-spawn.md +1 -0
- package/.claude/commands/coordination/monoswarm-init.md +9 -8
- package/.claude/commands/coordination/task-orchestrate.md +6 -5
- package/.claude/commands/github/README.md +1 -1
- package/.claude/commands/github/github-modes.md +1 -0
- package/.claude/commands/github/issue-tracker.md +1 -0
- package/.claude/commands/github/pr-manager.md +1 -0
- package/.claude/commands/github/release-manager.md +1 -2
- package/.claude/commands/github/repo-architect.md +1 -0
- package/.claude/commands/github/sync-coordinator.md +1 -0
- package/.claude/commands/hooks/overview.md +1 -0
- package/.claude/commands/hooks/post-edit.md +1 -0
- package/.claude/commands/hooks/post-task.md +1 -0
- package/.claude/commands/hooks/pre-edit.md +1 -0
- package/.claude/commands/hooks/pre-task.md +1 -0
- package/.claude/commands/hooks/session-end.md +1 -0
- package/.claude/commands/hooks/setup.md +1 -0
- package/.claude/commands/mastermind/adr.md +3 -1
- package/.claude/commands/mastermind/brain.md +3 -1
- package/.claude/commands/mastermind/budget.md +3 -1
- package/.claude/commands/mastermind/code-review.md +3 -1
- package/.claude/commands/mastermind/content.md +3 -1
- package/.claude/commands/mastermind/createorg.md +4 -2
- package/.claude/commands/mastermind/createtask.md +6 -4
- package/.claude/commands/mastermind/debug.md +3 -1
- package/.claude/commands/mastermind/design.md +3 -1
- package/.claude/commands/mastermind/do.md +5 -3
- package/.claude/commands/mastermind/execute.md +3 -1
- package/.claude/commands/mastermind/finance.md +3 -1
- package/.claude/commands/mastermind/graph-status.md +3 -1
- package/.claude/commands/mastermind/help.md +17 -20
- package/.claude/commands/mastermind/idea.md +3 -1
- package/.claude/commands/mastermind/ideate.md +4 -2
- package/.claude/commands/mastermind/improve.md +4 -2
- package/.claude/commands/mastermind/loops.md +3 -1
- package/.claude/commands/mastermind/marketing.md +3 -1
- package/.claude/commands/mastermind/master.md +4 -3
- package/.claude/commands/mastermind/memory.md +8 -36
- package/.claude/commands/mastermind/monoswarm.md +3 -2
- package/.claude/commands/mastermind/okf-export.md +3 -1
- package/.claude/commands/mastermind/okf-import.md +3 -1
- package/.claude/commands/mastermind/ops.md +3 -1
- package/.claude/commands/mastermind/orgs.md +3 -1
- package/.claude/commands/mastermind/orgstatus.md +3 -1
- package/.claude/commands/mastermind/plan.md +3 -1
- package/.claude/commands/mastermind/receive-review.md +3 -1
- package/.claude/commands/mastermind/release.md +3 -1
- package/.claude/commands/mastermind/repeat.md +3 -1
- package/.claude/commands/mastermind/research.md +3 -1
- package/.claude/commands/mastermind/review.md +3 -1
- package/.claude/commands/mastermind/runorg.md +4 -2
- package/.claude/commands/mastermind/sales.md +3 -1
- package/.claude/commands/mastermind/skill-builder.md +3 -1
- package/.claude/commands/mastermind/specialagents.md +3 -1
- package/.claude/commands/mastermind/stoporg.md +9 -11
- package/.claude/commands/mastermind/techport.md +3 -1
- package/.claude/commands/mastermind/topology.md +4 -3
- package/.claude/commands/mastermind/understand.md +3 -1
- package/.claude/commands/mastermind/worktree.md +3 -1
- package/.claude/commands/memory/memory-search.md +1 -0
- package/.claude/commands/monitoring/README.md +1 -1
- package/.claude/commands/monitoring/agent-metrics.md +1 -0
- package/.claude/commands/monitoring/agents.md +1 -0
- package/.claude/commands/monitoring/status.md +1 -0
- package/.claude/commands/monoswarm/README.md +3 -3
- package/.claude/commands/monoswarm/analysis.md +2 -2
- package/.claude/commands/monoswarm/consensus.md +1 -0
- package/.claude/commands/monoswarm/development.md +3 -3
- package/.claude/commands/monoswarm/examples.md +4 -4
- package/.claude/commands/monoswarm/init.md +2 -1
- package/.claude/commands/monoswarm/maintenance.md +2 -2
- package/.claude/commands/monoswarm/memory.md +1 -0
- package/.claude/commands/monoswarm/monoswarm.md +5 -5
- package/.claude/commands/monoswarm/optimization.md +2 -2
- package/.claude/commands/monoswarm/research.md +2 -2
- package/.claude/commands/monoswarm/spawn.md +1 -0
- package/.claude/commands/monoswarm/status.md +2 -1
- package/.claude/commands/monoswarm/stop.md +2 -1
- package/.claude/commands/monoswarm/testing.md +2 -2
- package/.claude/commands/pair/README.md +8 -9
- package/.claude/commands/pair/examples.md +3 -4
- package/.claude/commands/pair/session.md +1 -1
- package/.claude/commands/workflows/README.md +45 -40
- package/.claude/commands/workflows/development.md +42 -55
- package/.claude/commands/workflows/research.md +41 -57
- package/.claude/commands/workflows/workflow-create.md +43 -45
- package/.claude/commands/workflows/workflow-execute.md +58 -68
- package/.claude/commands/workflows/workflow-export.md +37 -63
- package/.claude/helpers/agent-registry.cjs +434 -0
- package/.claude/helpers/build-skill-registry.cjs +10 -6
- package/.claude/helpers/handlers/pick-core.cjs +55 -26
- package/.claude/helpers/handlers/route-handler.cjs +11 -3
- package/.claude/helpers/handlers/session-restore-handler.cjs +4 -1
- package/.claude/helpers/hook-handler.cjs +4 -2
- package/.claude/helpers/jev-catalog.cjs +14 -6
- package/.claude/helpers/jev-picker.cjs +52 -8
- package/.claude/helpers/pick-rank.cjs +184 -6
- package/.claude/helpers/pick-stats.cjs +86 -2
- package/.claude/skills/agentic-jujutsu/SKILL.md +2 -3
- package/.claude/skills/github-toolkit/SKILL.md +1 -1
- package/.claude/skills/hooks-automation/SKILL.md +243 -938
- package/.claude/skills/mastermind-agent-detail/SKILL.md +1 -1
- package/.claude/skills/mastermind-agent-select/SKILL.md +16 -1
- package/.claude/skills/mastermind-agents/SKILL.md +31 -38
- package/.claude/skills/mastermind-createorg/SKILL.md +3 -3
- package/.claude/skills/mastermind-env/SKILL.md +4 -18
- package/.claude/skills/mastermind-inbox/SKILL.md +31 -52
- package/.claude/skills/mastermind-instance/SKILL.md +7 -5
- package/.claude/skills/mastermind-new-agent/SKILL.md +3 -3
- package/.claude/skills/mastermind-org-settings/SKILL.md +3 -4
- package/.claude/skills/mastermind-orgs/SKILL.md +26 -32
- package/.claude/skills/mastermind-orgstatus/SKILL.md +49 -140
- package/.claude/skills/mastermind-plugins/SKILL.md +1 -1
- package/.claude/skills/mastermind-release/SKILL.md +9 -1
- package/.claude/skills/mastermind-research/SKILL.md +9 -1
- package/.claude/skills/mastermind-review/SKILL.md +9 -1
- package/.claude/skills/mastermind-routine-detail/SKILL.md +1 -1
- package/.claude/skills/mastermind-runorg/SKILL.md +13 -13
- package/.claude/skills/mastermind-stoporg/SKILL.md +7 -62
- package/.claude/skills/mastermind-tasks/SKILL.md +6 -8
- package/.claude/skills/monodesign/SKILL.md +257 -0
- package/.claude/skills/monodesign/adapt.md +53 -0
- package/.claude/skills/monodesign/agents/monodesign-asset-producer.md +100 -0
- package/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +103 -0
- package/.claude/skills/monodesign/animate.md +65 -0
- package/.claude/skills/monodesign/audit.md +89 -0
- package/.claude/skills/monodesign/bolder.md +50 -0
- package/.claude/skills/monodesign/clarify.md +64 -0
- package/.claude/skills/monodesign/colorize.md +68 -0
- package/.claude/skills/monodesign/craft.md +51 -0
- package/.claude/skills/monodesign/critique.md +66 -0
- package/.claude/skills/monodesign/delight.md +47 -0
- package/.claude/skills/monodesign/distill.md +56 -0
- package/.claude/skills/monodesign/document.md +83 -0
- package/.claude/skills/monodesign/extract.md +74 -0
- package/.claude/skills/monodesign/harden.md +65 -0
- package/.claude/skills/monodesign/init.md +30 -0
- package/.claude/skills/monodesign/layout.md +36 -0
- package/.claude/skills/monodesign/live.md +34 -0
- package/.claude/skills/monodesign/onboard.md +50 -0
- package/.claude/skills/monodesign/optimize.md +64 -0
- package/.claude/skills/monodesign/overdrive.md +56 -0
- package/.claude/skills/monodesign/polish.md +68 -0
- package/.claude/skills/monodesign/quieter.md +57 -0
- package/.claude/skills/monodesign/reference/adapt.md +312 -0
- package/.claude/skills/monodesign/reference/adapt.native.md +58 -0
- package/.claude/skills/monodesign/reference/android.md +40 -0
- package/.claude/skills/monodesign/reference/animate.md +203 -0
- package/.claude/skills/monodesign/reference/antipatterns-catalog.md +410 -0
- package/.claude/skills/monodesign/reference/audit.md +135 -0
- package/.claude/skills/monodesign/reference/audit.native.md +139 -0
- package/.claude/skills/monodesign/reference/bolder.md +120 -0
- package/.claude/skills/monodesign/reference/brand-workflow.md +180 -0
- package/.claude/skills/monodesign/reference/brand.md +108 -0
- package/.claude/skills/monodesign/reference/clarify.md +288 -0
- package/.claude/skills/monodesign/reference/codex.md +105 -0
- package/.claude/skills/monodesign/reference/cognitive-load.md +106 -0
- package/.claude/skills/monodesign/reference/color-and-contrast.md +105 -0
- package/.claude/skills/monodesign/reference/colorize.md +257 -0
- package/.claude/skills/monodesign/reference/component-specs.md +260 -0
- package/.claude/skills/monodesign/reference/component-states.md +274 -0
- package/.claude/skills/monodesign/reference/component-system.md +358 -0
- package/.claude/skills/monodesign/reference/copy-formulas.md +160 -0
- package/.claude/skills/monodesign/reference/craft.md +123 -0
- package/.claude/skills/monodesign/reference/critique.md +780 -0
- package/.claude/skills/monodesign/reference/delight.md +302 -0
- package/.claude/skills/monodesign/reference/design-principles.md +246 -0
- package/.claude/skills/monodesign/reference/distill.md +111 -0
- package/.claude/skills/monodesign/reference/document.md +429 -0
- package/.claude/skills/monodesign/reference/extract.md +69 -0
- package/.claude/skills/monodesign/reference/harden.md +347 -0
- package/.claude/skills/monodesign/reference/heuristics-scoring.md +234 -0
- package/.claude/skills/monodesign/reference/hooks.md +92 -0
- package/.claude/skills/monodesign/reference/image-prompts.md +130 -0
- package/.claude/skills/monodesign/reference/init.md +221 -0
- package/.claude/skills/monodesign/reference/interaction-design.md +189 -0
- package/.claude/skills/monodesign/reference/ios.md +45 -0
- package/.claude/skills/monodesign/reference/layout.md +185 -0
- package/.claude/skills/monodesign/reference/live.md +710 -0
- package/.claude/skills/monodesign/reference/motion-design.md +109 -0
- package/.claude/skills/monodesign/reference/onboard.md +234 -0
- package/.claude/skills/monodesign/reference/optimize.md +258 -0
- package/.claude/skills/monodesign/reference/overdrive.md +130 -0
- package/.claude/skills/monodesign/reference/personas.md +179 -0
- package/.claude/skills/monodesign/reference/polish.md +241 -0
- package/.claude/skills/monodesign/reference/pre-delivery-checklist.md +108 -0
- package/.claude/skills/monodesign/reference/product.md +60 -0
- package/.claude/skills/monodesign/reference/quieter.md +99 -0
- package/.claude/skills/monodesign/reference/responsive-design.md +114 -0
- package/.claude/skills/monodesign/reference/shape.md +165 -0
- package/.claude/skills/monodesign/reference/spatial-design.md +100 -0
- package/.claude/skills/monodesign/reference/teach.md +10 -0
- package/.claude/skills/monodesign/reference/token-architecture.md +222 -0
- package/.claude/skills/monodesign/reference/typeset.md +301 -0
- package/.claude/skills/monodesign/reference/typography.md +159 -0
- package/.claude/skills/monodesign/reference/ux-research.md +143 -0
- package/.claude/skills/monodesign/reference/ux-rules.md +211 -0
- package/.claude/skills/monodesign/reference/ux-writing.md +107 -0
- package/.claude/skills/monodesign/scripts/command-metadata.json +94 -0
- package/.claude/skills/monodesign/scripts/context-signals.mjs +260 -0
- package/.claude/skills/monodesign/scripts/context.mjs +1065 -0
- package/.claude/skills/monodesign/scripts/critique-storage.mjs +416 -0
- package/.claude/skills/monodesign/scripts/detect-csp.mjs +193 -0
- package/.claude/skills/monodesign/scripts/detect.mjs +33 -0
- package/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +1960 -0
- package/.claude/skills/monodesign/scripts/detector/cli/main.mjs +321 -0
- package/.claude/skills/monodesign/scripts/detector/design-system.mjs +814 -0
- package/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +5628 -0
- package/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +50 -0
- package/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +259 -0
- package/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +339 -0
- package/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +636 -0
- package/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +1016 -0
- package/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +253 -0
- package/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +198 -0
- package/.claude/skills/monodesign/scripts/detector/findings.mjs +12 -0
- package/.claude/skills/monodesign/scripts/detector/fix/css-regions.mjs +181 -0
- package/.claude/skills/monodesign/scripts/detector/fix/fixers.mjs +373 -0
- package/.claude/skills/monodesign/scripts/detector/fix/index.mjs +426 -0
- package/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +198 -0
- package/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +166 -0
- package/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +563 -0
- package/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +3024 -0
- package/.claude/skills/monodesign/scripts/detector/shared/color.mjs +124 -0
- package/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +101 -0
- package/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +30 -0
- package/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +148 -0
- package/.claude/skills/monodesign/scripts/detector/shared/page.mjs +7 -0
- package/.claude/skills/monodesign/scripts/hook-admin.mjs +694 -0
- package/.claude/skills/monodesign/scripts/hook-before-edit.mjs +516 -0
- package/.claude/skills/monodesign/scripts/hook-lib.mjs +1785 -0
- package/.claude/skills/monodesign/scripts/hook.mjs +61 -0
- package/.claude/skills/monodesign/scripts/lib/design-parser.mjs +809 -0
- package/.claude/skills/monodesign/scripts/lib/is-generated.mjs +69 -0
- package/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +640 -0
- package/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +129 -0
- package/.claude/skills/monodesign/scripts/lib/provider.mjs +4 -0
- package/.claude/skills/monodesign/scripts/lib/target-args.mjs +42 -0
- package/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +50 -0
- package/.claude/skills/monodesign/scripts/live/completion.mjs +19 -0
- package/.claude/skills/monodesign/scripts/live/event-validation.mjs +137 -0
- package/.claude/skills/monodesign/scripts/live/insert-ui.mjs +458 -0
- package/.claude/skills/monodesign/scripts/live/manual-apply.mjs +939 -0
- package/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +357 -0
- package/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +152 -0
- package/.claude/skills/monodesign/scripts/live/session-store.mjs +293 -0
- package/.claude/skills/monodesign/scripts/live/svelte-component.mjs +826 -0
- package/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +279 -0
- package/.claude/skills/monodesign/scripts/live/ui-core.mjs +180 -0
- package/.claude/skills/monodesign/scripts/live/vocabulary.mjs +36 -0
- package/.claude/skills/monodesign/scripts/live-accept.mjs +812 -0
- package/.claude/skills/monodesign/scripts/live-browser-dom.js +147 -0
- package/.claude/skills/monodesign/scripts/live-browser-session.js +124 -0
- package/.claude/skills/monodesign/scripts/live-browser.js +11213 -0
- package/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +1241 -0
- package/.claude/skills/monodesign/scripts/live-complete.mjs +75 -0
- package/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +683 -0
- package/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +51 -0
- package/.claude/skills/monodesign/scripts/live-inject.mjs +596 -0
- package/.claude/skills/monodesign/scripts/live-insert.mjs +272 -0
- package/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +363 -0
- package/.claude/skills/monodesign/scripts/live-poll.mjs +384 -0
- package/.claude/skills/monodesign/scripts/live-resume.mjs +94 -0
- package/.claude/skills/monodesign/scripts/live-server.mjs +1210 -0
- package/.claude/skills/monodesign/scripts/live-status.mjs +61 -0
- package/.claude/skills/monodesign/scripts/live-target.mjs +30 -0
- package/.claude/skills/monodesign/scripts/live-wrap.mjs +884 -0
- package/.claude/skills/monodesign/scripts/live.mjs +297 -0
- package/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +14 -0
- package/.claude/skills/monodesign/scripts/palette.mjs +635 -0
- package/.claude/skills/monodesign/scripts/pin.mjs +221 -0
- package/.claude/skills/monodesign/shape.md +71 -0
- package/.claude/skills/monodesign/teach.md +18 -0
- package/.claude/skills/monodesign/typeset.md +59 -0
- package/.claude/skills/monolean-audit/SKILL.md +4 -6
- package/.claude/skills/monolean-help/SKILL.md +0 -1
- package/.claude/skills/monoswarm/SKILL.md +17 -17
- package/.claude/skills/pair-programming/SKILL.md +127 -1100
- package/README.md +28 -43
- package/dist/src/agents/registry-builder.d.ts +58 -22
- package/dist/src/agents/registry-builder.d.ts.map +1 -1
- package/dist/src/agents/registry-builder.js +41 -341
- package/dist/src/agents/registry-builder.js.map +1 -1
- package/dist/src/agents/registry-freshness.d.ts +4 -4
- package/dist/src/agents/registry-freshness.d.ts.map +1 -1
- package/dist/src/agents/registry-freshness.js +11 -60
- package/dist/src/agents/registry-freshness.js.map +1 -1
- package/dist/src/commands/doc.d.ts.map +1 -1
- package/dist/src/commands/doc.js +6 -15
- package/dist/src/commands/doc.js.map +1 -1
- package/dist/src/commands/doctor-pick-checks.d.ts +20 -3
- package/dist/src/commands/doctor-pick-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-pick-checks.js +138 -45
- package/dist/src/commands/doctor-pick-checks.js.map +1 -1
- package/dist/src/commands/doctor-project-checks.d.ts +2 -2
- package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.js +21 -17
- package/dist/src/commands/doctor-project-checks.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +6 -4
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/hooks-routing-commands.d.ts.map +1 -1
- package/dist/src/commands/hooks-routing-commands.js +4 -3
- package/dist/src/commands/hooks-routing-commands.js.map +1 -1
- package/dist/src/commands/init-upgrade.d.ts.map +1 -1
- package/dist/src/commands/init-upgrade.js +10 -0
- package/dist/src/commands/init-upgrade.js.map +1 -1
- package/dist/src/commands/init-wizard.d.ts.map +1 -1
- package/dist/src/commands/init-wizard.js +7 -2
- package/dist/src/commands/init-wizard.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +27 -27
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/monograph.d.ts.map +1 -1
- package/dist/src/commands/monograph.js +16 -21
- package/dist/src/commands/monograph.js.map +1 -1
- package/dist/src/commands/org.js +1 -1
- package/dist/src/commands/org.js.map +1 -1
- package/dist/src/commands/pick.d.ts.map +1 -1
- package/dist/src/commands/pick.js +4 -3
- package/dist/src/commands/pick.js.map +1 -1
- package/dist/src/decision/jev.d.ts +20 -0
- package/dist/src/decision/jev.d.ts.map +1 -1
- package/dist/src/decision/jev.js +12 -0
- package/dist/src/decision/jev.js.map +1 -1
- package/dist/src/decision/pick-eval.d.ts +23 -0
- package/dist/src/decision/pick-eval.d.ts.map +1 -1
- package/dist/src/decision/pick-eval.js +24 -1
- package/dist/src/decision/pick-eval.js.map +1 -1
- package/dist/src/decision/pick-real.d.ts +93 -0
- package/dist/src/decision/pick-real.d.ts.map +1 -0
- package/dist/src/decision/pick-real.js +253 -0
- package/dist/src/decision/pick-real.js.map +1 -0
- package/dist/src/decision/picks.d.ts +6 -0
- package/dist/src/decision/picks.d.ts.map +1 -1
- package/dist/src/decision/picks.js +34 -11
- package/dist/src/decision/picks.js.map +1 -1
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +1 -0
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/copy-assets.d.ts.map +1 -1
- package/dist/src/init/copy-assets.js +17 -9
- package/dist/src/init/copy-assets.js.map +1 -1
- package/dist/src/init/embeddings-step.d.ts +23 -0
- package/dist/src/init/embeddings-step.d.ts.map +1 -0
- package/dist/src/init/embeddings-step.js +53 -0
- package/dist/src/init/embeddings-step.js.map +1 -0
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +35 -5
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/file-guard.d.ts +93 -0
- package/dist/src/init/file-guard.d.ts.map +1 -0
- package/dist/src/init/file-guard.js +239 -0
- package/dist/src/init/file-guard.js.map +1 -0
- package/dist/src/init/helpers-generator.d.ts +7 -0
- package/dist/src/init/helpers-generator.d.ts.map +1 -1
- package/dist/src/init/helpers-generator.js +13 -0
- package/dist/src/init/helpers-generator.js.map +1 -1
- package/dist/src/init/init-memory.d.ts +10 -0
- package/dist/src/init/init-memory.d.ts.map +1 -1
- package/dist/src/init/init-memory.js +44 -1
- package/dist/src/init/init-memory.js.map +1 -1
- package/dist/src/init/managed-block.d.ts +3 -1
- package/dist/src/init/managed-block.d.ts.map +1 -1
- package/dist/src/init/managed-block.js +9 -2
- package/dist/src/init/managed-block.js.map +1 -1
- package/dist/src/init/mcp-generator.d.ts +9 -0
- package/dist/src/init/mcp-generator.d.ts.map +1 -1
- package/dist/src/init/mcp-generator.js +28 -0
- package/dist/src/init/mcp-generator.js.map +1 -1
- package/dist/src/init/project-indexes.d.ts +19 -0
- package/dist/src/init/project-indexes.d.ts.map +1 -0
- package/dist/src/init/project-indexes.js +44 -0
- package/dist/src/init/project-indexes.js.map +1 -0
- package/dist/src/init/runtime-config-merge.d.ts +21 -0
- package/dist/src/init/runtime-config-merge.d.ts.map +1 -0
- package/dist/src/init/runtime-config-merge.js +88 -0
- package/dist/src/init/runtime-config-merge.js.map +1 -0
- package/dist/src/init/settings-generator.js +1 -1
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/shared-instructions-generator.d.ts +3 -1
- package/dist/src/init/shared-instructions-generator.d.ts.map +1 -1
- package/dist/src/init/shared-instructions-generator.js +14 -39
- package/dist/src/init/shared-instructions-generator.js.map +1 -1
- package/dist/src/init/shared.d.ts +17 -2
- package/dist/src/init/shared.d.ts.map +1 -1
- package/dist/src/init/shared.js +39 -7
- package/dist/src/init/shared.js.map +1 -1
- package/dist/src/init/types.d.ts +22 -2
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +11 -3
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/init/upgrade.d.ts +7 -0
- package/dist/src/init/upgrade.d.ts.map +1 -1
- package/dist/src/init/upgrade.js +60 -48
- package/dist/src/init/upgrade.js.map +1 -1
- package/dist/src/init/write-antigravity.d.ts +1 -0
- package/dist/src/init/write-antigravity.d.ts.map +1 -1
- package/dist/src/init/write-antigravity.js +28 -4
- package/dist/src/init/write-antigravity.js.map +1 -1
- package/dist/src/init/write-claude.d.ts.map +1 -1
- package/dist/src/init/write-claude.js +47 -23
- package/dist/src/init/write-claude.js.map +1 -1
- package/dist/src/init/write-kimicode.d.ts +27 -0
- package/dist/src/init/write-kimicode.d.ts.map +1 -1
- package/dist/src/init/write-kimicode.js +119 -92
- package/dist/src/init/write-kimicode.js.map +1 -1
- package/dist/src/init/write-opencode.d.ts.map +1 -1
- package/dist/src/init/write-opencode.js +45 -6
- package/dist/src/init/write-opencode.js.map +1 -1
- package/dist/src/init/write-runtime-config.d.ts.map +1 -1
- package/dist/src/init/write-runtime-config.js +108 -81
- package/dist/src/init/write-runtime-config.js.map +1 -1
- package/dist/src/knowledge/eval/golden-set.js +0 -15
- package/dist/src/knowledge/eval/golden-set.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +14 -5
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.js +4 -3
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/monograph/build-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/build-tools.js +16 -9
- package/dist/src/mcp-tools/monograph/build-tools.js.map +1 -1
- package/dist/src/mcp-tools/org-skill-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/org-skill-tools.js +6 -2
- package/dist/src/mcp-tools/org-skill-tools.js.map +1 -1
- package/dist/src/mcp-tools/pick-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/pick-tools.js +13 -4
- package/dist/src/mcp-tools/pick-tools.js.map +1 -1
- package/dist/src/memory/embedding-operations.d.ts +0 -4
- package/dist/src/memory/embedding-operations.d.ts.map +1 -1
- package/dist/src/memory/embedding-operations.js +11 -85
- package/dist/src/memory/embedding-operations.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +7 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +15 -0
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/orgrt/bash-timeout.d.ts +17 -0
- package/dist/src/orgrt/bash-timeout.d.ts.map +1 -1
- package/dist/src/orgrt/bash-timeout.js +15 -0
- package/dist/src/orgrt/bash-timeout.js.map +1 -1
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +5 -2
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/orgrt/task-match.d.ts +3 -1
- package/dist/src/orgrt/task-match.d.ts.map +1 -1
- package/dist/src/orgrt/task-match.js +12 -4
- package/dist/src/orgrt/task-match.js.map +1 -1
- package/dist/src/platform-adapters/merge.d.ts +4 -3
- package/dist/src/platform-adapters/merge.d.ts.map +1 -1
- package/dist/src/platform-adapters/merge.js +18 -8
- package/dist/src/platform-adapters/merge.js.map +1 -1
- package/dist/src/platform-adapters/mutation.d.ts +6 -1
- package/dist/src/platform-adapters/mutation.d.ts.map +1 -1
- package/dist/src/platform-adapters/mutation.js +9 -3
- package/dist/src/platform-adapters/mutation.js.map +1 -1
- package/dist/src/platform-adapters/operations.d.ts.map +1 -1
- package/dist/src/platform-adapters/operations.js +14 -6
- package/dist/src/platform-adapters/operations.js.map +1 -1
- package/dist/src/platform-adapters/types.d.ts +5 -0
- package/dist/src/platform-adapters/types.d.ts.map +1 -1
- package/dist/src/routing/agent-pick.d.ts +9 -7
- package/dist/src/routing/agent-pick.d.ts.map +1 -1
- package/dist/src/routing/agent-pick.js +17 -17
- package/dist/src/routing/agent-pick.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/.claude/skills/github-issue-triage/SKILL.md +0 -354
- package/.claude/skills/github-repo-recap/SKILL.md +0 -207
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mastermind-orgstatus
|
|
3
|
-
description: Mastermind orgstatus — show detailed status for a single org including
|
|
3
|
+
description: Mastermind orgstatus — show detailed status for a single org including runtime state, schedule, config health, pending approvals, recent activity, and roles.
|
|
4
4
|
type: domain-skill
|
|
5
5
|
default_mode: auto
|
|
6
6
|
pick: low
|
|
@@ -40,32 +40,20 @@ orgFile=".monomind/orgs/${org_name}.json"
|
|
|
40
40
|
|
|
41
41
|
## Step 2 — Extract Fields
|
|
42
42
|
|
|
43
|
-
An org is
|
|
44
|
-
`.
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
An org's schedule is the top-level `schedule` field and its live state is
|
|
44
|
+
`.monomind/orgs/<name>/runtime.json`. A config file that still carries
|
|
45
|
+
`topology`, `board_id`, `loop`, or `agent_type` on roles is in the legacy
|
|
46
|
+
format: `monomind org run` converts it in memory (with a deprecation warning),
|
|
47
|
+
and `monomind org migrate <name>` rewrites the file.
|
|
47
48
|
|
|
48
49
|
```bash
|
|
49
50
|
name=$(jq -r '.name // "(unnamed)"' "$orgFile")
|
|
50
51
|
goal=$(jq -r '.goal // "(no goal set)"' "$orgFile")
|
|
51
|
-
status=$(jq -r '.status // "no-schedule"' "$orgFile")
|
|
52
52
|
role_count=$(jq '.roles | length' "$orgFile")
|
|
53
53
|
created_at=$(jq -r '.created_at // "-"' "$orgFile")
|
|
54
|
-
|
|
55
|
-
has_schedule=$(jq -r 'if .loop.poll_interval_minutes then "yes" else "no" end' "$orgFile")
|
|
56
|
-
|
|
57
|
-
# v2 fields
|
|
58
|
-
is_v2=$([ "$has_schedule" = "no" ] && echo yes || echo no)
|
|
59
|
-
v2_schedule=$(jq -r '.schedule // empty' "$orgFile")
|
|
54
|
+
schedule=$(jq -r '.schedule // empty' "$orgFile")
|
|
60
55
|
budget=$(jq -r '.run_config.budget_tokens // 1000000' "$orgFile")
|
|
61
|
-
|
|
62
|
-
# LEGACY-ORG-V1: remove this block when v1 orgs are gone
|
|
63
|
-
# v1 loop fields (legacy scheduled orgs only)
|
|
64
|
-
poll_interval=$(jq -r '.loop.poll_interval_minutes // ""' "$orgFile")
|
|
65
|
-
last_run=$(jq -r '.loop.last_run // "never"' "$orgFile")
|
|
66
|
-
next_run=$(jq -r '.loop.next_run // "not scheduled"' "$orgFile")
|
|
67
|
-
run_prompt_file=$(jq -r '.loop.run_prompt_file // ""' "$orgFile")
|
|
68
|
-
# end LEGACY-ORG-V1 loop-fields block
|
|
56
|
+
legacy_format=$(jq -r 'if has("topology") or has("board_id") or has("loop") or ([.roles[]? | has("agent_type")] | any) then "yes" else "no" end' "$orgFile")
|
|
69
57
|
|
|
70
58
|
rtFile=".monomind/orgs/${org_name}/runtime.json"
|
|
71
59
|
rt_status=$(jq -r '.status // "never run"' "$rtFile" 2>/dev/null || echo "never run")
|
|
@@ -90,88 +78,36 @@ echo " Created: $created_at"
|
|
|
90
78
|
echo " Roles: $role_count"
|
|
91
79
|
echo ""
|
|
92
80
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
echo ""
|
|
101
|
-
fi
|
|
102
|
-
|
|
103
|
-
# LEGACY-ORG-V1: remove this block when v1 orgs are gone
|
|
104
|
-
if [ "$has_schedule" = "yes" ]; then
|
|
105
|
-
echo "SCHEDULED LOOP"
|
|
106
|
-
echo "──────────────"
|
|
107
|
-
|
|
108
|
-
case "$status" in
|
|
109
|
-
active) echo " Status: ● ACTIVE — loop is running" ;;
|
|
110
|
-
stopped) echo " Status: ○ STOPPED — loop is not running" ;;
|
|
111
|
-
paused) echo " Status: ⏸ PAUSED — loop is alive but skipping iterations (HIL gate)" ;;
|
|
112
|
-
*) echo " Status: ? $status" ;;
|
|
113
|
-
esac
|
|
114
|
-
|
|
115
|
-
echo " Interval: every ${poll_interval} minutes"
|
|
116
|
-
echo " Last run: $last_run"
|
|
117
|
-
echo " Next run: $next_run"
|
|
118
|
-
echo " Prompt: $run_prompt_file"
|
|
119
|
-
echo ""
|
|
120
|
-
fi
|
|
81
|
+
echo "RUNTIME"
|
|
82
|
+
echo "───────"
|
|
83
|
+
echo " Status: $rt_status${rt_run:+ (run $rt_run)}"
|
|
84
|
+
echo " Updated: $rt_updated"
|
|
85
|
+
echo " Schedule: ${schedule:-manual — run with: monomind org run $name}"
|
|
86
|
+
echo " Budget: $budget tokens (split across roles)"
|
|
87
|
+
echo ""
|
|
121
88
|
|
|
122
89
|
echo "ROLES"
|
|
123
90
|
echo "─────"
|
|
124
|
-
jq -r '(.roles // [])[] | " • [\(.id)] \(.title // .id) → \(.
|
|
91
|
+
jq -r '(.roles // [])[] | " • [\(.id)] \(.title // .id) → \(.type // .agent_type // "specialist") (reports to: \(.reports_to // "top"))"' "$orgFile"
|
|
125
92
|
echo ""
|
|
126
93
|
|
|
127
94
|
echo "HEALTH"
|
|
128
95
|
echo "──────"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
else
|
|
145
|
-
echo " Board: ✗ task board IDs missing — re-run /mastermind:createorg --name ${name} to rebuild"
|
|
146
|
-
fi
|
|
147
|
-
fi
|
|
148
|
-
|
|
149
|
-
# LEGACY-ORG-V1: remove this branch when v1 orgs are gone
|
|
150
|
-
# Pending approvals
|
|
151
|
-
approvalsFile=".monomind/orgs/${org_name}-approvals.json"
|
|
152
|
-
if [ -f "$approvalsFile" ]; then
|
|
153
|
-
pending=$(jq '(.approvals // []) | map(select(.status == "pending")) | length' "$approvalsFile")
|
|
154
|
-
[ "$pending" -gt 0 ] \
|
|
155
|
-
&& echo " Approvals: ⚠ ${pending} pending — /mastermind:approvev1 --org ${name} --action list" \
|
|
156
|
-
|| echo " Approvals: ✓ none pending"
|
|
157
|
-
else
|
|
158
|
-
echo " Approvals: ✓ no approvals file"
|
|
159
|
-
fi
|
|
160
|
-
|
|
161
|
-
# Stop file (pending stop signal) — v2 daemons poll <org>/stop; v1 used .stops/
|
|
162
|
-
[ -f ".monomind/orgs/${org_name}/stop" ] && echo " Stop file: ⚠ PRESENT (v2) — daemon will exit within 2s of seeing it"
|
|
163
|
-
# LEGACY-ORG-V1: remove this check when v1 orgs are gone
|
|
164
|
-
[ -f ".monomind/orgs/.stops/${org_name}.stop" ] && echo " Stop file: ⚠ PRESENT (v1 legacy path)"
|
|
165
|
-
|
|
166
|
-
# LEGACY-ORG-V1: remove this block when v1 orgs are gone
|
|
167
|
-
# Loop prompt file (scheduled orgs)
|
|
168
|
-
if [ "$has_schedule" = "yes" ]; then
|
|
169
|
-
if [ -n "$run_prompt_file" ] && [ -f "$run_prompt_file" ]; then
|
|
170
|
-
echo " Loop prompt: ✓ exists (${run_prompt_file})"
|
|
171
|
-
else
|
|
172
|
-
echo " Loop prompt: ✗ MISSING — scheduled org cannot self-perpetuate; re-create org or write prompt to ${run_prompt_file}"
|
|
173
|
-
fi
|
|
174
|
-
fi
|
|
96
|
+
# health = does the config still start? (schema + structural invariants)
|
|
97
|
+
npx -y monomind@latest org validate "$name" >/dev/null 2>&1 \
|
|
98
|
+
&& echo " Config: ✓ valid (monomind org validate)" \
|
|
99
|
+
|| echo " Config: ✗ INVALID — run: monomind org validate $name"
|
|
100
|
+
[ "$legacy_format" = "yes" ] \
|
|
101
|
+
&& echo " Format: ⚠ legacy config format — convert with: monomind org migrate $name"
|
|
102
|
+
|
|
103
|
+
# Pending tool approvals (the runtime's queue: .monomind/orgs/<name>/approvals.json)
|
|
104
|
+
pending=$(jq '[(.approvals // [])[] | select(.approved == null)] | length' ".monomind/orgs/${org_name}/approvals.json" 2>/dev/null || echo 0)
|
|
105
|
+
[ "$pending" -gt 0 ] \
|
|
106
|
+
&& echo " Approvals: ⚠ ${pending} pending — monomind org approvals ${name}" \
|
|
107
|
+
|| echo " Approvals: ✓ none pending"
|
|
108
|
+
|
|
109
|
+
# Stop file (pending stop signal) — the daemon polls <org>/stop
|
|
110
|
+
[ -f ".monomind/orgs/${org_name}/stop" ] && echo " Stop file: ⚠ PRESENT — daemon will exit within 2s of seeing it"
|
|
175
111
|
echo ""
|
|
176
112
|
```
|
|
177
113
|
|
|
@@ -180,31 +116,15 @@ echo ""
|
|
|
180
116
|
## Step 4 — Show Recent Activity (if available)
|
|
181
117
|
|
|
182
118
|
```bash
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
echo ""
|
|
193
|
-
fi
|
|
194
|
-
else
|
|
195
|
-
# LEGACY-ORG-V1: remove this branch when v1 orgs are gone
|
|
196
|
-
activityFile=".monomind/orgs/${org_name}-activity.jsonl"
|
|
197
|
-
if [ -f "$activityFile" ]; then
|
|
198
|
-
echo "RECENT ACTIVITY (last 5)"
|
|
199
|
-
echo "────────────────────────"
|
|
200
|
-
tail -5 "$activityFile" | while IFS= read -r line; do
|
|
201
|
-
ts=$(echo "$line" | jq -r '.ts // ""')
|
|
202
|
-
type=$(echo "$line" | jq -r '.type // ""')
|
|
203
|
-
pending=$(echo "$line" | jq -r '.pending // ""')
|
|
204
|
-
echo " $ts $type ${pending:+pending=$pending}"
|
|
205
|
-
done
|
|
206
|
-
echo ""
|
|
207
|
-
fi
|
|
119
|
+
# the durable record is bus.jsonl inside the most recent run directory
|
|
120
|
+
latest_bus=$(ls -t .monomind/orgs/"${org_name}"/run-*/bus.jsonl 2>/dev/null | head -1)
|
|
121
|
+
if [ -n "$latest_bus" ]; then
|
|
122
|
+
echo "RECENT ACTIVITY (last 5 bus events — $(dirname "$latest_bus" | xargs basename))"
|
|
123
|
+
echo "────────────────────────"
|
|
124
|
+
tail -5 "$latest_bus" | while IFS= read -r line; do
|
|
125
|
+
echo "$line" | jq -r '" \(.ts // "" | if type=="number" then (./1000 | todate) else . end) \(.type // "") \(.from // "")\(if .to then " → " + .to else "" end) \(.msg // .tool // "" | tostring | .[0:60])"' 2>/dev/null
|
|
126
|
+
done
|
|
127
|
+
echo ""
|
|
208
128
|
fi
|
|
209
129
|
```
|
|
210
130
|
|
|
@@ -215,26 +135,15 @@ fi
|
|
|
215
135
|
```bash
|
|
216
136
|
echo "ACTIONS"
|
|
217
137
|
echo "───────"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
echo " Settings: /mastermind-org-settings --org $name"
|
|
228
|
-
# LEGACY-ORG-V1: remove the next two branches when v1 orgs are gone
|
|
229
|
-
elif [ "$has_schedule" = "yes" ]; then
|
|
230
|
-
case "$status" in
|
|
231
|
-
active|paused) echo " Stop loop: /mastermind:stoporg --org $name" ;;
|
|
232
|
-
stopped) echo " Start loop: /mastermind:runorg --org $name (v1 config — will auto-migrate)" ;;
|
|
233
|
-
esac
|
|
234
|
-
echo " Edit prompt: \$EDITOR $run_prompt_file"
|
|
235
|
-
else
|
|
236
|
-
echo " Run org: /mastermind:runorg --org $name (v1 config — will auto-migrate)"
|
|
237
|
-
fi
|
|
138
|
+
case "$rt_status" in
|
|
139
|
+
running*) echo " Stop: monomind org stop $name" ;;
|
|
140
|
+
crashed*) echo " Close out: monomind org mark-complete $name" ;;
|
|
141
|
+
*) echo " Run: monomind org run $name${schedule:+ (or host on schedule: monomind org serve)}" ;;
|
|
142
|
+
esac
|
|
143
|
+
echo " Logs: monomind org logs $name --follow"
|
|
144
|
+
echo " Report: monomind org report $name (add --all for run history)"
|
|
145
|
+
echo " Validate: monomind org validate $name"
|
|
146
|
+
echo " Settings: /mastermind-org-settings --org $name"
|
|
238
147
|
echo " All orgs: /mastermind:orgs"
|
|
239
148
|
echo ""
|
|
240
149
|
```
|
|
@@ -83,7 +83,7 @@ echo "Total: $count plugin(s)"
|
|
|
83
83
|
Show example/available plugins from the monomind registry:
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
|
-
echo "AVAILABLE PLUGINS
|
|
86
|
+
echo "AVAILABLE PLUGINS — monomind registry"
|
|
87
87
|
echo "──────────────────────────────────────"
|
|
88
88
|
cat <<'EXAMPLES'
|
|
89
89
|
@monomind/plugin-sentry — Error tracking and alerting
|
|
@@ -113,8 +113,16 @@ OUTPUT FORMAT: unified output schema"
|
|
|
113
113
|
|
|
114
114
|
STEP 3 — EXECUTE
|
|
115
115
|
Spawn Task agents in release order (hierarchical raft — coordinator maintains authoritative release state).
|
|
116
|
-
Pick one specialist per release stage from the shared agent index (the Jev decision model when configured, keyword ranking otherwise); it only returns agents that exist. In order: the prompt's `[PICK]` line when it fits this release stage; else `mcp__monomind__pick({ task: "<release stage>: <scope>", kind: "agents", top: 1 })` → `agents.ranked[0].name`; else the local CLI through the version-checked `mmpick` helper
|
|
116
|
+
Pick one specialist per release stage from the shared agent index (the Jev decision model when configured, keyword ranking otherwise); it only returns agents that exist. In order: the prompt's `[PICK]` line when it fits this release stage; else `mcp__monomind__pick({ task: "<release stage>: <scope>", kind: "agents", top: 1 })` → `agents.ranked[0].name`; else the local CLI through the version-checked `mmpick` helper (never npx; the block defines it because each Bash call starts a fresh shell):
|
|
117
117
|
```bash
|
|
118
|
+
# Local only — never npx. Accept a binary only when its pick output is the
|
|
119
|
+
# unified index (skill entries carry `source`); see mastermind-agent-select.
|
|
120
|
+
mmpick() { for c in monomind ./node_modules/.bin/monomind; do
|
|
121
|
+
command -v "$c" >/dev/null 2>&1 || continue
|
|
122
|
+
out=$("$c" pick "$@" --json 2>/dev/null) || continue
|
|
123
|
+
printf '%s' "$out" | jq -e '[.skills.ranked[]? | has("source")] | (length > 0 and all)' \
|
|
124
|
+
>/dev/null 2>&1 && { printf '%s\n' "$out"; return 0; }
|
|
125
|
+
done; return 127; }
|
|
118
126
|
mmpick -t "<release stage>: <scope>" --top 1 | jq -r '.agents.ranked[0].name // empty'
|
|
119
127
|
```
|
|
120
128
|
Use the returned name as that release stage's subagent_type. If nothing is returned, use the default below.
|
|
@@ -113,8 +113,16 @@ OUTPUT FORMAT: unified output schema"
|
|
|
113
113
|
|
|
114
114
|
STEP 3 — EXECUTE
|
|
115
115
|
Spawn one Task agent per research stream (mesh topology — findings cross-pollinate).
|
|
116
|
-
Pick one specialist per research stream from the shared agent index (the Jev decision model when configured, keyword ranking otherwise); it only returns agents that exist. In order: the prompt's `[PICK]` line when it fits this research stream; else `mcp__monomind__pick({ task: "<research stream>: <scope>", kind: "agents", top: 1 })` → `agents.ranked[0].name`; else the local CLI through the version-checked `mmpick` helper
|
|
116
|
+
Pick one specialist per research stream from the shared agent index (the Jev decision model when configured, keyword ranking otherwise); it only returns agents that exist. In order: the prompt's `[PICK]` line when it fits this research stream; else `mcp__monomind__pick({ task: "<research stream>: <scope>", kind: "agents", top: 1 })` → `agents.ranked[0].name`; else the local CLI through the version-checked `mmpick` helper (never npx; the block defines it because each Bash call starts a fresh shell):
|
|
117
117
|
```bash
|
|
118
|
+
# Local only — never npx. Accept a binary only when its pick output is the
|
|
119
|
+
# unified index (skill entries carry `source`); see mastermind-agent-select.
|
|
120
|
+
mmpick() { for c in monomind ./node_modules/.bin/monomind; do
|
|
121
|
+
command -v "$c" >/dev/null 2>&1 || continue
|
|
122
|
+
out=$("$c" pick "$@" --json 2>/dev/null) || continue
|
|
123
|
+
printf '%s' "$out" | jq -e '[.skills.ranked[]? | has("source")] | (length > 0 and all)' \
|
|
124
|
+
>/dev/null 2>&1 && { printf '%s\n' "$out"; return 0; }
|
|
125
|
+
done; return 127; }
|
|
118
126
|
mmpick -t "<research stream>: <scope>" --top 1 | jq -r '.agents.ranked[0].name // empty'
|
|
119
127
|
```
|
|
120
128
|
Use the returned name as that research stream's subagent_type. If nothing is returned, use the default below.
|
|
@@ -124,8 +124,16 @@ OUTPUT FORMAT: unified output schema"
|
|
|
124
124
|
|
|
125
125
|
STEP 3 — EXECUTE
|
|
126
126
|
Spawn one Task agent per review angle (mesh topology — reviewers share findings).
|
|
127
|
-
Pick one specialist per review angle from the shared agent index (the Jev decision model when configured, keyword ranking otherwise); it only returns agents that exist. In order: the prompt's `[PICK]` line when it fits this review angle; else `mcp__monomind__pick({ task: "<review angle>: <scope>", kind: "agents", top: 1 })` → `agents.ranked[0].name`; else the local CLI through the version-checked `mmpick` helper
|
|
127
|
+
Pick one specialist per review angle from the shared agent index (the Jev decision model when configured, keyword ranking otherwise); it only returns agents that exist. In order: the prompt's `[PICK]` line when it fits this review angle; else `mcp__monomind__pick({ task: "<review angle>: <scope>", kind: "agents", top: 1 })` → `agents.ranked[0].name`; else the local CLI through the version-checked `mmpick` helper (never npx; the block defines it because each Bash call starts a fresh shell):
|
|
128
128
|
```bash
|
|
129
|
+
# Local only — never npx. Accept a binary only when its pick output is the
|
|
130
|
+
# unified index (skill entries carry `source`); see mastermind-agent-select.
|
|
131
|
+
mmpick() { for c in monomind ./node_modules/.bin/monomind; do
|
|
132
|
+
command -v "$c" >/dev/null 2>&1 || continue
|
|
133
|
+
out=$("$c" pick "$@" --json 2>/dev/null) || continue
|
|
134
|
+
printf '%s' "$out" | jq -e '[.skills.ranked[]? | has("source")] | (length > 0 and all)' \
|
|
135
|
+
>/dev/null 2>&1 && { printf '%s\n' "$out"; return 0; }
|
|
136
|
+
done; return 127; }
|
|
129
137
|
mmpick -t "<review angle>: <scope>" --top 1 | jq -r '.agents.ranked[0].name // empty'
|
|
130
138
|
```
|
|
131
139
|
Use the returned name as that review angle's subagent_type. If nothing is returned, use the default below.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mastermind-routine-detail
|
|
3
|
-
description: Mastermind routine-detail — deep inspection and management of a single routine: trigger config (schedule/webhook), variables, concurrency/catchup policies, run history, webhook rotation, and revision tracking.
|
|
3
|
+
description: "Mastermind routine-detail — deep inspection and management of a single routine: trigger config (schedule/webhook), variables, concurrency/catchup policies, run history, webhook rotation, and revision tracking."
|
|
4
4
|
type: domain-skill
|
|
5
5
|
default_mode: auto
|
|
6
6
|
pick: low
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mastermind-runorg
|
|
3
|
-
description: Start a saved org via the Org Runtime
|
|
3
|
+
description: Start a saved org via the Org Runtime daemon (monomind org run/serve). Converts legacy-format config files with monomind org migrate first.
|
|
4
4
|
type: domain-skill
|
|
5
5
|
default_mode: auto
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# Mastermind Runorg
|
|
8
|
+
# Mastermind Runorg
|
|
9
9
|
|
|
10
|
-
Starts orgs
|
|
10
|
+
Starts orgs through the Org Runtime SDK daemon. Every role becomes a live
|
|
11
11
|
SDK session; events reach the dashboard through the daemon's own forwarder —
|
|
12
12
|
no curl emissions, no delivery gaps.
|
|
13
13
|
|
|
@@ -15,17 +15,18 @@ no curl emissions, no delivery gaps.
|
|
|
15
15
|
|
|
16
16
|
1. **Resolve the org.** `org_name` from params. List available orgs when missing:
|
|
17
17
|
`monomind org list`.
|
|
18
|
-
2. **
|
|
19
|
-
|
|
20
|
-
ids, one root, resolvable `reports_to`, parseable schedule)
|
|
21
|
-
schema validation even though it
|
|
18
|
+
2. **Detect the legacy config format.** Do NOT rely on `monomind org validate`
|
|
19
|
+
to catch legacy-format config files — one with no structural violations
|
|
20
|
+
(unique role ids, one root, resolvable `reports_to`, parseable schedule)
|
|
21
|
+
*passes* schema validation even though it still carries legacy fields.
|
|
22
|
+
Detect them directly:
|
|
22
23
|
`jq 'has("topology") or has("board_id") or has("loop") or ([.roles[]? | has("agent_type")] | any)' .monomind/orgs/<name>.json`
|
|
23
24
|
- `true` → step 3 (migrate first).
|
|
24
25
|
- `false` → step 4 (validate as-is).
|
|
25
|
-
3. **Migrate (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
3. **Migrate (legacy-format configs).** `monomind org migrate <name>` rewrites
|
|
27
|
+
the file in the current format — the original is kept as `<name>.v1.json`.
|
|
28
|
+
In confirm mode ask first; in auto mode migrate and state it. If migration
|
|
29
|
+
fails, stop and surface the error.
|
|
29
30
|
4. **Validate.** Run `monomind org validate <name>` on the config (post-migration
|
|
30
31
|
if step 3 ran).
|
|
31
32
|
- Valid → step 5.
|
|
@@ -55,8 +56,7 @@ no curl emissions, no delivery gaps.
|
|
|
55
56
|
`running`. Surface the dashboard link (`<CTRL_URL>/orgs`) and
|
|
56
57
|
`monomind org logs <name> --follow` as the tail command.
|
|
57
58
|
8. **Never** spawn a boss Task agent, create monotask boards, or emit
|
|
58
|
-
dashboard events manually.
|
|
59
|
-
behavior, direct them to `/mastermind:runorgv1` (deprecated).
|
|
59
|
+
dashboard events manually. The org daemon is the only way an org runs.
|
|
60
60
|
|
|
61
61
|
The org runtime does not read `<org>-issues.json`. Work is driven by the org
|
|
62
62
|
definition's roles and goal plus an optional `--task` string.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mastermind-stoporg
|
|
3
|
-
description: Mastermind stoporg — stop a running
|
|
3
|
+
description: Mastermind stoporg — stop a running org. Wraps monomind org stop, which writes the stop file the org daemon polls; the daemon exits within about 2 seconds.
|
|
4
4
|
type: domain-skill
|
|
5
5
|
default_mode: auto
|
|
6
6
|
pick: low
|
|
@@ -37,15 +37,8 @@ orgFile=".monomind/orgs/${org_name}.json"
|
|
|
37
37
|
}
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
current_status=$(jq -r '.status // "no-schedule"' "$orgFile")
|
|
43
|
-
has_schedule=$(jq -r 'if .loop.poll_interval_minutes then "yes" else "no" end' "$orgFile")
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
If `has_schedule == "no"` — this is a **v2 org** (Org Runtime v2 has `schedule`,
|
|
47
|
-
never `.loop`). Its daemon polls `.monomind/orgs/<name>/stop` every 2s, which is
|
|
48
|
-
exactly what `monomind org stop` writes — use the CLI, not the v1 `.stops/` path:
|
|
40
|
+
The org daemon polls `.monomind/orgs/<name>/stop` every 2s, which is exactly
|
|
41
|
+
what `monomind org stop` writes — use the CLI:
|
|
49
42
|
|
|
50
43
|
```bash
|
|
51
44
|
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
|
|
@@ -54,67 +47,19 @@ npx -y monomind@latest org stop "${org_name}" \
|
|
|
54
47
|
|| { mkdir -p ".monomind/orgs/${org_name}"; date -u +%Y-%m-%dT%H:%M:%SZ > ".monomind/orgs/${org_name}/stop"; }
|
|
55
48
|
# Also POST to the control server in case a dashboard-started instance is running
|
|
56
49
|
curl -s -X POST -H "x-monomind-token: $(cat "${REPO_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}/.monomind/dashboard-token" 2>/dev/null || true)" "${CTRL_URL}/api/orgs/${org_name}/stop" >/dev/null 2>&1 || true
|
|
57
|
-
echo "Stop requested for org '${org_name}' (
|
|
58
|
-
```
|
|
59
|
-
- Exit.
|
|
60
|
-
|
|
61
|
-
<!-- LEGACY-ORG-V1: remove this branch when v1 orgs are gone -->
|
|
62
|
-
Everything below this point only runs for v1 orgs — v2 orgs already exited above.
|
|
63
|
-
|
|
64
|
-
If `current_status == "stopped"`:
|
|
65
|
-
- Print: "Org '<org_name>' is already stopped."
|
|
66
|
-
- Exit.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
<!-- LEGACY-ORG-V1: remove this step when v1 orgs are gone -->
|
|
71
|
-
## Step 2 — Set Status to Stopped and Clear next_run (v1 only)
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
orgFile=".monomind/orgs/${org_name}.json"
|
|
75
|
-
tmp="${orgFile}.tmp"
|
|
76
|
-
# Clear next_run to avoid showing a stale future timestamp in orgstatus
|
|
77
|
-
jq '.status = "stopped" | if .loop then .loop.next_run = null else . end' "$orgFile" > "$tmp" && mv "$tmp" "$orgFile"
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
<!-- LEGACY-ORG-V1: remove this step when v1 orgs are gone -->
|
|
83
|
-
## Step 3 — Write Stop File (for any running boss agents, v1 only)
|
|
84
|
-
|
|
85
|
-
Any persistent boss agent checks for this file at the start of each loop iteration:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
mkdir -p .monomind/orgs/.stops
|
|
89
|
-
touch ".monomind/orgs/.stops/${org_name}.stop"
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
<!-- LEGACY-ORG-V1: remove this step when v1 orgs are gone -->
|
|
95
|
-
## Step 5 — Report to User (v1 only)
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
✓ Org "<org_name>" stopped.
|
|
99
|
-
|
|
100
|
-
Current status: stopped
|
|
101
|
-
The loop will exit at its next scheduled wakeup without rescheduling.
|
|
102
|
-
Loop fully dead within: ≤$(jq -r '.loop.poll_interval_minutes // "?"' "$orgFile") minutes
|
|
103
|
-
|
|
104
|
-
To restart: /mastermind:runorg --org <org_name>
|
|
105
|
-
Status: /mastermind:orgstatus --org <org_name>
|
|
50
|
+
echo "Stop requested for org '${org_name}' (the daemon exits within 2s)."
|
|
106
51
|
```
|
|
107
52
|
|
|
108
53
|
---
|
|
109
54
|
|
|
110
|
-
## Step
|
|
55
|
+
## Step 2 — Return Output
|
|
111
56
|
|
|
112
57
|
```yaml
|
|
113
58
|
domain: ops
|
|
114
59
|
status: complete
|
|
115
60
|
decisions:
|
|
116
61
|
- what: "Org <org_name> stopped"
|
|
117
|
-
why: "
|
|
62
|
+
why: "stop file written; the org daemon exits within 2s"
|
|
118
63
|
confidence: 1.0
|
|
119
64
|
outcome: shipped
|
|
120
65
|
next_actions:
|
|
@@ -124,6 +69,6 @@ next_actions:
|
|
|
124
69
|
|
|
125
70
|
---
|
|
126
71
|
|
|
127
|
-
## Step
|
|
72
|
+
## Step 3 — Brain Write (standalone only)
|
|
128
73
|
|
|
129
74
|
If `caller` is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
|
|
@@ -6,10 +6,10 @@ default_mode: auto
|
|
|
6
6
|
pick: low
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
> **
|
|
10
|
-
>
|
|
11
|
-
> board
|
|
12
|
-
> `/mastermind-issues --action create --parent-id <id>`.
|
|
9
|
+
> **Writes to a monotask board, not to `<org>-issues.json`.** This skill only works
|
|
10
|
+
> on an org config that still carries a monotask `board_id` (the legacy config
|
|
11
|
+
> format); the Org Runtime never reads that board. For org issue tracking —
|
|
12
|
+
> including sub-issues — use `/mastermind-issues --action create --parent-id <id>`.
|
|
13
13
|
|
|
14
14
|
# Mastermind Tasks
|
|
15
15
|
|
|
@@ -41,16 +41,14 @@ If `caller` is not "command", load brain context following mastermind-protocol/S
|
|
|
41
41
|
## Step 1 — Load Org Config
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
#
|
|
45
|
-
# task model — boards belong to the legacy v1 runner, see runorgv1.
|
|
44
|
+
# board/column ids only exist on legacy-format org configs
|
|
46
45
|
orgFile=".monomind/orgs/${org_name}.json"
|
|
47
46
|
board_id=$(jq -r '.board_id // empty' "$orgFile")
|
|
48
47
|
todo_col=$(jq -r '.todo_col_id // empty' "$orgFile")
|
|
49
48
|
doing_col=$(jq -r '.doing_col_id // empty' "$orgFile")
|
|
50
49
|
done_col=$(jq -r '.done_col_id // empty' "$orgFile")
|
|
51
50
|
|
|
52
|
-
[ -z "$board_id" ] && { echo "ERROR: org config
|
|
53
|
-
# end LEGACY-ORG-V1
|
|
51
|
+
[ -z "$board_id" ] && { echo "ERROR: org config has no board_id — the Org Runtime does not use monotask boards. Use /mastermind-issues for org issues."; exit 1; }
|
|
54
52
|
```
|
|
55
53
|
|
|
56
54
|
---
|