Repository navigation
feat(topics): # links in notes point at topics, and topic tools for the assistant and MCP - #135
Merged
Merged
Conversation
…he assistant and MCP of their own. The assistant gains find_topics, topic_recordings and suggest_topic; the MCP server gains list_topics, get_topic and suggest_topic. Their suggestions wait for someone to accept. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Jo1JNziunMs8MgWJSGyyM
21 of 22 tasks
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.
Before:
#in a note offered entities of type TERM, and topics had no page of their own. The assistant and MCP agents couldn't see topics.After:
#in a note offers the namespace's topics, found by any of their labels, and writes#[label](topic:id).#[...](entity:id)links still work.find_topics,topic_recordingsand, for editors,suggest_topic.list_topics,get_topicandsuggest_topic.suggest_topicneeds a write-scope token and editor access.assistantas their source. Anything a person already accepted or dismissed stays as it is.How:
notebook.KINDSandABOUTgaintopic, andsearch_targets("#")reads thetopictable.topics.deleteandmergerelease topic pages.topics.proposeadds suggested rows only where none exist.Argnow supportsinteger[].write_noteinstructions now use#[label](topic:id).Tests:
#targets and topic page backlinks, the MCP topic tools and the assistant topic tools.🤖 Generated with Claude Code
https://claude.ai/code/session_012Jo1JNziunMs8MgWJSGyyM
Generated by Claude Code