- Create ~/.config/mosaic/AGENTS.md as the canonical universal agent config - Runtime adapters (CLAUDE.md, opencode/AGENTS.md, codex/instructions.md) are now thin pointers that say "READ ~/.config/mosaic/AGENTS.md" - mosaic claude: injects AGENTS.md via --append-system-prompt - mosaic opencode/codex: copies AGENTS.md to runtime config path before launch - mosaic-link-runtime-assets: pushes thin pointers for direct launch fallback AGENTS.md is runtime-agnostic. All runtimes get the same standards. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
478 B
Markdown
12 lines
478 B
Markdown
# Mosaic Runtime Adapter — OpenCode
|
|
|
|
## MANDATORY — Read Before Any Response
|
|
|
|
BEFORE responding to any user message, READ `~/.config/mosaic/AGENTS.md`.
|
|
|
|
That file is the universal agent configuration. It contains the full load order,
|
|
development standards, skills, and workflows. Do NOT respond until you have loaded it.
|
|
|
|
This file (`~/.config/opencode/AGENTS.md`) exists only as a fallback for direct `opencode` launches.
|
|
For full injection, use `mosaic opencode` instead.
|