Skip to content

[Bug]: ACP approval cards say "Changed files" or "Ran command" without naming the file or command #42025

Backlog

Description

@matthewcosier

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Use an ACP agent (for example Antigravity or Kiro) in a mode that asks for approval.
  2. Ask it to write or edit a file, or to run a shell command.
  3. Look at the approval card.

Expected behavior

The card names what it asks to approve: each file for a write, edit, delete or move, and the command line for a command.

Actual behavior

File approvals read only "Changed files" (Changed files Waiting for approval · Decline Approve More). Many Antigravity command approvals read only "Ran command". Kiro's end-of-turn "Review changes" approval shows as a command card with no file names, although the request lists them in _meta.kiro.files.

The card shows the approval's prompt. For ACP, parsePermissionRequest builds it from the tool call's presentation title before its detail, and for any edit, delete or move that title is the generic "Changed files", so the path never reaches the card. The same prompt feeds the thread card, the parent thread's child-approval card, the mobile card and the work log.

Impact

Major degradation or frequent failure

Version or commit

main at b1c83e1

Environment

Any platform; seen on macOS with Antigravity, and in the recorded Kiro fixture.

Logs or stack traces

The recorded fixture apps/server/src/orchestration-v2/testkit/fixtures/kiro_permission_modes/kiro_supervised_transcript.ndjson shows both Kiro shapes: line 26 is a write request titled only "Write File", with the file in _meta.kiro.consent.resource and in the tracked tool call's locations; line 30 is the "Review changes" request under a new id, with the files in _meta.kiro.files.

Workaround

Read the tool row above the card, which names the file.

Notes for a fix

  • ACP defines a permission request's toolCall as a tool call update, so a request may omit the path or command that the tracked tool call already holds. ACP v2 command subjects carry the command line in subject.command.
  • Behaviour main gets right today that a fix should keep: a read approval with rawInput.filename shows "Read notes.md"; a search approval names its query and folder; a resolved approval keeps its work-log entry as it was; the work log's tool rows and commands do not change; a very large edit stays bounded.
  • When a request names nothing structured, the request's own title (for example "Approve plan changes", or a plain command title) is more useful than a generic summary.

Activity

  1. rishi23root commented on Nov 27, 2026

    @rishi23root

    Confirming this also reproduces on T3 Code mobile for delegated subagent approval cards (Subagent needs approval surfaced in the parent thread):

    • Environment: T3 Code server 0.1.12 (Linux x64), mobile client, provider antigravity (gemini-4-neon), delegated subagent running in auto-accept-edits mode.
    • Observed: The parent thread's approval card displays only:
      • Header: APPROVAL NEEDED
      • Title: command
      • Body: Ran command
      • Actions: Allow once / Deny
    • The paired command_execution activity item on the subagent thread does contain the full shell command, while the approval_request item only has text: "Ran command", so there is no way to see what command is being approved before tapping Allow once on mobile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions