Skip to content

feat(sessions): persist immutable execution routes - #40

Merged
darwin67 merged 8 commits into
mainfrom
rfd-5-phase-3-route-snapshots
Sep 13, 2026
Merged

darwin67 merged 8 commits into
mainfrom
rfd-5-phase-3-route-snapshots

Conversation

@darwin67

@darwin67 darwin67 commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

Summary

  • snapshot the selected provider, model, integration, and credential generation per turn
  • persist capability contracts and enforce the durable route during execution
  • gate route changes through compatibility checks and queue approved transitions
  • reject unapproved route records and normalize replay across accepted routes

Stack

Verification

  • covered by the Phase 3 stack's passing DATABASE_PORT=5432 mix precommit run

@github-actions github-actions Bot added the feat label Sep 12, 2026
@darwin67
darwin67 force-pushed the rfd-5-phase-3-route-snapshots branch from 88a2bf7 to 2a2d14a Compare September 13, 2026 00:01
Base automatically changed from rfd-5-phase-3-oauth-refresh to rfd-5-phase-3-device-auth September 13, 2026 00:01
@darwin67
darwin67 force-pushed the rfd-5-phase-3-device-auth branch from a561e00 to 3abf793 Compare September 13, 2026 00:02
darwin67 added a commit that referenced this pull request Sep 13, 2026
## Summary
- claim, poll, and complete ChatGPT device authorization through durable
generation-fenced transitions
- add ChatGPT subscription accounts and the device authorization UI
- lease and coordinate OAuth refresh, normalize rotated credentials, and
refresh just in time for inference
- validate subscription access and provide actionable reconnect guidance
- simplify authorization boundaries so this provider-integration layer
is independently lint-clean

## Stack
1. **This PR** — ChatGPT device authorization and OAuth refresh
2. #40 — immutable execution-route snapshots
3. #41 — invocation admission hardening
4. #42 — final concurrency and UX hardening

## Verification
- covered by the Phase 3 stack's passing `DATABASE_PORT=5432 mix
precommit` run

---------

Co-authored-by: Darwin Wu <tough.pasta0068@wunli88.com>
Base automatically changed from rfd-5-phase-3-device-auth to main September 13, 2026 06:20
@darwin67
darwin67 force-pushed the rfd-5-phase-3-route-snapshots branch from 2a2d14a to 925c393 Compare September 13, 2026 06:22
@darwin67
darwin67 merged commit e6650e8 into main Sep 13, 2026
17 checks passed
@darwin67
darwin67 deleted the rfd-5-phase-3-route-snapshots branch September 13, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant