Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them.
Page: /drakestapleton/spark-debugger
# spark-debugger
Native runtime state inspector and execution debugger
Brought by drakestapleton
Unfinished: not checked yet
There is no published receipt of a rebuild from its source yet. What a receipt is
Get this repository
Git over HTTPS
`git clone --no-checkout https://interplane.io/projects/spark-debugger/repo.git spark-debugger && git -C spark-debugger checkout --detach f35b24e0e8e8b579e1adfd83e26458eb907a0868`
Source archive of `f35b24e0e8e8b579e1adfd83e26458eb907a0868`
Download ZIP · tar.gz
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
README.md
# spark-debugger
Crates.io License Security Standard Mission
Autonomous continuous watchdog, diagnostic triage engine, and native Stdio MCP server for SparkOS. Written in pure native Rust for microsecond observability across sovereign runtime clusters.
## Overview
`spark-debugger` operates as a dual-mode telemetry sentinel:
- Continuous Daemon: Probes all local endpoints (Cortex memory, Sovereign Cockpit, Modular MAX seats, Conduit matrix), audits GPU utilization via NVML, enforces zero-secret disk hygiene, and records health incidents into an embedded SQLite audit store.
- Model Context Protocol (MCP) Server: Exposes stdio JSON-RPC tools (`debugger_audit`, `debugger_history`) allowing AI coding agents to diagnose infrastructure health, latency spikes, and system crashes directly from their reasoning loop.
## Architecture & Watchdog Loop
```
flowchart TD
Daemon[Watchdog Sentinel Daemon] --> Probe[Network Port & HTTP Probe]
Probe --> GPU[Grace Blackwell NVML Telemetry]
GPU --> Vault[TPM Key Vault Hygiene Scan]
Vault --> SQLite[(Embedded SQLite Incident Ledger)]
SQLite --> MCP[Stdio JSON-RPC MCP Server]
MCP --> Agent[Autonomous AI Agent Harness]
Agent --> Fix[Automated Remediation]
```
## Features
- Microsecond Observability: Pure compiled Rust with Tokio asynchronous concurrency. Checks 6+ endpoints and kernel health in under 5ms.
- Stdio MCP Interface: Seamless plug-and-play integration with Claude Code, Cursor, Codex, and Antigravity via Stdio JSON-RPC 2.0.
- Embedded SQLite Ledger: Durable persistent tracking of health degradations, latency regressions, and recovery cycles in WAL mode.
- Zero Plaintext Secrets: Hardened audit routines verify zero unencrypted credentials exist in active workspaces.
- Unslop Standard: Enforces rigorous technical diagnostic output with zero conversational fluff or antithesis clichés.
## CLI Usage
```
# Execute immediate one-shot diagnostic audit
spark-debugger audit
# Run continuous background watchdog sentinel
spark-debugger daemon --interval 30 --db ~/.config/aien/debugger.db
# Launch as Stdio JSON-RPC MCP server for agent harnesses
spark-debugger mcp
```
## MCP Tools Provided
Tool Parameters Description
`debugger_audit` None Runs real-time diagnostic scan across memory, cockpit, model seats, and vault hygiene.
`debugger_history` `limit: number` Queries historical degradation incidents from embedded SQLite store.
## Building & Testing
```
# Build release binary
cargo build --release
# Run verification test suite
cargo test --verbose
```
## Sovereign Mission
Part of the AIEN Sovereign Intelligence initiative. Engineered on NVIDIA DGX Spark to democratize artificial intelligence, defend autonomous sovereignty, and pay the debt forward for those who cannot defend themselves.
## License
Licensed under either of Apache License, Version 2.0 or MIT License at your option.
## For developers: proof and records
The full record of this project. Words that are used only here are explained once:
ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is `git:89ba904667112f64e6e310303b7a3970b8dbd1ac02abd50da3d30fad4a92e453`. Its old id, kept only so that old links still work: `zhE9hwwAEWUup6PaXBcVApAVwEUt`.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is `SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs`.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes .
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts . This project has no receipt in that list yet.
Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP `info/refs` requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured `git-upload-pack` requests from all clients (the source of this count is retired)
Downloads: 0 by visitors (0 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)
commit `f35b24e0e8e8b579e1adfd83e26458eb907a0868` Branches Tags History
`f35b24e` docs: first person, Drake's own voice (L422) Drake Stapleton committed 2026-11-09
```
.github/
assets/
src/
.gitignore 80
AGENTS.md 3973
AGENT_CODE_OF_CONDUCT.md 3493
CONSTITUTION.md 8401
CONTRIBUTING.md 1513
Cargo.toml 791
LICENSE 17335
README.md 3644
SECURITY.md 1333
agent.json 594
llms.txt 1372
```
Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON