mirror of
https://github.com/andrewyng/openworker.git
synced 2026-11-20 20:37:44 +00:00
A user who was away had no simple view of what ran with no approval card. After a turn in which auto-approve let actions through (a gate tier or a reviewer "allow"), the transcript now ends the turn with a collapsed "N changes made without asking" block: file changes with diffs, commands with their exit status, other actions, each with who let it through and a link to its audit rows. - engine: one TURN_SUMMARY event just before the event that ends the turn, listing tool call id, tool, origin, status and the reviewer's reason (no arguments). Wraps run / retry / resume; closing the wrapper closes the turn as before. - audit: /v1/audit takes call_id; Activity opens filtered to one call, clearable. - gui: tool items carry their call id, live and on reload; the block is built from the persisted approval origins, so a reloaded session shows the same summary. - docs/headless.md: the event in events.jsonl.