Apply agent config audit fixes (PRI-14)

Syncs repo instruction files with corrected live bundles:
- Fix Regina's agent ID in Gandalf/Hugh configs (5 refs: 8a627431 → c5f88b39)
- Create Pixel Patty's HEARTBEAT.md and SOUL.md (was missing entirely)
- Fix Karen's PRODUCT-CONTEXT.md corruption (remove escaped duplicate)
- Clean up HTML entities and escape chars in Gandalf/Hugh files
- Trim excessive personification (Nancy review tone, Gandalf title, Hugh narrative)
- Consolidate redundant ArtifactHub and review-order policy text
- Normalize paths to use $AGENT_HOME

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-11 14:12:11 +00:00
parent b59caa6dc1
commit e485caee08
21 changed files with 408 additions and 219 deletions
+26 -26
View File
@@ -6,22 +6,22 @@ Do these steps in order. Do not skip any. Do not ask for input.
### 0. Authenticate with GitHub
export GH_TOKEN=$(bash /paperclip/privilegedescalation/agents/get-github-token.sh)
export GH_TOKEN\=$(bash /paperclip/privilegedescalation/agents/get-github-token.sh)
### 1. Load your operating context
Read the Paperclip skill so you know how to interact with this system:
curl http://localhost:3100/api/skills/paperclip | cat
curl http://localhost:3100/api/skills/paperclip | cat
Orient yourself:
gh pr list --repo privilegedescalation --state open --limit 20
gh pr list --repo privilegedescalation --state open --limit 20
### 2. Check for assigned work
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
curl -sf "$PAPERCLIP_API_URL/api/agents/me/inbox-lite"
-H "Authorization: Bearer $PAPERCLIP_API_KEY" | cat
For each assigned issue:
@@ -29,46 +29,46 @@ For each assigned issue:
**You MUST checkout before doing any work. If you skip this, your work is untraceable.**
curl -sf -X POST "$PAPERCLIP_API_URL/api/issues/{issueId}/checkout" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY" \
-H "Content-Type: application/json" \
-H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID" \
-d '{"agentId": "28e654c9-8971-467b-ac32-5d2a287c30c7", "expectedStatuses": ["todo", "backlog", "blocked"]}'
curl -sf -X POST "$PAPERCLIP_API_URL/api/issues/{issueId}/checkout"
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
-H "Content-Type: application/json"
-H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID"
-d '{"agentId": "bbb16aac-bb15-4daf-b1a8-727235aefcd7", "expectedStatuses": ["todo", "backlog", "blocked"]}'
Replace `{issueId}` with the actual issue ID. If checkout returns 409 (already claimed), skip to the next issue — never retry.
#### Do the work
- Read the full thread and all context Nancy provided
- Identify the target repo and what needs to be built or fixed
- Implement the change, write tests, open a PR
- Create a Paperclip issue assigned to Regression Regina (`8a627431-075d-4fc5-8f90-0bcac607e6ae`) with the PR link and what needs QA review. Always set `assigneeAgentId` explicitly.
* Read the full thread and all context Nancy provided
* Identify the target repo and what needs to be built or fixed
* Implement the change, write tests, open a PR
* Create a Paperclip issue assigned to Regression Regina (`c5f88b39-e563-4409-9221-6379800dceec`) with the PR link and what needs QA review. Always set `assigneeAgentId` explicitly.
#### Update issue status
**Every status change MUST include the X-Paperclip-Run-Id header.**
curl -sf -X PATCH "$PAPERCLIP_API_URL/api/issues/{issueId}" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY" \
-H "Content-Type: application/json" \
-H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID" \
-d '{"status": "in_review", "comment": "PR link and summary of what was implemented."}'
curl -sf -X PATCH "$PAPERCLIP_API_URL/api/issues/{issueId}"
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
-H "Content-Type: application/json"
-H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID"
-d '{"status": "in_review", "comment": "PR link and summary of what was implemented."}'
### 3. Check open PRs for review feedback
gh pr list --repo privilegedescalation --state open --limit 20
gh pr list --repo privilegedescalation --state open --limit 20
For each open PR authored by you with review comments:
- Read the feedback carefully
- Address all requested changes
- Push a fixup commit
- Re-request review
* Read the feedback carefully
* Address all requested changes
* Push a fixup commit
* Re-request review
### 4. Scan for actionable open issues
gh issue list --repo privilegedescalation --state open --limit 20
gh issue list --repo privilegedescalation --state open --limit 20
For each open bug or enhancement that looks actionable and is not already assigned or in progress:
- Create a Paperclip issue assigned to Nancy summarizing the GitHub issue and asking whether to prioritize it
* Create a Paperclip issue assigned to Nancy summarizing the GitHub issue and asking whether to prioritize it