You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ui-server: the checkout byte ceiling pauses a turn without recording a scope hold in Activity #4431
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
Part of #4426 (follow-ups from #4278). Found in the sixth review of PR #4362 (#4297). Related to #4413 and #4389, which cover the same branch.
Context
When checkoutBytes exceeds the fixed ceiling, check (packages/ui-server/src/brain/turn-scope.ts:134-147) freezes the workers and records the receipt and governance event. It does not call journal.scopeHold, which the ordinary cap path does (:201). Activity therefore has no scope hold interval, stop timestamp or triggering tool id for the pause, even when the observation supplied the id.
Scope
The hold record for the checkout ceiling. No change to the ceiling or to Stop-only behaviour. Out of scope: live checkout accounting (#4413, #4389).
Acceptance criteria
A turn paused at the checkout ceiling has one scope hold in Activity, with requestedAt, stoppedAt and the triggering toolUseId when the observation carries one.
A failure while recording the hold does not change whether the turn pauses or stops.
A test asserts that the hold callback runs once for an acknowledged freeze at 17 MiB, and fails without the call.
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.priority: p3Someday. Needs a driving use case before it starts.type: fixSomething is broken and must behave the way it is documented.
Activity