Expose persisted run events for process review #199

Merged
weichen merged 2 commits from feature/work-companion-visibility into main 2026-10-14 14:39:39 +00:00
Owner

Summary

Why: Completed replies replace the live bubble, so the user cannot reopen the full streamed tool output and child collaboration status.

owner-scoped conversation + run
  → ordered, paginated persisted events
  → parent stream + direct-child progress/result

Impact: New read-only run-history API. Raw child tool streams remain outside the parent process view.
Refs: Agent-System-Dev feature/work-companion-visibility, UI1; paired Frontend PR.

Evidence

  • Before: the settled message retained a tool summary but not the full streamed output.
  • After: owner/conversation-bound pagination and child status are covered by the isolated server test; go test ./... passes.

Merge Danger

Door: two-way

Blast Radius: authenticated read API

## Summary Why: Completed replies replace the live bubble, so the user cannot reopen the full streamed tool output and child collaboration status. ```text owner-scoped conversation + run → ordered, paginated persisted events → parent stream + direct-child progress/result ``` Impact: New read-only run-history API. Raw child tool streams remain outside the parent process view. Refs: Agent-System-Dev `feature/work-companion-visibility`, UI1; paired Frontend PR. ## Evidence - Before: the settled message retained a tool summary but not the full streamed output. - After: owner/conversation-bound pagination and child status are covered by the isolated server test; `go test ./...` passes. ## Merge Danger **Door:** two-way **Blast Radius:** authenticated read API
weichen added 2 commits 2026-10-14 14:36:22 +00:00
Why: Completed replies currently drop access to streamed thinking and tool output.

Evidence: go test ./...; isolated run-event pagination and conversation binding test.

Impact: Add owner-scoped paginated event reading for a single conversation run.

Refs: Agent-System-Dev feature/work-companion-visibility UI1
Include child collaboration status in run history
ci / vet-and-test (pull_request) Successful in 1m12s
bb5419182c
Why: Spawned agent progress disappeared when the parent reply settled.

Evidence: go test ./...; run-event route test covers child status and raw-output exclusion.

Impact: Return child progress and result events in parent history without exposing child raw tool streams.

Refs: Agent-System-Dev feature/work-companion-visibility UI1
weichen merged commit 98cfa3cf4f into main 2026-10-14 14:39:39 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#199