donaldfilimon/abi / .agents/skills/secure-demo
secure-demo
VerifiedBuild the abi CLI and run the WDBX security demo — int8 embedding compression, additive homomorphic-encryption sum, and a DGHV somewhat-homomorphic eval. Use when asked about WDBX compression ratios, homomorphic encryption, or the secure-demo output. Demo-grade, not security-audited.
SKILL.md
View on GitHub---
name: secure-demo
description: Build the abi CLI and run the WDBX security demo — int8 embedding compression, additive homomorphic-encryption sum, and a DGHV somewhat-homomorphic eval. Use when asked about WDBX compression ratios, homomorphic encryption, or the secure-demo output. Demo-grade, not security-audited.
---
# secure-demo — drive WDBX compression + homomorphic-encryption demo
Driver: **`.agents/skills/secure-demo/secure.sh`** (paths relative to repo root).
Read-only CLI capture — evidence is the `RESULT:` line + the per-section output.
## Run (agent path)
```bash
.agents/skills/secure-demo/secure.sh
```
Builds the CLI, runs `abi wdbx secure demo`, and asserts `compression:`,
`additive HE:`, `homomorphic eval:`, and `match=true`. Prints `RESULT: PASS`
(exit 0) or a FAIL count.
Current Rust driver: requires each compression/additive-HE/DGHV section and
`match=true`; it does not freeze a quality ratio or imply a cryptographic audit.
## Gotchas
- ⚠️ **Demo-grade, NOT production crypto.** The CLI says so: "DGHV somewhat-
homomorphic scheme … reference parameters / bounded depth — not security-
audited." Do not represent this as AES/RBAC/production encryption (see
`docs/contracts/external-claims-audit.mdx`). Use the
`compression-security-reviewer` subagent for an audit.
- Combines what the discovery split into "compression-demo" + "fhe-demo" — both
ride the single `abi wdbx secure demo` surface.
## Troubleshooting
| Symptom | Fix |
|---|---|
| `build` FAIL | `./tools/check.sh`. |
| missing `match=true` | a HE/compression invariant broke — check `../wdbx/crates/abi-wdbx/src/{compression,crypto_he,fhe}.rs`. |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |