REQ-DDB-WIKI-054: A comment left on a served wiki page reaches the agent¶
What it requires
- A page served by the wiki hub carries a comment control.
- A comment records its page, anchor, quoted text, body and time in an append-only log beside the target's index; an empty comment, or one over the size limit, is refused (never cut).
- The PostToolUse hook tells the agent only how many comments are waiting (an integer), and
index(action='comments')returns their text and marks them read. - A read never removes a comment from the log.
- With
wiki.comments.delivernamingchannel, the server also pushes each comment as a Claude Code channel notification.
- tier
- PASS
- declared
- implemented
- priority
- P1
How it is met
Implemented by
_init_optionsclew/mcp_server/server.py:3551_take_contextclew/mcp_server/server.py:588addclew/mcp_server/comments.py:95allclew/mcp_server/comments.py:132attach_loopclew/mcp_server/channel.py:96do_POSTclew/mcp_server/wikihub.py:394enabledclew/mcp_server/channel.py:53experimental_capabilitiesclew/mcp_server/channel.py:62for_repoclew/mcp_server/comments.py:81mark_readclew/mcp_server/comments.py:121pending_keyclew/mcp_server/comments.py:51protocol_versionclew/mcp_server/_sdk.py:144push_from_threadclew/mcp_server/channel.py:106raw_notifyclew/mcp_server/_sdk.py:122read_commentsclew/mcp_server/server.py:2728rememberclew/mcp_server/channel.py:86sendclew/mcp_server/channel.py:130unreadclew/mcp_server/comments.py:146
Tests (855)
Linked directly
151 tests: 151 passed
151 passed
Reached through calls
704 tests: 704 passed