tokmd-substrate
Shared repo-substrate types for sensor computation.
Problem
Sensors should work from one shared snapshot instead of re-running scan and diff logic.
What it gives you
RepoSubstrate,SubstrateFile, andLangSummaryDiffRangefor carrying changed-file context into sensors
API / usage notes
tokmd-sensor::substrate_builder::build_substrateproduces this data.- Files carry normalized paths, language, module, metrics, and diff membership.
src/lib.rsis the authoritative field reference.
Go deeper
- Tutorial: tokmd README
- How-to: tokmd-sensor
- Reference: Architecture
- Explanation: Design