donaldfilimon/abi / .agents/skills/abi-superpower-wdbx-secure
abi-superpower-wdbx-secure
VerifiedWDBX secure/compression demos. Deterministic persisted PQ/autoencoder artifacts, additive/DGHV references, educational refresh, and optional pinned TFHE-rs execution with strict claim boundaries.
WDBX moved out of this repository on 2026-08-22. It now lives in the sibling repo
../wdbxtogether withabi-compute,abi-foundation,abi-core, andabi-telemetry;abiconsumes them by relative path. Source paths below therefore read../wdbx/crates/.... Run WDBX-only tests from that repo (./tools/cargo.sh test --locked --manifest-path ../wdbx/Cargo.toml --workspace < /dev/null, run from the abi checkout), andabi's gate (./tools/check.sh) from here.Under the Abbey System Constitution (
docs/superpowers/specs/2026-08-22-abbey-system-constitution.md) WDBX is the provenance-aware episodic substrate, not a vector store. Most of the evidence half of its specification is unimplemented; the measured gap list is indocs/superpowers/specs/2026-08-22-wdbx-conformance-gap-analysis.md. Do not describe an episodic capability as Current on the strength of the vector-store features that do exist.
ABI Superpower: WDBX Secure Demos
Exposes WDBX security/compression demos as a superpower. All are reference-grade, not production — explicitly disclosed in docs/spec/wdbx-north-star.mdx §2 and docs/contracts/external-claims-audit.mdx.
Real CLI action
The public CLI exposes a combined reference demo and two feature-gated, explicitly non-production demonstrations:
abi wdbx secure demo
abi wdbx secure dghv-bootstrap
abi wdbx secure tfhe
Int8 quantization, order-0 Huffman, the reference autoencoder, additive HE, and DGHV somewhat-homomorphic operations are library components exercised by that demo and their crate tests. They are not separate production CLI tools.
Implementation
| Module | Purpose | Status |
|---|---|---|
../wdbx/crates/abi-wdbx/src/compression.rs | Int8 quantization | Current |
../wdbx/crates/abi-wdbx/src/entropy.rs | Order-0 Huffman | Current |
../wdbx/crates/abi-wdbx/src/neural_compress.rs | Autoencoder (hand backprop) | Current |
../wdbx/crates/abi-wdbx/src/codecs/{pq,autoencoder}.rs | Deterministic versioned persisted artifacts + validation/metrics | Current local/reference scope |
../wdbx/crates/abi-wdbx/src/v2/segment/codec.rs | Segment codec integration and persisted metrics | Current local/reference scope |
../wdbx/crates/abi-wdbx/src/crypto_he.rs | Additive HE | Current |
../wdbx/crates/abi-wdbx/src/fhe.rs | DGHV SHE + feature-gated secret-key-assisted educational refresh | Current reference/demo |
../wdbx/crates/abi-wdbx/src/tfhe_demo.rs | Pinned TFHE-rs boolean/integer/programmable-bootstrap execution | Optional full-fhe demo |
Claim Boundary
Per docs/spec/wdbx-north-star.mdx §2 and docs/contracts/external-claims-audit.mdx:
| Demo | What it IS | What it is NOT |
|---|---|---|
| Int8 quantization | ~4× embedding compression | Production learned codec |
| Order-0 Huffman | Exact lossless entropy coding | ANS/arithmetic/context-model |
| Neural compress | Hand-written backprop autoencoder | SOTA/production-scale learned codec |
| PQ/autoencoder artifacts | Deterministic persisted versioned codecs with local quality metrics | SOTA, production-quality, or universal compression |
| Additive HE | Single-key encrypted aggregation | Multi-key/FHE |
| DGHV SHE / refresh | Add+multiply plus secret-key-assisted educational refresh | Cryptographic bootstrapping, production FHE, security audit |
| TFHE-rs demo | Feature-gated pinned dependency APIs execute with ephemeral keys | ABI-authored FHE, independent audit, protective-use approval |
Do not present as: production encryption, ABI-authored bootstrapped FHE, SOTA compression, multi-key HE, independently audited cryptography, or approved protective use.
CLI Access
abi wdbx secure demo
abi wdbx secure dghv-bootstrap # feature experimental-dghv-bootstrap
abi wdbx secure tfhe # release build, feature full-fhe
Build and runtime boundary
abi-wdbx is a normal Rust workspace crate; there is no feat-wdbx switch or
FeatureDisabled stub. The public CLI intentionally exposes the combined
These commands are demonstrations, not production cryptography tools.
Testing
compression.rs— quantization round-trip + determinismentropy.rs— encode/decode round-trip, compression rationeural_compress.rs— training determinism, reconstruction errorcrypto_he.rs— additive homomorphism verificationfhe.rs— DGHV add+multiply chain depth-3fhe.rs— complete educational refresh/NAND truth tables behind its featuretfhe_demo.rs— pinned API execution via./tools/check_full_fhe.sh
Default/reference tests run under ./tools/check.sh; the optional pinned
TFHE-rs release-mode path is gated separately by ./tools/check_full_fhe.sh.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |