martha room: the owner reads the whole crew room and says a line in it (#364, part 1) #365
Loading…
Reference in a new issue
No description provided.
Delete branch "saturnus/364-room-follow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (feature): the owner follows the whole crew room from outside any member and says a line in it (#364, DECIDED 2026-12-02 "Whole room").
This PR is the gate-side part. The
martha room --followcommand wiring and refusal 4 (martha roomrefused inside a member) come after #361 (PR 363) lands, because they share its files (run_the_martha_command.ts, refuse_an_owner_act_from_inside_a_member.ts). Agreed with the dispatcher.What changes
readTheRoomgives every message with whether it is the owner's line.appendTheOwnersLinewrites it with the markby_owner.appendToTheChannelnow keeps only a message's four fields, so no member send can carry the mark.followTheRoomprints each message once as a JSON line, then what lands while it waits.sayAsTheOwnertakes{to, text}through the same addressing a member's send uses.Harm each change could do, and what holds it
Refusals, each tested; mutants, each killed (7/7)
Proof: the whole
npm testin its own namespace at this tip: 5967 tests, 5929 pass, 0 fail, 38 skipped.npm run verifypasses, with the private and posted-text checks.Refs #364