WIP: Compile PTY observation only for its actual callers #121

Draft
erikinkinen wants to merge 10 commits from feature/restricted-heap-terminal-controls into feature/explicit-heap-clock-sources
Owner

Prepare restricted STATE and RESIZE views from the actual PTY and separate lifecycle source, leave the peer without terminal authority and emit verification only after complete client and realm retirement.

Depends on #119 (feature/explicit-heap-clock-sources).

  • Separate this feature from the preceding changes.
  • Link matching provider PRs and complete integrated acceptance.

Also depends on Exsh#117 and Exsh#120, retained through normal dependency merges. Requires lib-ipc#166. Native PTY delivery, peer confinement and retirement-gated guest execution remain open.

Prepare restricted STATE and RESIZE views from the actual PTY and separate lifecycle source, leave the peer without terminal authority and emit verification only after complete client and realm retirement. Depends on #119 (`feature/explicit-heap-clock-sources`). - [x] Separate this feature from the preceding changes. - [ ] Link matching provider PRs and complete integrated acceptance. Also depends on [Exsh#117](https://git.erikinkinen.fi/erix/exsh/pulls/117) and [Exsh#120](https://git.erikinkinen.fi/erix/exsh/pulls/120), retained through normal dependency merges. Requires [lib-ipc#166](https://git.erikinkinen.fi/erix/lib-ipc/pulls/166). Native PTY delivery, peer confinement and retirement-gated guest execution remain open.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 23:35:03 +01:00
Require the reserved ordinary child receiver before live capability queries. Keep complete installed inventory and descriptor ownership validation, distinguishing child placement from source receipts and POSIX descriptor numbers.
Check the exact invalid-bound-endpoint error while retaining the zero-query assertion. Successful native startup proofs remain non-comparable ownership evidence.
build: Declare the diagnostic lifecycle prerequisite
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 19s
CI / rust (push) Failing after 2m1s
59abc072c2
Keep the existing owner-loss helper explicit about its required session lifecycle sender when adopting the ordinary receiver ABI. The declaration adds no new route or diagnostic behavior.
Prepare STATE and RESIZE views only from the actual PTY stream and separate original lifecycle source, leaving the peer without terminal control authority. Preserve typed source correlation, complete client and realm retirement, and the native consumer predicate before emitting the terminal verification marker.
test: Require exact ordered help prefix synopses
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 26s
CI / rust (push) Failing after 2m37s
d499a16224
Require both supported trap forms followed by true for the tr selector. Reject missing, duplicated, reordered or trailing output while preserving the existing help registry and formatter.
Compose the published ordinary receiver admission contract with the terminal workload. Preserve both independent documentation contracts and the exact existing lifecycle declaration; add no new source or authority route.
Keep the published complete ordered prefix-output oracle with the existing native workload source. Runtime help behavior and registry data remain unchanged.
fix: Compile PTY observation only for its actual callers
Some checks failed
CI / markdown (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / markdown (push) Successful in 19s
CI / rust (push) Failing after 1m55s
3adee39353
Use the union of the binding diagnostic and native terminal probe predicates for the original PTY observer. Preserve every reachable caller and host control while excluding the unused helper from the pipe-only host profile; no warning suppression or runtime behavior change is needed.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 42s
CI / markdown (push) Successful in 16s
6c9f0646be
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare policy helper and output boundaries
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 17s
CI / rust (push) Failing after 4m9s
abdfb14c1e
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 17s
CI / rust (push) Failing after 4m9s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/restricted-heap-terminal-controls:feature/restricted-heap-terminal-controls'
git switch 'feature/restricted-heap-terminal-controls'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/explicit-heap-clock-sources'
git merge --no-ff 'feature/restricted-heap-terminal-controls'
git switch 'feature/restricted-heap-terminal-controls'
git rebase 'feature/explicit-heap-clock-sources'
git switch 'feature/explicit-heap-clock-sources'
git merge --ff-only 'feature/restricted-heap-terminal-controls'
git switch 'feature/restricted-heap-terminal-controls'
git rebase 'feature/explicit-heap-clock-sources'
git switch 'feature/explicit-heap-clock-sources'
git merge --no-ff 'feature/restricted-heap-terminal-controls'
git switch 'feature/explicit-heap-clock-sources'
git merge --squash 'feature/restricted-heap-terminal-controls'
git switch 'feature/explicit-heap-clock-sources'
git merge --ff-only 'feature/restricted-heap-terminal-controls'
git switch 'feature/explicit-heap-clock-sources'
git merge 'feature/restricted-heap-terminal-controls'
git push origin 'feature/explicit-heap-clock-sources'
Sign in to join this conversation.
No description provided.