Tag heads for kb/tags/
Type: types/collection-contract.md
Purpose and scope
One head per tag: kb/tags/<tag>-README.md, type
types/tag-readme.md. The filename names the tag
(ADR 089).
A head introduces what the tag gathers, in the words a reader would search
for, names the defining note when the tag has one, and picks entries with a
phrase saying why each matters. It is the page a tag link leads to on the
published site, where the build links to a separate <tag>-members.md listing with counts by collection
(ADR 025).
Every tag in use has a head. Validation reports a tag on an eligible artifact whose head does not exist; write the head or drop the tag. A tag not worth a head is not worth assigning. A head is not a note: it makes no claim and is judged on whether a reader can tell from it what the tag means and where to go next.
Heads are the only artifacts here. README.md is the collection's landing
and carries no type.
Membership by collection
The collector discovers top-level KB collections by their COLLECTION.md. It groups tagged Markdown artifacts by collection, including tracked source analyses and entries already recommended in the head. A collection contract governs what authors may tag; listing an assignment does not authorize it.
The collector skips kb/workflow-state/ and kb/sources/.snapshots/ before traversal. Tag heads, type definitions, collection contracts, hidden or validation-ignored subtrees, nested repositories, snapshots, replaced artifacts and archived proposals are not members.
Instructions, ADRs and other reference pages that route through their own indexes remain intentionally untagged. A source tag asserts topical relevance, not an adopted KB claim.
Tag assignment
Before assigning a tag, read its head. Assign it only when the artifact substantively addresses the head's stated subject, question, or mechanism; mention or background use is insufficient. When the head leaves placement ambiguous, clarify its inclusion condition before assigning the tag. An artifact may carry neighboring tags when it meets each condition.
Tag names
A tag name should communicate its scope in the KB-wide namespace. Qualify a
narrow subject when an unqualified name would suggest a broader one: for
example, commonplace-architecture for this system and architecture for the
general subject. Use hyphens between words in a compound identifier. Prefer a
meaningful scope qualifier over relying on the head to reveal a surprising
restriction; existing clear names need no mechanical expansion.
Quality goal
A head is good when its opening lets a reader decide whether the tag is what they are looking for and lets a writer justify or challenge an assignment. State the inclusion condition and, where neighboring tags could be confused, the boundary. The picks then let readers find the load-bearing entries without the full listing. Keep heads small: the type warns past 8 KB and fails past 16 KB. Prefer splitting a large tag into child tags, each with its own head, over grouping inside one head.
Reading a head
A tag head is selective. It introduces the topic and recommends where to start. For every member, use the exact membership query or the published listing.
Outbound links
Link members by relative path (../theory/<file>.md) with a context phrase.
Link other heads under ## Related Tags with a phrase saying how the tags
connect. Do not link into kb/work/. Heads carry no tags: of their own.