@monoes/monomindcli 2.9.6 → 2.9.8
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/design/design-monodesign.md +1 -2
- package/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +1 -2
- package/.claude/agents/engineering/engineering-ai-engineer.md +1 -2
- package/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +0 -1
- package/.claude/agents/engineering/engineering-backend-architect.md +1 -2
- package/.claude/agents/engineering/engineering-code-reviewer.md +1 -2
- package/.claude/agents/engineering/engineering-data-engineer.md +1 -2
- package/.claude/agents/engineering/engineering-database-optimizer.md +1 -2
- package/.claude/agents/engineering/engineering-devops-automator.md +1 -2
- package/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +1 -2
- package/.claude/agents/engineering/engineering-feishu-integration-developer.md +1 -2
- package/.claude/agents/engineering/engineering-frontend-developer.md +1 -2
- package/.claude/agents/engineering/engineering-git-workflow-master.md +1 -2
- package/.claude/agents/engineering/engineering-incident-response-commander.md +0 -1
- package/.claude/agents/engineering/engineering-mobile-app-builder.md +1 -2
- package/.claude/agents/engineering/engineering-rapid-prototyper.md +1 -2
- package/.claude/agents/engineering/engineering-security-engineer.md +1 -2
- package/.claude/agents/engineering/engineering-senior-developer.md +1 -2
- package/.claude/agents/engineering/engineering-software-architect.md +1 -2
- package/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +1 -2
- package/.claude/agents/engineering/engineering-sre.md +0 -1
- package/.claude/agents/engineering/engineering-technical-writer.md +1 -2
- package/.claude/agents/engineering/engineering-threat-detection-engineer.md +0 -1
- package/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +1 -2
- package/.claude/agents/github/code-review-swarm.md +0 -1
- package/.claude/agents/github/github-modes.md +0 -1
- package/.claude/agents/github/issue-tracker.md +0 -1
- package/.claude/agents/github/multi-repo-swarm.md +0 -1
- package/.claude/agents/github/pr-manager.md +0 -1
- package/.claude/agents/github/project-board-sync.md +0 -1
- package/.claude/agents/github/release-manager.md +0 -1
- package/.claude/agents/github/repo-architect.md +0 -1
- package/.claude/agents/github/swarm-issue.md +0 -1
- package/.claude/agents/github/swarm-pr.md +0 -1
- package/.claude/agents/github/sync-coordinator.md +0 -1
- package/.claude/agents/github/workflow-automation.md +0 -1
- package/.claude/agents/marketing/marketing-competitive-content.md +1 -2
- package/.claude/agents/marketing/marketing-cro-specialist.md +1 -2
- package/.claude/agents/marketing/marketing-email-specialist.md +1 -2
- package/.claude/agents/marketing/marketing-launch-strategist.md +1 -2
- package/.claude/agents/marketing/marketing-pricing-strategist.md +1 -2
- package/.claude/agents/specialized/agentic-identity-trust.md +0 -1
- package/.claude/agents/specialized/agents-orchestrator.md +1 -2
- package/.claude/agents/specialized/automation-governance-architect.md +1 -2
- package/.claude/agents/specialized/blockchain-security-auditor.md +1 -2
- package/.claude/agents/specialized/compliance-auditor.md +1 -2
- package/.claude/agents/specialized/identity-graph-operator.md +0 -1
- package/.claude/agents/specialized/lsp-index-engineer.md +1 -2
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +0 -1
- package/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +0 -1
- package/.claude/agents/specialized/specialized-developer-advocate.md +1 -2
- package/.claude/agents/specialized/specialized-document-generator.md +1 -2
- package/.claude/agents/specialized/specialized-mcp-builder.md +1 -2
- package/.claude/agents/specialized/specialized-model-qa.md +0 -1
- package/.claude/agents/specialized/specialized-workflow-architect.md +1 -2
- package/.claude/agents/specialized/zk-steward.md +1 -2
- package/.claude/agents/testing/production-validator.md +0 -1
- package/.claude/agents/testing/tdd-london-swarm.md +0 -1
- package/.claude/agents/testing/testing-accessibility-auditor.md +0 -1
- package/.claude/agents/testing/testing-api-tester.md +1 -2
- package/.claude/agents/testing/testing-evidence-collector.md +1 -2
- package/.claude/agents/testing/testing-performance-benchmarker.md +1 -2
- package/.claude/agents/testing/testing-test-results-analyzer.md +1 -2
- package/.claude/agents/testing/testing-tool-evaluator.md +1 -2
- package/.claude/agents/testing/testing-workflow-optimizer.md +1 -2
- package/.claude/commands/hooks/README.md +1 -1
- package/.claude/commands/memory/README.md +6 -7
- package/.claude/commands/monitoring/README.md +1 -1
- package/.claude/helpers/control-start.cjs +27 -7
- package/.claude/helpers/handlers/route-handler.cjs +22 -3
- package/.claude/helpers/handlers/session-handler.cjs +43 -0
- package/.claude/helpers/intelligence.cjs +27 -6
- package/.claude/helpers/statusline.cjs +45 -11
- package/.claude/skills/agentic-jujutsu/SKILL.md +17 -15
- package/.claude/skills/hive-mind-advanced/SKILL.md +212 -559
- package/.claude/skills/hooks-automation/SKILL.md +1 -1
- package/.claude/skills/mastermind-adapters/SKILL.md +0 -11
- package/.claude/skills/mastermind-agents/SKILL.md +0 -11
- package/.claude/skills/mastermind-backup/SKILL.md +0 -11
- package/.claude/skills/mastermind-bootstrap/SKILL.md +0 -11
- package/.claude/skills/mastermind-delegation/SKILL.md +14 -12
- package/.claude/skills/mastermind-idea/SKILL.md +0 -5
- package/.claude/skills/mastermind-monitor/SKILL.md +0 -15
- package/.claude/skills/mastermind-org-settings/SKILL.md +0 -11
- package/.claude/skills/mastermind-plugins/SKILL.md +0 -11
- package/.claude/skills/mastermind-protocol/SKILL.md +6 -124
- package/.claude/skills/mastermind-repeat/SKILL.md +0 -25
- package/.claude/skills/mastermind-review/SKILL.md +1 -1
- package/.claude/skills/mastermind-stoporg/SKILL.md +0 -19
- package/.claude/skills/memory-toolkit/SKILL.md +12 -11
- package/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +8 -1
- package/.claude/skills/pair-programming/SKILL.md +1 -1
- package/.claude/skills/performance-analysis/SKILL.md +228 -484
- package/.claude/skills/specialagent/SKILL.md +31 -133
- package/.claude/skills/swarm-advanced/SKILL.md +2 -2
- package/.claude/skills/swarm-orchestration/SKILL.md +220 -150
- package/.claude/skills/verification-quality/SKILL.md +247 -571
- package/README.md +3 -3
- package/dist/src/commands/agent-lifecycle.js +3 -3
- package/dist/src/commands/agent-lifecycle.js.map +1 -1
- package/dist/src/commands/autopilot.d.ts.map +1 -1
- package/dist/src/commands/autopilot.js +7 -1
- package/dist/src/commands/autopilot.js.map +1 -1
- package/dist/src/commands/doc.d.ts.map +1 -1
- package/dist/src/commands/doc.js +14 -3
- package/dist/src/commands/doc.js.map +1 -1
- package/dist/src/commands/doctor-env-checks.d.ts +1 -1
- package/dist/src/commands/doctor-env-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
- package/dist/src/commands/doctor-project-checks.js +3 -37
- 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 +30 -1
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/hooks-coverage-commands.d.ts.map +1 -1
- package/dist/src/commands/hooks-coverage-commands.js +75 -67
- package/dist/src/commands/hooks-coverage-commands.js.map +1 -1
- package/dist/src/commands/hooks-workers.d.ts.map +1 -1
- package/dist/src/commands/hooks-workers.js +41 -10
- package/dist/src/commands/hooks-workers.js.map +1 -1
- package/dist/src/commands/hooks.js +1 -1
- package/dist/src/commands/index.d.ts +1 -1
- package/dist/src/commands/index.d.ts.map +1 -1
- package/dist/src/commands/index.js +20 -4
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +80 -7
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/mcp.d.ts.map +1 -1
- package/dist/src/commands/mcp.js +78 -2
- package/dist/src/commands/mcp.js.map +1 -1
- package/dist/src/commands/neural-optimize.d.ts.map +1 -1
- package/dist/src/commands/neural-optimize.js +27 -5
- package/dist/src/commands/neural-optimize.js.map +1 -1
- package/dist/src/commands/org-observe.d.ts.map +1 -1
- package/dist/src/commands/org-observe.js +1 -0
- package/dist/src/commands/org-observe.js.map +1 -1
- package/dist/src/commands/org.d.ts.map +1 -1
- package/dist/src/commands/org.js +129 -2
- package/dist/src/commands/org.js.map +1 -1
- package/dist/src/commands/performance.js +1 -1
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/security-cve.d.ts.map +1 -1
- package/dist/src/commands/security-cve.js +1 -11
- package/dist/src/commands/security-cve.js.map +1 -1
- package/dist/src/commands/security-misc.d.ts +0 -9
- package/dist/src/commands/security-misc.d.ts.map +1 -1
- package/dist/src/commands/security-misc.js +33 -54
- package/dist/src/commands/security-misc.js.map +1 -1
- package/dist/src/commands/security-scan.d.ts.map +1 -1
- package/dist/src/commands/security-scan.js +3 -11
- package/dist/src/commands/security-scan.js.map +1 -1
- package/dist/src/commands/swarm.d.ts.map +1 -1
- package/dist/src/commands/swarm.js +7 -2
- package/dist/src/commands/swarm.js.map +1 -1
- package/dist/src/commands/ui.d.ts +8 -0
- package/dist/src/commands/ui.d.ts.map +1 -0
- package/dist/src/commands/ui.js +94 -0
- package/dist/src/commands/ui.js.map +1 -0
- package/dist/src/init/claudemd-generator.d.ts.map +1 -1
- package/dist/src/init/claudemd-generator.js +7 -9
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +13 -3
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/kimi-generator.d.ts +3 -2
- package/dist/src/init/kimi-generator.d.ts.map +1 -1
- package/dist/src/init/kimi-generator.js +45 -13
- package/dist/src/init/kimi-generator.js.map +1 -1
- package/dist/src/init/statusline-generator.d.ts +1 -1
- package/dist/src/init/statusline-generator.js +1 -1
- package/dist/src/init/write-capabilities.js +7 -7
- package/dist/src/init/write-capabilities.js.map +1 -1
- package/dist/src/knowledge/document-pipeline.d.ts.map +1 -1
- package/dist/src/knowledge/document-pipeline.js +1 -0
- package/dist/src/knowledge/document-pipeline.js.map +1 -1
- package/dist/src/knowledge/eval/golden-set.d.ts.map +1 -1
- package/dist/src/knowledge/eval/golden-set.js +21 -32
- package/dist/src/knowledge/eval/golden-set.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +2 -2
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-intelligence.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-intelligence.js +29 -3
- package/dist/src/mcp-tools/hooks-intelligence.js.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-routing.js +32 -19
- package/dist/src/mcp-tools/hooks-routing.js.map +1 -1
- package/dist/src/mcp-tools/monograph/query-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/monograph/query-tools.js +48 -18
- package/dist/src/mcp-tools/monograph/query-tools.js.map +1 -1
- package/dist/src/mcp-tools/performance-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/performance-tools.js +15 -10
- package/dist/src/mcp-tools/performance-tools.js.map +1 -1
- package/dist/src/memory/embedding-operations.d.ts +4 -0
- package/dist/src/memory/embedding-operations.d.ts.map +1 -1
- package/dist/src/memory/embedding-operations.js +125 -32
- package/dist/src/memory/embedding-operations.js.map +1 -1
- package/dist/src/memory/hnsw-operations.d.ts +1 -1
- package/dist/src/memory/hnsw-operations.js +1 -1
- package/dist/src/memory/memory-bridge.d.ts +8 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +37 -8
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/src/memory/memory-read.d.ts +1 -1
- package/dist/src/memory/memory-read.js +2 -2
- package/dist/src/memory/memory-read.js.map +1 -1
- package/dist/src/orgrt/antigravity-runner.d.ts.map +1 -1
- package/dist/src/orgrt/antigravity-runner.js +6 -6
- package/dist/src/orgrt/antigravity-runner.js.map +1 -1
- package/dist/src/orgrt/checkpoint-ops.d.ts +11 -1
- package/dist/src/orgrt/checkpoint-ops.d.ts.map +1 -1
- package/dist/src/orgrt/checkpoint-ops.js +18 -86
- package/dist/src/orgrt/checkpoint-ops.js.map +1 -1
- package/dist/src/orgrt/checkpoint.d.ts +1 -1
- package/dist/src/orgrt/checkpoint.d.ts.map +1 -1
- package/dist/src/orgrt/checkpoint.js +3 -3
- package/dist/src/orgrt/checkpoint.js.map +1 -1
- package/dist/src/orgrt/daemon.d.ts +9 -1
- package/dist/src/orgrt/daemon.d.ts.map +1 -1
- package/dist/src/orgrt/daemon.js +267 -139
- package/dist/src/orgrt/daemon.js.map +1 -1
- package/dist/src/orgrt/decisions.d.ts +13 -0
- package/dist/src/orgrt/decisions.d.ts.map +1 -1
- package/dist/src/orgrt/decisions.js +95 -0
- package/dist/src/orgrt/decisions.js.map +1 -1
- package/dist/src/orgrt/forwarder.d.ts.map +1 -1
- package/dist/src/orgrt/forwarder.js +148 -15
- package/dist/src/orgrt/forwarder.js.map +1 -1
- package/dist/src/orgrt/kimicode-runner.js +1 -1
- package/dist/src/orgrt/kimicode-runner.js.map +1 -1
- package/dist/src/orgrt/opencode-runner.js +1 -1
- package/dist/src/orgrt/opencode-runner.js.map +1 -1
- package/dist/src/orgrt/session.d.ts +27 -1
- package/dist/src/orgrt/session.d.ts.map +1 -1
- package/dist/src/orgrt/session.js +67 -6
- package/dist/src/orgrt/session.js.map +1 -1
- package/dist/src/orgrt/task-dag.d.ts +11 -1
- package/dist/src/orgrt/task-dag.d.ts.map +1 -1
- package/dist/src/orgrt/task-dag.js +93 -2
- package/dist/src/orgrt/task-dag.js.map +1 -1
- package/dist/src/orgrt/templates.d.ts.map +1 -1
- package/dist/src/orgrt/templates.js +26 -2
- package/dist/src/orgrt/templates.js.map +1 -1
- package/dist/src/orgrt/types.d.ts +77 -1
- package/dist/src/orgrt/types.d.ts.map +1 -1
- package/dist/src/orgrt/types.js +28 -2
- package/dist/src/orgrt/types.js.map +1 -1
- package/dist/src/orgrt/vercel-providers.d.ts.map +1 -1
- package/dist/src/orgrt/vercel-providers.js +9 -4
- package/dist/src/orgrt/vercel-providers.js.map +1 -1
- package/dist/src/orgrt/vercel-runner.d.ts +0 -23
- package/dist/src/orgrt/vercel-runner.d.ts.map +1 -1
- package/dist/src/orgrt/vercel-runner.js +38 -7
- package/dist/src/orgrt/vercel-runner.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/.claude/commands/mastermind/approvev1.md +0 -94
- package/.claude/commands/mastermind/architect.md +0 -52
- package/.claude/commands/mastermind/autodev.md +0 -28
- package/.claude/commands/mastermind/build.md +0 -23
- package/.claude/commands/mastermind/finish.md +0 -17
- package/.claude/commands/mastermind/runorgv1.md +0 -159
- package/.claude/commands/mastermind/taskdev.md +0 -23
- package/.claude/commands/mastermind/tdd.md +0 -19
- package/.claude/commands/mastermind/verify.md +0 -19
- package/.claude/skills/mastermind-approvev1/SKILL.md +0 -191
- package/.claude/skills/mastermind-architect/SKILL.md +0 -862
- package/.claude/skills/mastermind-autodev/SKILL.md +0 -360
- package/.claude/skills/mastermind-build/SKILL.md +0 -169
- package/.claude/skills/mastermind-companies/SKILL.md +0 -256
- package/.claude/skills/mastermind-content/SKILL.md +0 -197
- package/.claude/skills/mastermind-costs/SKILL.md +0 -151
- package/.claude/skills/mastermind-finance/SKILL.md +0 -166
- package/.claude/skills/mastermind-finish/SKILL.md +0 -251
- package/.claude/skills/mastermind-heartbeatv1/SKILL.md +0 -167
- package/.claude/skills/mastermind-instance-settings/SKILL.md +0 -315
- package/.claude/skills/mastermind-marketing/SKILL.md +0 -228
- package/.claude/skills/mastermind-marketing/references/copywriting-frameworks.md +0 -181
- package/.claude/skills/mastermind-marketing/references/persuasion-psychology.md +0 -158
- package/.claude/skills/mastermind-ops/SKILL.md +0 -168
- package/.claude/skills/mastermind-org-chart/SKILL.md +0 -209
- package/.claude/skills/mastermind-project-detail/SKILL.md +0 -249
- package/.claude/skills/mastermind-project-workspace/SKILL.md +0 -244
- package/.claude/skills/mastermind-projects/SKILL.md +0 -167
- package/.claude/skills/mastermind-runorgv1/SKILL.md +0 -731
- package/.claude/skills/mastermind-sales/SKILL.md +0 -170
- package/.claude/skills/mastermind-taskdev/SKILL.md +0 -377
- package/.claude/skills/mastermind-taskdev/code-quality-reviewer-prompt.md +0 -60
- package/.claude/skills/mastermind-taskdev/final-reviewer-prompt.md +0 -144
- package/.claude/skills/mastermind-taskdev/implementer-prompt.md +0 -114
- package/.claude/skills/mastermind-taskdev/spec-reviewer-prompt.md +0 -80
- package/.claude/skills/mastermind-tdd/SKILL.md +0 -424
- package/.claude/skills/mastermind-verify/SKILL.md +0 -196
- package/.claude/skills/mastermind-wiki/SKILL.md +0 -314
- package/.claude/skills/monolean-review/SKILL.md +0 -57
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
# Final Whole-Branch Reviewer Prompt Template
|
|
2
|
-
|
|
3
|
-
Use this template when dispatching the final code reviewer subagent from `mastermind:taskdev` (after all tasks complete) or `mastermind:review`. Dispatch it on the **most capable available model**.
|
|
4
|
-
|
|
5
|
-
**Purpose:** Review the entire branch against its plan/spec before merge — the one broad pass after all task-scoped gates.
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
Task tool (general-purpose):
|
|
9
|
-
description: "Final whole-branch review"
|
|
10
|
-
prompt: |
|
|
11
|
-
You are a Senior Code Reviewer with expertise in software architecture,
|
|
12
|
-
design patterns, and best practices. Your job is to review completed work
|
|
13
|
-
against its plan or requirements and identify issues before they cascade.
|
|
14
|
-
|
|
15
|
-
## What Was Implemented
|
|
16
|
-
|
|
17
|
-
[DESCRIPTION]
|
|
18
|
-
|
|
19
|
-
## Requirements / Plan
|
|
20
|
-
|
|
21
|
-
[PLAN_OR_REQUIREMENTS]
|
|
22
|
-
|
|
23
|
-
## Diff to Review
|
|
24
|
-
|
|
25
|
-
Read this file — it contains the commit list, stat summary, and full diff
|
|
26
|
-
from [BASE_SHA] to [HEAD_SHA]:
|
|
27
|
-
|
|
28
|
-
[DIFF_FILE_PATH]
|
|
29
|
-
|
|
30
|
-
## Minor Findings Carried Forward
|
|
31
|
-
|
|
32
|
-
[MINOR_FINDINGS_LIST — from the progress ledger; triage which must be
|
|
33
|
-
fixed before merge]
|
|
34
|
-
|
|
35
|
-
## Read-Only Review
|
|
36
|
-
|
|
37
|
-
Your review is read-only on this checkout. Do not mutate the working
|
|
38
|
-
tree, the index, HEAD, or branch state in any way. Use `git show`,
|
|
39
|
-
`git diff`, and `git log` to inspect history.
|
|
40
|
-
|
|
41
|
-
## What to Check
|
|
42
|
-
|
|
43
|
-
**Plan alignment:**
|
|
44
|
-
- Does the implementation match the plan / requirements?
|
|
45
|
-
- Are deviations justified improvements, or problematic departures?
|
|
46
|
-
- Is all planned functionality present?
|
|
47
|
-
|
|
48
|
-
**Code quality:**
|
|
49
|
-
- Clean separation of concerns?
|
|
50
|
-
- Proper error handling?
|
|
51
|
-
- Type safety where applicable?
|
|
52
|
-
- DRY without premature abstraction?
|
|
53
|
-
- Edge cases handled?
|
|
54
|
-
|
|
55
|
-
**Architecture:**
|
|
56
|
-
- Sound design decisions?
|
|
57
|
-
- Reasonable scalability and performance?
|
|
58
|
-
- Security concerns?
|
|
59
|
-
- Integrates cleanly with surrounding code?
|
|
60
|
-
|
|
61
|
-
**Testing:**
|
|
62
|
-
- Tests verify real behavior, not mocks?
|
|
63
|
-
- Edge cases covered?
|
|
64
|
-
- Integration tests where they matter?
|
|
65
|
-
- All tests passing?
|
|
66
|
-
|
|
67
|
-
**Production readiness:**
|
|
68
|
-
- Migration strategy if schema changed?
|
|
69
|
-
- Backward compatibility considered?
|
|
70
|
-
- Documentation complete?
|
|
71
|
-
- No obvious bugs?
|
|
72
|
-
|
|
73
|
-
## Calibration
|
|
74
|
-
|
|
75
|
-
Categorize issues by actual severity. Not everything is Critical.
|
|
76
|
-
Acknowledge what was done well before listing issues — accurate praise
|
|
77
|
-
helps the implementer trust the rest of the feedback.
|
|
78
|
-
|
|
79
|
-
If you find significant deviations from the plan, flag them specifically
|
|
80
|
-
so the implementer can confirm whether the deviation was intentional.
|
|
81
|
-
If you find issues with the plan itself rather than the implementation,
|
|
82
|
-
say so.
|
|
83
|
-
|
|
84
|
-
## Output Format
|
|
85
|
-
|
|
86
|
-
### Strengths
|
|
87
|
-
[What's well done? Be specific.]
|
|
88
|
-
|
|
89
|
-
### Issues
|
|
90
|
-
|
|
91
|
-
#### Critical (Must Fix)
|
|
92
|
-
[Bugs, security issues, data loss risks, broken functionality]
|
|
93
|
-
|
|
94
|
-
#### Important (Should Fix)
|
|
95
|
-
[Architecture problems, missing features, poor error handling, test gaps]
|
|
96
|
-
|
|
97
|
-
#### Minor (Nice to Have)
|
|
98
|
-
[Code style, optimization opportunities, documentation polish]
|
|
99
|
-
|
|
100
|
-
For each issue:
|
|
101
|
-
- File:line reference
|
|
102
|
-
- What's wrong
|
|
103
|
-
- Why it matters
|
|
104
|
-
- How to fix (if not obvious)
|
|
105
|
-
|
|
106
|
-
### Recommendations
|
|
107
|
-
[Improvements for code quality, architecture, or process]
|
|
108
|
-
|
|
109
|
-
### Assessment
|
|
110
|
-
|
|
111
|
-
**Ready to merge?** [Yes | No | With fixes]
|
|
112
|
-
|
|
113
|
-
**Reasoning:** [1-2 sentence technical assessment]
|
|
114
|
-
|
|
115
|
-
## Critical Rules
|
|
116
|
-
|
|
117
|
-
**DO:**
|
|
118
|
-
- Categorize by actual severity
|
|
119
|
-
- Be specific (file:line, not vague)
|
|
120
|
-
- Explain WHY each issue matters
|
|
121
|
-
- Acknowledge strengths
|
|
122
|
-
- Give a clear verdict
|
|
123
|
-
|
|
124
|
-
**DON'T:**
|
|
125
|
-
- Say "looks good" without checking
|
|
126
|
-
- Mark nitpicks as Critical
|
|
127
|
-
- Give feedback on code you didn't actually read
|
|
128
|
-
- Be vague ("improve error handling")
|
|
129
|
-
- Avoid giving a clear verdict
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
**Placeholders:**
|
|
133
|
-
- `[DESCRIPTION]` — brief summary of what was built across the branch
|
|
134
|
-
- `[PLAN_OR_REQUIREMENTS]` — the plan file path or spec text
|
|
135
|
-
- `[BASE_SHA]` — the merge base (`git merge-base main HEAD`)
|
|
136
|
-
- `[HEAD_SHA]` — branch head
|
|
137
|
-
- `[DIFF_FILE_PATH]` — the diff file generated from BASE..HEAD (commit list + stat + `git diff -U10`)
|
|
138
|
-
- `[MINOR_FINDINGS_LIST]` — accumulated Minor findings from per-task reviews
|
|
139
|
-
|
|
140
|
-
**Acting on feedback (controller):**
|
|
141
|
-
- Fix Critical issues immediately; fix Important issues before merge
|
|
142
|
-
- Dispatch ONE fix subagent with the complete findings list — not one fixer per finding
|
|
143
|
-
- Push back on findings that are wrong — with technical reasoning and evidence, never performative agreement
|
|
144
|
-
- Never skip this review because "the per-task reviews all passed" — task gates are narrow by design
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
# Implementer Subagent Prompt Template
|
|
2
|
-
|
|
3
|
-
Use this template when dispatching an implementer subagent from `mastermind:taskdev`.
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
Task tool (general-purpose):
|
|
7
|
-
description: "Implement Task N: [task name]"
|
|
8
|
-
prompt: |
|
|
9
|
-
You are implementing Task N: [task name]
|
|
10
|
-
|
|
11
|
-
## Task Description
|
|
12
|
-
|
|
13
|
-
[FULL TEXT of task from plan — paste it here, do not make the subagent read the file]
|
|
14
|
-
|
|
15
|
-
## Context
|
|
16
|
-
|
|
17
|
-
[Scene-setting: where this fits, dependencies, architectural context, brain context summary]
|
|
18
|
-
|
|
19
|
-
## Before You Begin
|
|
20
|
-
|
|
21
|
-
If you have questions about:
|
|
22
|
-
- The requirements or acceptance criteria
|
|
23
|
-
- The approach or implementation strategy
|
|
24
|
-
- Dependencies or assumptions
|
|
25
|
-
- Anything unclear in the task description
|
|
26
|
-
|
|
27
|
-
**Ask them now.** Raise any concerns before starting work.
|
|
28
|
-
|
|
29
|
-
## Your Job
|
|
30
|
-
|
|
31
|
-
Once you're clear on requirements:
|
|
32
|
-
1. Implement exactly what the task specifies
|
|
33
|
-
2. Write tests following TDD (use Skill("mastermind-tdd") if available)
|
|
34
|
-
3. Verify implementation works
|
|
35
|
-
4. Commit your work
|
|
36
|
-
5. Self-review (see below)
|
|
37
|
-
6. Report back
|
|
38
|
-
|
|
39
|
-
Work from: [directory]
|
|
40
|
-
|
|
41
|
-
**While you work:** If you encounter something unexpected or unclear, **ask questions**.
|
|
42
|
-
It's always OK to pause and clarify. Don't guess or make assumptions.
|
|
43
|
-
|
|
44
|
-
## Code Organization
|
|
45
|
-
|
|
46
|
-
- Follow the file structure defined in the plan
|
|
47
|
-
- Each file should have one clear responsibility with a well-defined interface
|
|
48
|
-
- If a file you're creating is growing beyond the plan's intent, stop and report
|
|
49
|
-
it as DONE_WITH_CONCERNS — don't split files on your own without plan guidance
|
|
50
|
-
- If an existing file you're modifying is already large or tangled, work carefully
|
|
51
|
-
and note it as a concern in your report
|
|
52
|
-
- In existing codebases, follow established patterns. Improve code you're touching
|
|
53
|
-
the way a good developer would, but don't restructure things outside your task.
|
|
54
|
-
|
|
55
|
-
## When You're in Over Your Head
|
|
56
|
-
|
|
57
|
-
It is always OK to stop and say "this is too hard for me." Bad work is worse than
|
|
58
|
-
no work. You will not be penalized for escalating.
|
|
59
|
-
|
|
60
|
-
**STOP and escalate when:**
|
|
61
|
-
- The task requires architectural decisions with multiple valid approaches
|
|
62
|
-
- You need to understand code beyond what was provided and can't find clarity
|
|
63
|
-
- You feel uncertain about whether your approach is correct
|
|
64
|
-
- The task involves restructuring existing code in ways the plan didn't anticipate
|
|
65
|
-
- You've been reading file after file trying to understand the system without progress
|
|
66
|
-
|
|
67
|
-
**How to escalate:** Report back with status BLOCKED or NEEDS_CONTEXT. Describe
|
|
68
|
-
specifically what you're stuck on, what you've tried, and what kind of help you need.
|
|
69
|
-
|
|
70
|
-
## Before Reporting Back: Self-Review
|
|
71
|
-
|
|
72
|
-
Review your work with fresh eyes. Ask yourself:
|
|
73
|
-
|
|
74
|
-
**Completeness:**
|
|
75
|
-
- Did I fully implement everything in the spec?
|
|
76
|
-
- Did I miss any requirements?
|
|
77
|
-
- Are there edge cases I didn't handle?
|
|
78
|
-
|
|
79
|
-
**Quality:**
|
|
80
|
-
- Is this my best work?
|
|
81
|
-
- Are names clear and accurate?
|
|
82
|
-
- Is the code clean and maintainable?
|
|
83
|
-
|
|
84
|
-
**Discipline:**
|
|
85
|
-
- Did I avoid overbuilding (YAGNI)?
|
|
86
|
-
- Did I only build what was requested?
|
|
87
|
-
- Did I follow existing patterns in the codebase?
|
|
88
|
-
|
|
89
|
-
**Testing:**
|
|
90
|
-
- Do tests actually verify behavior (not just mock behavior)?
|
|
91
|
-
- Did I follow TDD if required?
|
|
92
|
-
- Are tests comprehensive?
|
|
93
|
-
|
|
94
|
-
If you find issues during self-review, fix them now before reporting.
|
|
95
|
-
|
|
96
|
-
## Report Format
|
|
97
|
-
|
|
98
|
-
Write your full report to the report file named in this dispatch
|
|
99
|
-
([REPORT_FILE_PATH]), covering:
|
|
100
|
-
- What you implemented (or what you attempted, if blocked)
|
|
101
|
-
- What you tested and test results (commands run + output summary)
|
|
102
|
-
- Files changed
|
|
103
|
-
- Self-review findings (if any)
|
|
104
|
-
|
|
105
|
-
Then return only:
|
|
106
|
-
- **Status:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
|
|
107
|
-
- Commits created
|
|
108
|
-
- One-line test summary
|
|
109
|
-
- Any concerns
|
|
110
|
-
|
|
111
|
-
Use DONE_WITH_CONCERNS if you completed the work but have doubts about correctness.
|
|
112
|
-
Use BLOCKED if you cannot complete the task. Use NEEDS_CONTEXT if you need
|
|
113
|
-
information that wasn't provided. Never silently produce work you're unsure about.
|
|
114
|
-
```
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# Spec Compliance Reviewer Prompt Template
|
|
2
|
-
|
|
3
|
-
Use this template when dispatching a spec compliance reviewer subagent from `mastermind:taskdev`.
|
|
4
|
-
|
|
5
|
-
**Purpose:** Verify implementer built what was requested — nothing more, nothing less.
|
|
6
|
-
|
|
7
|
-
**Dispatch BEFORE code quality review.** Spec compliance always runs first.
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
Task tool (general-purpose):
|
|
11
|
-
description: "Review spec compliance for Task N"
|
|
12
|
-
prompt: |
|
|
13
|
-
You are reviewing whether an implementation matches its specification.
|
|
14
|
-
|
|
15
|
-
## What Was Requested
|
|
16
|
-
|
|
17
|
-
Read this file first — it is the task's requirements, with the exact
|
|
18
|
-
values that bind the implementation:
|
|
19
|
-
|
|
20
|
-
[TASK_BRIEF_PATH — e.g. .monomind/taskdev/task-N-brief.md]
|
|
21
|
-
|
|
22
|
-
## Global Constraints
|
|
23
|
-
|
|
24
|
-
[Copied verbatim from the plan's Global Constraints section — exact
|
|
25
|
-
values, formats, and cross-component relationships that bind this task]
|
|
26
|
-
|
|
27
|
-
## What Implementer Claims They Built
|
|
28
|
-
|
|
29
|
-
Read the implementer's report file:
|
|
30
|
-
|
|
31
|
-
[REPORT_FILE_PATH — e.g. .monomind/taskdev/task-N-report.md]
|
|
32
|
-
|
|
33
|
-
## Diff to Review
|
|
34
|
-
|
|
35
|
-
Read this file — it contains the commit list, stat summary, and full
|
|
36
|
-
diff for the task:
|
|
37
|
-
|
|
38
|
-
[DIFF_FILE_PATH — e.g. .monomind/taskdev/task-N-review.diff]
|
|
39
|
-
|
|
40
|
-
## CRITICAL: Do Not Trust the Report
|
|
41
|
-
|
|
42
|
-
The implementer may have finished quickly or missed things. Their report may be
|
|
43
|
-
incomplete, inaccurate, or optimistic. You MUST verify everything independently.
|
|
44
|
-
|
|
45
|
-
**DO NOT:**
|
|
46
|
-
- Take their word for what they implemented
|
|
47
|
-
- Trust their claims about completeness
|
|
48
|
-
- Accept their interpretation of requirements
|
|
49
|
-
|
|
50
|
-
**DO:**
|
|
51
|
-
- Read the actual code they wrote
|
|
52
|
-
- Compare actual implementation to requirements line by line
|
|
53
|
-
- Check for missing pieces they claimed to implement
|
|
54
|
-
- Look for extra features they didn't mention
|
|
55
|
-
|
|
56
|
-
## Your Job
|
|
57
|
-
|
|
58
|
-
Read the implementation code and verify:
|
|
59
|
-
|
|
60
|
-
**Missing requirements:**
|
|
61
|
-
- Did they implement everything that was requested?
|
|
62
|
-
- Are there requirements they skipped or missed?
|
|
63
|
-
- Did they claim something works but didn't actually implement it?
|
|
64
|
-
|
|
65
|
-
**Extra/unneeded work:**
|
|
66
|
-
- Did they build things that weren't requested?
|
|
67
|
-
- Did they over-engineer or add unnecessary features?
|
|
68
|
-
- Did they add "nice to haves" that weren't in spec?
|
|
69
|
-
|
|
70
|
-
**Misunderstandings:**
|
|
71
|
-
- Did they interpret requirements differently than intended?
|
|
72
|
-
- Did they solve the wrong problem?
|
|
73
|
-
- Did they implement the right feature the wrong way?
|
|
74
|
-
|
|
75
|
-
**Verify by reading code, not by trusting the report.**
|
|
76
|
-
|
|
77
|
-
Report:
|
|
78
|
-
- ✅ Spec compliant (if everything matches after code inspection)
|
|
79
|
-
- ❌ Issues found: [list specifically what's missing or extra, with file:line references]
|
|
80
|
-
```
|