docs: read the log before fixing a bug whose acceptance is a count we log #121
No reviewers
Labels
No labels
blocked
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
waiting-on-julian
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jlxq0/matrix-mcp!121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "read-the-log"
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?
Doc-only. One
Known Pitfallsentry, from #120.#120 reported one channel event delivered three times and named stale peer accumulation as the cause, reasoning correctly about code that really does write once per live peer. It had not happened: every
channel: pushedline in the pod's life readlive=1 written=1, the reported event appeared exactly once, and the only peer-liveness line in the pod's history saidtotal: 1, closed: 1. The duplication was three byte-identical copies of the same<channel>tag in the reporting session's own transcript, the first 33ms behind the single server push and the other two with no server write behind them.The issue's own acceptance criterion was "assert
notifyreturns 1", and the running system already answered 1 — in onekubectl logs.The entry records the habit and the specific command, because the fields that make it answerable (
liveandwrittenon every push) are not obvious from the code.What the check was worth is not the hour saved. The recommended fix, de-duplicating on event id per mxid at the send, would have broken two sessions authenticated as one identity — a supported shape — while suppressing nothing, because there was no second
notifycall to suppress. A wrong cause does not produce a harmless fix; it produces a fix aimed at nothing with all of its own side effects intact. That is the part worth writing down.No code change, no test change.
AGENTS.mdonly.