Repository navigation
docs(plans): cite the DM allow-list by symbol — both line pointers had rotted - #1165
Merged
Merged
Conversation
…d rotted @sprint-review's rule, applied to two pointers that had already failed the way it predicts: drop the range, keep the content-addressable name. `agent-collaboration-surfaces.md` cited the DM enqueue branch twice as `messageController.ts:221`. That line is now a `let message` declaration, and `messageController.ts` no longer contains the allow-list at all — the branch moved to `agentMentionService.enqueueDmEvent`, reached via `messageAgentDeliveryService`. The sibling pointer, `agentMentionService.ts:389`, lands in an unrelated comment about attach-file affordances. The failure mode is the interesting half. A rotted line number does not 404: it resolves to code, just not the code meant, so a reader who follows it gets a wrong answer rather than no answer. This one drifted across a FILE boundary and still pointed at something plausible. A grep for the symbol fails loudly; that is the whole argument for content-addressing. Also updates the instruction to match main, where `agent-dm` is already in the allow-list — the plan still asked for it to be added. Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@sprint-review's rule from 57196 — drop the range, keep the code, it's unique and content-addressed — applied to two pointers that had already failed in exactly the way it predicts.
docs/plans/agent-collaboration-surfaces.mdcited the DM enqueue branch twice asbackend/controllers/messageController.ts:221. On main today:messageController.ts:221is alet message: NormalizedMessage;declaration.messageController.tsno longer contains the allow-list at all —grep -n "agent-room"returns nothing. The branch moved toagentMentionService.enqueueDmEvent, reached frommessageAgentDeliveryService.ts:62.agentMentionService.ts:389lands in an unrelated comment about attach-file affordances.The failure mode is the half worth naming. A rotted line number doesn't 404 — it resolves to code, just not the code meant. This one drifted across a file boundary and still pointed at something plausible, so a reader following it gets a wrong answer rather than no answer. A grep for the symbol fails loudly. That's the whole argument for content-addressing, and it's stronger than "ranges drift."
Also corrects the instruction itself:
agent-dmis already in the allow-list on main, and the plan still asked for it to be added.Docs-only.
🤖 Generated with Claude Code