P1:
- Claude workflow agents keyed by stable row index (parent:wf:N), not
per-attempt agentId — queued/blocked rows now appear, retries update
one card instead of duplicating
- agent.snapshot payloads carry a monotonic per-thread revision; client
latest-wins selection uses it (deterministic under same-ms appends)
- Codex child turn/completed decodes turn.status: failed→failed with
error summary, interrupted→stopped, completed→idle
- roster hydration is lazy (only on agent-touching events), no longer a
full thread-detail load on every first event per thread
P2:
- reducer re-derives kind from event taskType/parent (no first-guess
pinning); reactivation counts any settled→active transition
- workflow container rows excluded from worker counts; container usage
only counted when it has no member rows
- settled cards lead with error/result, never stale activity text
- newest agents array is authoritative on the client — undecodable
rosters no longer resurrect older running snapshots
- idle (resumable) agents no longer share the terminal retention pool
- Codex usage uses the cumulative total breakdown consistently
Co-Authored-By: Claude Fable 5 <[email protected]>
Bugbot round 4: after restart the latest agent.snapshot can already sit
deep in the capped projection, so the refresh counter now seeds from its
actual index distance instead of zero; the 'appended' debug log moved
into the success branch so a swallowed failure no longer logs success.
Co-Authored-By: Claude Fable 5 <[email protected]>
- A failed agent.snapshot append no longer aborts the rest of the
event's ingestion (Bugbot: repeated failures were dropping message
deltas/session status). Failures are logged, interrupts propagate, and
the redispatch flag retries on the next event.
- While agents exist, the roster is re-published every ~400 timeline
activities so the latest snapshot cannot age past the projector's
500-row cap (Macroscope: hydration and client scans always find one).
Co-Authored-By: Claude Fable 5 <[email protected]>
- session.exited now releases the per-thread reducer state after the
final snapshot persists (unbounded retention leak)
- failed snapshot dispatch keeps the newer in-memory roster and flags
the thread for re-dispatch on the next event instead of discarding
memory (previous fix could lose transitions)
- document the 500-cap hydration boundary: past the cap both server and
clients have lost the snapshot, so empty hydration is consistent
Co-Authored-By: Claude Fable 5 <[email protected]>
- CI: client-runtime test imports @effect/vitest (vitest types unresolved
in package context)
- CodexSessionRuntime: divert child-thread events that arrive before
subAgentActivity registers them (probe: child status/changed lands
first); emit a terminal event on subAgent interruption
- CodexAdapter: systemError -> failed; cumulative totalProcessedTokens
for child usage (last-turn count can shrink on follow-ups)
- Ingestion: waiting agents counted as active in roster summaries;
reactivation clears stale resultSummary/errorMessage; usage fields
validated as non-negative integers; failed snapshot dispatch drops the
hydration marker so the roster re-syncs from persisted state
- Panel/strip: idle counts as settled everywhere; phase labels show
active counts (not '0 running'); parseTimestampDate for ISO parsing
- Drop docs/project/plans HTML files
Co-Authored-By: Claude Fable 5 <[email protected]>
Codex review P2: active-with-no-flags thread status now maps back to
running so agents don't stay 'waiting' after an approval resolves.
Co-Authored-By: Claude Fable 5 <[email protected]>
CodexSessionRuntime learns children from subAgentActivity items (probe:
no child thread/started arrives) and diverts their notifications into
synthetic collab/agentActivity events; CodexAdapter maps those to
timeline-bypassing task.* events (turn lifecycle, waiting flags, token
usage, item summaries). turn/completed maps to idle, not terminal.
Co-Authored-By: Claude Fable 5 <[email protected]>