Migrate agent guidance to codeassembly
Problem
General agent guidance files (AGENTS.md, CLAUDE.md) are version-controlled in williamthorsen/configs.macos, but they belong with the agent tooling in codeassembly. This creates a split-brain situation where the agent system's content (skills, subagents) lives in one repo and the guidance that shapes agent behavior lives in another.
Context
- The
codeassembly agents CLI already installs skills and subagents via copy/symlink to platform directories
configs.macos manages user-specific dotfile symlinks via ensure-user-configuration.sh
~/.agents/ is currently a directory symlink to configs.macos, containing both AGENTS.md (general guidance) and preferences.yaml (user-specific)
- The Claude
CLAUDE.md currently contains shared formatting preferences that belong in the common AGENTS.md
Solution
- Add a
content/guidance/ directory to the agents package with shared and platform-specific guidance files
- Extend the agents CLI
install command to install guidance files: shared AGENTS.md to ~/.agents/, platform-specific files to each platform's home directory. Track them in the manifest for drift detection.
- Merge writing style and prompt formatting from
~/.claude/CLAUDE.md into the shared AGENTS.md. Reduce CLAUDE.md to a thin shim.
- Update configs.macos: remove migrated guidance files, change
~/.agents/ from a directory symlink to an individual file symlink for preferences.yaml only
Acceptance criteria
Migrate agent guidance to codeassembly
Problem
General agent guidance files (AGENTS.md, CLAUDE.md) are version-controlled in
williamthorsen/configs.macos, but they belong with the agent tooling incodeassembly. This creates a split-brain situation where the agent system's content (skills, subagents) lives in one repo and the guidance that shapes agent behavior lives in another.Context
codeassemblyagents CLI already installs skills and subagents via copy/symlink to platform directoriesconfigs.macosmanages user-specific dotfile symlinks viaensure-user-configuration.sh~/.agents/is currently a directory symlink to configs.macos, containing bothAGENTS.md(general guidance) andpreferences.yaml(user-specific)CLAUDE.mdcurrently contains shared formatting preferences that belong in the commonAGENTS.mdSolution
content/guidance/directory to the agents package with shared and platform-specific guidance filesinstallcommand to install guidance files: sharedAGENTS.mdto~/.agents/, platform-specific files to each platform's home directory. Track them in the manifest for drift detection.~/.claude/CLAUDE.mdinto the sharedAGENTS.md. ReduceCLAUDE.mdto a thin shim.~/.agents/from a directory symlink to an individual file symlink forpreferences.yamlonlyAcceptance criteria
content/guidance/shared/AGENTS.mdcontains the full shared guidance (including merged formatting preferences)content/guidance/_platforms/claude/CLAUDE.mdis a thin shim referencing~/.agents/AGENTS.mdcontent/guidance/_platforms/rovodev/AGENTS.mdis a thin shim referencing~/.agents/AGENTS.mdcodeassembly-agents installcopies/symlinks guidance files to the correct locationscodeassembly-agents install --linksymlinks guidance filescodeassembly-agents uninstallremoves installed guidance filescodeassembly-agents statusreports guidance file status