[BUG] Correct binding diagnostic transcript ordering and group ordinals #12

Closed
opened 2026-09-30 12:46:37 +02:00 by erikinkinen · 0 comments
Owner

Summary

The binding diagnostic's authored host transcript places supplementary-group append records before authority-source preparation and append records. The maintained producer sends all authority records first, then the groups. The transcript also retains the channel-only group ordinals. This prevents that control from accurately exercising the binding diagnostic.

Reproduction

Source-derived reproduction at Exsh commit 6aadd589b5d247c6f9c00183210bf58aba5a7ed2: compare src/runtime/launch_transport/realm_clients_probe.rs::configure_reserved with src/runtime/launch_transport/realm_binding_probe_tests.rs::transcript. The producer calls append_sources before append_groups; the transcript copies group appends from the channel-only sequence and injects sources only when it reaches the later freeze request. Group ordinals must also include the twenty preceding authority records.

No test command was executed. Reproduction frequency, clean-checkout execution and exit output are unmeasured because testing is currently deferred by user instruction.

Expected and actual behavior

Expected: the independently authored transcript presents the exact canonical client, descriptor, channel, authority and group order, while preserving all original ownership and failure controls. Actual source: groups appear before the authority section and retain ordinals that omit it. A literal request comparison would therefore disagree with the maintained producer; that execution outcome is an inference from the source, not a reported test run.

Environment and identity

  • Component repository/revision and Integration source graph: Exsh 6aadd589b5d247c6f9c00183210bf58aba5a7ed2, Integration 44f09ab3324a7cd86fc4002dfab1089775904eca.
  • Image profile, digest and build/runtime configuration: authored host fixture; no image built for this finding.
  • Hardware or VM, architecture, firmware and toolchain versions: no runtime execution involved.
  • Input/session route and granted authority relevant to reproduction: scripted original Launchd request boundary; no new native authority.
  • Last known working revision: unknown.

Evidence and prior checks

The conflicting call and insertion order is visible in the two source functions above. Repair the ordering and full counted group offsets, retaining independent literal assertions and source-provenance comments. Add an ordering control. Tests and CI remain unrun/unobserved under the user's execution waiver.

Tracking

Resolved in Exsh 165f2613. The literal transcript now emits authorities before groups with consecutive original ordinals; the added ordering control and migrated call counts are authored and unrun. Source publication is complete. Testing and CI execution are waived, with no executed reproduction or pass claimed.

Related to bounded pipe rollout and the existing Exsh compatibility PR. The source repair is signed and published; deferred test execution is not an acceptance gate.

## Summary The binding diagnostic's authored host transcript places supplementary-group append records before authority-source preparation and append records. The maintained producer sends all authority records first, then the groups. The transcript also retains the channel-only group ordinals. This prevents that control from accurately exercising the binding diagnostic. ## Reproduction Source-derived reproduction at Exsh commit `6aadd589b5d247c6f9c00183210bf58aba5a7ed2`: compare `src/runtime/launch_transport/realm_clients_probe.rs::configure_reserved` with `src/runtime/launch_transport/realm_binding_probe_tests.rs::transcript`. The producer calls `append_sources` before `append_groups`; the transcript copies group appends from the channel-only sequence and injects sources only when it reaches the later freeze request. Group ordinals must also include the twenty preceding authority records. No test command was executed. Reproduction frequency, clean-checkout execution and exit output are unmeasured because testing is currently deferred by user instruction. ## Expected and actual behavior Expected: the independently authored transcript presents the exact canonical client, descriptor, channel, authority and group order, while preserving all original ownership and failure controls. Actual source: groups appear before the authority section and retain ordinals that omit it. A literal request comparison would therefore disagree with the maintained producer; that execution outcome is an inference from the source, not a reported test run. ## Environment and identity - Component repository/revision and Integration source graph: Exsh `6aadd589b5d247c6f9c00183210bf58aba5a7ed2`, Integration `44f09ab3324a7cd86fc4002dfab1089775904eca`. - Image profile, digest and build/runtime configuration: authored host fixture; no image built for this finding. - Hardware or VM, architecture, firmware and toolchain versions: no runtime execution involved. - Input/session route and granted authority relevant to reproduction: scripted original Launchd request boundary; no new native authority. - Last known working revision: unknown. ## Evidence and prior checks The conflicting call and insertion order is visible in the two source functions above. Repair the ordering and full counted group offsets, retaining independent literal assertions and source-provenance comments. Add an ordering control. Tests and CI remain unrun/unobserved under the user's execution waiver. ## Tracking Resolved in [Exsh `165f2613`](https://git.erikinkinen.fi/erix/exsh/commit/165f26134165b34c9cbe55e98999435f41b95253). The literal transcript now emits authorities before groups with consecutive original ordinals; the added ordering control and migrated call counts are authored and unrun. Source publication is complete. Testing and CI execution are waived, with no executed reproduction or pass claimed. Related to [bounded pipe rollout](https://git.erikinkinen.fi/erix/posixd/issues/24) and the existing [Exsh compatibility PR](https://git.erikinkinen.fi/erix/exsh/pulls/3). The source repair is signed and published; deferred test execution is not an acceptance gate.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:33:49 +01:00
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/exsh#12
No description provided.