Fresh installs and rig adds were creating full CLAUDE.md files (285 lines for mayor, ~100 lines for other roles), causing gt doctor to fail the priming check immediately. Per the priming architecture, CLAUDE.md should be a minimal bootstrap pointer (<30 lines) that tells agents to run gt prime. Full context is injected ephemerally at session start. Changes: - install.go: createMayorCLAUDEmd now writes 12-line bootstrap pointer - manager.go: createRoleCLAUDEmd now writes role-specific bootstrap pointers for mayor, refinery, crew, and polecat roles Note: The AGENTS.md issue mentioned in #316 could not be reproduced - the code does not appear to create AGENTS.md at rig level. May be from an older version or different configuration. Partial fix for #316 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 KiB
20 KiB