Tier 0: Ingestion Only¶
Goal¶
Collect a stable, low-cost record for every processed document.
Tier 0 does not perform semantic reasoning. It only captures ingestion metadata that later tiers can build on.
Required Fields Per Document¶
idsourcetimestampauthor/agentdoc_lengthbasic metadata
Current Record Shape¶
Tier0Record includes: - id: stable document identifier (currently relative path) - source: source document path (relative to scan root) - timestamp: last modified time (unix seconds string, when available) - author_agent: extracted from frontmatter fields such as author, agent, author_agent, created_by - doc_length: document size in bytes - metadata: lightweight document metadata map
Basic Metadata (Current)¶
conceptraw_conceptfile_extheading_countoutbound_link_countpathfile_size_bytes- frontmatter presence flags (when present)
Linking Metadata to Documents¶
Tier 0 links metadata to documents through id and source. Both map back to the processed document path.
Tier 0 Index File¶
Use the CLI to write a persistent index:
Default output file: - tier0-index.json
Custom output path:
If the provided output path has no extension, .json is appended automatically.
Index Structure¶
The index file includes: - tier - generated_at_unix - path - document_count - documents_by_id (id -> Tier0Record)
This provides a stable lookup table for Tier 1+ pipelines.