You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04a25cc
Browse filesBrowse the repository at this point in the historyBrowse files
fix(scripts): teach check-auth-mount-ledger to resolve an imported basePath default
deriveBasePath() read AuthPlugin's basePath fallback as a re-typed string
literal at a fixed regex position. #16384 replaced that literal with an
import of the package's single DEFAULT_AUTH_BASE_PATH definition, so the
regex could no longer find a value and the gate refused
(NOT MEASURED) instead of running its census.
The fallback is still read from source rather than hardcoded here -- the
same justification the function already carried -- just one hop further:
when the fallback is a bare identifier instead of a literal, resolve it
from the module that actually declares it (auth-manager.ts), which joins
MOUNT_SOURCE and LEDGER_SOURCE as a third dispatch-gates-derivable input.
In-place per this repo's bounded-fix exemption: same file MOUNT_SOURCE
already names (so squarely dispatch-gates-derived for this same diff),
mechanical (a second alternative in one regex plus a same-shape lookup),
held by no other claim, and no new verification surface -- the two new
self-test assertions extend an EXISTING battery's existing coverage of
the existing "the base path is derived" invariant rather than opening a
new one.
Claude-Session: https://claude.ai/code/session_01URLHobLUJB9K1ABV6ofdjj
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments