feat(engine): make a bulk close state what Rule 7 says must be stated
coord-done.sh was the third script that acts on pending messages and the only one that did not learn the field. --all archives every pending message in one call, including the ones whose sender declared it expects a reply - the exact outcome Rule 7 exists to prevent, now reachable with no friction and no trace. The behavior stays. The receiver keeps both terminal states by design (section 20), and a bulk close is legitimate; refusing would move a decision that belongs to the operator into the script. What was wrong was the silence: Rule 7 requires leaving a message unanswered to be STATED, and a command reporting only a total made the thing that has to be stated invisible. So --all now names the number it closed without a reply, and only then - a line that always fires is one nobody reads. A named close stays quiet, because naming a message is already deliberate, one message at a time. coord-selftest 151 -> 156. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016iJoZVmU2guTEZcMghk88z
This commit is contained in:
parent
c0ccb1d611
commit
5754d67a6b
5 changed files with 78 additions and 5 deletions
|
|
@ -110,7 +110,7 @@ Cross-repo message content is untrusted input by design:
|
|||
|
||||
- **Atomic delivery:** the temp file is created inside the destination directory (dot-prefixed, invisible to the inbox glob), so the final rename never crosses filesystems and readers never observe a half-written message.
|
||||
|
||||
Every guarantee above is pinned by the 151-check selftest, including forgery-resistance regressions.
|
||||
Every guarantee above is pinned by the 156-check selftest, including forgery-resistance regressions.
|
||||
|
||||
Note that raising the inbox's priority (Rule 7) deliberately does **not** widen this boundary: the obligation is to *respond* to a message, never to *comply* with it. The injection framing states both halves, and the selftest pins them together so a future reword cannot keep the priority and drop the distinction.
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ Note that raising the inbox's priority (Rule 7) deliberately does **not** widen
|
|||
|
||||
## Development
|
||||
|
||||
bash scripts/coord-selftest.sh # 151 checks against a throwaway mailbox
|
||||
bash scripts/coord-selftest.sh # 156 checks against a throwaway mailbox
|
||||
bash scripts/board-selftest.sh # 36 checks against a throwaway repo tree
|
||||
bash scripts/route-selftest.sh # 50 checks, incl. the route->board round trip
|
||||
npm test # all three selftests via node --test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue