Hide approved Guardian assessments from TUI history (#38032)

## What changed

- Silently complete approved Guardian assessments after clearing their live
  review status, instead of adding an approval entry to conversation history.
- Continue rendering denied and timed-out assessments in history.

## Testing

- Update TUI snapshots to verify that approved command and permission-request
  assessments add no history entry and that the status returns to `Working`.

GitOrigin-RevId: 32df1f2e3d4e23f0b792dcfdfcf7fbe95f33c703
This commit is contained in:
Eric Traut authored and copyberry committed 2026-08-11 16:16:43 +00:00
1 parent 1dac3d9ca0
commit 8f4a2c99dd
5 files changed
+15 -45

No files matched your search

@@ -7,8 +7,7 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents())
✔ Auto-reviewer approved codex to run rm -f /tmp/guardian-approved.sqlite this
time
› Ask Codex to do anything
@@ -5,8 +5,7 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents())
✔ Request approved for permission request: Need write access for generated
report assets.
• Working (0s • esc to interrupt)