Repository navigation
fix(positron): nil-room acts must never steal the chat projection (#243) - #2275
Merged
Merged
Conversation
… live-proof follow-up) The #243 live proof landed (a real solve act folded into the transcript within 2 minutes of subscribing) and exposed one defect in the same payload: headless agent/solve runs pass Uuid::nil() as the room (solve.rs), and radiating that act switch_room(nil)'d the single-room projection off the live room onto a phantom — wiping messages AND acts from the view. Two guards: - producer (apply.rs): skip radiating persona:act when room_id is nil — an act with no room has no transcript home; working-memory proprioception is unaffected. Until #329's per-run bench rooms thread a real room through solve, headless acts stay off the wire. - projection (positron_source.rs): apply_act refuses nil room_id as defense in depth; regression test pins that a nil-room act neither folds nor clears the real room's receipts. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The #243 live proof landed — a real solve act (Asha's
code/read sympy/assumptions/refine.py) folded into the chat transcript within 2 minutes of subscribing — and the payload exposed one defect: headlessagent/solvepassesUuid::nil()as its room, and radiating that actswitch_room(nil)'d the single-room projection onto a phantom room, wiping the live view.Two guards:
act_observe/apply.rs): skip radiatingpersona:actwhenroom_idis nil — an act with no room has no transcript home. Working memory unaffected. P10: Persona-sentinel deep integration #329's per-run bench rooms are the real fix (thread a room through solve).positron_source.rs):apply_actrefuses a nil room as defense in depth, with a regression test pinning that a nil-room act neither folds nor clears the real room's receipts.Tests: 37 act_observe + 18 positron_source green (incl. new
nil_room_act_never_steals_the_projection).🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo