feat(runtime-host): bind OAuth login to Connection entities - #3924
feat(runtime-host): bind OAuth login to Connection entities#3924me2seeks wants to merge 11 commits into
Conversation
bab2ae4 to
c88dd63
Compare
Propagate stop cancellation through legacy adoption and preserve immutable Connection identity across non-model configuration updates. Generated-by: Codex
Keep owner registration synchronous while retaining cancelable queued reservations and release the lane after synchronous executor rejection. Generated-by: Codex
Let AgentRun paths attach and persist cancelled work after stop while keeping no-Run compaction preflight explicitly fenced. Generated-by: Codex
Generated-by: Codex
Carry immutable Connection identity through TUI model selection and make account labels globally unambiguous. Generated-by: Codex
Make interactive OAuth enrollment create or reauthenticate one exact Connection, recover credential and catalog publication durably, and keep Desktop account actions entity-scoped. Generated-by: Codex
c88dd63 to
04dd9c1
Compare
|
Addressed the current hosted The OAuth entity-binding commit is patch-equivalent across the final restack onto #3882. Validation: Storage 995 tests passed with 18 platform skips, Storage typecheck, Biome check, protocol epoch guard (54), and diff-check. Generated-by: Codex |
Astro-Han
left a comment
There was a problem hiding this comment.
I reviewed this head and found no blocking issues.
Binds each interactive OAuth login to an explicit target (create(providerType) or existing(connectionId)) with persistent oauth-login-receipts (monotonic order, attemptId dedup, target↔identity checks), turning silent supersede into operation_conflict; correct identity matching, fail-closed conflict, legacy adoption CAS retry, and onboarding ticket fixing TOCTOU; hosted test+windows_recovery SUCCESS.
No P0-P3.
简体中文
该头无阻断。Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
Summary
create(providerType)orexisting(connectionId)operation_conflictand advance the Runtime Host compatibility epoch from 53 to 54Stack
This is the OAuth entity-binding workstream of #3852 and is stacked after #3882. Review the final commit
c88dd63b1for this PR's isolated change.Closes #3888.
Validation
npm --workspace @maka/core run typechecknpm --workspace @maka/storage run typechecknpm --workspace @maka/runtime-host run typechecknpx tsc -p apps/desktop/tsconfig.main.json --noEmitnode scripts/protocol-epoch-check.mjs --base f1fa3f9c7 --head HEAD(53 -> 54)git diff --check f1fa3f9c7..HEAD