Skip to content

The pinned-act prompt test installs its own writer fixture (card 4f57ad95) - #5825

Merged
joelteply merged 1 commit into
canaryfrom
fable/pinned-act-test-owns-its-fixture
Nov 7, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/pinned-act-test-owns-its-fixture

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Serves line 10 of the order of work (tests give the same result on every host and in every order). The test checks that a resident's pinned act result reaches her prompt, and it now proves that on its own instead of passing only because an earlier test happened to set up the registry.

Change

pinned_act_result_reaches_the_prompt_even_with_an_empty_broadcast saves an inventory through LivePin::retain -> ClassWriter::of("tool output"), which looks the class up in the kernel's disk-ownership registry. The test never installed that registry, so it passed only when another test in the same process had already installed it. Run alone, it panicked at custody.handle().expect("saved inventory"), on canary too.

Fix: one call, crate::system_resources::disk_reporters::prepare_writer_fixture().await, right after the test's NativeHomeOverride. This is the kernel's explicit fixture, and hands_isolation.rs:286 already uses it the same way. The core dev-dependency on continuum-kernel already enables test-fixtures, so Cargo.toml is unchanged. +3 lines, 0 removed.

Other core tests: rg "LivePin|ClassWriter" core/continuum-core/src finds only this test. The other spill paths (whole_or_handle, resolve, retain_handleless) fall back to Unsaved when the registry is missing, and no core test asserts on their saved handle, so none needed this fix.

Measured (9f8c701 on top of canary 9ba4bbc, M5, 2026-11-07, features livekit-webrtc,avatar-3d,metal = CI's core set plus macOS metal)

  • Alone, fixture line removed: FAILED, panicked at prompt_shaping.rs:272 "saved inventory"
  • Alone, with the fix: 1 passed
  • --lib deliberation: 18 passed
  • Full continuum-core --lib: 1184 passed, 0 failed, 10 ignored
  • Ratchets (source-hygiene --bin ratchets origin/canary) and oversized-edits.sh: exit 0

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…ad95)

pinned_act_result_reaches_the_prompt_even_with_an_empty_broadcast saves an
inventory through LivePin::retain -> ClassWriter::of("tool output"), which
resolves through the kernel's disk-ownership registry. The test never
installed it, so it passed only when an earlier test in the same process had;
run alone it panicked at "saved inventory" (canary too). It now calls the
kernel's explicit fixture, prepare_writer_fixture(), after its home override,
the same way hands_isolation.rs does. continuum-core's dev-dependency on
continuum-kernel already enables test-fixtures, so no manifest change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 456c091 into canary Nov 7, 2026
11 checks passed
@joelteply
joelteply deleted the fable/pinned-act-test-owns-its-fixture branch November 7, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant