Skip to content

Preserve OpenShell binding and jobs across acknowledged admission renewal - #1199

Merged
PurpleCHOIms merged 2 commits into
mainfrom
fix/openshell-renewal-identity-20261115
Nov 15, 2026
Merged

PurpleCHOIms merged 2 commits into
mainfrom
fix/openshell-renewal-identity-20261115

Conversation

@PurpleCHOIms

Copy link
Copy Markdown
Member

When a trusted host acknowledges a successor before the old receipt expires, OpenShellSandbox currently rejects the next operation even when its explicit renewal callback is configured. Its expired-receipt path can also replace the captured policy or execution identity with a callback result before independently observing that result.

Accept an expiry successor only through the explicit trusted callback, retaining binding ID, sandbox, workspace, runtime generation, approval hash, effective policy hash and readiness. Observe the exact current receipt again before committing it. Unknown/invalid renewal keeps the old receipt, closes this client and cannot be replayed by a later operation. Per-backend locking serializes concurrent callers while preserving the backend and background job tracker.

Compatibility: callbacks must expose the acknowledged successor through current_admission before returning. No API signature, dependency lock, version, provider selection or direct-HTTP fallback changes.

Validation:

  • Thirteen new regressions fail against the unchanged main runtime class; no working-tree source is reverted.
  • 251 backend/SDK host-surface cases pass with locked OpenShell 0.1.6; the same 251 pass with exact-hash OpenShell 0.1.7.
  • Full non-live suite: 6,320 passed, 9 explicitly unqualified skips, process exit 0.
  • Required make ci-lint (UV_NO_SYNC=1 after frozen dependency setup): Ruff/format pass, 889 typed files, 0 errors and 924 reported warnings.
  • No live provider/kernel or release qualification is claimed. GitHub Actions are not counted as passed.

Verification and limits
CHAGELOG.md

@PurpleCHOIms
PurpleCHOIms merged commit e03451d into main Nov 15, 2026
25 checks passed
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