- Forge webhook POST /api/webhooks/forge HMAC sha256 verify, marker echodo-convoy → pr_review→merged as automation - Completion artifacts table 0017, deterministic summary template, gallery /artifacts - Ops copilot tRPC copilot + context tools (fleet, convoy, backlog) + panel + Draft Task → backlog.createTask - Doc-writer SOPs: webhook rotation, copilot prompt, published flow examples - Allow pr_review→merged as automation for webhook Convoy: .convoys/owner-cockpit-v02 Co-authored-by: orchestrator
1.5 KiB
1.5 KiB
| brief | convoy | role | title | status | priority | slice_dependencies | recommended_model | model_tier | |
|---|---|---|---|---|---|---|---|---|---|
| 4 | owner-cockpit-v02 | role-doc-writer | Doc-writer SOPs — webhook secret rotation + copilot prompt | ready | P2 |
|
qwen-coder | local |
Brief 4 — role-doc-writer SOPs for owner cockpit
Goal
Document rotation and prompts so future agents read them as second-brain context, not just code.
Files
docs/operations/webhook-secret-rotation.mdNEW — one page: whereFORGE_WEBHOOK_SECRETlives (Coolify env), how to rotate (generateopenssl rand -hex 32, update Forgejo webhook + CoolifyFORGE_WEBHOOK_SECRET, test viacurl -H 'X-Hub-Signature-256: sha256=...' http://localhost:3000/api/webhooks/forge).docs/copilot-prompt.mdNEW — system prompt forgate-copilotandops copilot(reuseconvoys.ts:gutprompt but versioned indocs/for harness portability).docs/examples/sop-published-flow.mdNEW — one SOP showingTask-write-sop → doc_review → published → artifact gallerye2e with screenshots placeholder.
Acceptance
- Three docs exist, linked from
docs/READMEordocs/operations/live-e2e-checklist.md. - No code, only markdown;
pnpm lintstill passes (markdown ignored).
Prompt
You are role-doc-writer brief 4. Read docs/convoy-lifecycle.md, apps/web/app/api/webhooks/forge/route.ts (once brief 1 lands) to document accurately. Keep docs small, imperative, no narration.
Depends
Brief 1 — needs webhook route to document accurately.