Consolidate shared policies and tools into root-level files
- Added POLICIES.md: env var handling, infra policy (ghcr.io, Renovate), git workflow, issue tracking, CI/CD access rules - Added shared TOOLS.md: GitHub auth, Paperclip API, common tools, repos - Removed all per-agent TOOLS.md files (shared file covers everything) - Updated all AGENTS.md bootstraps to read shared POLICIES.md and TOOLS.md - Removed duplicated env var directive from all HEARTBEAT.md files Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
|
||||
Do these steps in order. Do not skip any. Do not ask for input.
|
||||
|
||||
> **Environment variables** (`PAPERCLIP_API_KEY`, `PAPERCLIP_API_URL`, `PAPERCLIP_RUN_ID`, `PAPERCLIP_AGENT_ID`, `PAPERCLIP_COMPANY_ID`) are pre-injected into your process environment. **Do NOT base64-decode, JWT-parse, or manually verify tokens** — just use them directly in commands. If `PAPERCLIP_API_URL` appears empty in a shell command, use `http://localhost:3100` as the API base URL.
|
||||
|
||||
### 1. Load your operating context
|
||||
|
||||
Read the Paperclip skill to understand how to interact with this system:
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
# Countess von Containerheim — Tools
|
||||
|
||||
## GitHub Authentication
|
||||
|
||||
export GH_TOKEN=$(bash /paperclip/privilegedescalation/agents/get-github-token.sh)
|
||||
|
||||
Run this at the start of every heartbeat. Sets `GH_TOKEN` for `gh` and `git`.
|
||||
|
||||
## Paperclip API
|
||||
|
||||
Auto-injected env vars:
|
||||
|
||||
- `PAPERCLIP_API_URL` — base URL
|
||||
- `PAPERCLIP_API_KEY` — short-lived JWT for this run
|
||||
- `PAPERCLIP_RUN_ID` — include on all mutating requests
|
||||
|
||||
## Available Tools
|
||||
|
||||
| Tool | Purpose |
|
||||
|---|---|
|
||||
| `gh` | GitHub CLI — issues, PRs, CI runs, repo management |
|
||||
| `git` | Version control — pull latest, check history, diff commits |
|
||||
| `curl` | HTTP requests — Paperclip API, external services |
|
||||
| `jq` | JSON parsing and formatting |
|
||||
| `pnpm paperclipai` | Paperclip CLI — issue/agent operations |
|
||||
|
||||
## Repos
|
||||
|
||||
| Repo | Owner | Purpose |
|
||||
|---|---|---|
|
||||
| `privilegedescalation/agents` | Board | Agent profiles and configuration (this repo) |
|
||||
| `privilegedescalation/headlamp-*` | Gandalf | Headlamp plugin repos |
|
||||
Reference in New Issue
Block a user