Skip to content

docs(control): define Pi-native safe pause contract - #257

Closed
627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-161-safe-pause-contract
Closed

627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-161-safe-pause-contract

Conversation

@627150795

Copy link
Copy Markdown
Contributor

Problem

OpenPI has separate cancellation controls, but no contract for a safe pause that stops new provider/tool work across Pi-owned execution paths without pretending that in-flight work or external terminals were frozen.

Value

This gives maintainers and operators precise pause states, receipts, safe boundaries, scope ownership, and a clear distinction from cancel/stop. It prevents an extension-level approximation from making a false global-safety claim.

Approach

Add a focused design contract for Pi-owned gate ownership, requested/partially-parked/fully-parked/resuming states, provider/tool/spawn/completion boundaries, Background Terminal independence, lifecycle edge cases, and the implementation/test gate. No runtime pause flag is added.

Validation

  • git diff --check
  • bun run lint
  • bun run typecheck
  • Runtime pause tests not run because this PR is design-only and records the required Pi seam first.

Impact

  • User-visible behavior: none.
  • Model-visible context/tools: none.
  • Runtime/lifecycle: no change.
  • Persisted config/data: none.
  • Compatibility/risk: docs-only; current per-owner controls remain unchanged.

Addresses #161

@tt-a1i

tt-a1i commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Thank you for preserving this research. We are closing this PR as a source record for the Execution lifecycle consolidation tracked in #277. This is not a finding that the content is wrong. The current queue contains overlapping contracts from one stale base, so we will extract only settled facts and unresolved decisions into at most one successor record, citing this PR explicitly. Please do not spend time rebasing this branch.

@tt-a1i tt-a1i closed this Aug 29, 2026
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.

2 participants