Programmatically manage per-agent config files (~/.codex/config.toml, etc.) via ansible #254
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/infrastructure#254
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Per-agent harness config files are currently hand-managed and drift across the fleet. The
agent-composerole only converges the markdown load points (~/.claude/CLAUDE.md,~/.codex/AGENTS.mdsymlinks intoCOMPOSED.md). The actual config files - the knobs that change agent behavior - have no declarative source:~/.codex/config.toml,~/.codex/hooks.json~/.claude/settings.json(today regenerated bycoily lockdown/coily setup, not ansible)~/.gemini/*, etc.)These land per-host through setup scripts, manual edits, or coily renders. There is no single ansible-converged source of truth, so a fresh checkout or a new fleet node starts inconsistent, and a change to one agent's config has to be replayed by hand on every box.
Goal
A completely programmatically managed, ansible-converged path for per-agent config files, fleet-wide. One declarative source per agent, rendered/templated per host (host-specific values via
group_vars/host_vars), idempotent under--check.Scope sketch
agent-compose) that templates each per-agent config from a fleet-static base + per-host overlay, mirroring howagent-composealready splits public base + private overlay.config.toml,hooks.json), claude (whatever is not the coily-owned lockdown surface), and a pluggable list so gemini/openclaw slot in later.~/.claude/settings.jsonand.claude/lockdown-deny.share regenerated bycoily lockdown/coily setupand an agent must never own them - ansible must not fight coily over those files. Decide the seam explicitly: either ansible templates everything except the lockdown surface, or it invokes coily to render that surface. Document which.docs/ansible.mdwalkthrough section like the other roles have.Open questions
agent-compose?agentic-os-kai, matchingagent-compose_sources?Authoring lives here in
infrastructure/ansible; this is the rollout half of the authoring/rollout split.Backlog burndown 2026-06-17: closing low-priority (P3/P4) to bring the open count to a manageable level. Nothing lost — reopen if this resurfaces. Batch tag:
burndown-2026-06.