hyperhive/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris f6b3145349 dashboard: add GET /api/build-logs/{agent} + /id/{id} endpoints (#726 phase 2)
Wires the Phase 1 sqlite store into the dashboard HTTP layer so the
frontend can surface full build logs without hitting journald.

Two new read endpoints:
- GET /api/build-logs/{agent}?limit=N  — Vec<BuildLogHeader> JSON,
  newest first, default limit 10, server-side cap at 50.
- GET /api/build-logs/id/{id}          — BuildLogFull JSON (header +
  stdout + stderr), HTTP 404 on vacuum-reaped / unknown ids.

Agent-name validated ([a-z0-9_-], 1-63 chars) before the sqlite call.
Both handlers reach coord.build_logs (Arc<BuildLogs>) introduced in
the Phase 1 commit. Docs updated in docs/web-ui.md.
2026-05-31 20:31:07 +02:00
..
agent-hierarchy.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
approvals.md scheduled_prompts: address argus 🟡 on #849 — submit paths section + persistence.md anchor fix 2026-05-31 17:18:15 +02:00
boundary.md docs: move backlog to forge issue tracker, extract boundary doc 2026-05-20 12:19:16 +02:00
conventions.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
damocles-migration.md Phase 7e: damocles migration plan; CLAUDE.md phase status 2026-05-15 00:32:26 +02:00
forge.md hive-ag3nt + docs: extract forge_notify prose (#716 batch 4) 2026-05-31 17:17:24 +02:00
gateway.md gateway: hot-reload agents.conf at runtime (#869) 2026-05-31 20:29:56 +02:00
gotchas.md docs/gotchas.md: scrub self-ref cookies (#719 batch 3) 2026-05-31 15:46:02 +02:00
matrix.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
network.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
persistence.md docs: extract best-effort oneshot service contract + matrix-avatar (#718 batch 6) 2026-05-31 16:14:38 +02:00
security.md docs: scrub self-ref cookies across 5 files (#719 batch 2) 2026-05-31 15:39:09 +02:00
terminal-rendering.md docs: scrub self-ref cookies across 5 files (#719 batch 2) 2026-05-31 15:39:09 +02:00
turn-loop.md hive-ag3nt + docs: extract harness binary shape prose (#716 batch 5) 2026-05-31 17:18:22 +02:00
web-ui.md dashboard: add GET /api/build-logs/{agent} + /id/{id} endpoints (#726 phase 2) 2026-05-31 20:31:07 +02:00