Skip to content

fix(comm): prevent silent self-address when sending to parent actor#961

Draft
ohdearquant wants to merge 16 commits into
mainfrom
fix-820-subagent-self-address
Draft

fix(comm): prevent silent self-address when sending to parent actor#961
ohdearquant wants to merge 16 commits into
mainfrom
fix-820-subagent-self-address

Conversation

@ohdearquant

Copy link
Copy Markdown
Owner

Fixes #820. Tests cover child-to-parent delivery, explicit self-send still allowed, and the silent-collapse case now loud. Local gates deferred to CI due to build-lane contention; codex review follows.

Leo and others added 16 commits July 13, 2026 12:29
A send naming an explicit lambda target could resolve to the sender's
own inbox when the child session's actor resolution collapsed into the
parent identity, delivering the message to the sender silently. A
resolved target equal to the sender when the caller named a different
target is now an error, never a delivery.

Fixes #820

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Commit-early sweep: implementer leg ended without committing (build-lane
contention). Local gates deferred to CI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ky tx-age sweep

run_writer_task registers a writer_task_tx handle in the process-wide
tx_registry singleton; the checkpoint tx_age_sweep_* tests read that
singleton under #[serial(tx_registry)]. The writer_task.rs tests that
spawn a writer task were missing from the group, leaking a longer-lived
writer_task_tx into the sweep's oldest() read and intermittently failing
the assertion on main CI. Join them to the serial group. No prod change.
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.

comm: sub-agent sessions silently self-address when sending to their parent actor

1 participant