Hermes orchestrator workspace#
Use this guide when a Hermes controller agent should act as the DevOps and project-management entrypoint for a portfolio of repositories and local publish paths. Metagit holds the manifest; Hermes holds the objective across projects.
For Terraform-heavy estates, also read Hermes & org IaC guide.
Quick start#
- Create or choose an umbrella coordinator repository.
- Initialize from the bundled template (interactive prompts or an answers file):
metagit init --list-templates
metagit init ./hermes-control-plane --create --template hermes-orchestrator
# non-interactive:
metagit init --target ./hermes-control-plane --create --template hermes-orchestrator \
--answers-file examples/hermes-orchestrator/answers.example.yml \
--no-prompt
Or copy examples/hermes-orchestrator/.metagit.yml manually and adjust projects, repos, and instructions.
- Enable workspace dedupe in app config when the same URL appears in multiple projects:
config:
workspace:
path: ./.metagit
dedupe:
enabled: true
scope: workspace
- Validate and sync:
metagit config validate
metagit project sync --project portfolio
metagit project sync --project local
- Serve MCP for Hermes:
metagit mcp serve --root /path/to/coordinator
Projects in the example manifest#
| Project | Purpose |
|---|---|
portfolio |
Git-backed services and applications |
local |
Non-git path repos for static sites and local publish workflows |
platform |
Optional IaC / shared infra (empty until you add repos) |
The local project is the pattern for “publish a folder on disk” without a remote. Each entry
uses path + sync: true; metagit symlinks into workspace.path (or a canonical store when
dedupe is enabled).
Controller responsibilities#
The root agent_instructions in the example manifest define the controller loop:
- Orient with workspace status and health.
- Search before creating directories or clones.
- Register work in
.metagit.ymland validate. - Switch project context; delegate single-repo work to subagents.
- Sync conservatively (fetch by default).
- Keep descriptions and per-repo instructions accurate.
Template apply#
To copy helper files into an existing synced project folder:
metagit mcp serve --root /path/to/coordinator
# Tool: metagit_project_template_apply
# template: hermes-orchestrator
# target_projects: ["portfolio"]
# dry_run: true
Or use the MCP tool from your agent host with confirm_apply when ready.
Related docs#
- Hermes & org IaC guide — Terraform / module rollout patterns
- Configuration exemplar — full
.metagit.ymlfield reference sample - Skills —
metagit-projects,metagit-control-center, workspace sync skills