Revert memory commit/push — gitignore life/ and memory/ instead
Agent memory files can contain secrets (API keys, credentials, infra details). These must not be committed to git. Memory persists on the pod's persistent volume. Git is for board-authored config only. - Added life/ and memory/ back to .gitignore - Removed git add/commit/push from CEO heartbeat sync (pull-only now) - Removed auto-merge workflow (no longer needed) Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
github: [privilegedescalation]
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
name: Auto-merge agent-sync
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [agent-sync]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
merge:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
ref: main
|
|
||||||
- name: Merge agent-sync into main
|
|
||||||
run: |
|
|
||||||
git config user.name "github-actions[bot]"
|
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
||||||
git merge origin/agent-sync --no-edit
|
|
||||||
git push origin main
|
|
||||||
|
|
||||||
@@ -10,6 +10,10 @@
|
|||||||
.gitconfig
|
.gitconfig
|
||||||
.kube/
|
.kube/
|
||||||
|
|
||||||
|
# Agent memory (persists on volume, contains secrets — never commit)
|
||||||
|
life/
|
||||||
|
memory/
|
||||||
|
|
||||||
# Editor swap files
|
# Editor swap files
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
|
|||||||
+1
-3
@@ -77,9 +77,7 @@ This repo (`/paperclip/privilegedescalation/agents`) is the canonical source of
|
|||||||
|
|
||||||
export GH_TOKEN=$(bash /paperclip/privilegedescalation/agents/get-github-token.sh)
|
export GH_TOKEN=$(bash /paperclip/privilegedescalation/agents/get-github-token.sh)
|
||||||
cd /paperclip/privilegedescalation/agents
|
cd /paperclip/privilegedescalation/agents
|
||||||
git add -A
|
git pull origin main
|
||||||
git diff --cached --quiet || git commit -m "agent: memory and runtime updates $(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
|
||||||
git pull --rebase origin main && git push origin HEAD:refs/heads/agent-sync -f
|
|
||||||
|
|
||||||
#### 5b. Detect changes since last sync
|
#### 5b. Detect changes since last sync
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user