Architecture
Stack
L1: Passive file tracking
No OCR. Structural footprints only:
- Scrambled file IDs (
sha256(salt:path)) - Build/test cache directory presence/mtime classes
- Exec category events from shell hooks (name/category, not argv)
L2: Scoring what “counts”
st-core turns a sealed time slice into weighted seconds. FORMULA_VERSION
is stamped on every accepted bucket.
Provenance
- Local append-only log with
prev_hash - Offline queue flushes in order when connectivity returns
In-repo packages
| Path | Purpose |
|---|---|
rust/crates/st-daemon | Tracker binary |
rust/crates/st-server | HTTP API + static UI |
rust/crates/st-helper / st-tray | CLI + supervisor |
rust/crates/st-core | Shared verify / scoring |
weighting/ | YAML rules + calibration notes |
docs-site/ | Fumadocs MDX source |
adapters/ | Optional L2 enrichment |
scripts/verify_adapters.sh | Adapter emit/presence checks |