[BUG] Preserve original live-output reader custody through cleanup #771

Open
opened 2026-11-12 06:03:26 +01:00 by erikinkinen · 0 comments
Owner

Summary

Live-output cleanup follows the current reader list and descriptor fields. Losing those fields can hide an original reader or witness descriptor from the lifetime's retirement proof.

Reproduction

Run a streaming native command, then remove the current output/reader selectors before teardown. The maintained original-custody controls exercise joint selector loss, an unreturned reader open and an unknown witness close.

Expected and actual behavior

Cleanup must follow independently retained original acquisitions, close only those descriptors, and refuse settlement if any original outcome is unknown. The existing cleanup can lose that original roster.

Environment and identity

Integration source at 3d83152206, Linux x86-64 command owner.

Evidence and prior checks

Source review identified the current-list cleanup in command_live_output.py and the missing original-reader duty in command_native_lifetime.py. The fix and maintained fault controls are being reviewed; end-to-end qualification remains open.

Tracking

Part of the native command ownership work for Alpha 1.

## Summary Live-output cleanup follows the current reader list and descriptor fields. Losing those fields can hide an original reader or witness descriptor from the lifetime's retirement proof. ## Reproduction Run a streaming native command, then remove the current output/reader selectors before teardown. The maintained original-custody controls exercise joint selector loss, an unreturned reader open and an unknown witness close. ## Expected and actual behavior Cleanup must follow independently retained original acquisitions, close only those descriptors, and refuse settlement if any original outcome is unknown. The existing cleanup can lose that original roster. ## Environment and identity Integration source at 3d8315220682828f3a61dcafea56e0741ef37d28, Linux x86-64 command owner. ## Evidence and prior checks Source review identified the current-list cleanup in `command_live_output.py` and the missing original-reader duty in `command_native_lifetime.py`. The fix and maintained fault controls are being reviewed; end-to-end qualification remains open. ## Tracking Part of the native command ownership work for Alpha 1.
erikinkinen added this to the Alpha 1 milestone 2026-11-12 06:03:26 +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/integration#771
No description provided.