• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / HyperNeo / 32174920112
80%

Build:
DEFAULT BRANCH: dev
Ran 18 Aug 2026 07:09PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
  cancel
32174920112

push

github

web-flow
fix(daemon): stop canUseTool being shadowed by default bypassPermissions (#2564)

* fix(daemon): stop canUseTool being shadowed by default bypassPermissions

SDK 0.3.233 warns CLAUDE_SDK_CAN_USE_TOOL_SHADOWED whenever canUseTool is
set and the permission mode is bypassPermissions (or bare allowedTools
entries exist), and under bypass the callback is never consulted — so
AskUserQuestion interception was dead code in the default config.

Route AskUserQuestion interception through a PreToolUse hook registered in
every permission mode (allow+updatedInput answers / deny+reason), backed by
a shared interception core that both the hook and the canUseTool callback
delegate to. canUseTool stays registered in all modes because the CLI only
exposes the AskUserQuestion tool when a prompting surface exists. For
bypass sessions the builder withholds permissionMode and allowedTools at
intake and the query runner applies the real mode post-start with a
bounded retry guarded by the live mode resolution.

Also fixes two defects from the prior attempt (PR #2559): persist
session.config + db before the CLI write in sdk-runtime-config so the
deferred-switch retry cannot revert a mid-flight user mode change, and
patch the history record to cancelled when a superseded submit is dropped.

* test(daemon): drive deferred-switch wiring through start(); guard fire-and-forget switch

Add a start()-driven test in the startup-gate harness asserting the
AskUserQuestion PreToolUse hook registration and the post-spawn
setPermissionMode('bypassPermissions') call when the builder defers the
mode, and attach a .catch to the void-fired switch so a throwing live-mode
read surfaces as a logged warning instead of an unhandled rejection.

Addresses round-1 review of #2564 (P1 + P2).
Source Files on build 32174920112
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #32174920112
  • 2b9185ed on github
  • Prev Build on dev (#32165535261)
  • Next Build on dev (#32175666066)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc