You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Endpoint notifier drops a to-human message after a session changes project: its seen key has no project #761
src/endpoint/notify.tshostMessage (line ~185 at master 77af813) drops a to-human message event when it has already seen its (writer, seq). The key holds no project: ${event.writer}\n${event.seq} in #seen, the last 4,096 ids, kept in memory.
sminos numbers a writer's host-store events per project (projects/<id>/host/<writer>.jsonl, where seq is the file's last line plus one), and a writer is <host>/<session>. A session whose project changes (sminos join) starts again at seq 1 in the new project's store, under the same writer. So every message it writes there whose seq was already seen under its old project is dropped:
no wrote reaches the hub, so the owner is not notified;
the sent callback never runs, so RL10's durable mark (src/endpoint/rl10/link.ts ~818-825, keyed by project, which is right) does not move;
sminos's resend of the last 50 is dropped the same way.
It lasts until the endpoint restarts or the old id leaves the 4,096.
Reported by the sminos session channel-thread-coordination-design (222553cd) from reading the code; the architect checked the code at 77af813 (SessionLaneMessage carries project). Not reproduced.
Work
Put the project in the key: ${message.project}\n${event.writer}\n${event.seq}.
Test, red first: two host messages with the same (writer, seq) and different projects each produce a wrote and each call sent; the same (project, writer, seq) twice still produces one.
Acceptance
The unit test passes; notify's existing tests pass.
Activity
notify: red case, a to-human event's seen key without its project (#761)
SSFSKIM commentedon Nov 20, 2026
[board] in-progress: batch 7, group C
notify: a to-human event is seen by (project, writer, seq) (#761)
SSFSKIM commentedon Nov 20, 2026
[board] in-review: batch 7, PR #804