[BUG] Native factory delivery fixture retains the previous realm rights #53

Closed
opened 2026-10-12 22:26:00 +02:00 by erikinkinen · 1 comment
Owner

Summary

The native factory delivery fixture still uses the previous realm role after
the shared ABI adds narrow initial-result retirement. Kernel's original CI
fails its source-mask assertion before checking delivery and replay behavior.

Reproduction

Check out Kernel 4db2ec61e5305d9fd806a0e6693d9b1c3a419763 and run
cargo test --lib original_factory_result_narrows_to_read_mint_and_rejects_redelegation_and_replay.
Its Cargo manifest selects LibCapABI
356d6702ac9676358305413dbb902eb3f6a8a6d9.

Expected and actual behavior

The realm-role control should independently assert source READ/WRITE/MINT/GRANT
(0xc03) and recipient READ/WRITE/MINT (0x803), as specified by the
native lifecycle design.
Instead, it retains the old 0xc01/0x801 literals and fails at
src/kobj/endpoint/invocation/tests/native_carriers.rs:289.
Unrelated generic factory requests and existing VM masks keep their own roles.

Environment and identity

This is the original hosted Kernel unit workflow on the selected signed
component graph, before native VM execution. The previous compatible Kernel
library graph passed; the stale expectation appears when the new realm-role
ABI is selected. No runtime grant or cleanup behavior is inferred from this
fixture failure.

Evidence and prior checks

The original failed CI run
records 1,122 passed, one failed and three ignored tests, with no compiler
warning. The failure is retained separately from the native implementation's
new departure and retirement controls.

Tracking

Phase 6,
native lifecycle and
Kernel implementation.
Update the intended realm-role fixture and its name while retaining independent
literal masks, delivery/replay refusals and every unrelated authority oracle.

## Summary The native factory delivery fixture still uses the previous realm role after the shared ABI adds narrow initial-result retirement. Kernel's original CI fails its source-mask assertion before checking delivery and replay behavior. ## Reproduction Check out Kernel `4db2ec61e5305d9fd806a0e6693d9b1c3a419763` and run `cargo test --lib original_factory_result_narrows_to_read_mint_and_rejects_redelegation_and_replay`. Its Cargo manifest selects LibCapABI `356d6702ac9676358305413dbb902eb3f6a8a6d9`. ## Expected and actual behavior The realm-role control should independently assert source READ/WRITE/MINT/GRANT (0xc03) and recipient READ/WRITE/MINT (0x803), as specified by the [native lifecycle design](https://git.erikinkinen.fi/erix/kernel/issues/52). Instead, it retains the old 0xc01/0x801 literals and fails at `src/kobj/endpoint/invocation/tests/native_carriers.rs:289`. Unrelated generic factory requests and existing VM masks keep their own roles. ## Environment and identity This is the original hosted Kernel unit workflow on the selected signed component graph, before native VM execution. The previous compatible Kernel library graph passed; the stale expectation appears when the new realm-role ABI is selected. No runtime grant or cleanup behavior is inferred from this fixture failure. ## Evidence and prior checks The [original failed CI run](https://git.erikinkinen.fi/erix/kernel/actions/runs/894) records 1,122 passed, one failed and three ignored tests, with no compiler warning. The failure is retained separately from the native implementation's new departure and retirement controls. ## Tracking [Phase 6](https://git.erikinkinen.fi/erix/integration/issues/65), [native lifecycle](https://git.erikinkinen.fi/erix/kernel/issues/52) and [Kernel implementation](https://git.erikinkinen.fi/erix/kernel/pulls/3). Update the intended realm-role fixture and its name while retaining independent literal masks, delivery/replay refusals and every unrelated authority oracle.
Author
Owner

Fixed the independent realm factory masks at a5693bed1067ac4643dadf6461d7a6c2dec08250: the source expects 0xc03 and the recipient expects 0x803. Generic factory masks are unchanged. The original failing run is retained; run 896 passes on the correction.

Fixed the independent realm factory masks at `a5693bed1067ac4643dadf6461d7a6c2dec08250`: the source expects `0xc03` and the recipient expects `0x803`. Generic factory masks are unchanged. The original failing run is retained; [run 896](https://git.erikinkinen.fi/erix/kernel/actions/runs/896) passes on the correction.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:30 +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/kernel#53
No description provided.