Expand description
Semantic segmentation for canonical store ownership.
Reconstructs repository-scoped session segments from content signals rather than weak source-side identifiers.
Vibecrafted with AI Agents by Vetcoders (c)2026 Vetcoders
Structs§
- Bucket
Resolution - Project
Hash Registry - Registry mapping Gemini
projectHashvalues to known repo roots. - Tiered
Identity - A repo identity paired with the trust tier of the signal that produced it.
Enums§
- Bucketing
Source - Explicit source used when assigning an entry/session to a bucket.
Functions§
- classify_
cwd_ tier - Classify a raw CWD string into a source tier without resolving identity.
- infer_
repo_ identity_ from_ entry - infer_
tiered_ identity_ from_ cwd - Resolve a canonical
(organization, repository)identity from a cwd string by consulting ground-truth signals — git remote URL, then known-layout heuristics, finally URL-shape inference. - infer_
tiered_ identity_ from_ entry - Infer repo identity with explicit trust tier from source-side signals.
- resolve_
bucket - semantic_
segments - semantic_
segments_ with_ progress - Same as
semantic_segmentsbut emits per-session cumulative entry-processed counts toprogress, so callers can pin aHeartbeatfloor to real work done (rather than ticking blind). Pass-4 follow-up: the segment phase moved AHEAD of dedup, so for large corpora the progress bar needs a real denominator to stay honest. - semantic_
segments_ with_ registry - semantic_
segments_ with_ registry_ and_ progress