Skip to content

docs(runtime): define package-wide admission leases - #265

Closed
627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-159-admission-lease
Closed

627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-159-admission-lease

Conversation

@627150795

Copy link
Copy Markdown
Contributor

Problem

Direct Subagents, Workflow runs, and Background Terminals enforce local limits independently, but OpenPI has no shared fact for package-wide model, process, worktree, or artifact usage.

Value

Define a shared admission lease boundary without merging owner managers or introducing a global scheduler.

Approach

  • Add docs/design/PACKAGE_WIDE_ADMISSION_LEASE_CONTRACT.md.
  • Define lease identity, atomic acquire/reject, release, cancellation, owner loss, configuration shrink, fairness, and bounded diagnostics.
  • Preserve each owner lifecycle, local limits, cancellation policy, artifacts, and user-facing result.
  • Keep the first step design-only; do not add a runtime governor or change current limits.

Validation

  • git diff --check
  • bun run lint
  • bun run typecheck

Impact

Documentation only. This is a focused design slice for #159 and does not implement a package-wide scheduler.

Addresses #159

@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 Capability, authority, and resources 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 boundaries 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