Skip to content

feat(config): migrate provider key validation to generated RPC - #498

Merged
athNdev merged 3 commits into
mainfrom
codex/provider-validation-contract
Nov 17, 2026
Merged

athNdev merged 3 commits into
mainfrom
codex/provider-validation-contract

Conversation

@athNdev

@athNdev athNdev commented Nov 17, 2026

Copy link
Copy Markdown
Owner

W18/OSS-337 first family: provider credential validation.\n\n- Generated \ConfigService.ValidateProviderKey\ (proto, Go, TS regenerated with pinned Buf 1.50.0) with settings/read global RBAC mapping and negative authz tests at both RPC and REST seams.\n- Shared \indexers.ValidateProviderKey\ operation preserves soft-result semantics; both the RPC and the legacy /api/v1/settings/validate-key\ adapter delegate to it (ADR-0012 compatibility window).\n- Shared
equireGlobalObject\ policy unifies legacy REST adapters (key validator + node scan): authenticate even in no-auth mode, enforce global object, fail closed on missing dependencies.\n- Raw validator uses \ProtectCredentialsOnRedirect; real cross-port redirect fixture proves credentials are stripped cross-origin and retained same-origin.\n- Console uses the generated rpcClient; API docs and governing knowledge updated.\n\nVerification: affected Go tests -count=1\ all ok, \go vet ./...\ clean, \�uf lint/\�uf breaking\ clean, frontend \�un run check\ 0/0 and \�un run test\ 230 pass. Knowledge-lint -fix + final: 58 concepts, 37/37 queries.

@athNdev
athNdev merged commit 80d6a7d into main Nov 17, 2026
21 checks passed
@athNdev
athNdev deleted the codex/provider-validation-contract branch November 17, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant