mirror of
https://github.com/gnekt/My-Brain-Is-Full-Crew.git
synced 2026-09-13 17:26:49 +00:00
Add core-manifest to protect custom agents from deprecation
launchme.sh and updateme.sh now write .core-manifest listing which agent files were installed as core. The deprecation loop checks this manifest before touching any file, so custom agents are never deprecated.
This commit is contained in:
@@ -92,8 +92,10 @@ info "Creating .claude/agents/ in vault..."
|
||||
mkdir -p "$VAULT_DIR/.claude/agents"
|
||||
|
||||
AGENT_COUNT=0
|
||||
: > "$VAULT_DIR/.claude/agents/.core-manifest"
|
||||
for agent in "$REPO_DIR/agents/"*.md; do
|
||||
cp "$agent" "$VAULT_DIR/.claude/agents/"
|
||||
basename "$agent" >> "$VAULT_DIR/.claude/agents/.core-manifest"
|
||||
AGENT_COUNT=$((AGENT_COUNT + 1))
|
||||
done
|
||||
success "Copied $AGENT_COUNT agents"
|
||||
|
||||
Reference in New Issue
Block a user