Orchestration And Auto Detection - alexherrero/agentm GitHub Wiki
Zero-config by construction โ the harness reads a project's shape to wire itself, then surfaces memory at session start and phase boundaries without being asked.
Two things happen automatically so you never hand-configure them: the harness detects a project's shape (language, layout, CI) to wire the right phase tooling, and it orchestrates memory around your work โ a session-start briefing and idle-time chains that push what's relevant, plus phase-boundary recall/save that pulls and persists context. Both are tuned to inform, never to nag.
Detection and orchestration are separate surfaces over the same vault:
| Surface | Trigger | Does |
|---|---|---|
| Auto-detect | install / register | reads project shape โ writes .harness/project.json config |
| Push (orchestration) | session start ยท idle | briefing + idle chains surface over-threshold signals |
| Pull (auto-context) | phase boundary | recalls relevant memory in, saves phase state out |
Every emission is gated โ thresholds, cooldowns, and per-emission toggles in auto-orchestration-config.md โ so a signal fires only when it crosses a bar and its cooldown allows. Nothing emits on every session by default; the config is yours to tune, and a re-seed never clobbers your edits.
- AgentMemory โ the store the push/pull surfaces read and write. Orchestration is the when; AgentMemory is the what.
- Phases โ auto-context injects at phase boundaries, so each phase opens with the memory it needs and closes by persisting what it learned.
- Device-Wide Substrate โ detection writes the on-host/project config that the substrate resolves state against.
Detail:
- Auto-detect + auto-configure ยท Auto-orchestration โ what each surface does and why it never nags.
- Detection rules ยท Auto-orchestration config โ the rule table and every config key.
- Configure a new project ยท Tune auto-orchestration โ the recipes.
- Memory System design โ Auto-context into harness phases โ the decision behind the pull surface.
Architecture ยท Explanation ยท Home