Skip to content

Codex fileChange requestApproval needs a diff card via item/started #1189

Closed

Description

@currentbits

Follow-up to #1171 (parent #1162). Blocked on #1170 attaching the JSON-RPC session.

item/fileChange/requestApproval is stable on app-server 0.153.4 (turn/start). #1171 fail-closes it with JSON-RPC -32601. Params: threadId, turnId, itemId, startedAtMs, optional reason / grantRoot (UNSTABLE). No file contents, no diffs. Correlate itemId with item/started (fileChange item) to show the patch. Reply: accept | acceptForSession | decline | cancel.

PermissionPrompt today is command-textarea or JSON preview. File-change needs a diff surface (or a read-only JSON dump of the correlated item — worse).

Ignore deprecated applyPatchApproval on a turn/start runner.

Gate on a fake app-server that emits item/started then item/fileChange/requestApproval with the same itemId.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions