SEED_MANIFEST

Constant SEED_MANIFEST 

Source
const SEED_MANIFEST: &str = "{\n  \"version\": 11,\n  \"agents\": [\n    {\n      \"id\": \"claude\",\n      \"name\": \"Claude\",\n      \"icon\": \"\\u2716\",\n      \"provider\": \"claude\",\n      \"agent_type\": \"container\",\n      \"container_image\": \"ghcr.io/agentmuxai/agent-claude:latest\",\n      \"description\": \"Anthropic\'s coding agent\",\n      \"working_directory\": \"\",\n      \"shell\": \"pwsh\",\n      \"agent_bus_id\": \"claude\",\n      \"content\": {\n        \"env\": \"AGENT_NAME=claude\\nAGENTMUX_AGENT_ID=Claude\",\n        \"startup\": \"__SKIP__\"\n      },\n      \"skills\": [\n        {\n          \"name\": \"Startup Verification\",\n          \"trigger\": \"startup\",\n          \"skill_type\": \"prompt\",\n          \"description\": \"Re-run tool verification checks and report status table\",\n          \"content\": \"Run the verification round from your startup instructions. Check identity (gh, git), dev-tools (@a5af/* packages \\u2014 install if missing), secrets access, and MCP servers. Report a status table with OK/FAIL for each check. Fix any failures automatically if possible.\"\n        }\n      ]\n    },\n    {\n      \"id\": \"codex\",\n      \"name\": \"Codex\",\n      \"icon\": \"\\u2726\",\n      \"provider\": \"codex\",\n      \"agent_type\": \"host\",\n      \"description\": \"OpenAI\'s coding agent\",\n      \"working_directory\": \"\",\n      \"shell\": \"pwsh\",\n      \"agent_bus_id\": \"codex\",\n      \"content\": {\n        \"env\": \"AGENT_NAME=codex\\nAGENTMUX_AGENT_ID=Codex\",\n        \"startup\": \"__SKIP__\"\n      },\n      \"skills\": [\n        {\n          \"name\": \"Startup Verification\",\n          \"trigger\": \"startup\",\n          \"skill_type\": \"prompt\",\n          \"description\": \"Re-run tool verification checks and report status table\",\n          \"content\": \"Run the verification round from your startup instructions. Check identity (gh, git), dev-tools (@a5af/* packages \\u2014 install if missing), secrets access, and MCP servers. Report a status table with OK/FAIL for each check. Fix any failures automatically if possible.\"\n        }\n      ]\n    },\n    {\n      \"id\": \"gemini\",\n      \"name\": \"Gemini\",\n      \"icon\": \"\\u26a1\",\n      \"provider\": \"gemini\",\n      \"agent_type\": \"host\",\n      \"description\": \"Google\'s coding agent\",\n      \"working_directory\": \"\",\n      \"shell\": \"pwsh\",\n      \"agent_bus_id\": \"gemini\",\n      \"content\": {\n        \"env\": \"AGENT_NAME=gemini\\nAGENTMUX_AGENT_ID=Gemini\",\n        \"startup\": \"__SKIP__\"\n      },\n      \"skills\": [\n        {\n          \"name\": \"Startup Verification\",\n          \"trigger\": \"startup\",\n          \"skill_type\": \"prompt\",\n          \"description\": \"Re-run tool verification checks and report status table\",\n          \"content\": \"Run the verification round from your startup instructions. Check identity (gh, git), dev-tools (@a5af/* packages \\u2014 install if missing), secrets access, and MCP servers. Report a status table with OK/FAIL for each check. Fix any failures automatically if possible.\"\n        }\n      ]\n    },\n    {\n      \"id\": \"kimi\",\n      \"name\": \"Kimi\",\n      \"icon\": \"\\u25c8\",\n      \"provider\": \"kimi\",\n      \"agent_type\": \"host\",\n      \"description\": \"Moonshot\'s 262k-context agent\",\n      \"working_directory\": \"\",\n      \"shell\": \"pwsh\",\n      \"agent_bus_id\": \"kimi\",\n      \"content\": {\n        \"env\": \"AGENT_NAME=kimi\\nAGENTMUX_AGENT_ID=Kimi\",\n        \"startup\": \"__SKIP__\"\n      },\n      \"skills\": [\n        {\n          \"name\": \"Startup Verification\",\n          \"trigger\": \"startup\",\n          \"skill_type\": \"prompt\",\n          \"description\": \"Re-run tool verification checks and report status table\",\n          \"content\": \"Run the verification round from your startup instructions. Check identity (gh, git), dev-tools (@a5af/* packages \\u2014 install if missing), secrets access, and MCP servers. Report a status table with OK/FAIL for each check. Fix any failures automatically if possible.\"\n        }\n      ]\n    },\n    {\n      \"id\": \"pi\",\n      \"name\": \"Pi\",\n      \"icon\": \"\\u03c0\",\n      \"provider\": \"pi\",\n      \"agent_type\": \"host\",\n      \"description\": \"Plandex\'s multi-provider agent\",\n      \"working_directory\": \"\",\n      \"shell\": \"pwsh\",\n      \"agent_bus_id\": \"pi\",\n      \"content\": {\n        \"env\": \"AGENT_NAME=pi\\nAGENTMUX_AGENT_ID=Pi\",\n        \"startup\": \"__SKIP__\"\n      },\n      \"skills\": [\n        {\n          \"name\": \"Startup Verification\",\n          \"trigger\": \"startup\",\n          \"skill_type\": \"prompt\",\n          \"description\": \"Re-run tool verification checks and report status table\",\n          \"content\": \"Run the verification round from your startup instructions. Check identity (gh, git), dev-tools (@a5af/* packages \\u2014 install if missing), secrets access, and MCP servers. Report a status table with OK/FAIL for each check. Fix any failures automatically if possible.\"\n        }\n      ]\n    },\n    {\n      \"id\": \"openclaw\",\n      \"name\": \"OpenClaw\",\n      \"icon\": \"\\u25ce\",\n      \"provider\": \"openclaw\",\n      \"agent_type\": \"host\",\n      \"description\": \"ACP orchestration platform\",\n      \"working_directory\": \"\",\n      \"shell\": \"pwsh\",\n      \"agent_bus_id\": \"openclaw\",\n      \"content\": {\n        \"env\": \"AGENT_NAME=openclaw\\nAGENTMUX_AGENT_ID=OpenClaw\",\n        \"startup\": \"__SKIP__\"\n      },\n      \"skills\": [\n        {\n          \"name\": \"Startup Verification\",\n          \"trigger\": \"startup\",\n          \"skill_type\": \"prompt\",\n          \"description\": \"Re-run tool verification checks and report status table\",\n          \"content\": \"Run the verification round from your startup instructions. Check identity (gh, git), dev-tools (@a5af/* packages \\u2014 install if missing), secrets access, and MCP servers. Report a status table with OK/FAIL for each check. Fix any failures automatically if possible.\"\n        }\n      ]\n    },\n    {\n      \"id\": \"copilot\",\n      \"name\": \"Copilot\",\n      \"icon\": \"\\u26f6\",\n      \"provider\": \"copilot\",\n      \"agent_type\": \"host\",\n      \"description\": \"Microsoft\'s coding agent\",\n      \"working_directory\": \"\",\n      \"shell\": \"pwsh\",\n      \"agent_bus_id\": \"copilot\",\n      \"content\": {\n        \"env\": \"AGENT_NAME=copilot\\nAGENTMUX_AGENT_ID=Copilot\",\n        \"startup\": \"__SKIP__\"\n      },\n      \"skills\": [\n        {\n          \"name\": \"Startup Verification\",\n          \"trigger\": \"startup\",\n          \"skill_type\": \"prompt\",\n          \"description\": \"Re-run tool verification checks and report status table\",\n          \"content\": \"Run the verification round from your startup instructions. Check identity (gh, git), dev-tools (@a5af/* packages \\u2014 install if missing), secrets access, and MCP servers. Report a status table with OK/FAIL for each check. Fix any failures automatically if possible.\"\n        }\n      ]\n    }\n  ],\n  \"memories\": [\n    {\n      \"id\": \"seed-agent-memory\",\n      \"name\": \"Agent Memory\",\n      \"description\": \"When and how agents read and update their persistent native memory\",\n      \"is_global\": true,\n      \"instructions\": \"## Agent Memory\\n\\nYour persistent memory lives in `~/.claude/projects/<path>/memory/`. Claude Code reads it automatically at session start.\\n\\n### Structure\\n\\n- **`MEMORY.md`** - Index file. Loaded into *every* session (200-line / ~25 KB limit). Keep it as a pointer list. Entries past 200 lines are truncated.\\n- **Topic files** (`*.md`) - Detail files (e.g. `user_role.md`, `feedback_testing.md`). Loaded on-demand when relevant. Store depth here, not in MEMORY.md.\\n\\n### File format\\n\\nEach topic file:\\n```markdown\\n---\\nname: short-kebab-slug\\ndescription: one-line summary\\nmetadata:\\n  type: user | feedback | project | reference\\n---\\n\\nBody content here.\\n```\\n\\nMEMORY.md - one line per entry:\\n```markdown\\n- [Title](file.md) - one-line hook\\n```\\n\\n### When to save\\n\\nSave when you learn something non-obvious that would help future sessions:\\n- User preferences, role, expertise (type: user)\\n- Corrections or confirmed approaches: avoid X, always do Y (type: feedback)\\n- Project context not in code/git: deadlines, stakeholder decisions, why (type: project)\\n- Where things live in external systems: Slack, dashboards, Linear (type: reference)\\n\\nDo NOT save:\\n- Things derivable from code or git history\\n- Ephemeral task state or in-progress work\\n- Duplicates - update existing entries instead\\n- Anything already in CLAUDE.md files\\n\\n### When to update\\n\\n- End of a session where you learned something worth keeping\\n- When the user corrects you\\n- When you discover project context the user has not written down\\n- When you find where something lives in an external system\\n\\n### Discipline\\n\\n- MEMORY.md stays under 200 lines. Consolidate if it grows past ~150.\\n- One file per topic - do not dump everything in MEMORY.md body.\\n- Link topic files from MEMORY.md with [[name]] cross-references.\\n- Stale memories rot - update or remove when things change.\"\n    },\n    {\n      \"id\": \"seed-workspace-rules\",\n      \"name\": \"Workspace Rules\",\n      \"description\": \"Git workflow, task management, GitHub access tiers, and safety rules \\u2014 injected into all agents\",\n      \"is_global\": true,\n      \"instructions\": \"## Workspace Rules\\n\\n### Git Workflow\\n\\n- **Never push directly to main.** Always create a feature branch first.\\n- Branch names: `<agent-name>/feature-description`.\\n- Every code change goes through a PR \\u2014 no direct pushes, no exceptions.\\n- Never reuse a branch after its PR is merged; create a new branch.\\n- Resolve merge conflicts rather than force-pushing or discarding changes.\\n\\n### Task Management\\n\\n- Use task tracking for any task with 3 or more steps.\\n- Mark a task **in_progress** before starting it.\\n- Mark a task **completed** immediately when done \\u2014 do not batch.\\n\\n### GitHub Access\\n\\n| Tier | Tool | Use when |\\n|------|------|---------|\\n| 1 | MCP `mcp__github__*` tools | Primary \\u2014 tokens auto-refresh |\\n| 2 | `gh` CLI | MCP unavailable |\\n| 3 | Admin PAT via `secrets` | Package publish, admin ops only |\\n\\n### Safety\\n\\n- Kill processes by PID only \\u2014 never by image name (kills all instances).\\n- Never skip pre-commit hooks (`--no-verify`) without explicit user approval.\\n- Confirm before any destructive operation: force-push, reset --hard, branch -D.\"\n    },\n    {\n      \"id\": \"seed-agentmux-dev\",\n      \"name\": \"AgentMux Development\",\n      \"description\": \"Stack, build commands, version management, and workflow for the AgentMux codebase\",\n      \"is_global\": false,\n      \"instructions\": \"## AgentMux Development\\n\\nContext for working on the AgentMux codebase. Select this Memory bundle when\\nopening an agent to work on agentmux.\\n\\n### Stack\\n\\n- **agentmux-cef** \\u2014 Chromium host, window management, IPC bridge\\n- **agentmux-launcher** \\u2014 Job Object, single-instance pipe, saga coordinator\\n- **agentmux-srv** \\u2014 Async Rust backend (SQLite, agent/block management)\\n- **agentmux-common** \\u2014 Shared types and utilities\\n- **Frontend** \\u2014 SolidJS + SCSS, built with Vite\\n\\n### Build Commands\\n\\n| Command | Purpose |\\n|---------|---------|\\n| `task dev` | Development (hot reload) |\\n| `task package` | Portable ZIP build |\\n| `task build:backend` | Rebuild Rust sidecar after changes |\\n| `task test` | Run tests |\\n\\nAfter Rust changes: `task build:backend`, then restart `task dev`.\\n\\n### Version Management\\n\\nFeature PRs use changesets \\u2014 do NOT bump versions manually:\\n```bash\\ntask changeset -- patch \\\"fix(scope): short description\\\"\\n```\\n\\n### Logs\\n\\n`muxlog host` / `muxlog srv` / `muxlog fe` \\u2014 pipe to `grep` for filtering.\\n\\n### Reagent Bot\\n\\nAll PRs are auto-reviewed by reagent (Claude Opus). Address P1 findings before\\nmerging. P2 findings should also be fixed if feasible.\\n\\n### Critical Rule\\n\\n**NEVER kill AgentMux by image name** \\u2014 use PID only. Multiple instances share\\nthe same binary name; killing by name kills ALL of them.\"\n    }\n  ]\n}\n";
Expand description

The embedded seed manifest JSON.