Skip to content

fix(positron): nil-room acts must never steal the chat projection (#243) - #2275

Merged
joelteply merged 1 commit into
canaryfrom
fix/act-receipt-nil-room-guard
Aug 13, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/act-receipt-nil-room-guard

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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: headless agent/solve passes Uuid::nil() as its room, and radiating that act switch_room(nil)'d the single-room projection onto a phantom room, wiping the live view.

Two guards:

  • producer (act_observe/apply.rs): skip radiating persona:act when room_id is 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).
  • projection (positron_source.rs): apply_act refuses 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

… 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
@joelteply
joelteply merged commit 6e432b4 into canary Aug 13, 2026
3 of 5 checks passed
@joelteply
joelteply deleted the fix/act-receipt-nil-room-guard branch August 13, 2026 01:11
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