Gateway task_logs tool reads through the State Store #73

Closed
opened 2026-10-27 13:34:50 +00:00 by sam · 0 comments
Owner

Goal

The chat task_logs tool reads task logs through the State Store contract, not the gateway's own log registry.

Evidence

archiegateway/gateway_runtime.go:148 wires chatTaskLogReaderAdapter to the gateway's logging.TaskRegistry (chat_tasks.go:147); ui-service-boundary forbids reading another process's logs.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • Adapter uses the State Store TaskLogStore/ReadTaskLog with paging.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Removed gateway local task-log registry dependency; adapter reads State Store TaskLog with cursor and filters, keeping identity ownership check; focused Go tests and task check passed; committed/pushed 0081e72c.


Imported from beads archie-core-4q28.20 · GitHub #1288 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-08

## Goal The chat task_logs tool reads task logs through the State Store contract, not the gateway's own log registry. ## Evidence archiegateway/gateway_runtime.go:148 wires chatTaskLogReaderAdapter to the gateway's logging.TaskRegistry (chat_tasks.go:147); ui-service-boundary forbids reading another process's logs. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] Adapter uses the State Store TaskLogStore/ReadTaskLog with paging. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Removed gateway local task-log registry dependency; adapter reads State Store TaskLog with cursor and filters, keeping identity ownership check; focused Go tests and task check passed; committed/pushed 0081e72c. --- _Imported from beads `archie-core-4q28.20` · GitHub #1288 · type bug · priority P2 · created 2026-10-05 · closed 2026-10-08_
sam added the mediumbug labels 2026-10-27 13:34:50 +00:00
sam self-assigned this 2026-10-27 13:34:50 +00:00
sam closed this issue 2026-10-27 13:34:50 +00:00
sam added a new dependency 2026-11-14 14:45:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#73