Flamethrower
A small Rust project that composes two crates—power_house and (optionally) pent_house—to produce a deterministic cognition ledger. There are no third‑party dependencies; everything else is standard library code.
Quickstart
# Build in educational mode (default feature)
# Run the HTTP service
FLAME_PORT=8080 FLAME_LEDGER=./ledger.db
# Mint a shard (label, seed)
|
# Ingest a shard (paste values from /mint)
|
# Health and metrics
|
|
Commercial feature
The commercial feature enables pent_house integration and is intended for properly licensed, commercial use.
# explicit opt-in
What it does
- Mints a shard deterministically from
(label, seed) - Re-verifies shards during ingestion using
power_house - Maintains an append-only ledger with a cumulative digest
- Exposes
/healthzand/metricson a minimal HTTP server (std::net)
Troubleshooting
- “Refusing commercial mode”: set
FLAME_ALLOW_COMMERCIAL=1and ensure you have the appropriate license. - “Verification failed”: shard was modified or the version of
power_housedoes not match. - Port already in use: change
FLAME_PORT.