Complete the terminal attribute provider contract used by POSIX consumers #190

Closed
opened 2026-11-12 18:44:55 +01:00 by erikinkinen · 1 comment
Owner

Summary

The selected terminal IPC provider omits operations and constants already consumed by the POSIX codec and terminal library, so these branches cannot compile together.

Reproduction

Build lib-posixabi at dca75931a1d8e24afe104fc54f04e39090891f4e with the independently-granted-terminal-attributes provider profile. Its test job fails with E0599 for FlushInput, DrainOutput, Break and other terminal operations. Building lib-tty at 04250c4f0b19dec233e8e85539ea0615cc18d488 against that IPC provider also reports E0425 for the control-character and CS8/CREAD assignments.

Expected and actual behavior

Providers and consumers must share one complete framing contract. Existing grants must retain their meaning: queue discard, drain, flow control and physical break need independent rights, and combined operations require both rights. Invalid durations and inactive fields must be rejected before output mutation.

Currently the IPC provider exposes only observation and immediate replacement; the consumers use a broader interface. This report concerns compilation and framing. It does not establish native provider support for the added effects.

Environment and identity

  • Components: lib-ipc 5934d8e8be, lib-posixabi and lib-tty revisions above.
  • Configuration: component host CI using explicitly selected companion sources.
  • Platform: x86-64 Linux host; no guest image involved.
  • Authority: no native terminal capability is needed to reproduce the compile errors.
  • Last known working provider/consumer pair: not established.

Evidence and prior checks

Selecting the attribute provider resolves the missing base type but reproduces missing constants and operations locally. Updating unrelated provider revisions alone does not complete the contract.

Tracking

Related consumers: lib-posixabi #74, lib-tty #14 and #15.

## Summary The selected terminal IPC provider omits operations and constants already consumed by the POSIX codec and terminal library, so these branches cannot compile together. ## Reproduction Build lib-posixabi at `dca75931a1d8e24afe104fc54f04e39090891f4e` with the `independently-granted-terminal-attributes` provider profile. Its test job fails with E0599 for `FlushInput`, `DrainOutput`, `Break` and other terminal operations. Building lib-tty at `04250c4f0b19dec233e8e85539ea0615cc18d488` against that IPC provider also reports E0425 for the control-character and CS8/CREAD assignments. ## Expected and actual behavior Providers and consumers must share one complete framing contract. Existing grants must retain their meaning: queue discard, drain, flow control and physical break need independent rights, and combined operations require both rights. Invalid durations and inactive fields must be rejected before output mutation. Currently the IPC provider exposes only observation and immediate replacement; the consumers use a broader interface. This report concerns compilation and framing. It does not establish native provider support for the added effects. ## Environment and identity - Components: lib-ipc `5934d8e8be`, lib-posixabi and lib-tty revisions above. - Configuration: component host CI using explicitly selected companion sources. - Platform: x86-64 Linux host; no guest image involved. - Authority: no native terminal capability is needed to reproduce the compile errors. - Last known working provider/consumer pair: not established. ## Evidence and prior checks - [lib-posixabi CI 840](https://git.erikinkinen.fi/erix/lib-posixabi/actions/runs/840) - [lib-tty CI 296](https://git.erikinkinen.fi/erix/lib-tty/actions/runs/296) Selecting the attribute provider resolves the missing base type but reproduces missing constants and operations locally. Updating unrelated provider revisions alone does not complete the contract. ## Tracking Related consumers: [lib-posixabi #74](https://git.erikinkinen.fi/erix/lib-posixabi/pulls/74), [lib-tty #14](https://git.erikinkinen.fi/erix/lib-tty/pulls/14) and [#15](https://git.erikinkinen.fi/erix/lib-tty/pulls/15).
erikinkinen added this to the Alpha 1 milestone 2026-11-12 18:44:55 +01:00
Author
Owner

The complete framing contract is implemented in #191, with independent effect rights and unchanged legacy grants. Integration #777 supplies the matching consumer profiles. The IPC, terminal and POSIX unit suites and strict Clippy pass together locally; the consumer branches have been pushed for their full CI checks.

The complete framing contract is implemented in [#191](https://git.erikinkinen.fi/erix/lib-ipc/pulls/191), with independent effect rights and unchanged legacy grants. [Integration #777](https://git.erikinkinen.fi/erix/integration/pulls/777) supplies the matching consumer profiles. The IPC, terminal and POSIX unit suites and strict Clippy pass together locally; the consumer branches have been pushed for their full CI checks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/lib-ipc#190
No description provided.