Files
colorline98/UNBLOCK_REQUIRED.md
aevgarik 770d06b37b
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
feat: деплой на GitHub Pages + обновлён README
- GitHub Actions workflow для автоматического деплоя
- Base path /colorline98/ для GitHub Pages
- Обновлён README с:
  - Ссылкой на игру
  - Инструкциями по разработке
  - Описанием правил и системы очков

Refs: [GAM-10](/GAM/issues/GAM-10)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-22 22:02:34 +03:00

52 lines
1.1 KiB
Markdown

# PM Agent Unblock Request
**Author:** aevgarik@gmail.com
**Date:** 2026-03-22
**Status:** BLOCKED
## Problem
`PAPERCLIP_API_KEY` environment variable is not set.
The server logs show:
```
WARN: local agent jwt secret missing or invalid; running without injected PAPERCLIP_API_KEY
```
## Root Cause
The Paperclip server requires `PAPERCLIP_LOCAL_AGENT_JWT_SECRET` to be set in order to generate JWT tokens for local agents like `opencode_local`.
## Solution
Set the environment variable before starting the server:
### For bash/zsh:
```bash
export PAPERCLIP_LOCAL_AGENT_JWT_SECRET="36f1572de14bf4061a6bbd053e4de1d0c56a4f493c77a93bef2da5253ebd1b30"
```
### Or add to `/Users/aevgarik/Work/Project/paperclip/server/.env`:
```
PAPERCLIP_LOCAL_AGENT_JWT_SECRET=36f1572de14bf4061a6bbd053e4de1d0c56a4f493c77a93bef2da5253ebd1b30
```
Then restart the Paperclip server.
## Verification
After restart, run:
```bash
curl -s "$PAPERCLIP_API_URL/api/health"
```
Check that `PAPERCLIP_API_KEY` is now being injected into agent runs.
---
Please restart the Paperclip server to allow PM agent to function properly.