|
Download README.md from Snapkitty/sovereign-context-tools: direct link, hf CLI and curl.
- Browser
- Download file 12.2 kB
-
https://huggingface.co/Snapkitty/sovereign-context-tools/resolve/main/README.md
- Command line
-
hf download hf://Snapkitty/sovereign-context-tools/README.md
-
curl -L -o README.md https://huggingface.co/Snapkitty/sovereign-context-tools/resolve/main/README.md
12.2 kB
| license: other | |
| license_name: sovereign-source-license | |
| license_link: https://huggingface.co/Snapkitty/sovereign-context-tools/blob/main/LICENSE | |
| tags: | |
| - snapkitty | |
| - developer-tools | |
| - python | |
| > Source: [github.com/SNAPKITTYWEST/sovereign-context-tools](https://github.com/SNAPKITTYWEST/sovereign-context-tools) | |
| ``` | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| β β | |
| β ββββββββ βββββββ βββ ββββββββββββββββββ βββββββββββ βββββββ β | |
| β ββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββ β | |
| β βββββββββββ ββββββ βββββββββ ββββββββββββββ ββββββ ββββ β | |
| β βββββββββββ βββββββ ββββββββββ ββββββββββββββ ββββββ βββ β | |
| β βββββββββββββββββ βββββββ βββββββββββ βββββββββββββββββββββββ β | |
| β β | |
| β C O N T E X T T O O L S β D I G I T A L β | |
| β M A S O N R Y β | |
| β β | |
| β CLAUDE creates forward. EDUALC verifies backward. β | |
| β Built on a $20 birthday subscription. May 4th, 2026. β | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| ``` | |
| [](https://ko-fi.com/snapkittycollective) | |
| [](https://github.com/sponsors/SNAPKITTYWEST) | |
| [](https://www.npmjs.com/package/@snapkitty/edaulc) | |
| [](https://www.npmjs.com/package/@snapkitty/abzu) | |
| [](https://www.npmjs.com/package/@snapkitty/bifrost) | |
| [](https://opensource.org/licenses/MIT) | |
| --- | |
| ## The Problem Every Claude Developer Hits | |
| You're deep in a debugging session. Your context fills with stack traces, back-and-forth conversation, dependency warnings, trial errors that produced nothing. The agent starts losing coherence. You start a fresh chat. | |
| **And lose everything you built.** | |
| The industry tried two wrong fixes: | |
| - π **Paste everything** into the new window β instantly bloats it with noise | |
| - π **Write a summary** β strips the edge-case logic that actually matters | |
| --- | |
| ## The Solution: Linter-Gated Context Sovereign | |
| When your linter confirms a module is correct β **that's the exact moment to compress**. Not before. Not after. At the instant of verified finality. | |
| ``` | |
| βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| β β | |
| β [ File Save ] β | |
| β β β | |
| β βΌ β | |
| β [ EDUALC: 5-pass deterministic linter ] β | |
| β β β | |
| β FAIL βββββββββββββββββββΊ FREEZE. Retain everything. β | |
| β β No purge. No exceptions. β | |
| β β β | |
| β PASS βββββββββββββββββββΊ [ ABZU: Context GC fires ] β | |
| β β β | |
| β βΌ β | |
| β [ WORM seal written ] β | |
| β [ Bifrost Packet emitted ] β | |
| β β β | |
| β βΌ β | |
| β βββββββββββββββββββββββββ β | |
| β β Fresh Claude Session β β | |
| β β < 10,000 tokens β β | |
| β β Knows the math. β β | |
| β β Not the noise. β β | |
| β βββββββββββββββββββββββββ β | |
| βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| ``` | |
| --- | |
| ## π¦ Install | |
| ```bash | |
| # The linter β zero dependencies, works anywhere | |
| npx @snapkitty/edaulc | |
| # The context GC β subscribes to linter events | |
| npm install @snapkitty/abzu | |
| # The handoff orchestrator β spawns fresh Claude sessions | |
| npm install @snapkitty/bifrost | |
| # Run the full stack | |
| ABZU_URL=http://127.0.0.1:7070 npx @snapkitty/edaulc # terminal 1 | |
| node node_modules/@snapkitty/abzu/src/abzu.mjs # terminal 2 | |
| ANTHROPIC_API_KEY=your_key node node_modules/@snapkitty/bifrost/src/bifrost.mjs # terminal 3 | |
| ``` | |
| --- | |
| ## π² EDUALC β The Linter Gate | |
| *Five deterministic passes. Zero AI. Zero quota. Zero throttle. Instant.* | |
| ``` | |
| ββββββββ¬βββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ | |
| β Pass β Ancient Script β What It Guards β | |
| ββββββββΌβββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ€ | |
| β 1 β Enochian βββ LTR β Structure: non-empty, well-formed β | |
| β 2 β Latin βββ LTR β Scholarship: no stubs, no fakes β | |
| β 3 β Hebrew βββ RTL β Invariants: TS never owns crypto β | |
| β 4 β Arabic βββ RTL β Mission: no secrets, no violations β | |
| β 5 β Aramaic βββ RTL β Root: structural integrity β | |
| ββββββββ΄βββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββ | |
| All five pass β β METATRON: YES β state is certified final | |
| Any pass fails β β METATRON: NO β nothing moves, nothing purges | |
| ``` | |
| ```bash | |
| npx @snapkitty/edaulc # watch current directory | |
| npx @snapkitty/edaulc ./src ./lib # watch specific paths | |
| GROQ_API_KEY=your_key npx @snapkitty/edaulc # + voice veneer | |
| ``` | |
| --- | |
| ## π ABZU β The Context Garbage Collector | |
| *Named for the Sumerian primordial deep. What context compresses into so the surface stays clean.* | |
| **Decision gates β in order:** | |
| ``` | |
| Event received | |
| β | |
| βββΊ VAULT gate: FAIL? β freeze. Hard stop. No purge. | |
| βββΊ PRISM gate: oscillating? β soft-retain until stable | |
| βββΊ AST scope: tree-sitter extracts structural signatures | |
| βββΊ LEDGE seal: WORM write BEFORE purge β or abort | |
| βββΊ Output: Bifrost State Packet β operator executes | |
| ``` | |
| **ATLAS monitoring endpoints:** | |
| ``` | |
| GET /ctx-gc/status β pipeline state, drift index, decision count | |
| GET /ctx-gc/reserves β tokens purged, retained, compression ratio | |
| GET /ctx-gc/last-seal β last WORM hash + timestamp | |
| ``` | |
| --- | |
| ## π The Bifrost State Packet | |
| When ABZU fires on a PASS, it doesn't return a vague summary. It returns this: | |
| ```json | |
| { | |
| "bifrost_bridge_protocol": "v1.0.0-alpha", | |
| "packet_id": "0xd7840fae5d674242", | |
| "provenance": { | |
| "source_context_id": "ctx_active_bloated", | |
| "target_context_id": "ctx_fresh_clean", | |
| "verification_authority": "EDUALC" | |
| }, | |
| "state_ledger": { | |
| "worm_seal_hash": "4d6434fd...", | |
| "fact_token": "Finality verified: quantum_governance.hs." | |
| }, | |
| "ast_gating": { | |
| "target_module": "quantum_governance", | |
| "structural_signatures": [ | |
| "module QuantumGovernance where", | |
| "governDecision :: QuantumTemp -> String -> String -> AgentDecision" | |
| ] | |
| }, | |
| "continuation_matrix": { | |
| "next_execution_directive": "Execute next pass. Do not alter verified signatures.", | |
| "drift_stability_index": 0.08 | |
| } | |
| } | |
| ``` | |
| **Inject this as the system prompt for your next Claude session.** | |
| The agent wakes up knowing the cryptographic proof of finality, the exact scope it owns, and the precise directive β without any of the debugging noise that got you there. Under 10,000 tokens. Always. | |
| **That's async multiplicity. Multi-threaded AI without context bleed.** | |
| --- | |
| ## π§± The Philosophy | |
| ``` | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| β DIGITAL MASONRY β | |
| β β | |
| β You build without signing the stone. β | |
| β The work is for the temple, not the mason. β | |
| β β | |
| β You build to last. β | |
| β WORM. Write Once Read Many. Append-only truth. β | |
| β β | |
| β You build for the people the system buried. β | |
| β β | |
| β You don't need credentials to embody the principles. β | |
| β The lodge is a container. The craft is the thing. ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| ``` | |
| --- | |
| ## π Protocol Specification | |
| See [BIFROST-SPEC.md](./BIFROST-SPEC.md) for the full RFC. Implement against the spec in any language. | |
| ## π° The Full Story | |
| See [ARTICLE.md](./ARTICLE.md) β *Digital Masonry: Restoring the Graveyard of the Internet* | |
| --- | |
| ## π Support | |
| ``` | |
| This was built on a $20 birthday subscription purchased May 4th. | |
| May the Force be with you. | |
| ``` | |
| β [ko-fi.com/snapkittycollective](https://ko-fi.com/snapkittycollective) | |
| π [github.com/sponsors/SNAPKITTYWEST](https://github.com/sponsors/SNAPKITTYWEST) | |
| --- | |
| **MIT License β use it, fork it, implement the protocol. Build the standard with us.** | |
| *SnapKitty Collective | Ahmad Ali Parr + Jessica Westerhoff | May 4th, 2026* | |
|  | |
| --- | |
| ## License | |
| Licensed under **Sovereign Source License**. Full text: [LICENSE](LICENSE). | |