Skip to content

Make assembly code tool-approval compact and add a working spinner#233

Merged
alexkroman merged 2 commits into
mainfrom
assembly-code-tui-approval-spinner
Jun 18, 2026
Merged

Make assembly code tool-approval compact and add a working spinner#233
alexkroman merged 2 commits into
mainfrom
assembly-code-tui-approval-spinner

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

Summary

  • The assembly code tool-approval prompt no longer takes over the whole screen: ApprovalScreen is now a transparent (non-dimming), bottom-docked compact box, so the transcript stays visible above it.
  • Added a third approval choice — Approve (y) / Auto-approve (a) / Reject (n). Auto-approve flips the session to auto, updates the manualauto status badge, and silently approves later tool calls.
  • AskScreen got the same compact, bottom-docked treatment.
  • New working indicator (✶ Working… (46s)) docked just above the prompt bar, animating while a turn runs and hiding when it finishes.

Testing

  • Extended the headless pilot suite in tests/test_code_tui.py: updated the modal tests for the new string-valued decision, added auto-approve + badge-refresh + spinner (format/start/tick/stop) tests, an _approval_decision unit test, and a regression guard asserting the approval box stays compact and bottom-anchored (not full-screen).
  • ./scripts/check.sh passes end-to-end (incl. 100% patch coverage + diff-scoped mutation gate).

🤖 Generated with Claude Code

alexkroman-assembly and others added 2 commits June 17, 2026 17:38
The tool-approval modal in the `assembly code` TUI took over the whole
screen. Replace it with a transparent-background, bottom-docked compact
panel so the transcript stays visible, plus an "Auto-approve (a)" option
that flips the session to auto and skips later prompts. Give AskScreen
the same compact treatment.

Add a working indicator (spinner + elapsed seconds) above the prompt bar
that animates while a turn runs and hides when it finishes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexkroman alexkroman enabled auto-merge June 18, 2026 01:06
@alexkroman alexkroman added this pull request to the merge queue Jun 18, 2026
Merged via the queue into main with commit 6e43cdc Jun 18, 2026
19 checks passed
@alexkroman alexkroman deleted the assembly-code-tui-approval-spinner branch June 18, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants