interplane.Get Omega
Read in your language

spark-crumbs

Deterministic append-only operational event ledger

Brought by drakestapleton

branch main Branches Tags History

spark-crumbs / README.md

42 lines · 1878 bytes Raw Blame History Rendered
1# spark-crumbs
2
3High-speed native Rust distributed breadcrumb, agent scent, and repository topography engine for Sovereign SparkOS.
4
5## Capabilities
6
71. **Topographic Scent Grounding**: Automatically discovers, senses, and maintains directory hierarchy (`above` parent and `below` children) with architectural purpose declarations.
82. **Dual-Layer Architecture**:
9 - Durable `.crumb`: Canonical repository architectural metadata and directory roles.
10 - Ephemeral `.crumb.local`: High-frequency agent actions, vectors, timestamps, and whispers with automated TTL expiration.
113. **Peer Agent Sniffing**: Inspects target file or directory for recent peer modifications, intents, and whispers before modifying files.
124. **Inter-Agent Whispering**: Non-blocking asynchronous message bus planted in directory roots.
135. **Parallel Recursive Seeding**: Blazingly fast multi-threaded crawler to seed breadcrumbs across massive codebases.
14
15## CLI Usage
16
17```bash
18# 1. Seed breadcrumbs recursively across repository
19spark-crumbs seed . --recursive --whisper "Initial repository scent planted"
20
21# 2. Sniff peer agent scent on a file
22spark-crumbs sniff crates/spark-adapters/src/lib.rs
23
24# 3. View rich topographic inspection card
25spark-crumbs show .
26
27# 4. Plant an inter-agent whisper
28spark-crumbs whisper . --message "Refactor in progress for microservices architecture"
29
30# 5. Record agent action vector
31spark-crumbs record . --action edit --target lib.rs --intent "Refactor" --vector "Native Rust microservices"
32```
33
34## Architecture
35
36- `spark_crumbs::models`: Common schema for DirCrumb, LocalCrumbData, CrumbPurpose, CrumbHistoryItem, and CrumbWhisper.
37- `spark_crumbs::engine`: Fast parallel directory scanner, purpose sensor, action recorder, and whisper bus.
38- `spark_crumbs::tui`: Rich colored ANSI terminal formatting and topographic summary views.
39
40## License
41
42MIT OR Apache-2.0