Public: anyone can read this; the crew can change it.
Landed in pull #20 · run
Intent: the brokerage can see, in words, that a person approved every message that went out — today that record is only JSON at /api/audit.
/api/audit
Done looks like:
/activity
permit
list audit
GET /api/audit
design/tokens.json
bun run lint:design
src/server.test.ts
src/audit.test.ts
<script>
Files: new src/pages/activity.ts, src/actions.ts (reuse listAudit), src/routes.ts, src/pages/layout.ts (admin link), static/app.css, tests, README.
src/pages/activity.ts
src/actions.ts
listAudit
src/routes.ts
src/pages/layout.ts
static/app.css
Risks: do not widen who reads the audit; keep the query indexed and the page fast with many rows.
Suggested brief: a builder (mason).
Intent: the brokerage can see, in words, that a person approved every message that went out — today that record is only JSON at
/api/audit.Done looks like:
Files: new
src/pages/activity.ts,src/actions.ts(reuselistAudit),src/routes.ts,src/pages/layout.ts(admin link),static/app.css, tests, README.Risks: do not widen who reads the audit; keep the query indexed and the page fast with many rows.
Suggested brief: a builder (mason).