import{c as a,Q as e,j as s,m as i}from"./chunks/framework.BPKcPtvA.js";const k=JSON.parse('{"title":"Software Factory: Paperclip Integration","description":"","frontmatter":{},"headers":[],"relativePath":"modules/software-factory.md","filePath":"modules/software-factory.md","lastUpdated":null}'),n={name:"modules/software-factory.md"};function r(l,t,o,p,d,h){return e(),s("div",null,[...t[0]||(t[0]=[i(`
Close the loop: Plan, Build, Test, Verify, Ship — orchestrated through Paperclip with JWT auth.
PLAN ---> BUILD ---> TEST ---> VERIFY ---> SHIP
CEO Agent CI/CD Verifier Paperclip
Board Chains Pipeline Agent Heartbeat
(all JWT authenticated)| Tier | Trust Model | Token | Use Case |
|---|---|---|---|
| 1. Local | Same machine | Short-lived JWT (48h) | Local dev |
| 2. CLI | Shell access | Long-lived API key | Remote agents |
| 3. Self-register | Autonomous | Invite URL to JWT | OpenClaw agents |
cd paperclip
pnpm dev --bind lan
curl -sS http://127.0.0.1:3100/api/health | jqPaperclip's auth plan documents all 3 tiers. Tier 1 is partially implemented — env vars are passed but PAPERCLIP_API_KEY (JWT) needs to be added to the env injection. This is the last code change needed to close the factory loop.