monomind 2.5.1 → 2.5.3
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/README.md +1 -1
- package/package.json +2 -1
- package/packages/@monomind/cli/.claude/agents/design/design-monodesign.md +6 -6
- package/packages/@monomind/cli/.claude/agents/github/repo-architect.md +3 -3
- package/packages/@monomind/cli/.claude/agents/github/sync-coordinator.md +2 -2
- package/packages/@monomind/cli/.claude/agents/specialists/integration-architect.md +4 -4
- package/packages/@monomind/cli/.claude/commands/github/repo-architect.md +4 -4
- package/packages/@monomind/cli/.claude/commands/github/sync-coordinator.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/_repeat.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/approvev1.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/architect.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/autodev.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/brain.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/build.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/content.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/createorg.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/createtask.md +3 -3
- package/packages/@monomind/cli/.claude/commands/mastermind/debug.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/design.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/do.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/execute.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/finance.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/finish.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/idea.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/ideate.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/improve.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/marketing.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/master.md +54 -54
- package/packages/@monomind/cli/.claude/commands/mastermind/ops.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/orgs.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/orgstatus.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/plan.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/receive-review.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/release.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/research.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/review.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/runorg.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/runorgv1.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/sales.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/skill-builder.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/stoporg.md +3 -3
- package/packages/@monomind/cli/.claude/commands/mastermind/taskdev.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/tdd.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/techport.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/verify.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/worktree.md +5 -5
- package/packages/@monomind/cli/.claude/helpers/control-start.cjs +30 -0
- package/packages/@monomind/cli/.claude/helpers/event-logger.cjs +2 -2
- package/packages/@monomind/cli/.claude/helpers/extras-registry.json +1 -1
- package/packages/@monomind/cli/.claude/helpers/handlers/agent-start-handler.cjs +2 -2
- package/packages/@monomind/cli/.claude/helpers/handlers/edit-handler.cjs +2 -2
- package/packages/@monomind/cli/.claude/helpers/handlers/gates-handler.cjs +1 -1
- package/packages/@monomind/cli/.claude/helpers/handlers/route-handler.cjs +1 -1
- package/packages/@monomind/cli/.claude/helpers/handlers/session-handler.cjs +1 -1
- package/packages/@monomind/cli/.claude/helpers/handlers/session-restore-handler.cjs +11 -11
- package/packages/@monomind/cli/.claude/helpers/handlers/task-handler.cjs +2 -2
- package/packages/@monomind/cli/.claude/helpers/hook-handler.cjs +8 -8
- package/packages/@monomind/cli/.claude/helpers/utils/monograph.cjs +44 -12
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/access.md → mastermind-access/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/activity.md → mastermind-activity/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapter-manager.md → mastermind-adapter-manager/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapters.md → mastermind-adapters/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agent-detail.md → mastermind-agent-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agents.md → mastermind-agents/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approval-detail.md → mastermind-approval-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approvev1.md → mastermind-approvev1/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/architect.md → mastermind-architect/SKILL.md} +7 -7
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/autodev.md → mastermind-autodev/SKILL.md} +10 -10
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/backup.md → mastermind-backup/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/bootstrap.md → mastermind-bootstrap/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/budgets.md → mastermind-budgets/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/build.md → mastermind-build/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/companies.md → mastermind-companies/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/content.md → mastermind-content/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/costs.md → mastermind-costs/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/createorg.md → mastermind-createorg/SKILL.md} +3 -3
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/debug.md → mastermind-debug/SKILL.md} +4 -4
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_delegation.md → mastermind-delegation/SKILL.md} +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/design.md → mastermind-design/SKILL.md} +9 -9
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/diagnose.md → mastermind-diagnose/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/env.md → mastermind-env/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/environments.md → mastermind-environments/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/execute.md → mastermind-execute/SKILL.md} +10 -10
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/export.md → mastermind-export/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finance.md → mastermind-finance/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goal-detail.md → mastermind-goal-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goals.md → mastermind-goals/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/heartbeatv1.md → mastermind-heartbeatv1/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/idea.md → mastermind-idea/SKILL.md} +7 -7
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/import.md → mastermind-import/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/inbox.md → mastermind-inbox/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance.md → mastermind-instance/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance-settings.md → mastermind-instance-settings/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invite-landing.md → mastermind-invite-landing/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invites.md → mastermind-invites/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issue-detail.md → mastermind-issue-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issues.md → mastermind-issues/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/join-queue.md → mastermind-join-queue/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/liveness.md → mastermind-liveness/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/marketing.md → mastermind-marketing/SKILL.md} +8 -8
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/memory.md → mastermind-memory/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monitor.md → mastermind-monitor/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/my-issues.md → mastermind-my-issues/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/new-agent.md → mastermind-new-agent/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/ops.md → mastermind-ops/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-chart.md → mastermind-org-chart/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-settings.md → mastermind-org-settings/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgs.md → mastermind-orgs/SKILL.md} +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgstatus.md → mastermind-orgstatus/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan.md → mastermind-plan/SKILL.md} +7 -7
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan-to-tasks.md → mastermind-plan-to-tasks/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-manager.md → mastermind-plugin-manager/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-settings.md → mastermind-plugin-settings/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugins.md → mastermind-plugins/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/profile.md → mastermind-profile/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-detail.md → mastermind-project-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-workspace.md → mastermind-project-workspace/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/projects.md → mastermind-projects/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_protocol.md → mastermind-protocol/SKILL.md} +3 -3
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/release.md → mastermind-release/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_repeat.md → mastermind-repeat/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/research.md → mastermind-research/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/review.md → mastermind-review/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routine-detail.md → mastermind-routine-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routines.md → mastermind-routines/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorgv1.md → mastermind-runorgv1/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/sales.md → mastermind-sales/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/search.md → mastermind-search/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/secrets.md → mastermind-secrets/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/skill-builder.md → mastermind-skill-builder/SKILL.md} +16 -14
- package/packages/@monomind/cli/.claude/skills/mastermind-skills/{skills.md → SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/stoporg.md → mastermind-stoporg/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/taskdev.md → mastermind-taskdev/SKILL.md} +6 -6
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/implementer-prompt.md +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tasks.md → mastermind-tasks/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tdd.md → mastermind-tdd/SKILL.md} +4 -4
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/techport.md → mastermind-techport/SKILL.md} +6 -6
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/threads.md → mastermind-threads/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tree-control.md → mastermind-tree-control/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/verify.md → mastermind-verify/SKILL.md} +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/wiki.md → mastermind-wiki/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspace-detail.md → mastermind-workspace-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspaces.md → mastermind-workspaces/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/monodesign/SKILL.md +114 -190
- package/packages/@monomind/cli/.claude/skills/monodesign/adapt.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-asset-producer.md +4 -4
- package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +103 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/audit.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/craft.md +2 -2
- package/packages/@monomind/cli/.claude/skills/monodesign/critique.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/init.md +30 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/layout.md +36 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/live.md +19 -44
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.md +122 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.native.md +58 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/android.md +40 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/animate.md +39 -11
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/antipatterns-catalog.md +67 -16
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.md +5 -3
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.native.md +139 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/bolder.md +71 -64
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand.md +12 -18
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/clarify.md +114 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/codex.md +4 -6
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/colorize.md +108 -5
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/craft.md +70 -143
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/critique.md +635 -68
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/delight.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/distill.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +24 -22
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/extract.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/hooks.md +22 -29
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/init.md +221 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/interaction-design.md +0 -6
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/ios.md +45 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/layout.md +57 -13
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +159 -71
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/overdrive.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/personas.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/polish.md +16 -8
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/pre-delivery-checklist.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/product.md +1 -3
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/quieter.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/shape.md +27 -13
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/teach.md +6 -152
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/typeset.md +180 -3
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/command-metadata.json +94 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context-signals.mjs +260 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context.mjs +1061 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/critique-storage.mjs +416 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect-csp.mjs +198 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect.mjs +33 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +1962 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/cli/main.mjs +321 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/design-system.mjs +814 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +5601 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +50 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +259 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +258 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +636 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +1015 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +253 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +198 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/findings.mjs +12 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/fix/css-regions.mjs +181 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/fix/fixers.mjs +373 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/fix/index.mjs +426 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +198 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +166 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +563 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +2995 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/color.mjs +124 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +101 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +30 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +148 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/page.mjs +7 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-admin.mjs +661 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-before-edit.mjs +516 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-lib.mjs +1776 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook.mjs +61 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/design-parser.mjs +842 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/is-generated.mjs +69 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +640 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +129 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/provider.mjs +4 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/target-args.mjs +42 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +50 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/completion.mjs +19 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/event-validation.mjs +137 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/insert-ui.mjs +458 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-apply.mjs +939 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +357 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +152 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/session-store.mjs +293 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/svelte-component.mjs +826 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +274 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/ui-core.mjs +180 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/vocabulary.mjs +36 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-accept.mjs +812 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-dom.js +146 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-session.js +123 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser.js +11240 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +1241 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-complete.mjs +75 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +683 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +51 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-inject.mjs +583 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-insert.mjs +272 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +363 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-poll.mjs +384 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-resume.mjs +94 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-server.mjs +1137 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-status.mjs +61 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-target.mjs +30 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-wrap.mjs +894 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live.mjs +297 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +14 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/palette.mjs +633 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/pin.mjs +221 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/teach.md +7 -58
- package/packages/@monomind/cli/README.md +1 -1
- package/packages/@monomind/cli/dist/src/commands/design-detect.d.ts +7 -1
- package/packages/@monomind/cli/dist/src/commands/design-detect.js +131 -38
- package/packages/@monomind/cli/dist/src/commands/design-palette.d.ts +0 -1
- package/packages/@monomind/cli/dist/src/commands/design-palette.js +2 -3
- package/packages/@monomind/cli/dist/src/commands/doc.js +72 -15
- package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.d.ts +5 -1
- package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.js +24 -1
- package/packages/@monomind/cli/dist/src/commands/doctor.js +3 -3
- package/packages/@monomind/cli/dist/src/commands/hooks-workers.d.ts +1 -1
- package/packages/@monomind/cli/dist/src/commands/hooks-workers.js +8 -8
- package/packages/@monomind/cli/dist/src/commands/init.js +2 -2
- package/packages/@monomind/cli/dist/src/commands/org.js +109 -9
- package/packages/@monomind/cli/dist/src/index.d.ts +1 -1
- package/packages/@monomind/cli/dist/src/index.js +3 -3
- package/packages/@monomind/cli/dist/src/init/claudemd-generator.js +5 -5
- package/packages/@monomind/cli/dist/src/init/executor.js +17 -6
- package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.d.ts +2 -0
- package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.js +4 -1
- package/packages/@monomind/cli/dist/src/mcp-server.js +2 -2
- package/packages/@monomind/cli/dist/src/mcp-tools/hooks-intelligence.d.ts +1 -1
- package/packages/@monomind/cli/dist/src/mcp-tools/hooks-intelligence.js +1 -1
- package/packages/@monomind/cli/dist/src/mcp-tools/hooks-routing.js +2 -2
- package/packages/@monomind/cli/dist/src/mcp-tools/hooks-tools.js +1 -1
- package/packages/@monomind/cli/dist/src/mcp-tools/knowledge-tools.js +38 -7
- package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.d.ts +8 -3
- package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.js +193 -31
- package/packages/@monomind/cli/dist/src/memory/memory-bridge.d.ts +33 -0
- package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +166 -17
- package/packages/@monomind/cli/dist/src/memory/memory-kg.d.ts +186 -0
- package/packages/@monomind/cli/dist/src/memory/memory-kg.js +450 -0
- package/packages/@monomind/cli/dist/src/memory/query-router.d.ts +44 -0
- package/packages/@monomind/cli/dist/src/memory/query-router.js +113 -0
- package/packages/@monomind/cli/dist/src/orgrt/daemon.d.ts +18 -0
- package/packages/@monomind/cli/dist/src/orgrt/daemon.js +249 -12
- package/packages/@monomind/cli/dist/src/orgrt/migrate.js +7 -0
- package/packages/@monomind/cli/dist/src/orgrt/policy.js +7 -0
- package/packages/@monomind/cli/dist/src/orgrt/session.d.ts +24 -1
- package/packages/@monomind/cli/dist/src/orgrt/session.js +18 -3
- package/packages/@monomind/cli/dist/src/orgrt/templates.d.ts +1 -0
- package/packages/@monomind/cli/dist/src/orgrt/templates.js +9 -4
- package/packages/@monomind/cli/dist/src/orgrt/types.d.ts +15 -0
- package/packages/@monomind/cli/dist/src/orgrt/types.js +2 -0
- package/packages/@monomind/cli/dist/src/routing/embed-worker.js +1 -1
- package/packages/@monomind/cli/dist/src/routing/llm-caller.js +1 -1
- package/packages/@monomind/cli/dist/src/routing/route-layer-factory.js +1 -1
- package/packages/@monomind/cli/dist/src/ui/dashboard.html +176 -26
- package/packages/@monomind/cli/dist/src/ui/orgs.html +24 -0
- package/packages/@monomind/cli/dist/src/ui/server.mjs +162 -12
- package/packages/@monomind/cli/dist/src/update/checker.js +3 -3
- package/packages/@monomind/cli/package.json +8 -6
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_agent-select.md → mastermind-agent-select/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finish.md → mastermind-finish/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_intake.md → mastermind-intake/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/copywriting-frameworks.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/persuasion-psychology.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monotask.md → mastermind-monotask/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/receive-review.md → mastermind-receive-review/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorg.md → mastermind-runorg/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/code-quality-reviewer-prompt.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/final-reviewer-prompt.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/spec-reviewer-prompt.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/worktree.md → mastermind-worktree/SKILL.md} +0 -0
package/README.md
CHANGED
|
@@ -365,7 +365,7 @@ Everything runs from inside Claude Code via slash commands. Here's the highlight
|
|
|
365
365
|
graph TD
|
|
366
366
|
CC["Claude Code"]
|
|
367
367
|
MCP["MCP Server\nmonomind mcp start"]
|
|
368
|
-
D["Background Workers\n(@
|
|
368
|
+
D["Background Workers\n(@monoes/hooks, in-process)"]
|
|
369
369
|
ORG["OrgDaemon\nmonomind org run\nreal SDK sessions"]
|
|
370
370
|
|
|
371
371
|
CC <-->|"MCP tools: monograph, memory"| MCP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monomind",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.3",
|
|
4
4
|
"description": "Open-source CLI extension for Claude Code. Adds an MCP server with a codebase knowledge graph, persistent memory, multi-agent coordination, and reusable slash commands. MIT licensed, runs locally, no data leaves your machine.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"!packages/@monomind/cli/.claude/**/*.db",
|
|
40
40
|
"!packages/@monomind/cli/.claude/**/.monomind/**",
|
|
41
41
|
"!packages/@monomind/cli/.claude/**/*.lock",
|
|
42
|
+
"!packages/@monomind/cli/.claude/**/._*",
|
|
42
43
|
"!packages/@monomind/cli/.claude/agents/generated/**",
|
|
43
44
|
"!packages/@monomind/cli/.claude/agents/reengineer-squad/**",
|
|
44
45
|
"README.md",
|
|
@@ -71,7 +71,7 @@ Craft photography prompts for AI image generation that produce editorial-quality
|
|
|
71
71
|
Strategic personality injection — micro-interactions, Easter eggs, brand character, memorable moments. Delight that enhances rather than distracts. See `reference/delight.md`.
|
|
72
72
|
|
|
73
73
|
### Design Critique
|
|
74
|
-
|
|
74
|
+
46 deterministic detector rules covering slop tells (AI signatures) and quality issues (contrast, motion, readability, semantics). Run `monomind design detect` on any HTML/CSS target — the engine is bundled, no external install needed. Design-check hooks can auto-run the detector after UI file edits.
|
|
75
75
|
|
|
76
76
|
## Core Principles
|
|
77
77
|
|
|
@@ -92,20 +92,20 @@ For any design task, the sequence is:
|
|
|
92
92
|
|
|
93
93
|
1. **Load context** — Read PRODUCT.md and DESIGN.md from the project root
|
|
94
94
|
2. **Identify register** — brand or product?
|
|
95
|
-
3. **Load relevant references** — from the monodesign skill's
|
|
95
|
+
3. **Load relevant references** — from the monodesign skill's 50+ reference files
|
|
96
96
|
4. **Design → implement → inspect** — in that order, no exceptions
|
|
97
|
-
5. **Run antipattern check** — `
|
|
97
|
+
5. **Run antipattern check** — `monomind design detect` before presenting results
|
|
98
98
|
6. **Verify states** — all interactive states and responsive breakpoints
|
|
99
99
|
|
|
100
|
-
## Reference Library (
|
|
100
|
+
## Reference Library (50+ files)
|
|
101
101
|
|
|
102
102
|
The monodesign skill at `.claude/skills/monodesign/` contains the authoritative reference library:
|
|
103
103
|
|
|
104
104
|
**Core domains**: typography, color-and-contrast, spatial-design, motion-design, interaction-design, responsive-design, ux-writing
|
|
105
105
|
|
|
106
|
-
**Commands**: craft, shape, teach, document, extract, critique, audit, polish, bolder, quieter, distill, harden, onboard, animate, colorize, typeset, layout, delight, overdrive, clarify, adapt, optimize, live
|
|
106
|
+
**Commands**: craft, shape, init (alias: teach), document, extract, critique, audit, polish, bolder, quieter, distill, harden, onboard, animate, colorize, typeset, layout, delight, overdrive, clarify, adapt, optimize, live (interactive in-browser variant iteration) — plus native variants (audit.native, adapt.native) and platform guides (ios, android)
|
|
107
107
|
|
|
108
|
-
**New additions**: component-system, ux-research, image-prompts
|
|
108
|
+
**New additions**: component-system, ux-research, image-prompts, antipatterns-catalog, token-architecture, component-specs, component-states, brand-workflow, copy-formulas, ux-rules, pre-delivery-checklist
|
|
109
109
|
|
|
110
110
|
**Context**: brand, product, personas, cognitive-load, heuristics-scoring
|
|
111
111
|
|
|
@@ -220,7 +220,7 @@ jobs:
|
|
|
220
220
|
key: "architecture/analysis/results",
|
|
221
221
|
value: {
|
|
222
222
|
timestamp: Date.now(),
|
|
223
|
-
repositories_analyzed: ["@monomind/cli", "@
|
|
223
|
+
repositories_analyzed: ["@monomind/cli", "@monoes/hooks"],
|
|
224
224
|
optimization_areas: ["structure", "workflows", "templates", "documentation"],
|
|
225
225
|
recommendations: ["standardize_structure", "improve_workflows", "enhance_templates"],
|
|
226
226
|
implementation_status: "in_progress"
|
|
@@ -284,10 +284,10 @@ const integrationPattern = {
|
|
|
284
284
|
packages: {
|
|
285
285
|
"@monomind/cli": {
|
|
286
286
|
role: "orchestration_layer",
|
|
287
|
-
dependencies: ["@
|
|
287
|
+
dependencies: ["@monoes/hooks", "@monomind/memory"],
|
|
288
288
|
provides: ["CLI", "workflows", "commands"],
|
|
289
289
|
},
|
|
290
|
-
"@
|
|
290
|
+
"@monoes/hooks": {
|
|
291
291
|
role: "intelligence_engine",
|
|
292
292
|
dependencies: ["@monomind/memory"],
|
|
293
293
|
provides: ["hooks", "workers", "learning"],
|
|
@@ -182,7 +182,7 @@ Bash(`gh pr create \
|
|
|
182
182
|
key: "sync/complete/status",
|
|
183
183
|
value: {
|
|
184
184
|
timestamp: Date.now(),
|
|
185
|
-
packages_synced: ["@monomind/cli", "@
|
|
185
|
+
packages_synced: ["@monomind/cli", "@monoes/hooks"],
|
|
186
186
|
version_alignment: "completed",
|
|
187
187
|
documentation_sync: "completed",
|
|
188
188
|
github_integration: "completed",
|
|
@@ -225,7 +225,7 @@ const docSyncPattern = {
|
|
|
225
225
|
### 3. **Integration Testing Matrix**
|
|
226
226
|
```javascript
|
|
227
227
|
const testMatrix = {
|
|
228
|
-
packages: ["@monomind/cli", "@
|
|
228
|
+
packages: ["@monomind/cli", "@monoes/hooks", "@monomind/memory"],
|
|
229
229
|
tests: [
|
|
230
230
|
"unit_tests",
|
|
231
231
|
"integration_tests",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: v1-integration-architect
|
|
3
3
|
description: |
|
|
4
|
-
v1 Integration Architect for cross-package integration work within the Monomind monorepo. Owns the wiring between @monomind/cli, @
|
|
4
|
+
v1 Integration Architect for cross-package integration work within the Monomind monorepo. Owns the wiring between @monomind/cli, @monoes/hooks, @monomind/memory, @monomind/security, and @monoes/monograph — ensuring MCP tool contracts, hook event flows, and inter-package APIs stay coherent as each package evolves.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Integration Architect
|
|
@@ -17,7 +17,7 @@ Keep the 5 Monomind packages working as a coherent system. When a package change
|
|
|
17
17
|
| Package | Role | Integration Surface |
|
|
18
18
|
|---------|------|-------------------|
|
|
19
19
|
| `@monomind/cli` | Orchestration layer | MCP server, CLI commands, init generator |
|
|
20
|
-
| `@
|
|
20
|
+
| `@monoes/hooks` | Intelligence engine | Hook events, background workers, pattern learning |
|
|
21
21
|
| `@monomind/memory` | Persistence layer | LanceDB, HNSW search, session state |
|
|
22
22
|
| `@monomind/security` | Input validation | CVE remediation, safe executor, path validator |
|
|
23
23
|
| `@monoes/monograph` | Knowledge graph | Dependency analysis, community detection, impact |
|
|
@@ -40,7 +40,7 @@ type HookEvent = {
|
|
|
40
40
|
All MCP tools exposed via `@monomind/cli/src/mcp-tools/` must:
|
|
41
41
|
1. Validate inputs through `@monomind/security` before execution
|
|
42
42
|
2. Persist results to `@monomind/memory` when stateful
|
|
43
|
-
3. Emit hook events via `@
|
|
43
|
+
3. Emit hook events via `@monoes/hooks` for learning
|
|
44
44
|
|
|
45
45
|
### Memory Access Pattern
|
|
46
46
|
|
|
@@ -58,7 +58,7 @@ const result = await db.search({ query, namespace: 'package-name' });
|
|
|
58
58
|
When a new feature spans multiple packages:
|
|
59
59
|
|
|
60
60
|
- [ ] API contract defined and typed in the consuming package
|
|
61
|
-
- [ ] Hook events documented in `@
|
|
61
|
+
- [ ] Hook events documented in `@monoes/hooks/src/types.ts`
|
|
62
62
|
- [ ] MCP tool registered in `@monomind/cli/src/mcp-tools/index.ts`
|
|
63
63
|
- [ ] Security validation added at system boundary
|
|
64
64
|
- [ ] Memory schema migration written if LanceDB schema changes
|
|
@@ -143,7 +143,7 @@ See CLAUDE.md for complete integration instructions.`
|
|
|
143
143
|
|
|
144
144
|
```javascript
|
|
145
145
|
// Synchronize structure across related repositories
|
|
146
|
-
const repositories = ["@monomind/cli", "@
|
|
146
|
+
const repositories = ["@monomind/cli", "@monoes/hooks", "@monomind/memory"];
|
|
147
147
|
|
|
148
148
|
// Update common files across repositories
|
|
149
149
|
repositories.forEach((repo) => {
|
|
@@ -248,7 +248,7 @@ monomind/
|
|
|
248
248
|
│ │ ├── src/
|
|
249
249
|
│ │ ├── .claude/
|
|
250
250
|
│ │ └── package.json
|
|
251
|
-
│ ├── @
|
|
251
|
+
│ ├── @monoes/hooks/
|
|
252
252
|
│ │ ├── src/
|
|
253
253
|
│ │ └── package.json
|
|
254
254
|
│ └── shared/
|
|
@@ -296,10 +296,10 @@ const integrationPattern = {
|
|
|
296
296
|
packages: {
|
|
297
297
|
"@monomind/cli": {
|
|
298
298
|
role: "orchestration_layer",
|
|
299
|
-
dependencies: ["@
|
|
299
|
+
dependencies: ["@monoes/hooks", "@monomind/memory"],
|
|
300
300
|
provides: ["CLI", "workflows", "commands"],
|
|
301
301
|
},
|
|
302
|
-
"@
|
|
302
|
+
"@monoes/hooks": {
|
|
303
303
|
role: "coordination_engine",
|
|
304
304
|
dependencies: [],
|
|
305
305
|
provides: ["MCP_tools", "neural_networks", "memory"],
|
|
@@ -225,7 +225,7 @@ const docSyncPattern = {
|
|
|
225
225
|
],
|
|
226
226
|
customSections: {
|
|
227
227
|
"@monomind/cli": "GitHub Commands Integration",
|
|
228
|
-
"@
|
|
228
|
+
"@monoes/hooks": "MCP Tools Reference"
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
```
|
|
@@ -234,7 +234,7 @@ const docSyncPattern = {
|
|
|
234
234
|
```javascript
|
|
235
235
|
// Comprehensive testing across synchronized packages
|
|
236
236
|
const testMatrix = {
|
|
237
|
-
packages: ["@monomind/cli", "@
|
|
237
|
+
packages: ["@monomind/cli", "@monoes/hooks"],
|
|
238
238
|
tests: [
|
|
239
239
|
"unit_tests",
|
|
240
240
|
"integration_tests",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Shared inter-session repeat protocol. Referenced by mastermind and monomind commands via "Follow the Repeat Preamble/Postamble from
|
|
1
|
+
<!-- Shared inter-session repeat protocol. Referenced by mastermind and monomind commands via "Follow the Repeat Preamble/Postamble from mastermind-repeat/SKILL.md". -->
|
|
2
2
|
|
|
3
3
|
## Shared Repeat Protocol
|
|
4
4
|
|
|
@@ -152,7 +152,7 @@ If neither condition is true, skip to Section 4.
|
|
|
152
152
|
"lastRunAt": ${NOW_MS},
|
|
153
153
|
"nextRunAt": ${NOW_MS},
|
|
154
154
|
"status": "running",
|
|
155
|
-
"source": "
|
|
155
|
+
"source": "mastermind-repeat/SKILL.md"
|
|
156
156
|
}
|
|
157
157
|
EOF
|
|
158
158
|
```
|
|
@@ -174,7 +174,7 @@ If neither condition is true, skip to Section 4.
|
|
|
174
174
|
"lastRunAt": ${NOW_MS},
|
|
175
175
|
"nextRunAt": ${NOW_MS},
|
|
176
176
|
"status": "running",
|
|
177
|
-
"source": "
|
|
177
|
+
"source": "mastermind-repeat/SKILL.md"
|
|
178
178
|
}
|
|
179
179
|
EOF
|
|
180
180
|
```
|
|
@@ -443,7 +443,7 @@ cat > ".monomind/loops/${LOOP_ID}.json" << EOF
|
|
|
443
443
|
"lastRunAt": ${NOW_MS},
|
|
444
444
|
"nextRunAt": ${NEXT_AT},
|
|
445
445
|
"status": "running",
|
|
446
|
-
"source": "
|
|
446
|
+
"source": "mastermind-repeat/SKILL.md"
|
|
447
447
|
}
|
|
448
448
|
EOF
|
|
449
449
|
```
|
|
@@ -57,7 +57,7 @@ Validate the org file exists:
|
|
|
57
57
|
[ -f ".monomind/orgs/${org_name}.json" ] || { echo "Org '${org_name}' not found."; exit 1; }
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Load brain context for the `ops` domain (follow
|
|
60
|
+
Load brain context for the `ops` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure, namespace: `ops`).
|
|
61
61
|
|
|
62
62
|
Generate a session ID:
|
|
63
63
|
```bash
|
|
@@ -77,7 +77,7 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
77
77
|
'{type:"session:start",session:$session,domain:"ops",prompt:("Approve requests for org: "+$org),mode:"confirm",project:$proj,ts:(now*1000|floor)}')" || true
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
Invoke `Skill("mastermind-
|
|
80
|
+
Invoke `Skill("mastermind-approvev1")` passing: brain_context, org_name, action, approval_id, reason, caller: "command".
|
|
81
81
|
|
|
82
82
|
After skill returns: note the status. Emit `session:complete`:
|
|
83
83
|
```bash
|
|
@@ -89,6 +89,6 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
89
89
|
'{type:"session:complete",session:$session,domain:"ops",status:$status,domains:["ops"],ts:(now*1000|floor)}')" || true
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
Follow
|
|
92
|
+
Follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
|
|
93
93
|
|
|
94
|
-
Invoke `Skill("mastermind-
|
|
94
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind architect domain — architecture review, file structure deduplication, coupling analysis, design pattern audit, DDD mapping, and system design. Default mode: confirm. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -13,9 +13,9 @@ Parse `$ARGUMENTS` for:
|
|
|
13
13
|
|
|
14
14
|
If prompt is empty: ask "What would you like the architect to do? (e.g. 'review the codebase structure', 'deduplicate files', 'design the API layer', 'map bounded contexts')"
|
|
15
15
|
|
|
16
|
-
Load brain context for the `architect` domain (follow
|
|
16
|
+
Load brain context for the `architect` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
17
17
|
|
|
18
|
-
Run intake if prompt is vague (follow
|
|
18
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `architect`).
|
|
19
19
|
|
|
20
20
|
Default mode for this command: **confirm** (show architecture plan before executing, unless `--auto` flag present).
|
|
21
21
|
|
|
@@ -40,13 +40,13 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
40
40
|
-d '{"type":"domain:dispatch","session":"<sessionId>","domain":"architect","ts":'"$(date +%s)"'000}' || true
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Invoke `Skill("mastermind-
|
|
43
|
+
Invoke `Skill("mastermind-architect")` passing: brain_context, prompt, project_name, board_id (create board named "architect" inside the project_name monotask space if not already present), mode, scope, stack, sessionId, iterate, caller: "command".
|
|
44
44
|
|
|
45
|
-
After skill returns: note the status from the skill's output (`complete`, `partial`, or `blocked`). Emit `session:complete` using that status, then follow
|
|
45
|
+
After skill returns: note the status from the skill's output (`complete`, `partial`, or `blocked`). Emit `session:complete` using that status, then follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `architect`. Before executing the curl below, substitute the generated sessionId for `<sessionId>` and the skill's actual status for `<status>`:
|
|
46
46
|
```bash
|
|
47
47
|
curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "${REPO_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}/.monomind/dashboard-token" 2>/dev/null || true)" \
|
|
48
48
|
-H "Content-Type: application/json" \
|
|
49
49
|
-d '{"type":"session:complete","session":"<sessionId>","domain":"architect","status":"<status>","domains":["architect"],"ts":'"$(date +%s)"'000}' || true
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
52
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Pre-PREAMBLE compatibility check:** Before following the REPEAT PREAMBLE, scan `$ARGUMENTS` for both `--newfeature` and `--tillend` present simultaneously. If both are found, emit `[autodev] Warning: --tillend is not supported with --newfeature and will be ignored.` and remove `--tillend` from `$ARGUMENTS` now — before the PREAMBLE processes it — so the PREAMBLE never creates a tillend loop state file.
|
|
4
4
|
|
|
5
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
5
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
6
6
|
|
|
7
7
|
Parse `$ARGUMENTS` for:
|
|
8
8
|
- **Leading integer** (first token is a bare number, e.g. `9`) → `count = 9` (how many improvements to build)
|
|
@@ -17,12 +17,12 @@ If no count is set, default `count = 1`.
|
|
|
17
17
|
If `--newfeature` is present without a valid N, default `newfeature_count = 3`.
|
|
18
18
|
If `newfeature_count > 10`: warn the user and set `newfeature_count = 10`.
|
|
19
19
|
|
|
20
|
-
Load brain context for the `autodev` domain (follow
|
|
20
|
+
Load brain context for the `autodev` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
21
21
|
|
|
22
22
|
Default mode for this command: **auto** (unless `--confirm` flag present).
|
|
23
23
|
|
|
24
|
-
Invoke `Skill("mastermind-
|
|
24
|
+
Invoke `Skill("mastermind-autodev")` passing: brain_context, count, newfeature_count, focus, mode, board_id (create if needed).
|
|
25
25
|
|
|
26
|
-
After skill returns: follow
|
|
26
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `autodev`.
|
|
27
27
|
|
|
28
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
28
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind brain management — inspect, compact, refresh, and control the three-tier business memory (LanceDB + Monograph) -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` to determine the sub-command and flags.
|
|
6
6
|
|
|
@@ -96,4 +96,4 @@ If `--confirm` is present:
|
|
|
96
96
|
If `--confirm` is missing:
|
|
97
97
|
> "This will permanently delete all brain memory for domain '<name>'. To confirm, run: `/mastermind:brain reset --domain <name> --confirm`"
|
|
98
98
|
|
|
99
|
-
Invoke `Skill("mastermind-
|
|
99
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind build domain — ship features, fix bugs, refactor code. Spawns a Development Manager who creates monotask tasks and coordinates specialized dev agents. Default mode: auto. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -10,14 +10,14 @@ Parse `$ARGUMENTS` for:
|
|
|
10
10
|
|
|
11
11
|
If prompt is empty: ask "What would you like to build or fix?"
|
|
12
12
|
|
|
13
|
-
Load brain context for the `build` domain (follow
|
|
13
|
+
Load brain context for the `build` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
14
14
|
|
|
15
|
-
Run intake if prompt is vague (follow
|
|
15
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `build`).
|
|
16
16
|
|
|
17
17
|
Default mode for this command: **auto** (unless `--confirm` flag present or intake Q4 says confirm).
|
|
18
18
|
|
|
19
|
-
Invoke `Skill("mastermind-
|
|
19
|
+
Invoke `Skill("mastermind-build")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
20
20
|
|
|
21
|
-
After skill returns: follow
|
|
21
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `build`.
|
|
22
22
|
|
|
23
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
23
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- "Monomind — Multi-agent iterative review loop: runs Code Reviewer, Security Engineer, and domain specialists in parallel, auto-fixes findings each iteration, and captures human-in-loop items to a dated file." -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
|
|
4
4
|
|
|
5
5
|
Parse remaining `$ARGUMENTS` as `TOTAL_ITERATIONS` (integer, min 1, max 10).
|
|
6
6
|
|
|
@@ -311,4 +311,4 @@ If `ALL_HIL` is empty, omit the HIL section and congratulate:
|
|
|
311
311
|
|
|
312
312
|
To repeat this command on a schedule, wrap it with `/mastermind:repeat` or use `--repeat N` / `--tillend` directly.
|
|
313
313
|
|
|
314
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
314
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind content domain — blog posts, threads, docs, newsletters. Default mode: confirm. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -10,14 +10,14 @@ Parse `$ARGUMENTS` for:
|
|
|
10
10
|
|
|
11
11
|
If prompt is empty: ask "What content would you like created?"
|
|
12
12
|
|
|
13
|
-
Load brain context for the `content` domain (follow
|
|
13
|
+
Load brain context for the `content` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
14
14
|
|
|
15
|
-
Run intake if prompt is vague (follow
|
|
15
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `content`).
|
|
16
16
|
|
|
17
17
|
Default mode for this command: **confirm** (unless `--auto` flag present or intake Q4 says auto).
|
|
18
18
|
|
|
19
|
-
Invoke `Skill("mastermind-
|
|
19
|
+
Invoke `Skill("mastermind-content")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
20
20
|
|
|
21
|
-
After skill returns: follow
|
|
21
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `content`.
|
|
22
22
|
|
|
23
|
-
Invoke `Skill("mastermind-
|
|
23
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -95,7 +95,7 @@ If neither `--auto` nor `--confirm` was provided, default: **mode = confirm**.
|
|
|
95
95
|
|
|
96
96
|
If prompt is empty (and not list/delete mode): ask "Describe your org's goal and optionally list the roles you want (e.g. 'a content team with a boss, writer, reviewer, and marketer to produce 10 blog posts per month')."
|
|
97
97
|
|
|
98
|
-
Load brain context for the `ops` domain (follow
|
|
98
|
+
Load brain context for the `ops` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure, namespace: `ops`).
|
|
99
99
|
|
|
100
100
|
Generate a session ID as a real shell variable:
|
|
101
101
|
```bash
|
|
@@ -125,7 +125,7 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
125
125
|
'{type:"domain:dispatch",session:$session,domain:"ops",cmd:"Designing and saving org definition",ts:(now*1000|floor)}')" || true
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
Invoke `Skill("mastermind-
|
|
128
|
+
Invoke `Skill("mastermind-createorg")` passing: brain_context, prompt, org_name, roles_desc, schedule, mode, session_id: `$session_id`, caller: "command".
|
|
129
129
|
|
|
130
130
|
After skill returns: note the status (`complete`, `partial`, or `blocked`). Emit `session:complete`:
|
|
131
131
|
```bash
|
|
@@ -137,7 +137,7 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
137
137
|
'{type:"session:complete",session:$session,domain:"ops",status:$status,domains:["ops"],ts:(now*1000|floor)}')" || true
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
Follow
|
|
140
|
+
Follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
Invoke `Skill("mastermind-
|
|
143
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -55,7 +55,7 @@ Bundle everything into `FULL_CONTEXT`.
|
|
|
55
55
|
|
|
56
56
|
**File mode (default, `USE_MONOTASK=false`):**
|
|
57
57
|
|
|
58
|
-
Compute the output path (follow slug rules from `
|
|
58
|
+
Compute the output path (follow slug rules from `mastermind-taskfile/SKILL.md`):
|
|
59
59
|
```bash
|
|
60
60
|
DATE=$(date +%Y-%m-%d)
|
|
61
61
|
SLUG=$(echo "$INPUT_LABEL" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g; s/-\+/-/g; s/^-//; s/-$//' | cut -c1-40)
|
|
@@ -161,7 +161,7 @@ Store as `TASKS` array.
|
|
|
161
161
|
|
|
162
162
|
**File mode (default, `USE_MONOTASK=false`):**
|
|
163
163
|
|
|
164
|
-
Write the file using the Write tool. Follow the task section format from `
|
|
164
|
+
Write the file using the Write tool. Follow the task section format from `mastermind-taskfile/SKILL.md` exactly. The file structure:
|
|
165
165
|
|
|
166
166
|
1. **Write frontmatter + header** (once):
|
|
167
167
|
```markdown
|
|
@@ -180,7 +180,7 @@ recommended_mode: <parallel|minimal|sequential>
|
|
|
180
180
|
---
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
-
2. **Append one section per task** (initial status = `todo` if no prerequisites, `backlog` if has prerequisites), following the task section format from `
|
|
183
|
+
2. **Append one section per task** (initial status = `todo` if no prerequisites, `backlog` if has prerequisites), following the task section format from `mastermind-taskfile/SKILL.md`:
|
|
184
184
|
```markdown
|
|
185
185
|
## Task N: <title>
|
|
186
186
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- Systematic root-cause debugging — use before ANY fix attempt for bugs, test failures, unexpected behavior, build failures, or performance regressions. Enforces Phase 1 root-cause investigation before proposing fixes. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text = problem description.
|
|
6
6
|
|
|
7
|
-
Load brain context for the `debug` domain (follow `
|
|
7
|
+
Load brain context for the `debug` domain (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
If problem description is empty: ask "What issue are you debugging?"
|
|
10
10
|
|
|
@@ -12,8 +12,8 @@ Default mode: **auto** (proceed immediately; the skill gates on root-cause inves
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
Invoke `Skill("mastermind-
|
|
15
|
+
Invoke `Skill("mastermind-debug")` passing: brain_context, problem_description, mode.
|
|
16
16
|
|
|
17
|
-
After skill returns: follow `
|
|
17
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure for domain `debug`.
|
|
18
18
|
|
|
19
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
19
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<!-- Collaborative design session — explore intent, clarify requirements, propose approaches, and produce an approved spec before any implementation begins. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
|
|
6
6
|
|
|
7
|
-
Load brain context (follow `
|
|
7
|
+
Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
Default mode: **confirm**.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
Invoke `Skill("mastermind-
|
|
13
|
+
Invoke `Skill("mastermind-design")` passing: brain_context, params, mode.
|
|
14
14
|
|
|
15
|
-
After skill returns: follow `
|
|
15
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
|
|
16
16
|
|
|
17
|
-
Invoke `Skill("mastermind-
|
|
17
|
+
Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
|
|
@@ -67,7 +67,7 @@ Otherwise:
|
|
|
67
67
|
|
|
68
68
|
### 2a: Load all pending tasks
|
|
69
69
|
|
|
70
|
-
**File mode:** Read `TASK_FILE`. Find all `## Task N: <title>` sections with `> status: todo` or `> status: backlog`. Follow the parsing spec in `
|
|
70
|
+
**File mode:** Read `TASK_FILE`. Find all `## Task N: <title>` sections with `> status: todo` or `> status: backlog`. Follow the parsing spec in `mastermind-taskfile/SKILL.md`. If `--filter` was set, keep only tasks whose title contains the filter text (case-insensitive).
|
|
71
71
|
|
|
72
72
|
**Monotask mode:**
|
|
73
73
|
```bash
|
|
@@ -437,7 +437,7 @@ Proceed to Step 9.
|
|
|
437
437
|
1. Change `> status: review` → `> status: done` in that task's section
|
|
438
438
|
2. Replace all `- [ ]` with `- [x]` in that task's Checklist section
|
|
439
439
|
3. If DONE_WITH_CONCERNS: append `> concerns: <concerns>` after the status line
|
|
440
|
-
4. **Unblock dependents**: Follow the "Prerequisite Unblock Logic" from `
|
|
440
|
+
4. **Unblock dependents**: Follow the "Prerequisite Unblock Logic" from `mastermind-taskfile/SKILL.md` — find tasks whose prerequisites are now all `done` and change their status from `backlog` to `todo`.
|
|
441
441
|
|
|
442
442
|
*Monotask mode:*
|
|
443
443
|
```bash
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<!-- Execute a written implementation plan step by step with review checkpoints and finishing handoff. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text (treated as plan path or goal).
|
|
6
6
|
|
|
7
|
-
Load brain context (follow `
|
|
7
|
+
Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
Default mode: **auto**.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
Invoke `Skill("mastermind-
|
|
13
|
+
Invoke `Skill("mastermind-execute")` passing: brain_context, params, mode.
|
|
14
14
|
|
|
15
|
-
After skill returns: follow `
|
|
15
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
|
|
16
16
|
|
|
17
|
-
Invoke `Skill("mastermind-
|
|
17
|
+
Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind finance domain — invoicing, budget tracking, financial forecasting. Default mode: confirm. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -10,14 +10,14 @@ Parse `$ARGUMENTS` for:
|
|
|
10
10
|
|
|
11
11
|
If prompt is empty: ask "What financial task would you like to handle?"
|
|
12
12
|
|
|
13
|
-
Load brain context for the `finance` domain (follow
|
|
13
|
+
Load brain context for the `finance` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
14
14
|
|
|
15
|
-
Run intake if prompt is vague (follow
|
|
15
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `finance`).
|
|
16
16
|
|
|
17
17
|
Default mode for this command: **confirm** (unless `--auto` flag present or intake Q4 says auto).
|
|
18
18
|
|
|
19
|
-
Invoke `Skill("mastermind-
|
|
19
|
+
Invoke `Skill("mastermind-finance")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
20
20
|
|
|
21
|
-
After skill returns: follow
|
|
21
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `finance`.
|
|
22
22
|
|
|
23
|
-
Invoke `Skill("mastermind-
|
|
23
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<!-- Use when implementation is complete and you need to decide how to integrate the work — merge locally, create a PR, keep the branch, or discard -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
|
|
6
6
|
|
|
7
|
-
Load brain context (follow `
|
|
7
|
+
Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
Default mode: **confirm**.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
Invoke `Skill("mastermind-
|
|
13
|
+
Invoke `Skill("mastermind-finish")` passing: brain_context, params, mode.
|
|
14
14
|
|
|
15
|
-
After skill returns: follow `
|
|
15
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
|
|
16
16
|
|
|
17
|
-
Invoke `Skill("mastermind-
|
|
17
|
+
Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
|