monomind 1.16.10 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/github/code-review-swarm.md +19 -19
- package/.claude/agents/github/github-modes.md +4 -4
- package/.claude/agents/github/multi-repo-swarm.md +24 -24
- package/.claude/agents/github/project-board-sync.md +28 -28
- package/.claude/agents/github/swarm-issue.md +26 -26
- package/.claude/agents/github/swarm-pr.md +18 -18
- package/.claude/agents/github/workflow-automation.md +27 -27
- package/.claude/agents/reengineer-squad/git-manager.md +2 -2
- package/.claude/commands/mastermind/master.md +9 -3
- package/.claude/commands/mastermind/references/antigravity-tools.md +60 -0
- package/.claude/commands/mastermind/references/claude-code-tools.md +50 -0
- package/.claude/commands/mastermind/references/codex-tools.md +64 -0
- package/.claude/commands/mastermind/references/copilot-tools.md +49 -0
- package/.claude/commands/mastermind/references/gemini-tools.md +63 -0
- package/.claude/commands/mastermind/references/pi-tools.md +28 -0
- package/.claude/helpers/mastermind-activate.cjs +53 -0
- package/.claude/settings.json +4 -0
- package/.claude/skills/mastermind/runorg.md +14 -0
- package/.claude/skills/mastermind/techport.md +5 -5
- package/README.md +1 -1
- package/package.json +5 -4
- package/packages/@monomind/cli/.claude/agents/github/code-review-swarm.md +19 -19
- package/packages/@monomind/cli/.claude/agents/github/github-modes.md +4 -4
- package/packages/@monomind/cli/.claude/agents/github/multi-repo-swarm.md +24 -24
- package/packages/@monomind/cli/.claude/agents/github/project-board-sync.md +28 -28
- package/packages/@monomind/cli/.claude/agents/github/swarm-issue.md +26 -26
- package/packages/@monomind/cli/.claude/agents/github/swarm-pr.md +18 -18
- package/packages/@monomind/cli/.claude/agents/github/workflow-automation.md +27 -27
- package/packages/@monomind/cli/.claude/agents/reengineer-squad/git-manager.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/master.md +9 -3
- package/packages/@monomind/cli/.claude/commands/mastermind/references/antigravity-tools.md +60 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/references/claude-code-tools.md +50 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/references/codex-tools.md +64 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/references/copilot-tools.md +49 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/references/gemini-tools.md +63 -0
- package/packages/@monomind/cli/.claude/commands/mastermind/references/pi-tools.md +28 -0
- package/packages/@monomind/cli/.claude/helpers/mastermind-activate.cjs +53 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/runorg.md +14 -0
- package/packages/@monomind/cli/.claude/skills/mastermind/techport.md +5 -5
- package/packages/@monomind/cli/README.md +1 -1
- package/packages/@monomind/cli/dist/src/browser/dashboard/ui.html +125 -37
- package/packages/@monomind/cli/dist/src/commands/index.js +0 -2
- package/packages/@monomind/cli/dist/src/init/executor.js +0 -24
- package/packages/@monomind/cli/dist/src/init/statusline-generator.js +0 -45
- package/packages/@monomind/cli/dist/src/init/types.d.ts +0 -2
- package/packages/@monomind/cli/dist/src/init/types.js +0 -2
- package/packages/@monomind/cli/dist/src/ui/dashboard.html +82 -75
- package/packages/@monomind/cli/dist/src/ui/server.mjs +41 -4
- package/packages/@monomind/cli/package.json +1 -1
- package/packages/@monomind/guidance/README.md +0 -1
- package/packages/@monomind/guidance/package.json +2 -14
- package/scripts/verify-appliance.sh +16 -20
- package/.claude-plugin/README.md +0 -704
- package/.claude-plugin/docs/INSTALLATION.md +0 -258
- package/.claude-plugin/docs/PLUGIN_SUMMARY.md +0 -358
- package/.claude-plugin/docs/QUICKSTART.md +0 -357
- package/.claude-plugin/docs/STRUCTURE.md +0 -122
- package/.claude-plugin/hooks/hooks.json +0 -74
- package/.claude-plugin/marketplace.json +0 -98
- package/.claude-plugin/plugin.json +0 -70
- package/.claude-plugin/scripts/install.sh +0 -234
- package/.claude-plugin/scripts/uninstall.sh +0 -36
- package/.claude-plugin/scripts/verify.sh +0 -102
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Antigravity CLI (`agy`) Tool Mapping
|
|
2
|
+
|
|
3
|
+
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On the Antigravity CLI (`agy`) these resolve to the tools below.
|
|
4
|
+
|
|
5
|
+
| Action skills request | Antigravity CLI equivalent |
|
|
6
|
+
|----------------------|----------------------|
|
|
7
|
+
| Read a file | `view_file` |
|
|
8
|
+
| Create a new file | `write_to_file` |
|
|
9
|
+
| Edit a file | `replace_file_content` |
|
|
10
|
+
| Edit a file in several places at once | `multi_replace_file_content` |
|
|
11
|
+
| Run a shell command | `run_command` |
|
|
12
|
+
| Search file contents | `grep_search` |
|
|
13
|
+
| Find files by name / list a directory | `list_dir` (no dedicated glob tool — combine `list_dir` with `grep_search`) |
|
|
14
|
+
| Fetch a URL | `read_url_content` |
|
|
15
|
+
| Search the web | `search_web` |
|
|
16
|
+
| Pose a structured question to your human partner | `ask_question` |
|
|
17
|
+
| Dispatch a subagent (`Subagent (general-purpose):` template) | `invoke_subagent` with a built-in `TypeName` — `self` for full-capability work, `research` for read-only (see [Subagent support](#subagent-support)) |
|
|
18
|
+
| Multiple parallel dispatches | Multiple entries in one `invoke_subagent` call's `Subagents` array |
|
|
19
|
+
| Task tracking ("create a todo", "mark complete") | a **task artifact** — `write_to_file` with `IsArtifact: true` and `ArtifactType: "task"` (see [Task tracking](#task-tracking)). **Not** `manage_task`, which manages background processes. |
|
|
20
|
+
|
|
21
|
+
## Invoking a skill — read its `SKILL.md`
|
|
22
|
+
|
|
23
|
+
Antigravity surfaces every installed skill's `name` + `description` to you at the start of each session, but it has **no `Skill`/`activate_skill` tool**. To load a skill, **read its `SKILL.md` with `view_file`, setting `IsSkillFile: true`** when the skill applies — e.g. `view_file` on `.../mastermind/skills/<skill-name>/SKILL.md` with `IsSkillFile: true`.
|
|
24
|
+
|
|
25
|
+
(`IsSkillFile` is agy's own signal that you're reading a file to *execute its instructions*, not to edit or preview it — set it whenever you load a skill.)
|
|
26
|
+
|
|
27
|
+
This is the blessed skill-loading mechanism on this harness. The general rule "never read skill files manually" means "don't bypass your platform's skill-loading mechanism" — and on Antigravity, reading `SKILL.md` *is* that mechanism. Reading it honors the rule rather than breaking it.
|
|
28
|
+
|
|
29
|
+
You already know which skills exist and what they're for: their names and descriptions are in front of you at session start. When a description matches what you're about to do, read that skill's `SKILL.md` before acting.
|
|
30
|
+
|
|
31
|
+
## Subagent support
|
|
32
|
+
|
|
33
|
+
Antigravity dispatches subagents with `invoke_subagent`, passing each one a `TypeName` in the `Subagents` array. Two `TypeName`s are **built in** — use them directly, no `define_subagent` needed:
|
|
34
|
+
|
|
35
|
+
- **`self`** — a full clone of you, with every tool you have (including `write_to_file`/`replace_file_content`/`run_command`). The safe default for general-purpose work: implementing, fixing, anything that edits files or runs commands.
|
|
36
|
+
- **`research`** — read-only (file reading, `grep_search`, web/URL fetch; no write or command access). Use it when you specifically want a subagent that can't make changes — investigation and read-only review.
|
|
37
|
+
|
|
38
|
+
Call `define_subagent` only for a custom system prompt or capability mix: set `enable_write_tools: true` to grant file edits **and** `run_command`, `enable_subagent_tools` for nested dispatch, `enable_mcp_tools` for MCP. Then invoke it by the name you gave it.
|
|
39
|
+
|
|
40
|
+
Skills dispatch with `Subagent (general-purpose):` and either reference a prompt-template file or supply an inline prompt. On Antigravity:
|
|
41
|
+
|
|
42
|
+
| Skill dispatch form | Antigravity equivalent |
|
|
43
|
+
|---------------------|----------------------|
|
|
44
|
+
| An implementer-style template (writes code, runs tests) | Fill the template, then `invoke_subagent` with `TypeName: "self"` and the filled prompt |
|
|
45
|
+
| A read-only reviewer template (`mastermind:review`) | `invoke_subagent` with `TypeName: "research"` and the filled review template |
|
|
46
|
+
| Inline prompt (no template referenced) | `invoke_subagent` with `TypeName: "self"` (or `"research"` if the task only reads) and your inline prompt |
|
|
47
|
+
|
|
48
|
+
### Prompt filling
|
|
49
|
+
|
|
50
|
+
Skills provide prompt templates with placeholders like `{WHAT_WAS_IMPLEMENTED}` or `[FULL TEXT of task]`. Fill all placeholders before passing the complete prompt to `invoke_subagent`. The prompt template itself contains the agent's role, review criteria, and expected output format — the subagent will follow it.
|
|
51
|
+
|
|
52
|
+
### Parallel dispatch
|
|
53
|
+
|
|
54
|
+
Put multiple entries in a single `invoke_subagent` call's `Subagents` array to run independent subagent work in parallel. Keep dependent tasks sequential, but do not serialize independent subagent tasks just to preserve a simpler history.
|
|
55
|
+
|
|
56
|
+
## Task tracking
|
|
57
|
+
|
|
58
|
+
Antigravity has **no todo / `TodoWrite` tool** (`manage_task` manages background processes — it is *not* a checklist). When a skill says to create a todo list or track tasks, maintain a **task artifact**: a markdown checklist saved with `write_to_file` (`IsArtifact: true`, `ArtifactMetadata.ArtifactType: "task"`), edited with `replace_file_content` / `multi_replace_file_content` as you go.
|
|
59
|
+
|
|
60
|
+
At the start of any multi-step task, create the task artifact listing every step of your plan. As you complete each step, edit the artifact to mark it done (`- [x]`). If the plan changes, update the checklist. Keep it current — it is your source of truth for what remains; once the conversation gets long, re-read it before starting each step.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Claude Code Tool Mapping
|
|
2
|
+
|
|
3
|
+
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Claude Code these resolve to the tools below.
|
|
4
|
+
|
|
5
|
+
## Tools
|
|
6
|
+
|
|
7
|
+
| Action skills request | Claude Code tool |
|
|
8
|
+
|----------------------|------------------|
|
|
9
|
+
| Read a file | `Read` |
|
|
10
|
+
| Create a new file | `Write` |
|
|
11
|
+
| Edit a file | `Edit` |
|
|
12
|
+
| Run a shell command | `Bash` |
|
|
13
|
+
| Search file contents | `Grep` |
|
|
14
|
+
| Find files by name | `Glob` |
|
|
15
|
+
| Fetch a URL | `WebFetch` |
|
|
16
|
+
| Search the web | `WebSearch` |
|
|
17
|
+
| Invoke a skill | `Skill` |
|
|
18
|
+
| Dispatch a subagent (`Subagent (general-purpose):` template) | `Agent` (older releases named this `Task`) |
|
|
19
|
+
| Multiple parallel dispatches | Multiple `Agent` calls in one response |
|
|
20
|
+
| Task tracking ("create a todo", "mark complete") | `TaskCreate`, `TaskUpdate`, `TaskList`, `TaskGet`; `TodoWrite` in `claude -p` / Agent SDK unless `CLAUDE_CODE_ENABLE_TASKS=1` is set |
|
|
21
|
+
| Background-process / subagent lifecycle (read output, cancel) | `TaskOutput`, `TaskStop` — these are distinct from the todo tools above and apply to running shells, agents, and remote sessions |
|
|
22
|
+
|
|
23
|
+
## Instructions file
|
|
24
|
+
|
|
25
|
+
When a skill mentions "your instructions file", on Claude Code this is **`CLAUDE.md`**. Claude Code walks up the directory tree from the current working directory and concatenates every `CLAUDE.md` and `CLAUDE.local.md` it finds along the way. Standard locations:
|
|
26
|
+
|
|
27
|
+
| Scope | Location |
|
|
28
|
+
|-------|----------|
|
|
29
|
+
| Project (team-shared) | `./CLAUDE.md` or `./.claude/CLAUDE.md` |
|
|
30
|
+
| User global | `~/.claude/CLAUDE.md` |
|
|
31
|
+
| Local-private (gitignored) | `./CLAUDE.local.md` |
|
|
32
|
+
| Managed policy (org-wide) | `/Library/Application Support/ClaudeCode/CLAUDE.md` (macOS), `/etc/claude-code/CLAUDE.md` (Linux/WSL), `C:\Program Files\ClaudeCode\CLAUDE.md` (Windows) |
|
|
33
|
+
|
|
34
|
+
CLAUDE.md files can pull in additional content with `@path/to/file` imports (relative or absolute, max five hops deep). Subdirectory `CLAUDE.md` files are also discovered automatically and loaded on-demand when Claude Code reads files in those subdirectories.
|
|
35
|
+
|
|
36
|
+
Claude Code does **not** read `AGENTS.md` directly. If a project already maintains `AGENTS.md` for other agents, import it from `CLAUDE.md` so both runtimes share the same instructions:
|
|
37
|
+
|
|
38
|
+
```markdown
|
|
39
|
+
@AGENTS.md
|
|
40
|
+
|
|
41
|
+
## Claude Code
|
|
42
|
+
|
|
43
|
+
(Claude-Code-specific instructions go here.)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
For path-scoped rules and larger-project organization, see `.claude/rules/` (rules can be scoped to specific files via `paths` frontmatter and load on demand).
|
|
47
|
+
|
|
48
|
+
## Personal skills directory
|
|
49
|
+
|
|
50
|
+
User-level skills live at **`~/.claude/skills/`**. Each skill is a subdirectory containing a `SKILL.md` (with `name` and `description` frontmatter) plus any supporting files. Claude Code does not currently recognize the cross-runtime `~/.agents/skills/` path that Codex, Copilot CLI, and Gemini CLI read; if you're relying on cross-runtime support in the future, verify against the official skills docs.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Codex Tool Mapping
|
|
2
|
+
|
|
3
|
+
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Codex these resolve to the tools below.
|
|
4
|
+
|
|
5
|
+
| Action skills request | Codex equivalent |
|
|
6
|
+
|----------------------|------------------|
|
|
7
|
+
| Read a file | `shell` (e.g., `cat`, `head`, `tail`) — Codex reads files via shell |
|
|
8
|
+
| Create / edit / delete a file | `apply_patch` (structured diff for create, update, delete) |
|
|
9
|
+
| Run a shell command | `shell` |
|
|
10
|
+
| Search file contents | `shell` (e.g., `grep`, `rg`) |
|
|
11
|
+
| Find files by name | `shell` (e.g., `find`, `ls`) |
|
|
12
|
+
| Fetch a URL | `shell` with `curl` / `wget` — Codex has no native fetch tool |
|
|
13
|
+
| Search the web | `web_search` (enabled by default; configurable in `config.toml` via the top-level `web_search` setting — `live`, `cached`, or `disabled`) |
|
|
14
|
+
| Invoke a skill | Skills load natively — just follow the instructions |
|
|
15
|
+
| Dispatch a subagent (`Subagent (general-purpose):` template) | `spawn_agent` (see [Subagent dispatch requires multi-agent support](#subagent-dispatch-requires-multi-agent-support)) |
|
|
16
|
+
| Multiple parallel dispatches | Multiple `spawn_agent` calls in one response |
|
|
17
|
+
| Wait for subagent result | `wait_agent` |
|
|
18
|
+
| Free up subagent slot when done | `close_agent` |
|
|
19
|
+
| Task tracking ("create a todo", "mark complete") | `update_plan` |
|
|
20
|
+
|
|
21
|
+
## Instructions file
|
|
22
|
+
|
|
23
|
+
When a skill mentions "your instructions file", on Codex this is **`AGENTS.md`** at the project root. Codex also reads `~/.codex/AGENTS.md` for global context, and an `AGENTS.override.md` (in the project tree or `~/.codex/`) takes precedence when present. Codex walks from the project root down to the current working directory, concatenating `AGENTS.md` files it finds along the way, up to `project_doc_max_bytes` (32 KiB by default).
|
|
24
|
+
|
|
25
|
+
## Personal skills directory
|
|
26
|
+
|
|
27
|
+
User-level skills live at **`$CODEX_HOME/skills/`** (default `~/.codex/skills/`). Codex also reads the cross-runtime path **`~/.agents/skills/`** (shared with Copilot CLI and Gemini CLI). When both directories exist at the same scope, Codex loads them both as separate skill catalogs. Each skill is a subdirectory containing a `SKILL.md` (with `name` and `description` frontmatter).
|
|
28
|
+
|
|
29
|
+
## Subagent dispatch requires multi-agent support
|
|
30
|
+
|
|
31
|
+
Add to your Codex config (`~/.codex/config.toml`):
|
|
32
|
+
|
|
33
|
+
```toml
|
|
34
|
+
[features]
|
|
35
|
+
multi_agent = true
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
This enables `spawn_agent`, `wait_agent`, and `close_agent` for skills like `mastermind:taskdev` and `mastermind:review`.
|
|
39
|
+
|
|
40
|
+
Legacy note: Codex builds before `rust-v0.115.0` exposed spawned-agent waiting as `wait`. Current Codex uses `wait_agent` for spawned agents. The `wait` name now belongs to code-mode `exec/wait`, which resumes a yielded exec cell by `cell_id`; it is not the spawned-agent result tool.
|
|
41
|
+
|
|
42
|
+
## Environment Detection
|
|
43
|
+
|
|
44
|
+
Skills that create worktrees or finish branches should detect their environment with read-only git commands before proceeding:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
|
|
48
|
+
GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
|
|
49
|
+
BRANCH=$(git branch --show-current)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
- `GIT_DIR != GIT_COMMON` → already in a linked worktree (skip creation)
|
|
53
|
+
- `BRANCH` empty → detached HEAD (cannot branch/push/PR from sandbox)
|
|
54
|
+
|
|
55
|
+
See `mastermind:worktree` Step 0 and `mastermind:finish` Step 1 for how each skill uses these signals.
|
|
56
|
+
|
|
57
|
+
## Codex App Finishing
|
|
58
|
+
|
|
59
|
+
When the sandbox blocks branch/push operations (detached HEAD in an externally managed worktree), the agent commits all work and informs the user to use the App's native controls:
|
|
60
|
+
|
|
61
|
+
- **"Create branch"** — names the branch, then commit/push/PR via App UI
|
|
62
|
+
- **"Hand off to local"** — transfers work to the user's local checkout
|
|
63
|
+
|
|
64
|
+
The agent can still run tests, stage files, and output suggested branch names, commit messages, and PR descriptions for the user to copy.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Copilot CLI Tool Mapping
|
|
2
|
+
|
|
3
|
+
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Copilot CLI these resolve to the tools below.
|
|
4
|
+
|
|
5
|
+
| Action skills request | Copilot CLI equivalent |
|
|
6
|
+
|----------------------|----------------------|
|
|
7
|
+
| Read a file | `view` |
|
|
8
|
+
| Create / edit / delete a file | `apply_patch` (Copilot CLI has no separate create/edit/write tools) |
|
|
9
|
+
| Run a shell command | `bash` |
|
|
10
|
+
| Search file contents | `rg` (ripgrep; Copilot CLI does not expose a `grep` tool) |
|
|
11
|
+
| Find files by name | `glob` |
|
|
12
|
+
| Fetch a URL | `web_fetch` |
|
|
13
|
+
| Search the web | `web_search` |
|
|
14
|
+
| Invoke a skill | `skill` |
|
|
15
|
+
| Dispatch a subagent (`Subagent (general-purpose):` template) | `task` with `agent_type: "general-purpose"` (other accepted types: `explore`, `task`, `code-review`, `research`, `configure-copilot`) |
|
|
16
|
+
| Multiple parallel dispatches | Multiple `task` calls in one response |
|
|
17
|
+
| Subagent status/output/control | `read_agent`, `list_agents`, `write_agent` |
|
|
18
|
+
| Task tracking ("create a todo", "mark complete") | `update_todo` |
|
|
19
|
+
| Enter / exit plan mode | No equivalent — stay in the main session |
|
|
20
|
+
|
|
21
|
+
## Instructions file
|
|
22
|
+
|
|
23
|
+
When a skill mentions "your instructions file", on Copilot CLI this is **`AGENTS.md`** at the repository root. If both `AGENTS.md` and `.github/copilot-instructions.md` are present, Copilot reads both.
|
|
24
|
+
|
|
25
|
+
## Personal skills directory
|
|
26
|
+
|
|
27
|
+
User-level skills live at **`~/.copilot/skills/`**. Copilot CLI also recognizes the cross-runtime alias **`~/.agents/skills/`**, which is shared with Codex and Gemini CLI. Each skill is a subdirectory containing a `SKILL.md` (with `name` and `description` frontmatter).
|
|
28
|
+
|
|
29
|
+
## Async shell sessions
|
|
30
|
+
|
|
31
|
+
Copilot CLI supports persistent async shell sessions:
|
|
32
|
+
|
|
33
|
+
| Tool | Purpose |
|
|
34
|
+
|------|---------|
|
|
35
|
+
| `bash` with `mode: "async"` (and optionally `detach: true`) | Start a long-running command in the background; returns a `shellId` |
|
|
36
|
+
| `write_bash` | Send input to a running async session |
|
|
37
|
+
| `read_bash` | Read output from an async session |
|
|
38
|
+
| `stop_bash` | Terminate an async session |
|
|
39
|
+
| `list_bash` | List all active shell sessions |
|
|
40
|
+
|
|
41
|
+
## Additional Copilot CLI tools
|
|
42
|
+
|
|
43
|
+
| Tool | Purpose |
|
|
44
|
+
|------|---------|
|
|
45
|
+
| `store_memory` | Persist facts about the codebase for future sessions |
|
|
46
|
+
| `report_intent` | Update the UI status line with current intent |
|
|
47
|
+
| `sql` | Query the session's SQLite database (todos, metadata) |
|
|
48
|
+
| `fetch_copilot_cli_documentation` | Look up Copilot CLI documentation |
|
|
49
|
+
| GitHub MCP tools (`github-mcp-server-*`) | Native GitHub API access (issues, PRs, code search) |
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Gemini CLI Tool Mapping
|
|
2
|
+
|
|
3
|
+
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Gemini CLI these resolve to the tools below.
|
|
4
|
+
|
|
5
|
+
| Action skills request | Gemini CLI equivalent |
|
|
6
|
+
|----------------------|----------------------|
|
|
7
|
+
| Read a file | `read_file` |
|
|
8
|
+
| Read multiple files at once | `read_many_files` |
|
|
9
|
+
| Create a new file | `write_file` |
|
|
10
|
+
| Edit a file | `replace` |
|
|
11
|
+
| Run a shell command | `run_shell_command` |
|
|
12
|
+
| Search file contents | `grep_search` |
|
|
13
|
+
| Find files by name | `glob` |
|
|
14
|
+
| List files and subdirectories | `list_directory` |
|
|
15
|
+
| Fetch a URL | `web_fetch` |
|
|
16
|
+
| Search the web | `google_web_search` |
|
|
17
|
+
| Invoke a skill | `activate_skill` |
|
|
18
|
+
| Dispatch a subagent (`Subagent (general-purpose):` template) | `invoke_agent` with `agent_name: "generalist"` (invocable via `@generalist` chat syntax — see [Subagent support](#subagent-support)) |
|
|
19
|
+
| Multiple parallel dispatches | Multiple `invoke_agent` calls in the same response |
|
|
20
|
+
| Task tracking ("create a todo", "mark complete") | `write_todos` (statuses: pending, in_progress, completed, cancelled, blocked) |
|
|
21
|
+
|
|
22
|
+
## Instructions file
|
|
23
|
+
|
|
24
|
+
When a skill mentions "your instructions file", on Gemini CLI this is **`GEMINI.md`**. Gemini CLI loads `GEMINI.md` hierarchically: global at `~/.gemini/GEMINI.md`, project-level files in workspace directories and their ancestors, and sub-directory `GEMINI.md` files when a tool accesses files in those directories.
|
|
25
|
+
|
|
26
|
+
## Personal skills directory
|
|
27
|
+
|
|
28
|
+
User-level skills live at **`~/.gemini/skills/`**, with **`~/.agents/skills/`** as a cross-runtime alias (shared with Codex and Copilot CLI). When both directories exist at the same scope, `.agents/skills/` takes precedence. Each skill is a subdirectory containing a `SKILL.md` (with `name` and `description` frontmatter).
|
|
29
|
+
|
|
30
|
+
## Subagent support
|
|
31
|
+
|
|
32
|
+
Gemini CLI dispatches subagents through the `invoke_agent` tool, which takes `agent_name` and `prompt` parameters. The same dispatch is also surfaced as a chat-syntax shortcut: typing `@generalist <prompt>` is equivalent to calling `invoke_agent` with `agent_name: "generalist"`. Built-in agent names include `generalist`, `cli_help`, `codebase_investigator`, and (with browser tooling enabled) `browser_agent`.
|
|
33
|
+
|
|
34
|
+
Skills dispatch with `Subagent (general-purpose):` and either reference a prompt-template file or supply an inline prompt. On Gemini CLI:
|
|
35
|
+
|
|
36
|
+
| Skill dispatch form | Gemini CLI equivalent |
|
|
37
|
+
|---------------------|----------------------|
|
|
38
|
+
| References an implementer template (writes code, runs tests) | Fill the template, then `invoke_agent` with `agent_name: "generalist"` and the filled prompt |
|
|
39
|
+
| References a code-reviewer template (`mastermind:review`) | `invoke_agent` with `agent_name: "generalist"` and the filled review template |
|
|
40
|
+
| Inline prompt (no template referenced) | `invoke_agent` with `agent_name: "generalist"` and your inline prompt |
|
|
41
|
+
|
|
42
|
+
### Prompt filling
|
|
43
|
+
|
|
44
|
+
Skills provide prompt templates with placeholders like `{WHAT_WAS_IMPLEMENTED}` or `[FULL TEXT of task]`. Fill all placeholders before passing the complete prompt to `invoke_agent`. The prompt template itself contains the agent's role, review criteria, and expected output format — the subagent will follow it.
|
|
45
|
+
|
|
46
|
+
### Parallel dispatch
|
|
47
|
+
|
|
48
|
+
Gemini CLI supports parallel subagent dispatch. Issue multiple `invoke_agent` calls in the same response to run independent subagent work in parallel. Keep dependent tasks sequential, but do not serialize independent subagent tasks just to preserve a simpler history.
|
|
49
|
+
|
|
50
|
+
## Additional Gemini CLI tools
|
|
51
|
+
|
|
52
|
+
These tools are unique to Gemini CLI:
|
|
53
|
+
|
|
54
|
+
| Tool | Purpose |
|
|
55
|
+
|------|---------|
|
|
56
|
+
| `save_memory` (legacy) | Persist facts across sessions when `experimental.memoryV2 = false` |
|
|
57
|
+
| `get_internal_docs` | Look up Gemini CLI's bundled documentation |
|
|
58
|
+
| `ask_user` | Pose structured questions to the user (text / single-select / multi-select) |
|
|
59
|
+
| `enter_plan_mode` / `exit_plan_mode` | Switch into and out of read-only plan mode |
|
|
60
|
+
| `update_topic` | Update the current conversation's topic / strategic-intent metadata |
|
|
61
|
+
| `complete_task` | Signal that a Gemini subagent has completed and return its result to the parent agent |
|
|
62
|
+
| `tracker_create_task`, `tracker_update_task`, `tracker_get_task`, `tracker_list_tasks`, `tracker_add_dependency`, `tracker_visualize` | Rich task tracker with dependency and visualization support |
|
|
63
|
+
| `read_mcp_resource`, `list_mcp_resources` | MCP resource access |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Pi Tool Mapping
|
|
2
|
+
|
|
3
|
+
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Pi these resolve to the tools below.
|
|
4
|
+
|
|
5
|
+
| Action skills request | Pi equivalent |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| Invoke a skill | Pi native skills: load the relevant `SKILL.md` with `read`, or let the human use `/skill:name` |
|
|
8
|
+
| Read a file | `read` |
|
|
9
|
+
| Create a file | `write` |
|
|
10
|
+
| Edit a file | `edit` |
|
|
11
|
+
| Run a shell command | `bash` |
|
|
12
|
+
| Search file contents | `grep` when active; otherwise `bash` with `rg`/`grep` |
|
|
13
|
+
| Find files by name | `find` or `bash` with shell globs |
|
|
14
|
+
| List files and subdirectories | `ls` when active; otherwise `bash` with `ls` |
|
|
15
|
+
| Dispatch a subagent (`Subagent (general-purpose):` template) | Use an installed subagent tool such as `subagent` from `pi-subagents` if available |
|
|
16
|
+
| Task tracking ("create a todo", "mark complete") | Use an installed todo/task tool if available, otherwise track tasks in the plan or `TODO.md` |
|
|
17
|
+
|
|
18
|
+
## Skills
|
|
19
|
+
|
|
20
|
+
Pi discovers skills from configured skill directories and installed Pi packages. A Mastermind Pi package should expose `skills/` through its `pi.skills` manifest entry. Pi does not expose Claude Code's `Skill` tool, but the agent should still follow the Mastermind rule: when a skill applies, load and follow it before responding.
|
|
21
|
+
|
|
22
|
+
## Subagents
|
|
23
|
+
|
|
24
|
+
Pi core does not ship a standard subagent tool. The `pi-subagents` package is a strong optional companion and provides a `subagent` tool with single-agent, chain, parallel, async, forked-context, and resume/status workflows. If no subagent tool is available, do not fabricate `Task` calls; execute sequentially in the current session or explain that the optional subagent capability is not installed.
|
|
25
|
+
|
|
26
|
+
## Task lists
|
|
27
|
+
|
|
28
|
+
Pi core does not ship a standard task-list tool. If a todo/task extension is installed, use its documented tool. Otherwise use Mastermind plan files, checklists in Markdown, or a repo-local `TODO.md` for task tracking. Older docs may refer to `TodoWrite`; treat that as the task-tracking action above.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
const path = require('path');
|
|
4
|
+
|
|
5
|
+
// Walk up from cwd to find the project root containing master.md
|
|
6
|
+
function findMasterPath() {
|
|
7
|
+
const candidates = [];
|
|
8
|
+
if (process.env.CLAUDE_PROJECT_DIR) candidates.push(process.env.CLAUDE_PROJECT_DIR);
|
|
9
|
+
let dir = process.cwd();
|
|
10
|
+
for (let i = 0; i < 12; i++) {
|
|
11
|
+
candidates.push(dir);
|
|
12
|
+
const parent = path.dirname(dir);
|
|
13
|
+
if (parent === dir) break;
|
|
14
|
+
dir = parent;
|
|
15
|
+
}
|
|
16
|
+
for (const base of candidates) {
|
|
17
|
+
const p = path.join(base, '.claude', 'commands', 'mastermind', 'master.md');
|
|
18
|
+
if (fs.existsSync(p)) return p;
|
|
19
|
+
}
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Extract only the MASTERMIND PROTOCOL section (before the capability menu / execution flow).
|
|
24
|
+
// The protocol section ends at the separator before "**If $ARGUMENTS is empty:**"
|
|
25
|
+
function extractProtocol(content) {
|
|
26
|
+
const marker = '\n---\n\n**If $ARGUMENTS is empty:**';
|
|
27
|
+
const idx = content.indexOf(marker);
|
|
28
|
+
if (idx !== -1) return content.slice(0, idx).trim();
|
|
29
|
+
// Fallback: everything before the capability menu header
|
|
30
|
+
const fallback = content.indexOf('\n**MASTERMIND** —');
|
|
31
|
+
if (fallback !== -1) return content.slice(0, fallback).trim();
|
|
32
|
+
return content.trim();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const masterPath = findMasterPath();
|
|
36
|
+
if (!masterPath) {
|
|
37
|
+
process.stderr.write('[mastermind-activate] master.md not found — skipping injection\n');
|
|
38
|
+
process.exit(0);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
let raw;
|
|
42
|
+
try {
|
|
43
|
+
raw = fs.readFileSync(masterPath, 'utf8');
|
|
44
|
+
} catch (e) {
|
|
45
|
+
process.stderr.write('[mastermind-activate] Could not read master.md: ' + e.message + '\n');
|
|
46
|
+
process.exit(0);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Strip YAML frontmatter
|
|
50
|
+
const body = raw.replace(/^---[\s\S]*?---\s*/, '');
|
|
51
|
+
const protocol = extractProtocol(body);
|
|
52
|
+
|
|
53
|
+
process.stdout.write(protocol + '\n');
|
package/.claude/settings.json
CHANGED
|
@@ -185,6 +185,10 @@
|
|
|
185
185
|
}
|
|
186
186
|
],
|
|
187
187
|
"SessionStart": [
|
|
188
|
+
{
|
|
189
|
+
"matcher": "",
|
|
190
|
+
"hooks": [{ "type": "command", "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/mastermind-activate.cjs\"", "timeout": 5000 }]
|
|
191
|
+
},
|
|
188
192
|
{
|
|
189
193
|
"matcher": "",
|
|
190
194
|
"hooks": [{ "type": "command", "command": "node \"$CLAUDE_PROJECT_DIR/.claude/helpers/monolean-activate.cjs\"", "timeout": 5000 }]
|
|
@@ -477,6 +477,20 @@ If the file exists: write run:complete to run file, emit org:complete via curl,
|
|
|
477
477
|
OPERATING LOOP:
|
|
478
478
|
1. Check for stop signal (above). Exit with run:complete + org:complete events if found.
|
|
479
479
|
|
|
480
|
+
1b. Check user mailbox for pending messages:
|
|
481
|
+
_threads="${REPO_ROOT}/.monomind/orgs/${orgName}-threads.json"
|
|
482
|
+
if [ -f "$_threads" ]; then
|
|
483
|
+
_pending=$(jq '[.[] | select(.status == "pending")]' "$_threads" 2>/dev/null || echo "[]")
|
|
484
|
+
if [ "$(echo "$_pending" | jq 'length')" -gt 0 ]; then
|
|
485
|
+
echo "$_pending" | jq -r '.[] | .text // .msg // ""'
|
|
486
|
+
jq '[.[] | if .status == "pending" then .status = "processed" else . end]' "$_threads" > "${_threads}.tmp" && mv "${_threads}.tmp" "$_threads" || true
|
|
487
|
+
curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "Content-Type: application/json" \
|
|
488
|
+
-d "$(jq -cn --arg s "${sessionId}" --arg o "${orgName}" --arg rid "${runId}" \
|
|
489
|
+
--arg msg "Received user message — adjusting plan if needed" \
|
|
490
|
+
'{type:"org:comms",session:$s,org:$o,runId:$rid,from:"boss",to:"user",msg:$msg,ts:(now*1000|floor)}')" || true
|
|
491
|
+
fi
|
|
492
|
+
fi
|
|
493
|
+
|
|
480
494
|
2. List unclaimed Todo cards:
|
|
481
495
|
monotask card list ${board_id} --col ${todo_col} --json | jq '[.[] | select(.labels | index("claimed") | not)]'
|
|
482
496
|
|
|
@@ -27,7 +27,7 @@ If invoked directly (not by `mastermind:master`):
|
|
|
27
27
|
- `focus_hint`: optional — what to look for ("CLI commands", "animation", "hooks", "skills"); default: `"core architecture skills commands hooks agents"`
|
|
28
28
|
- `mode`: confirm | auto
|
|
29
29
|
- `partial`: boolean — if true, skip strategy (a) Copy-As-Is; force (b) Adapt or (c) Extract only
|
|
30
|
-
- `source_brand`: derived in Phase 1A — PascalCase brand name of the source project (e.g. `
|
|
30
|
+
- `source_brand`: derived in Phase 1A — PascalCase brand name of the source project (e.g. `Monomind`, `ClaudeFlow`); used in all `rg -i "{source_brand}"` brand contamination checks
|
|
31
31
|
- `candidate_file`: derived during Phase 1E–1F — absolute path to a specific source file under analysis; substituted before running per-candidate coupling checks
|
|
32
32
|
|
|
33
33
|
---
|
|
@@ -192,11 +192,11 @@ head -80 "{source_path}/README.md" 2>/dev/null
|
|
|
192
192
|
**BRAND EXTRACTION — required before Phase 2B collision detection:**
|
|
193
193
|
|
|
194
194
|
Extract `source_brand` from three signals, pick the most specific:
|
|
195
|
-
1. `package.json` `name` field: strip `@scope/` prefix, convert to PascalCase (e.g., `claude-flow` → `ClaudeFlow`, `
|
|
195
|
+
1. `package.json` `name` field: strip `@scope/` prefix, convert to PascalCase (e.g., `claude-flow` → `ClaudeFlow`, `monomind` → `Monomind`)
|
|
196
196
|
2. README H1 title: extract the project name word(s) before any tagline
|
|
197
|
-
3. Class name prefixes: run `grep -rhn "^export class\|^export abstract class" "{source_path}/src" --include="*.ts" 2>/dev/null | grep -oE "(class) [A-Z][A-Za-z0-9]+" | awk '{print $2}' | grep -oE "^[A-Z][a-z]+" | sort | uniq -c | sort -rn | head -5` — the most frequent leading word (e.g., `
|
|
197
|
+
3. Class name prefixes: run `grep -rhn "^export class\|^export abstract class" "{source_path}/src" --include="*.ts" 2>/dev/null | grep -oE "(class) [A-Z][A-Za-z0-9]+" | awk '{print $2}' | grep -oE "^[A-Z][a-z]+" | sort | uniq -c | sort -rn | head -5` — the most frequent leading word (e.g., `Mono` from `Monomind`, `Claude` from `ClaudeFlow`) is the brand prefix; convert to PascalCase compound if needed
|
|
198
198
|
|
|
199
|
-
Set `source_brand` to the PascalCase result (e.g., `
|
|
199
|
+
Set `source_brand` to the PascalCase result (e.g., `Monomind`, `ClaudeFlow`, `SourceProject`). This variable is used verbatim in all subsequent `rg -i "{source_brand}"` calls and the collision-detection Python script.
|
|
200
200
|
|
|
201
201
|
### 1B — Repo-Map (Structural Index)
|
|
202
202
|
|
|
@@ -359,7 +359,7 @@ grep -rhn "^export" "{source_path}/src" --include="*.ts" 2>/dev/null | \
|
|
|
359
359
|
grep -oE "(class|interface|function|const|type|enum) [A-Z][A-Za-z0-9]+" | awk '{print $2}' | \
|
|
360
360
|
python3 -c "
|
|
361
361
|
import sys, re
|
|
362
|
-
source_brand = '{source_brand}' # LLM substitutes the PascalCase value from Phase 1A before running (e.g. '
|
|
362
|
+
source_brand = '{source_brand}' # LLM substitutes the PascalCase value from Phase 1A before running (e.g. 'Monomind', 'ClaudeFlow')
|
|
363
363
|
# Mono prefix: the domain prefix used in monomind for this context (e.g. 'Mono', 'Agent', 'Graph')
|
|
364
364
|
# LLM: substitute the actual mono prefix from Phase 0B's MNS before running
|
|
365
365
|
mono_prefix = '{mono_prefix}'
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monomind",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Monomind - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -123,7 +123,6 @@
|
|
|
123
123
|
"url": "https://github.com/monoes/monomind.git"
|
|
124
124
|
},
|
|
125
125
|
"keywords": [
|
|
126
|
-
"ruvflow",
|
|
127
126
|
"claude",
|
|
128
127
|
"claude-code",
|
|
129
128
|
"anthropic",
|
|
@@ -152,10 +151,12 @@
|
|
|
152
151
|
"embeddings",
|
|
153
152
|
"machine-learning",
|
|
154
153
|
"neural-network",
|
|
155
|
-
"
|
|
154
|
+
"monomind",
|
|
156
155
|
"distributed-systems",
|
|
157
156
|
"consensus",
|
|
158
|
-
"self-learning"
|
|
157
|
+
"self-learning",
|
|
158
|
+
"harness",
|
|
159
|
+
"organizations"
|
|
159
160
|
],
|
|
160
161
|
"author": {
|
|
161
162
|
"name": "nokhodian",
|
|
@@ -22,7 +22,7 @@ PR_DATA=$(gh pr view 123 --json files,additions,deletions,title,body)
|
|
|
22
22
|
PR_DIFF=$(gh pr diff 123)
|
|
23
23
|
|
|
24
24
|
# Initialize swarm with PR context
|
|
25
|
-
npx
|
|
25
|
+
npx monomind github review-init \
|
|
26
26
|
--pr 123 \
|
|
27
27
|
--pr-data "$PR_DATA" \
|
|
28
28
|
--diff "$PR_DIFF" \
|
|
@@ -43,7 +43,7 @@ gh pr comment 123 --body "🔍 Multi-agent code review initiated"
|
|
|
43
43
|
CHANGED_FILES=$(gh pr view 123 --json files --jq '.files[].path')
|
|
44
44
|
|
|
45
45
|
# Run security review
|
|
46
|
-
SECURITY_RESULTS=$(npx
|
|
46
|
+
SECURITY_RESULTS=$(npx monomind github review-security \
|
|
47
47
|
--pr 123 \
|
|
48
48
|
--files "$CHANGED_FILES" \
|
|
49
49
|
--check "owasp,cve,secrets,permissions" \
|
|
@@ -65,7 +65,7 @@ fi
|
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
67
|
# Performance analysis
|
|
68
|
-
npx
|
|
68
|
+
npx monomind github review-performance \
|
|
69
69
|
--pr 123 \
|
|
70
70
|
--profile "cpu,memory,io" \
|
|
71
71
|
--benchmark-against main \
|
|
@@ -76,7 +76,7 @@ npx ruv-swarm github review-performance \
|
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
# Architecture review
|
|
79
|
-
npx
|
|
79
|
+
npx monomind github review-architecture \
|
|
80
80
|
--pr 123 \
|
|
81
81
|
--check "patterns,coupling,cohesion,solid" \
|
|
82
82
|
--visualize-impact \
|
|
@@ -220,7 +220,7 @@ review:
|
|
|
220
220
|
|
|
221
221
|
```bash
|
|
222
222
|
# Review with full context
|
|
223
|
-
npx
|
|
223
|
+
npx monomind github review-context \
|
|
224
224
|
--pr 123 \
|
|
225
225
|
--load-related-prs \
|
|
226
226
|
--analyze-impact \
|
|
@@ -231,7 +231,7 @@ npx ruv-swarm github review-context \
|
|
|
231
231
|
|
|
232
232
|
```bash
|
|
233
233
|
# Learn from past reviews
|
|
234
|
-
npx
|
|
234
|
+
npx monomind github review-learn \
|
|
235
235
|
--analyze-past-reviews \
|
|
236
236
|
--identify-patterns \
|
|
237
237
|
--improve-suggestions \
|
|
@@ -242,7 +242,7 @@ npx ruv-swarm github review-learn \
|
|
|
242
242
|
|
|
243
243
|
```bash
|
|
244
244
|
# Analyze related PRs together
|
|
245
|
-
npx
|
|
245
|
+
npx monomind github review-batch \
|
|
246
246
|
--prs "123,124,125" \
|
|
247
247
|
--check-consistency \
|
|
248
248
|
--verify-integration \
|
|
@@ -278,7 +278,7 @@ jobs:
|
|
|
278
278
|
PR_DATA=$(gh pr view $PR_NUM --json files,title,body,labels)
|
|
279
279
|
|
|
280
280
|
# Run swarm review
|
|
281
|
-
REVIEW_OUTPUT=$(npx
|
|
281
|
+
REVIEW_OUTPUT=$(npx monomind github review-all \
|
|
282
282
|
--pr $PR_NUM \
|
|
283
283
|
--pr-data "$PR_DATA" \
|
|
284
284
|
--agents "security,performance,style,architecture")
|
|
@@ -330,7 +330,7 @@ PR_DIFF=$(gh pr diff 123 --color never)
|
|
|
330
330
|
PR_FILES=$(gh pr view 123 --json files)
|
|
331
331
|
|
|
332
332
|
# Generate review comments
|
|
333
|
-
COMMENTS=$(npx
|
|
333
|
+
COMMENTS=$(npx monomind github review-comment \
|
|
334
334
|
--pr 123 \
|
|
335
335
|
--diff "$PR_DIFF" \
|
|
336
336
|
--files "$PR_FILES" \
|
|
@@ -387,7 +387,7 @@ done
|
|
|
387
387
|
### Batch Comment Management
|
|
388
388
|
```bash
|
|
389
389
|
# Manage review comments efficiently
|
|
390
|
-
npx
|
|
390
|
+
npx monomind github review-comments \
|
|
391
391
|
--pr 123 \
|
|
392
392
|
--group-by "agent,severity" \
|
|
393
393
|
--summarize \
|
|
@@ -412,7 +412,7 @@ protection_rules:
|
|
|
412
412
|
|
|
413
413
|
```bash
|
|
414
414
|
# Define quality gates
|
|
415
|
-
npx
|
|
415
|
+
npx monomind github quality-gates \
|
|
416
416
|
--define '{
|
|
417
417
|
"security": {"threshold": "no-critical"},
|
|
418
418
|
"performance": {"regression": "<5%"},
|
|
@@ -425,7 +425,7 @@ npx ruv-swarm github quality-gates \
|
|
|
425
425
|
|
|
426
426
|
```bash
|
|
427
427
|
# Track review effectiveness
|
|
428
|
-
npx
|
|
428
|
+
npx monomind github review-metrics \
|
|
429
429
|
--period 30d \
|
|
430
430
|
--metrics "issues-found,false-positives,fix-rate" \
|
|
431
431
|
--export-dashboard
|
|
@@ -460,7 +460,7 @@ npx ruv-swarm github review-metrics \
|
|
|
460
460
|
|
|
461
461
|
```bash
|
|
462
462
|
# Train on your codebase
|
|
463
|
-
npx
|
|
463
|
+
npx monomind github review-train \
|
|
464
464
|
--learn-patterns \
|
|
465
465
|
--adapt-to-style \
|
|
466
466
|
--improve-accuracy
|
|
@@ -492,7 +492,7 @@ class CustomReviewAgent {
|
|
|
492
492
|
|
|
493
493
|
```bash
|
|
494
494
|
# Orchestrate complex reviews
|
|
495
|
-
npx
|
|
495
|
+
npx monomind github review-orchestrate \
|
|
496
496
|
--strategy "risk-based" \
|
|
497
497
|
--allocate-time-budget \
|
|
498
498
|
--prioritize-critical
|
|
@@ -504,7 +504,7 @@ npx ruv-swarm github review-orchestrate \
|
|
|
504
504
|
|
|
505
505
|
```bash
|
|
506
506
|
# Auth system changes
|
|
507
|
-
npx
|
|
507
|
+
npx monomind github review-init \
|
|
508
508
|
--pr 456 \
|
|
509
509
|
--agents "security,authentication,audit" \
|
|
510
510
|
--depth "maximum" \
|
|
@@ -515,7 +515,7 @@ npx ruv-swarm github review-init \
|
|
|
515
515
|
|
|
516
516
|
```bash
|
|
517
517
|
# Database optimization
|
|
518
|
-
npx
|
|
518
|
+
npx monomind github review-init \
|
|
519
519
|
--pr 789 \
|
|
520
520
|
--agents "performance,database,caching" \
|
|
521
521
|
--benchmark \
|
|
@@ -526,7 +526,7 @@ npx ruv-swarm github review-init \
|
|
|
526
526
|
|
|
527
527
|
```bash
|
|
528
528
|
# New component library
|
|
529
|
-
npx
|
|
529
|
+
npx monomind github review-init \
|
|
530
530
|
--pr 321 \
|
|
531
531
|
--agents "accessibility,style,i18n,docs" \
|
|
532
532
|
--visual-regression \
|
|
@@ -539,7 +539,7 @@ npx ruv-swarm github review-init \
|
|
|
539
539
|
|
|
540
540
|
```bash
|
|
541
541
|
# Launch review dashboard
|
|
542
|
-
npx
|
|
542
|
+
npx monomind github review-dashboard \
|
|
543
543
|
--real-time \
|
|
544
544
|
--show "agent-activity,issue-trends,fix-rates"
|
|
545
545
|
```
|
|
@@ -548,7 +548,7 @@ npx ruv-swarm github review-dashboard \
|
|
|
548
548
|
|
|
549
549
|
```bash
|
|
550
550
|
# Generate review reports
|
|
551
|
-
npx
|
|
551
|
+
npx monomind github review-report \
|
|
552
552
|
--format "markdown" \
|
|
553
553
|
--include "summary,details,trends" \
|
|
554
554
|
--email-stakeholders
|