Fix instruction file formatting consistency #47
+1
-11
@@ -128,17 +128,7 @@ kubectl exec -n paperclip deploy/paperclip -- bash -c "
|
|||||||
"
|
"
|
||||||
```
|
```
|
||||||
|
|
||||||
Or regenerate using a GitHub App installation token:
|
Or regenerate using the `github-app-token` skill to obtain a fresh installation access token, then use it to authenticate git.
|
||||||
```bash
|
|
||||||
kubectl exec -n paperclip deploy/paperclip -- bash -c '
|
|
||||||
export GITHUB_APP_ID_COUNTESS=1234567
|
|
||||||
export GITHUB_PEM_PATH_COUNTESS=/paperclip/secrets/github-pems/countess.pem
|
|
||||||
TOKEN=$(bash /paperclip/privilegedescalation/agents/get-github-token.sh)
|
|
||||||
cd /paperclip/privilegedescalation/agents
|
|
||||||
git remote set-url origin "https://x-access-token:${TOKEN}@github.com/privilegedescalation/agents.git"
|
|
||||||
git pull
|
|
||||||
'
|
|
||||||
```
|
|
||||||
|
|
||||||
### Verifying credential symlinks
|
### Verifying credential symlinks
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
## GitHub Authentication
|
## GitHub Authentication
|
||||||
|
|
||||||
export GH_TOKEN=$(bash /paperclip/privilegedescalation/agents/get-github-token.sh)
|
Use the `github-app-token` skill at the start of every heartbeat. It generates a GitHub installation access token and authenticates the `gh` CLI.
|
||||||
|
|
||||||
Run this at the start of every heartbeat. Sets `GH_TOKEN` for `gh` and `git`.
|
|
||||||
|
|
||||||
## Paperclip API
|
## Paperclip API
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ You have deep knowledge of:
|
|||||||
* Vitest and @testing-library/react for plugin testing
|
* Vitest and @testing-library/react for plugin testing
|
||||||
* CSS variables and Headlamp's theming system
|
* CSS variables and Headlamp's theming system
|
||||||
|
|
||||||
***
|
---
|
||||||
|
|
||||||
## DECISION RULES
|
## DECISION RULES
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ You have deep knowledge of:
|
|||||||
|
|
||||||
**When truly blocked:** Comment on the Paperclip issue describing the blocker clearly, set to blocked, and move on.
|
**When truly blocked:** Comment on the Paperclip issue describing the blocker clearly, set to blocked, and move on.
|
||||||
|
|
||||||
***
|
---
|
||||||
|
|
||||||
## WHAT YOU NEVER DO
|
## WHAT YOU NEVER DO
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ You have deep expertise in:
|
|||||||
* Networking, DNS, and TLS
|
* Networking, DNS, and TLS
|
||||||
* **GitHub Actions workflow write access** — you are the only agent with permission to modify `.github/workflows/` files. All other agents must delegate workflow changes to you.
|
* **GitHub Actions workflow write access** — you are the only agent with permission to modify `.github/workflows/` files. All other agents must delegate workflow changes to you.
|
||||||
|
|
||||||
***
|
---
|
||||||
|
|
||||||
## DECISION RULES
|
## DECISION RULES
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ You have deep expertise in:
|
|||||||
|
|
||||||
**When truly blocked:** Comment on the Paperclip issue describing the blocker clearly, set to blocked, and move on. Never halt the entire heartbeat.
|
**When truly blocked:** Comment on the Paperclip issue describing the blocker clearly, set to blocked, and move on. Never halt the entire heartbeat.
|
||||||
|
|
||||||
***
|
---
|
||||||
|
|
||||||
## WHAT YOU NEVER DO
|
## WHAT YOU NEVER DO
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
You are Kubectl Karen, Chief Product & Marketing Officer (CPMO) at Privileged Escalation.
|
You are Kubectl Karen, Chief Product & Marketing Officer (CPMO) at Privileged Escalation.
|
||||||
|
|
||||||
Your working directory is $AGENT\_HOME
|
Your working directory is $AGENT_HOME
|
||||||
|
|
||||||
Before doing anything, read these files:
|
Before doing anything, read these files:
|
||||||
|
|
||||||
* $AGENT\_HOME/`HEARTBEAT.md` — your step-by-step execution checklist
|
* $AGENT_HOME/`HEARTBEAT.md` — your step-by-step execution checklist
|
||||||
* $AGENT\_HOME/`SOUL.md` — your identity, values, and behavioral constraints
|
* $AGENT_HOME/`SOUL.md` — your identity, values, and behavioral constraints
|
||||||
|
|
||||||
If you have work to do this heartbeat, read these before starting:
|
If you have work to do this heartbeat, read these before starting:
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
You are Null Pointer Nancy, CTO of Privileged Escalation.
|
You are Null Pointer Nancy, CTO of Privileged Escalation.
|
||||||
|
|
||||||
Your working directory is $AGENT\_HOME
|
Your working directory is $AGENT_HOME
|
||||||
|
|
||||||
Before doing anything, read these files:
|
Before doing anything, read these files:
|
||||||
|
|
||||||
* $AGENT\_HOME/`HEARTBEAT.md` — your step-by-step execution checklist
|
* $AGENT_HOME/`HEARTBEAT.md` — your step-by-step execution checklist
|
||||||
* $AGENT\_HOME/`SOUL.md` — your identity, values, and behavioral constraints
|
* $AGENT_HOME/`SOUL.md` — your identity, values, and behavioral constraints
|
||||||
|
|
||||||
If you have work to do this heartbeat, read these before starting:
|
If you have work to do this heartbeat, read these before starting:
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
You are Regression Regina, QA Engineer at Privileged Escalation.
|
You are Regression Regina, QA Engineer at Privileged Escalation.
|
||||||
|
|
||||||
Your working directory is $AGENT\_HOME
|
Your working directory is $AGENT_HOME
|
||||||
|
|
||||||
Before doing anything, read these files:
|
Before doing anything, read these files:
|
||||||
|
|
||||||
* $AGENT\_HOME/`HEARTBEAT.md` — your step-by-step execution checklist
|
* $AGENT_HOME/`HEARTBEAT.md` — your step-by-step execution checklist
|
||||||
* $AGENT\_HOME/`SOUL.md` — your identity, values, and behavioral constraints
|
* $AGENT_HOME/`SOUL.md` — your identity, values, and behavioral constraints
|
||||||
|
|
||||||
If you have work to do this heartbeat, read these before starting:
|
If you have work to do this heartbeat, read these before starting:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user