Add gitignore-claude template and wire into registration flows
Introduce scripts/project_rules/gitignore-claude.template with the fleet pattern that tracks .claude/rules/ while ignoring machine-local Claude state. ensure_gitignore_claude_rules.py applies it during statehub register, register_project.sh, and update_agent_instruction_files fleet regen.
This commit is contained in:
parent
0d2fca5711
commit
638cdc4ee2
7 changed files with 128 additions and 0 deletions
4
scripts/project_rules/gitignore-claude.template
Normal file
4
scripts/project_rules/gitignore-claude.template
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Claude Code local state (track shared rules; ignore machine-specific files)
|
||||
.claude/*
|
||||
!.claude/rules/
|
||||
!.claude/rules/*.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue