Expand description
Render a loaded compose into on-disk artifacts.
Outputs under <root>/state/:
envs/<project>-<agent>.env— env vars for the agent wrapper.mcp/<project>-<agent>.json— MCP stdio config for the runtime.role_prompts/<project>-<agent>.md(multi-file role_prompt only) — the ordered concatenation of every source file declared in the role’srole_prompt: [...]list. Re-materialized on every render so any source-file edit lands in the agent’s prompt at next boot.
systemd / launchd unit rendering lives behind a feature flag when
those back-ends are enabled via supervisor.type.
Functions§
- env_
path - Absolute path to the rendered env file for a given agent.
- mcp_
path - Absolute path to the rendered MCP config for a given agent.
- render_
agent - Rendered env + MCP content for a single agent.
- role_
prompt_ concat_ path - Absolute path to the materialized concatenation of a multi-file
role_promptlist. Only ever written for the list form — single-filerole_promptkeeps pointing at its source path directly. - system_
prompt_ path - Resolve the absolute path that
SYSTEM_PROMPT_PATHwill point at. - write_
role_ prompt_ concat - Materialize the multi-file
role_promptconcatenation for one agent.