Files
trace/README.md
Fredrik Johansson baff962ba0
All checks were successful
Docker / test-build-push (push) Successful in 37s
Document cross-project receipt integration
2026-07-20 22:03:37 +02:00

1.1 KiB

trace

Private incident notebook, Git fix-candidate inbox, deployment-receipt evidence store, and reviewed Astro Markdown exporter for goonk's /failures page.

cp .env.example .env
npm start

Node 24+, no runtime dependencies. Uses built-in node:sqlite. Set TRACE_PASSWORD. Nothing publishes automatically: export creates a draft under data/exports/ for manual review.

Git candidate scanning is optional and disabled by default. If an installation deliberately mounts read-only repository mirrors, list their container paths in TRACE_REPOS; production receipt ingestion does not require repository access.

Producer onboarding, shared-runner examples, deployment-host responsibilities, and verification are documented in docs/INTEGRATING_PROJECTS.md.

Deployment receipts v1

POST /api/v1/events accepts versioned build/deployment receipts using a project-scoped bearer token configured as TRACE_RECEIPT_TOKENS=goonk:token,retur:other-token. Event IDs are idempotent. GET /api/v1/public/projects/:project/latest returns an explicit allowlisted projection; raw payloads remain private.