Repository navigation
Comparing changes
Open a pull request
base repository: pingdotgg/t3code
base: main
head repository: pingdotgg/t3code
compare: fix/issue-18386
- 11 commits
- 17 files changed
- 2 contributors
Commits on Oct 22, 2026
-
test(server): Claude CLI permission denials surface a notice
Failing regression test for #18386: a result whose permission_denials include a CLI-side denial (settings deny rule or auto-mode classifier) completes silently. T3-owned declines in the same list stay excluded. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bd7667 - Browse repository at this point
Copy the full SHA 8bd7667View commit details -
fix(server): Claude turns the CLI blocked by a permission denial fail…
… visibly A deny rule or the auto-mode classifier rejects a tool call inside the Claude CLI, so canUseTool never runs and the turn ended as a plain "completed" run with no request, letting the thread settle as finished. The result's permission_denials now drives a system notice listing each denial the CLI made, with the reason from its permission_denied frame, and fails the turn with a permission_error. Calls T3 denied through canUseTool (declines, cancelled questions, plan capture, plan policy) are excluded. Interrupts and real failures keep their own status. Fixes #18386 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b32bc0d - Browse repository at this point
Copy the full SHA b32bc0dView commit details -
fix(server): Claude permission-denied turns stay unsettled and keep t…
…heir workflows A thread failed by a Claude CLI permission denial could still auto-settle after inactivity or a merged pull request, and failing the turn stopped any workflow it had launched. Settlement now skips a thread whose latest run failed with code permission_denied, read from the run's existing error item. The adapter reports the turn as failed while it still ends the turn as a native completion, so running background work keeps going. The notice now gives the reason from the matching errored tool_result when the CLI sends no permission_denied frame (older CLIs, hooks), and says when no reason was given. Reasons are sliced before control characters are stripped. The failure and notice state only how many calls were denied and no longer suggest a fix that does not apply to hook denials. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5c7256 - Browse repository at this point
Copy the full SHA f5c7256View commit details -
Configuration menu - View commit details
-
Copy full SHA for c93969e - Browse repository at this point
Copy the full SHA c93969eView commit details -
fix(server): denied Claude turns keep workflows ingested and stay uns…
…ettled behind held queues Settlement candidates in SQL now skip held queued runs, matching the memory store's latestUnheldRun, so a run queued behind a permission-denied turn no longer hides the denial from the settlement guard. The synthetic permission_denied failure of a natively completed Claude turn marks childTurnsContinue, so run execution neither fails the workflow the CLI is still running nor stops ingesting its later events. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7cda082 - Browse repository at this point
Copy the full SHA 7cda082View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9180d72 - Browse repository at this point
Copy the full SHA 9180d72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56468f9 - Browse repository at this point
Copy the full SHA 56468f9View commit details
Commits on Nov 11, 2026
-
Merge remote-tracking branch 'origin/main' into fix/issue-18386
# Conflicts: # apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts # apps/server/src/orchestration-v2/ProjectionStore.ts # apps/server/src/orchestration-v2/ThreadSettlementService.test.ts
Configuration menu - View commit details
-
Copy full SHA for 2ebca70 - Browse repository at this point
Copy the full SHA 2ebca70View commit details -
fix(server): only a Claude turn that ends on a CLI denial fails
A turn Claude recovered from with later tool calls stays completed and keeps its denial notice, so queued messages run and delegating parents see success. Drops the PR-only visual fixtures and folds the orchestrator integration test into the adapter test's childTurnsContinue assertion. AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67df19b - Browse repository at this point
Copy the full SHA 67df19bView commit details -
fix(server): a Claude CLI denial no longer fails the turn
Claude can answer directly after a denied call, so no frame tells a recovered turn from a blocked one. The turn keeps its own status, so queued messages run and delegating parents see the real outcome. The denial notice stays, and a thread whose latest run carries it is kept out of auto-settlement until the user acts. AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88dceae - Browse repository at this point
Copy the full SHA 88dceaeView commit details -
fix: a provider-denied run shows as Denied and still settles on its p…
…ull request The run keeps its own status. The shell now carries latestRunPermissionDenied, so web and mobile show Denied instead of Completed, the web notifies "Permission denied" instead of a completion, and the awareness detail says a tool call was denied. The settlement hold applies only to inactivity, so a merged or closed pull request settles the thread as on main. AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e99091 - Browse repository at this point
Copy the full SHA 1e99091View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...fix/issue-18386