Problem
After the real manifest helper was connected, the unchanged full-VM lifecycle suite reaches installer assertions. Four remaining failures exercise native bun pm trust / bun pm untrusted behavior:
- missing-package trust/untrusted reports
unsupported pm subcommand - trust after removing and re-adding a dependency does not report or run the expected script, with and without explicit removal
- the no-busy-loop
bun pm trustchild exits non-zero
ReleaseFast reproduction:
scripts/provision-corpus-deps.sh
HOME_NATIVE_VM=1 HOME_CORPUS_FULL_VM=1 ./zig-out/bin/home test packages/runtime/test/bun-corpus/cli/install/bun-install-lifecycle-scripts.test.tsThe complete unchanged file currently reports 48 pass / 12 fail / 699 assertions. These four are the package-manager trust-command subset.
Acceptance criteria
- Route
pm trustandpm untrustedthrough the owned native implementation with pinned Bun output and exit semantics. - Re-trusting after deletion runs only the expected pending lifecycle scripts and reports their exact package/script counts.
- Missing packages and idle polling match pinned Bun without busy-looping.
- The unchanged named lifecycle cases pass in Debug and ReleaseFast.
- No fixture, assertion, deadline, PATH shim, or runtime delegation.