auth/token_scope.ts view source
(value: string): value is "db_admin" | "fact_bare" | "audit_stream" | "ws_upgrade" import {is_token_surface} from '@fuzdev/fuz_app/auth/token_scope.js'; Is value one of the surfaces the spine mounts?
Membership, not well-formedness — parse_token_scope_capability is the format check the guard resolver runs on a declaration, and it is deliberately looser. Used where the *spine's* own surfaces are the question: the direct-call denial helpers, and the census assertion that fuz_app declares no surface it doesn't mount.
value
stringreturns
boolean