chore/merge-all-uncommitted #235
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "chore/merge-all-uncommitted"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three new files in packaging/mother/dashboard/: index.html (460 lines) — Self-contained cost dashboard: - Cost cards with cache-hit bars (green cache / grey fresh) - Node-grouped rows with summary stats (task count, cost, success rate) - ▸ proof badge on cards with linked tmux-screenshot PNGs - Lightbox viewer for terminal screenshots at task completion time - JSON toggle for agent-friendly structured data - Filters: node, provider, success/failure - Dark terminal theme, monospace, responsive - Auto-refresh every 60s export-costs.sh (75 lines) — PostgreSQL → JSON export: - Denormalizes task_costs + hive_nodes into dashboard data file - Computes summary (total cost, avg, success rate, cache-hit ratio) - Groups by node with per-node stats - Limits to 200 most recent tasks deploy.sh (45 lines) — Idempotent mother deploy: - Copies dashboard files to /usr/local/www/clawdie/dashboard/ - Installs cron job (every 60s) - Runs initial export Schema: - task_costs.screenshot_uuid column (TEXT, nullable) - report-task-cost SSH command updated: node_hostname→node_id lookup, screenshot_uuid field, NULLIF for empty strings Wiki: - cost-dashboard.md — architecture, data sources, deploy flow, agent-friendly JSON format, screenshot proof design - Index updated (EN) 184 wiki refs, clean lint, cargo fmt pass.