auth/all_action_spec_registries.ts

Canonical list of every fuz_auth action-spec registry โ€” for cross-cutting walkers and codegen only. Not a mounting surface; consumers continue to import individual all_*_action_specs bundles (and create_*_actions factories) per registration site.

The "one main bundle" alternative is an antipattern for mounting: create_standard_rpc_actions (admin + role_grant_offer + account) is the canonical surface, and opt-in registries (self_service_role, actor_lookup) are deliberately opt-in because their eligibility (eligible_roles) or coverage (byline labels) is app-specific. Spreading everything into a single mount would silently widen the dispatch surface the moment a new opt-in landed โ€” the exact failure mode this module is built to detect, not propagate. See ./CLAUDE.md ยงRPC actions (standard_rpc_actions.ts).

Use cases for this registry:

- Cross-registry walker tests (input-invariants, auth-shape biconditional) โ€” iterate the spec arrays once, fail when a new registry slips by without an entry here. - Codegen that needs to see every fuz_auth surface at once (typed-client filters, attack-surface reports). For typed-client wiring of the standard surface, prefer all_standard_action_specs in auth/standard_action_specs.ts โ€” it mirrors the create_standard_rpc_actions mount and stays narrower than this registry-of-registries (no opt-in bundles).

protocol_action_specs (heartbeat / cancel) is not included โ€” those are transport-level wire-protocol concerns shipped by fuz_app and spread by every consumer at registration via protocol_actions from actions/protocol.ts. Walker tests that need protocol coverage spread protocol_action_specs separately.

Declarations
#

2 declarations

view source

all_fuz_auth_action_spec_registries
#

auth/all_action_spec_registries.ts view source

readonly FuzAuthActionSpecRegistry[]

Every fuz_auth action-spec registry, in dependency-stable order.

Update this list when a new fuz_auth registry lands. The walker tests (action_spec_input_invariants.test.ts, all_action_spec_registries.acting_biconditional.test.ts) iterate over it โ€” a missing entry silently skips coverage, which is the failure mode the registry-of-registries shape exists to prevent.

FuzAuthActionSpecRegistry
#

auth/all_action_spec_registries.ts view source

FuzAuthActionSpecRegistry

One named entry in the registry-of-registries.

name

Stable identifier matching the source bundle name ('admin', 'role_grant_offer', etc.).

type string

specs

The bundle's spec array โ€” kept readonly here even when the source declares it mutable.

type ReadonlyArray<RequestResponseActionSpec>

Depends on
#