Fix git sync: commit memory files before pull, push back to remote
- .gitignore: exclude runtime junk (.claude/, .cache/, .npm/) but track life/ and memory/ so agent knowledge persists across pod restarts - CEO heartbeat: git add + commit local changes before pull --rebase, then push to persist memory files in the repo - Fixes agents wasting turns debugging dirty working tree on every heartbeat Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
+23
@@ -1,3 +1,26 @@
|
||||
# Agent runtime artifacts (transient, not worth tracking)
|
||||
.claude/
|
||||
.claude.json
|
||||
.cache/
|
||||
.config/
|
||||
.local/
|
||||
.npm/
|
||||
.profile
|
||||
.zshrc
|
||||
.gitconfig
|
||||
.kube/
|
||||
|
||||
# Editor swap files
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# Secrets (never commit)
|
||||
secrets/
|
||||
*.pem
|
||||
|
||||
# Sync state (local only)
|
||||
.last-synced-sha
|
||||
|
||||
# Node artifacts
|
||||
node_modules/
|
||||
bun.lock
|
||||
|
||||
Reference in New Issue
Block a user