playbook/scripts
csh 452c6f58f9 feat(playbook): auto-inject AGENTS.md into CLAUDE.md
When any sync action runs and the target project already has a CLAUDE.md,
automatically insert @AGENTS.md / @AGENT_RULES.md import block so
Claude Code picks up the same rules as Codex without manual setup.

- Add sync_claude_md() called at end of sync_agents_template()
- Uses <!-- playbook:claude:start/end --> block markers for idempotent updates
- Skips if no CLAUDE.md exists (Codex users unaffected)
- Skips if @AGENTS.md already present (manual setups respected)
- Add 4 tests covering: no file, append, update block, already-referenced

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 17:16:35 +08:00
..
check_no_legacy_refs.ps1 📝 docs(tsl): rebuild canonical syntax and routing manual 2026-04-22 16:59:20 +08:00
main_loop.py 🐛 fix(templates): enforce main loop progress tracking 2026-03-12 17:47:33 +08:00
playbook.py feat(playbook): auto-inject AGENTS.md into CLAUDE.md 2026-05-15 17:16:35 +08:00
tsl_doc_audit.ps1 📝 docs(tsl): rebuild canonical syntax and routing manual 2026-04-22 16:59:20 +08:00