fix/dashboard-dead-screenshot-code #242

Merged
clawdie merged 2 commits from fix/dashboard-dead-screenshot-code into main 2026-06-27 22:10:51 +02:00

2 commits

Author SHA1 Message Date
0323a9817e fix(dashboard): remove dead screenshot_uuid badge/code — daemon never populates it
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
The screenshot.rs module was never committed to main (PR #239 commit message
was aspirational). The daemon pushes only proof_text (glasspane JSON).
Removed:
- hasScreenshot / ▸ screenshot badge branch
- <img> lightbox path (only proof_text <pre> remains)
- Orphaned else-if block from dual-badge logic
Kept:
- screenshot_uuid column in schema (future-proof, harmless)
- Comment explaining why only proof_text is checked
- JSON panel includes screenshot_uuid (raw field, matches schema)
2026-06-27 22:08:31 +02:00
bcc24002f8 fix(mother): replace pg_read_file with psql variable interpolation
pg_read_file('/dev/stdin') requires superuser — colibri role had only INSERT.
Use psql -v json_input="$(cat)" + :'json_input' for parameterized JSON ingestion.
Works with non-superuser PostgreSQL roles.
2026-06-27 21:43:12 +02:00