Expand description
§tokmd-substrate
Tier 0 (Pure Data)
Shared context that eliminates redundant I/O across sensors. The substrate is built once (scan + git diff) and shared with all sensors that run against the same repository.
§What belongs here
RepoSubstrate,SubstrateFile,LangSummary,DiffRange- Pure data types with Serde derive
§What does NOT belong here
- I/O operations (substrate building is in tokmd-sensor)
- Business logic or analysis
Structs§
- Diff
Range - Git diff range context.
- Lang
Summary - Per-language summary in the substrate.
- Repo
Substrate - Shared context for a scanned repository.
- Substrate
File - A single file in the substrate.