snapkitty
developer-tools
python
SNAPKITTYWEST's picture
Metadata: discovery tags (collection, languages)
70e2b85 verified
|
Raw History Blame Contribute Delete
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. β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
```
[![Ko-fi](https://img.shields.io/badge/Ko--fi-Support%20the%20work-FF5E5B?logo=ko-fi&logoColor=white)](https://ko-fi.com/snapkittycollective)
[![GitHub Sponsors](https://img.shields.io/badge/Sponsor-EA4AAA?logo=github-sponsors&logoColor=white)](https://github.com/sponsors/SNAPKITTYWEST)
[![npm](https://img.shields.io/badge/npm-%40snapkitty%2Fedaulc-CB3837?logo=npm)](https://www.npmjs.com/package/@snapkitty/edaulc)
[![npm](https://img.shields.io/badge/npm-%40snapkitty%2Fabzu-CB3837?logo=npm)](https://www.npmjs.com/package/@snapkitty/abzu)
[![npm](https://img.shields.io/badge/npm-%40snapkitty%2Fbifrost-CB3837?logo=npm)](https://www.npmjs.com/package/@snapkitty/bifrost)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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*
![](https://sovereign-analytics.snapkittywest.workers.dev/canary/sovereign-context-tools)
---
## License
Licensed under **Sovereign Source License**. Full text: [LICENSE](LICENSE).