- a scheme declares one classification dimension, such as
year,topic, ortype; - a class declares one value inside a scheme, such as
2025orfourier; - a hierarchy relation says that one class is broader than another in the same scheme;
- a placement relation classifies one canonical source as one class.
Declare the taxonomy
Taxonomy design is explicit SDK work. As an SDK policy, the candidate gate lets a model propose placements but requires schemes, classes, and hierarchy edges to enter throughBrain.classify. The protocol itself
does not require every implementation to make that authorization choice.
mkdir -p behavior.
A class contains its scheme and label, but not its parent. Moving
fourier under another class writes a
different hierarchy relation without changing the identity of the fourier class.Classify canonical sources
contradicted rather than rejected.
Placements follow normal accessibility rules. To correct a misfiled source, demote or supersede the old
placement block and then classify the source in its replacement class. The old statement remains a
verifiable member of history but no longer participates in the rebuilt catalog.
Browse classes
CatalogNode.direct_sources reports only placements on that exact class. CatalogNode.sources includes
descendant placements.
Use paths like subdirectories
A path is an ordered view over schemes, not a stored parent chain:year=2025 AND topic=fourier AND type=examenes. The same placements can be viewed
in another order without rewriting anything:
browse and iterdir accept prefixes. classify requires every segment. Labels are exact and
case-sensitive; leading and trailing slashes are ignored; percent-encoded labels are decoded; empty
internal segments and . or .. are rejected. Class declarations reject /, ., and .. up front so
every declared label is reachable as exactly one path segment.
Filter ordinary queries
Catalog classes are binding query filters and use AND semantics. A derived block participates through its canonical evidence; a canonical block participates through its own identity.subject and episodic tags remain unchanged;
catalog classes are an additional, typed hierarchy for canonical evidence.