TokenPak

Release

TokenPak v1.14.0

v1.14.0 · Jul 24, 2026

Minor release: verified Codex contention recovery with typed diagnostics, fail-closed eligibility, truthful temporary-lineage receipts, and a restored health compatibility contract.

Added

  • Verified-contention recovery for tokenpak codex. When another Codex process is confirmed to hold the shared local history, an interactive launch can start a temporary session with a new history lineage. The prompt defaults to refusal and is never offered to CI, non-interactive launches, incomplete diagnostics, permission/storage errors, corruption, or unknown failures.
  • Typed preflight evidence and policy decisions. Launcher diagnostics now distinguish clear, live-holder, stopped-holder, last-verified-live timeout, incomplete inspection, permission/storage failure, cancellation, corruption, and unknown failure outcomes. The five additive launcher types are retained as public beta API symbols and captured by the generated API snapshot.
  • Temporary-lineage accounting evidence. Codex accounting receipts can additively report the original preflight result, fallback eligibility and outcome, selected session class, continuity mode, prior-history attachment, and the bridge policy version under tokenpak_setup. Existing receipt fields and meanings are unchanged.
  • Provider-neutral first-receipt path. tokenpak codex can route an already-authenticated Codex OAuth session through a healthy local proxy while preserving the client's selected/default model. API keys and explicit model overrides remain optional client-specific alternatives.

Fixed

  • Contention no longer exposes a technical recovery command as the ordinary UX. Interactive users receive a consequence-oriented choice after verified contention while the original safe refusal remains the default.
  • Fallback failures preserve the original diagnosis. Selection or provisioning failure records both outcomes and exits through the original refusal rather than silently choosing another session location.
  • Queued monitor writes honor their target database. The process-global telemetry writer now switches its guarded SQLite connection when queued work targets another monitor database, preventing cross-instance, recovery-tool, and test traffic from being committed to the previous database.
  • Responses routing distinguishes OAuth from API keys. OAuth /v1/responses traffic is rewritten to the ChatGPT Codex backend, while Bearer sk-... Responses traffic remains on the OpenAI API endpoint. Native zstd request entities are decoded before safe processing, and protected system/developer policy is never capsulized.
  • /health compatibility is explicit. The canonical endpoint returns one documented, uncached basic schema on every request; ?deep=true adds bounded diagnostics. The deprecated route-mixin payload and one-second cache remain available for one compatibility window instead of changing silently.
  • Health performance checks distinguish startup from steady state. Cold listener admission and first-health observations are recorded separately from the blocking warmed 100-requests-per-second check, preventing startup backlog from being mislabeled as sustained endpoint latency. The warmed gate retains full latency vectors, host telemetry, and fail-closed provenance.
  • Strict typing and generated-surface provenance are enforced. Runtime, CLI, proxy, telemetry, vault, and SDK boundaries now pass the strict type baseline, while public API snapshots are generated from and correlated to the declared source checkout.

Compatibility

  • Breaking changes: none. Existing launch defaults, environment overrides, non-interactive behavior, shared-history refusal semantics, and the supported basic /health response remain valid.
  • Deprecations: none.
  • Migration: none. Existing TokenPak and Codex configuration files require no changes.
  • Version note: v1.13.1 was never released; v1.14.0 is the next published candidate after v1.13.0.

Known limitation

The temporary session does not attach the prior shared Codex history and is not the future broker-managed parallel-continuity architecture. Normal later launches return to the governed shared lineage.

Upgrade

pip install --upgrade tokenpak==1.14.0

Rollback

pip install tokenpak==1.13.0

No TokenPak-home cleanup is required. A temporary Codex history created by v1.14.0 remains retention-managed and does not replace the shared lineage.