Skip to content

Integrate Agent hosted handoff and isolated Research Dev desktop - #1105

Merged
AnthonyRonning merged 4 commits into
masterfrom
codex/auth-native-integration
Oct 9, 2026
Merged

AnthonyRonning merged 4 commits into
masterfrom
codex/auth-native-integration

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Agent Dev needs a browser return path that opens the correct client, and Research needs a separate desktop installation for Auth Dev rehearsal. This adds both consumers using the Auth Dev foundation merged in #1103.

  • Agent Dev starts the existing SDK native handoff on auth-dev.maple.ai. A short-lived listener bound to 127.0.0.1 accepts only its state and prepared handoff target, redeems once, and closes on completion, cancellation, replacement or timeout. Auth mints the grant before showing an explicit return link. Production Agent retains its current OAuth flow until a later pilot.
  • Research Dev has its own macOS bundle, storage and callback scheme, fixed Dev endpoints, and no production updater. Add an unsigned build script and PR artifact job; preserve production Research, web sign-in, the SDK pin and existing iOS Dev origin selection.
  • Allow unprivileged validation workflows to run against stacked PR bases. Signing and publication gates are unchanged.

Runner prerequisite #1113 is merged. This PR is refreshed onto master 0d7e4e2b at 79d62d0a; the complete source tree is byte-identical to the previously validated 61b9afeb tree, and all four commits are patch-identical. The additional Research Dev Mac job also uses ARM64 macos-26. The auth implementation was rebased onto current master without behavioral changes: the only conflict combined the existing AuthSite and newly merged Apple fixture counts.

The PR does not edit live provider/backend settings or DNS, distribute a client release, or switch production traffic. Relevant Auth master changes and internal PR previews use the established Dev publisher; production Auth publication remains manual.

Validation at 61b9afeb:

  • 124 Auth tests, formatting, lint and typechecking passed using the existing pinned toolchain.
  • 432 repository hook tests passed, plus focused Research Dev profile, Xcode selection and Agent workflow checks, actionlint and diff checks.
  • Range-diff confirms the original three implementation commits are preserved apart from updated Apple fixture context; the additional commit changes only the Research Dev runner label.
  • Fresh hosted checks are running on the rebased commit. The prior hosted run and cache comparisons are linked in ci: unblock auth rollout validation with standard runners #1113; a Git history refresh does not establish additional runtime evidence. Local native builds were not repeated because of VM disk constraints.

After hosted checks complete, use the new Dev artifacts for Agent/Research browser-return rehearsal. Prior source, unit and build evidence does not establish the new artifacts' live OAuth behavior.

@AnthonyRonning
AnthonyRonning added this pull request to stack #1106 October 8, 2026 08:36
@AnthonyRonning AnthonyRonning changed the title codex/auth native integration Integrate Agent hosted handoff and isolated Research Dev desktop Oct 8, 2026
@AnthonyRonning
AnthonyRonning force-pushed the codex/auth-native-integration branch 2 times, most recently from c34ed3d to 3b1c47c Compare October 8, 2026 19:21
@AnthonyRonning
AnthonyRonning removed this pull request from stack #1106 October 8, 2026 19:24
@AnthonyRonning
AnthonyRonning changed the base branch from codex/auth-dev-foundation to master October 8, 2026 19:24
@AnthonyRonning AnthonyRonning reopened this Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Maple Auth development preview: https://7d00ceb9.maple-auth-dev.pages.dev

Commit: 79d62d0ae14b43b79dd079988aa0098cac24fb58

Uses development services. Cloudflare Access applies. Provider OAuth is not configured for PR URLs; use the stable Auth Dev host for OAuth rehearsal.

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Maple development preview: https://526b64f4.maple-ca8.pages.dev

Commit: 79d62d0ae14b43b79dd079988aa0098cac24fb58

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

Match the existing Research linker setup and reject build-host paths in the packaged executable. The Dev smoke artifact otherwise failed before startup on a Nix libiconv dependency.

Validation: pinned apple-toolchain check passed (10 Xcode and 4 profile tests); shell syntax and diff checks passed. Full flake check and hook environment realization were blocked by local disk exhaustion; hosted CI must complete.
@AnthonyRonning
AnthonyRonning force-pushed the codex/auth-native-integration branch from 61b9afe to 79d62d0 Compare October 9, 2026 06:44
@AnthonyRonning
AnthonyRonning merged commit de44a30 into master Oct 9, 2026
52 checks passed

This branch was successfully deployed

2 active deployments
pages-pr-1105 — 79d62d0a Deployed Oct 9, 2026 by github-actions[bot]
auth-pages-pr-1105 — 79d62d0a Deployed Oct 9, 2026 by github-actions[bot]
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