Skip to content

feat(platform): support provider subscription accounts - #4682

Merged
yannickmonney merged 11 commits into
mainfrom
feat/provider-subscription-accounts
Oct 12, 2026
Merged

yannickmonney merged 11 commits into
mainfrom
feat/provider-subscription-accounts

Conversation

@Israeltheminer

@Israeltheminer Israeltheminer commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

OpenAI subscription credentials can store a ChatGPT account ID alongside the access token and pass both values to the credential resolver. The provider catalog declares the field, the credential forms use the localized label, and the EN/DE/FR guides describe the supported task and automation use.

Add nullable account IDs with migration 0201, after main's migration 0200. Refuse account IDs on API-key, environment and broker credentials before database writes. The standalone resolver and the existing knowledge, task and model-API consumers reuse the shared organization adapter to read the provider configuration.

Rebased source bd849857b1ee1d9d16fa8c1fff9862a6256852e7 plus its native gate repairs onto main 18191249c77c37e85b5d68a0a6abc3684ac09115. The resulting tree exactly matches their clean composition. The remaining website/TTS mocks retain the real adapter export, and the CLI's PR/push scope and transit hashes include its newly imported ctx-shim.ts type dependency. The import-graph guards are unchanged.

Fresh validation on final source ff5810d23f3f6b06f9dd59c80f55a7ce584d68e4:

  • 103 focused server tests pass across credential resolution/validation, provider routes, TTS budgets and website scan/resume/usage consumers.
  • All 12 platform-documentation and dependency/cache tests pass using the workspace/CI-pinned Bun 1.4.2, including both guards that failed in hosted Unit.
  • 82/82 real-Postgres checks pass in the selected provider lane, including migration boot, create/list/resolve, account-ID edits, secret redaction and invalid-auth refusals. This is one selected lane, not a full integration run.
  • Full platform type checking after the final mock repairs, changed-file type-aware lint, formatting, manual/conflict/commit/diff checks and normal commit hooks pass.

Earlier UI/schema/adapter and EN/DE/FR documentation validation, including inspection of the guide paragraphs in the running documentation site, remains recorded in this PR's history. This maintenance repair changes no credential UI or guide content.

All seven required source gates and the complete native merge-group checks remain required before landing.

CI companion repair at 5e003bdcf101a0571ff0bc853dfb0d85636ff6c8: the new CLI type-dependency path is also recorded in the generated release admission descriptor and a new whole-source finishing profile. All seven CLI job definitions, conditions, matrices and the verdict closure match main exactly; historical profiles and fail-closed guards remain. The descriptor diff adds only backend/lib/ctx-shim.ts to the push paths. The three exact native workspace failures were reproduced, then the affected 390 CI/contract/refusal tests and full CLI suite passed under Bun 1.4.2 (3,016 passed, 34 skipped, 0 failed across 179 files). CLI types, scoped type-aware lint and commit hooks passed. Existing platform/server/provider-Postgres proof above remains valid; the provider implementation is unchanged by this companion repair. Fresh exact-head native CI is pending. Per .github/RELEASING.md, Ops must review the updated canonical descriptor digest before a release uses this admission shape; this PR does not activate Ops policy or dispatch a release.

@Israeltheminer
Israeltheminer added this pull request to the merge queue Oct 10, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 10, 2026
@yannickmonney
yannickmonney force-pushed the feat/provider-subscription-accounts branch from f74f6b4 to e1d5528 Compare October 11, 2026 04:50
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 11, 2026
@yannickmonney
yannickmonney force-pushed the feat/provider-subscription-accounts branch from e1d5528 to 125ecc1 Compare October 11, 2026 21:31
@yannickmonney
yannickmonney force-pushed the feat/provider-subscription-accounts branch from bd84985 to ff5810d Compare October 11, 2026 23:48
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit acd5dbd Oct 12, 2026
@yannickmonney
yannickmonney deleted the feat/provider-subscription-accounts branch October 12, 2026 03:07
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.

2 participants