Add HOME env to all agents to isolate gitconfig and gh auth state

Each agent gets HOME set to their cwd so ~/.gitconfig and
~/.config/gh/ don't collide between concurrent heartbeats.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 14:55:44 -04:00
parent 6b1b5e744b
commit 69a1951318
7 changed files with 7 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@
{
"cwd": "/paperclip/privilegedescalation/ceo",
"env": {
"HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/ceo" },
"GITHUB_APP_ID_COUNTESS": { "type": "plain", "value": "3097914" },
"GITHUB_PEM_PATH_COUNTESS": { "type": "plain", "value": "/paperclip/secrets/github-pems/countess.pem" }
},
+1
View File
@@ -31,6 +31,7 @@
{
"cwd": "/paperclip/privilegedescalation/cmo",
"env": {
"HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/cmo" },
"GITHUB_APP_ID_ADDISON": { "type": "plain", "value": "3032312" },
"GITHUB_PEM_PATH_ADDISON": { "type": "plain", "value": "/paperclip/secrets/github-pems/addison.pem" }
},
+1
View File
@@ -31,6 +31,7 @@
{
"cwd": "/paperclip/privilegedescalation/cto",
"env": {
"HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/cto" },
"GITHUB_APP_ID_NANCY": { "type": "plain", "value": "3032056" },
"GITHUB_PEM_PATH_NANCY": { "type": "plain", "value": "/paperclip/secrets/github-pems/nancy.pem" }
},
+1
View File
@@ -31,6 +31,7 @@
{
"cwd": "/paperclip/privilegedescalation/engineering/gandalf",
"env": {
"HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/engineering/gandalf" },
"GITHUB_APP_ID_GANDALF": { "type": "plain", "value": "3032771" },
"GITHUB_PEM_PATH_GANDALF": { "type": "plain", "value": "/paperclip/secrets/github-pems/gandalf.pem" }
},
+1
View File
@@ -31,6 +31,7 @@
{
"cwd": "/paperclip/privilegedescalation/engineering/hugh",
"env": {
"HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/engineering/hugh" },
"GITHUB_APP_ID_HUGH": { "type": "plain", "value": "3034857" },
"GITHUB_PEM_PATH_HUGH": { "type": "plain", "value": "/paperclip/secrets/github-pems/hugh.pem" }
},
+1
View File
@@ -33,6 +33,7 @@
{
"cwd": "/paperclip/privilegedescalation/engineering/regina",
"env": {
"HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/engineering/regina" },
"OPENROUTER_API_KEY": { "type": "plain", "value": "<REDACTED - restore from pg-fix-regina-env2.sh>" },
"GITHUB_APP_ID_REGINA": { "type": "plain", "value": "3033788" },
"GITHUB_PEM_PATH_REGINA": { "type": "plain", "value": "/paperclip/secrets/github-pems/regina.pem" }
+1
View File
@@ -31,6 +31,7 @@
{
"cwd": "/paperclip/privilegedescalation/marketing/samuel",
"env": {
"HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/marketing/samuel" },
"GITHUB_APP_ID_SAMUEL": { "type": "plain", "value": "3032072" },
"GITHUB_PEM_PATH_SAMUEL": { "type": "plain", "value": "/paperclip/secrets/github-pems/samuel.pem" }
},