Link-following and search impose different metadata requirements

Type: kb/types/note.md · Status: current · Tags: links

There are two ways to move through a knowledge base, and each gives the agent different context at the moment of decision. Since agents navigate by deciding what to read next, the metadata a knowledge system needs to maintain depends on which navigation mode it's optimizing for.

You're reading something, you encounter a link, you decide whether to follow it. Each step is short — from one document to a neighbor.

Inline links carry the most context. The surrounding prose does double duty — it advances the argument and tells the agent what the target contains: "Since agents navigate by deciding what to read next, the metadata..." The agent knows both what's there and why it matters before deciding.

Index entries carry less, but more than they appear to. The context phrase next to the link — "extends this by adding the temporal dimension" — is the explicit hint. But the index's structure adds implicit context too: an entry under an "Approvals" heading tells the agent more than the same entry in a flat list.

Skill descriptions carry only what fits in a single line. The runtime loads all descriptions at session start: "Use when the user wants to find connections between notes." That line is the entire hint; the full definition is the target.

What these share: the agent already has local context (the current note, the current section, the surrounding argument) that makes the follow/skip decision tractable.

Search: long-range jumps without local context

You have a question or keyword, you query the whole corpus, you land somewhere potentially distant. No surrounding argument guides the decision.

Search results split the decision in two. First the agent decides whether to search, guided by earlier hints: an instruction mentioning a directory path, a tool description saying "searches the knowledge base." Then she decides which result to open, guided only by titles, snippets, and descriptions. Frontmatter descriptions matter here — at that second decision point, they're often all the agent has.

What's different: the agent has no local context. The pointer must carry enough information on its own for the agent to judge relevance.

Indexes bridge both modes

An index is a page of links — local navigation in form — but it functions like a curated search result. You jump to an index (often via search or memory), then browse its links to find what you need. The boundary between "navigating links" and "searching" blurs at indexes, which is why indexes need both context phrases (for the link-following mode) and clear thematic structure (for the scanning mode).

Design implication

Each navigation mode has its own metadata lever:

  • Inline links need surrounding prose that explains the relationship — the prose is the context
  • Index entries need context phrases and clear thematic structure — both the phrase and the position carry information
  • Skill descriptions need to say when and why, not just what — scope is more useful than summary
  • Notes need titles that are claims and descriptions that add information beyond them — because search surfaces these first

Title as claim is the shortcut that works across both modes. When the title carries the argument, the pointer itself becomes the hint — every link text, every search result, every index entry does navigation work for free.


Relevant Notes: