Repository navigation
GEN-2922: move run credential proxy into Factorize with vendor identity - #404
Merged
Merged
Conversation
…nnect revocations
asselstine
marked this pull request as ready for review
November 17, 2026 16:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run-owned exe.dev and Fly VMs now reach Factorize's API and selected upstream credentials through the existing backend. Fresh vendor signatures are bound to the exact VM, active run, tenant and owner session. Selected credential IDs and API scopes remain fixed for that run; cancellation, terminal state and disconnect revoke access.
This removes the standalone proxy service/image, guest bearer credentials, certificate tunnel, browser pairing/capabilities and user-held unlock flows. Factorize encrypts bearer/model credentials server-side, supports owner-only ChatGPT device login and API-key replacement, refreshes credentials centrally, and reuses the existing GitHub App and Linear connections. Forwarding supports streaming, GitHub API Bearer versus Git smart-HTTP Basic, raw/archive routes, Linear and models.
Migration 0052 is a breaking cutover. The plan/apply preparation script requires drained runs, preserves managed records and execution connections/configuration, tombstones unreadable user ciphertext, and disables affected jobs without changing their selections. Missing selections stay visible for explicit owner repair. Follow
packages/docs/self-hosting/credential-cutover.mdxbefore deploying; no production migration or deployment was performed.Validation on final application code
cc5ae0e: cleannpm ci, Node 24.12.0/npm 11.19.0, and completenpm run test:local/ rootnpm testpassed every lane: 670 backend tests (5 skipped), compiled static integration, 6 functional browser tests, 94 browser unit checks (1 skipped), protocol checks and both Docker E2E tests. The final commit only updates the completion ledger.Live checks separately provisioned actual exe.dev/Fly guests, verified real vendor signatures and exact persisted VM/run bindings, exercised selected HTTPS egress, denied unselected credentials and broader API scopes, and returned 401 after cancellation. All temporary run VMs, Fly apps and WIF integrations were removed. Git/Linear/model authentication, refresh, streaming, rotation and durable revocation are fixture evidence, not claimed live account consent.
See
docs/gen-2922-progress.mdfor the completed acceptance checklist, resource IDs, evidence limits and superseded work.