Type system
Type: kb/types/tag-readme.md · Tags: document-system
Why documents have types, what the type system does, and how structured writing improves quality. Sub-area of document-system.
Overview
- why-notes-have-types — seven roles of the type system: navigation hints, metadata enforcement, verifiable structure, local extensibility, content-layer identification, output quality, and maturation through constraining
- collections and types — current-state: how artifacts use path-valued contracts, with common global and collection-local examples
Type Roles
- types-give-agents-structural-hints-before-opening-documents — navigation: type + description let agents route without loading full documents
- type-system-enforces-metadata-that-navigation-depends-on — enforcement: descriptions exist because the note base type requires them; without enforcement, navigation degrades
- document-types-should-be-verifiable — verification: types assert structural properties, not subject matter; verification gradient from deterministic to corpus-level
- directory-scoped-types-are-cheaper-than-global-types — extensibility: global types tax every session; local types load only when working in that directory
Output Quality
Two arguments for why structured document types improve what gets written, plus one causal-identification limit:
- human-writing-structures-transfer-to-llms-because-failure-modes-overlap — failure-mode transfer: LLMs exhibit human-like failures, so structures that prevent those failures in humans prevent them in LLMs too
- Structured-prompt gains do not establish training-distribution selection — causal limit: prompt-performance gains do not isolate a higher-quality training distribution from rival mechanisms
- structured-output-is-easier-for-humans-to-review — reviewability: separated sections let readers check facts and logic independently
Structure Dimensions
- process-structure-and-output-structure-are-independent-levers — constraining what reasoning steps must occur (process structure) is independent from constraining result format (output structure); the KB's output quality arguments apply differently to each
Type Definitions
- claim-notes-should-use-toulmin-derived-sections-for-structured-argument — the
structured-claimtype: Toulmin-derived Evidence/Reasoning/Caveats sections - wikiwiki-principle-lowest-friction-capture-then-progressive-refinement — the type ladder: zero-friction capture, then progressive refinement as thoughts earn structure
Related Tags
- document-system — parent area; type system is one component of the document infrastructure
- learning-theory — the type ladder instantiates the constraining gradient for documents
Other tagged notes
- Directory placement is total, frontmatter classification is partial - Canonical paths cover every file before validation and supply locality; opt-in types supply portability. Validation can encode similar policy on either surface, but native guarantees differ.