Skip to content

test(mvm): retain custody after final store removal refuses - #311

Merged
Casey-allard merged 3 commits into
mainfrom
codex/installed-store-final-unlink-controls
Nov 16, 2026
Merged

Casey-allard merged 3 commits into
mainfrom
codex/installed-store-final-unlink-controls

Conversation

@Casey-allard

@Casey-allard Casey-allard commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

A real installed-store directory-removal refusal after codec cleanup unlinks the owner filename must retain the original inode lock, child/lease and all booked charges in quarantine. Restoring fixture permissions must not return credit or reopen admission.

The native consumer workflow preserves the original fourteen controls and their order, including the destruction-before-credit assertion. It appends one explicitly selected unprivileged control and requires fifteen nonzero passes plus the exact refusal event. A root actor fails. Deadlines, security checks and --locked remain unchanged.

Consumers select published MVM cc2ed208a7b1adde7fa1f075bbfff2428f911e18 (tree 52e3463526c94a5941a16fa187158fd630c258bd), on canonical 2b1cd835, with reviewed SpiralCore 8994951b. The ADR-061 framing reconciliation moves the two existing contributor helper bodies byte-for-byte to core and retains the hostd facade. Four compatibility controls cover bytes, caps and validation before typed parsing. The cc2 successor corrects only native metadata comparison types in the new test, preserving device/inode identity without casts.

Reviewed head: 35efbb610e291c985fc16569f8ec8b6e3030bd98. Its tree ff95d48508419daa17f9f6bace0e8a6dea15b162 equals successful CI merge 40575540.

Validation:

  • All 35 executed exact-head checks pass; genuine signed export remains skipped/NOT_RUN. All 28 original native ZIPs verify: 894 members, 644 embedded checksums and 25,005 source-hash rows. Three native installed consumers execute 45 controls, including the original control 6 and the new control 14.
  • Fresh-root Linux scoped execution passes 12 ordinary controls (three ignored), the explicit final-rmdir refusal, both foreign-UID controls and four framing tests. All 4,757 source inputs/full file sets and both original compiler-selected executable pre/post hashes match.
  • Current cc2 source passes 21,884 outer binary tests and 27 doctests, zero failures, 72/eight ignored; formatting, strict workspace Clippy, all-target and explicit BDD compilation and all 86 policy gates pass. All 286 compiler-selected/actually executed current ELFs have matching original pre/post hashes. BDD scenarios are NOT_RUN; footprint enforcement remains suspended.
  • The overall full2 campaign exits 1. Its extra historical-preservation guard found 79 prior 5fe executables overwritten at shared Cargo paths; 207 stayed unchanged. Independent review maps every failure to freshly compiled cc2 bytes. The 79 original preimages are not recovered. The original outcome is immutable; a separately reviewed strict current-source prerequisite binds the successful current tests/source/runtime/hash records while explicitly retaining this loss. No passing tests were rerun to hide it. A verified lossless archive preserves 596 current/surviving historical executables; incremental archives preserve SDK and paired executables before later compilation.
  • SDK execution passes 175 live, 29 owner, 74 supervisor and one addressed-journal test; the live ignore remains unrun. Source/full-set checks include 490 SDK files, 4,757 exported MVM files and 4,757 actual Cargo Git-checkout files. Nine original compiler-selected executable identities and actual runtime paths match. Four invoking roots retain core/crypto optimization level 2, debug assertions and overflow checks.
  • Paired execution passes 18 tests with one explicit ignore. Four fresh compiler-selected executables, runtime paths and original pre/post hashes match; all 17 paired, 490 SDK, 4,757 MVM and five fixture inputs remain unchanged.
  • Eight strict dependency graphs and the canonical Linux alias match the reviewed predecessor after exact source/root normalization. Focused independent source/security, native, SDK, paired and artifact reviews have no unresolved finding for this slice.

The exact 49-byte refusal fixture records 268/218 serialized in-memory request/reply bytes and zero network traffic. Seven native FlowMux rows recover 64 MiB each direction and record 10,790,065 actual TLS bytes. Windows ARM records 183.000709 s lifecycle / 96.578125 s whole-process CPU under unchanged guards. These are observations, not a causal speedup, booted MVM or WAN result.

Original 34e locked-resolution failures, 038 macOS compile failure and 5fe full1 stale-target-count failure remain recorded alongside the full2 preservation loss. Full #258 remains open for prepared funded retention metadata and the joined original-owner concurrency/allocator witness. All five #42 outcomes remain required, including compatible signed runtime/boot, separately admitted access, supported platform/WAN/capacity and final upstream acceptance. Maintainer pin agreement and private MVMD remain external. This is a SpiralCore integration slice, not the final upstream contribution.

Refs #258, #42, #268.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant