Repository navigation
docs(plans): plan the auth/provider credential refactor (ENG-1066) - #341
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9463cc997b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d785392743
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3205e59701
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Cite each vendor source and clause; give AP2 a lock-path and cross-store serialisation test; include qq-auth in AP3 and state the dependency flow; add a qq-auth request-credential bench for AP5; require per-value redaction and request-shape identity coverage in AP6; widen AP7 to the qq-config ProviderKind and patch variants; add AP8 for provider-neutral OAuth grants before Phase D.
…G-1066) Review of d785392: AP3 amends docs/design/providers.md; AP7 owns the qq-harness plan-size match on HttpCredential; AP8 lets test fakes migrate to the shared grant contract while keeping every scenario and assertion, and leaves the loopback PKCE callback Codex-local.
Review of 3205e59: AP7 names qq-config as the provider table's owner with no new dependency edge, and makes the login-method table drive CLI validation and grant dispatch; AP6 bounds the credential header set and rejects the request-controlled and protocol-owned names static headers already may not use; AP5 requires xAI epoch, expiry and cross-store invalidation regressions; Phase C excludes the Z.ai GLM Coding Plan and the Alibaba Coding Plan on their terms; Vertex ADC leaves Phase D. Also describe AP4 as built and state AP2's direction of waiting.
3205e59 to
9085846
Compare
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9085846b29
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…066) Review of 9085846: AP6 separates credential-owned header names, which a request-time credential may set per its recipe, from immutable ones, and moves the output_token_control capability onto the explicit body-shape field with regressions for both independent combinations; AP7 keeps OAuth audiences only in qq-auth; new AP4b lands both perf fixtures (credential resolution and per-attempt request authorization) before AP5/AP6 so their baseline and candidate share a metric inventory and fixture version.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 847e146753
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Review of 847e146: the outcome separates API-key rows from OAuth providers, whose audience and protocol data stay in qq-auth; AP6 keeps Codex's dynamic x-openai-fedramp header (set and cleared per credential) with a transport regression; AP7 rows declare their accepted patch fields and keep per-row negative parse tests.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bb11e868be
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Review of bb11e86: AP7 keeps the sensitive-section trust digest byte-identical for existing built-in patches, with fixtures; AP6 sends non-secret credential metadata (x-openai-fedramp) without registering it for redaction; AP4b/AP5 add a parallel warm-cache gate so warm xAI resolutions do not serialise behind the cache lock; AP8 derives {provider}.lock, reproducing both legacy names, with a cross-store test for a provider with no legacy file.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
…350) * docs(plans): mark AP0–AP4 shipped and map qq-auth modules (ENG-1066) The ledger records the merge commits for #341 and #343–#347 with their receipt; the plan's pre-AP1 shape section says what AP1–AP4 removed; the architecture source map lists qq-auth's modules (lib, state, backend, oauth, codex, xai) instead of lib.rs alone. * docs(plans): state exactly what AP1–AP4 consolidated (ENG-1066) Review of c183af0: the plan claimed AP1–AP4 removed the per-provider storage duplication, but token clients, stored formats, request-credential providers and error mappings remain for AP5/AP8. The architecture map assigned operation locks to oauth.rs; lib.rs acquires them and state.rs defines the guard.
AP0: plan the auth/provider credential refactor
Spec: docs/plans/auth-providers.md Linear: ENG-1066
Base of a stacked series. Each later PR (AP1–AP4) targets the previous branch and is behaviour-preserving.
What changed
docs/plans/auth-providers.md: current shape, vendor constraints (fetched 2026-10-16), slices AP0–AP7 and later phases.docs/plans/progress/auth-providers.md; index rows in both READMEs.How verified
cargo xtask check
Head
9463cc997b17vsorigin/main; 4 changed file(s); scope: no Rust package affected.cargo fmt --all -- --checkcargo xtask lintAll gates passed in 3.4s.
Compatibility
Decisions needed