Skip to content

Standardize optional Session runtime projection - #987

Merged
luokerenx4 merged 1 commit into
devfrom
codex/universal-session-runtime-projection
Aug 5, 2026
Merged

Standardize optional Session runtime projection#987
luokerenx4 merged 1 commit into
devfrom
codex/universal-session-runtime-projection

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

What changed

  • Make a missing legacy Session runtime binding upgrade to explicit native-runtime ownership instead of adopting the Workspace's current provider.
  • Keep credential, model, and effort independent optional launch values and project them through every Agent adapter activation path.
  • Fix Quick Chat's login-backed provider switch so the selected credential contributes its own model/effort rather than the previous Workspace model.
  • Carry the same atomic selection through Workspace Manager and update launch ownership copy to state that Workspace files remain unchanged.
  • Add cross-adapter, route, UI, and legacy-resume regression coverage; update the owner guide and completed execution plan.

Root cause

Login-backed runtimes used a UI resolver branch that always preferred detected Workspace metadata, even after the user explicitly selected another credential. Separately, legacy resume identities without a persisted binding were reconstructed from mutable Workspace files during resume/WebPi/headless activation, so their effective provider could change after Session creation.

Impact

New and resumed Sessions now have stable, truthful process-level runtime inputs. A native binding may omit OpenAlice credentials entirely while still carrying model/effort overrides, and remembered explicit provider choices stay visible and are submitted atomically.

Verification

  • npx tsc --noEmit
  • pnpm -C ui exec tsc -b
  • 151 focused Session/runtime/UI route tests
  • Workspace Issue/scheduling focused suite
  • Managed-runtime and desktop-package focused suites
  • Full pnpm test: 3946 tests executed; nine unrelated parallel-load timeouts, all nine passed on immediate focused rerun (49/49)
  • Real pnpm dev browser walk: GLM Workspace -> DeepSeek shows deepseek-v4-flash, Session-only ownership copy, and matching Manager model/effort
  • CSC_IDENTITY_AUTO_DISCOVERY=false pnpm electron:smoke:workspace (packaged managed-Pi scheduled Issue acceptance passed and cleaned up)

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview Aug 5, 2026 2:04am

Request Review

@luokerenx4
luokerenx4 merged commit b192c76 into dev Aug 5, 2026
11 of 12 checks passed
@luokerenx4
luokerenx4 deleted the codex/universal-session-runtime-projection branch August 5, 2026 02:04
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