Skip to content

feat: adopt personal provider sessions - #113

Merged
0thernet merged 5 commits into
mainfrom
codex/session-adoption-parity
Sep 6, 2026
Merged

feat: adopt personal provider sessions#113
0thernet merged 5 commits into
mainfrom
codex/session-adoption-parity

Conversation

@0thernet

@0thernet 0thernet commented Sep 5, 2026

Copy link
Copy Markdown
Member

Summary

Adopt eligible personal Codex and Claude conversations as ordinary HRA sessions, including exact conversation targets of present active or paused Codex Desktop heartbeats outside the ordinary recency window. Adopted sessions receive the same public shape and provider-supported queue, HRA session tasks, Work, autorespond, and approval authority as native sessions.

Codex Desktop retains ownership and execution of its heartbeat. HRA adopts the target conversation without importing schedule metadata or converting the heartbeat into an HRA session task. Standalone Desktop cron tasks have no stable target conversation and do not qualify.

Authority and compatibility

  • Scheduled targeting waives age only. Account, project, liveness, quiescence, collision, and exact-thread checks apply around admission; deletion or retargeting removes the waiver.
  • Exact account, provider generation, connection, thread, and runtime custody fence both controllers. Native and adopted sessions use the same approval policy.
  • Provider deletion atomically terminalizes the session, pauses its active HRA task, and releases the exact personal controller. Late accepted Work receipts cannot resurrect stale attempts.
  • Schema v40 preserves historical v39 authority and upgrades safely under SQLite 3.53 trigger revalidation.
  • Private automation details and adoption provenance remain excluded from CLI and cloud projections.
  • CI provisions sufficient heap for typed ESLint on the expanded project graph.

Validation

  • Final commit: 066296513422f6c6bbecd0eff208283e051e04cb.
  • Full bun run check through the installed host scheduler with NODE_OPTIONS=--max-old-space-size=4096: 2,775 tests passed, plus lint, typecheck, site/app/CLI builds, package inventory, isolated local/global installation, and daemon lifecycle.
  • Fresh macOS, Ubuntu, Required, and CodeQL checks passed.
  • Independent adversarial reviews and focused regressions cover scheduled targets, privacy, migrations, approvals, provider deletion, controller custody, restart, and late Work settlement.

Providers expose no global exclusive lease. Codex uses the accepted ten-minute inactivity inference, and an external client can still race a later resume.

Package release, tagging, and manual activation are outside this change.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
hra Ready Ready Preview Sep 6, 2026 9:45am UTC
1 Skipped Deployment
Project Deployment Actions Updated
hra-app Ignored Ignored Preview Sep 6, 2026 9:45am UTC

Request Review

0thernet added 4 commits September 6, 2026 04:31
Adopt eligible personal Codex and Claude sessions, including exact Codex Desktop heartbeat targets, with native session authority, approvals, autorespond, privacy fencing, recovery, and acceptance coverage.
@0thernet
0thernet merged commit 6f056dc into main Sep 6, 2026
9 checks passed
@0thernet
0thernet deleted the codex/session-adoption-parity branch September 6, 2026 14:46
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