feat(#462): add federation capabilities verb #674
Reference in New Issue
Block a user
Delete Branch "feat/federation-m3-verb-capabilities"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
GET /api/federation/v1/capabilitiescontrollerFederationAuthGuardonly (active grant is sufficient; no RBAC eval){ resources, excluded_resources, max_rows_per_query, supported_verbs }from parsed grant scopeFederationModuleRefs #462
Verification
pnpm typecheck— PASSpnpm lint— PASSpnpm format:check— PASSpnpm --filter @mosaicstack/gateway test -- capabilities.controller.spec.ts— PASS (5 tests)~/.config/mosaic/tools/codex/codex-code-review.sh --uncommitted— PASS~/.config/mosaic/tools/codex/codex-security-review.sh --uncommitted— PASSNote
pnpm testcurrently fails locally inapps/gateway/src/__tests__/cross-user-isolation.test.tsdue local PostgreSQL connection/schema state around themessagestable; changed capabilities tests pass. Nofleet-personas.specflake encountered.RETROACTIVE REVIEW-OF-RECORD — APPROVE ON MERITS (#674 FED-M3-07 capabilities). Verified endpoint is FederationAuthGuard-protected, has no RBAC/DB/data query path, and derives resources/excluded_resources/max_rows_per_query/supported_verbs strictly from parsed grant scope / federation verb constants. Reviewer verification: capabilities.controller.spec 5/5 pass; gateway typecheck/lint pass; formatting check pass; PR CI was green at review time.