Root docs
Repository viewer
Legacy docs parity surface
Back to repository viewer
Repository document
ZK Capability Matrix
zk-capability-matrix.md
Boundary
This route preserves legacy markdown access inside the Next.js surface. The raw repository file remains authoritative.
Open raw fileZK Capability Matrix
This matrix separates what the PrivateDAO zk stack does today from what remains future work.
The goal is reviewer clarity and execution pressure: local proof work, standalone Testnet verifier evidence, and the Squads-governed integrated verifier path must stay distinct until each layer has its own transaction evidence.
Capability Matrix
| Layer | What It Proves | Live Now | Verification Path | What Is Not Claimed | Boundary |
|---|---|---|---|---|---|
| Vote validity proof | A committed vote can be checked against a bounded public signal set | Live off-chain | npm run zk:prove:vote and npm run zk:verify:vote | no verifier CPI on Solana | additive to current protocol |
| Delegation authorization proof | Delegated authority binds to the proposal-scoped delegation intent | Live off-chain | npm run zk:prove:delegation and npm run zk:verify:delegation | no production-grade delegated privacy path on-chain | additive to current protocol |
| Tally integrity proof | A bounded tally sample is coherent with its public signals | Live off-chain | npm run zk:prove:tally and npm run zk:verify:tally | not a full hidden tally replacement | bounded reveal sample, not a full hidden tally replacement |
| Public-signal consistency | Generated outputs stay aligned with the expected public inputs | Verified | npm run verify:zk-consistency | not a cryptographic verifier contract | sample-output coherence check |
| Tampered public-signal rejection | Modified public signals fail the verifier path | Verified | npm run verify:zk-negative | not an on-chain slash or enforcement path | off-chain verification safeguard |
| Tampered proof rejection | Modified proof objects fail the verifier path | Verified | npm run verify:zk-negative | not an on-chain slash or enforcement path | off-chain verification safeguard |
| Proposal-bound proof anchors | Proof-related state can be anchored to proposal context for reviewability | Live and anchored | docs/frontier-integrations.generated.md, docs/test-wallet-live-proof-v3.generated.md | not a complete on-chain verifier CPI | reviewer-facing on-chain anchoring |
| ZK registry integrity | The repository keeps a machine-readable map of zk artifacts and their roles | Verified | npm run build:zk-registry and npm run verify:zk-registry | not a wallet execution guarantee | machine-readable review layer |
| ZK provenance transcript | Setup, circuit, and artifact lineage remain traceable | Verified | npm run build:zk-transcript and npm run verify:zk-transcript | not an external audit opinion | reviewer-readable artifact traceability |
| ZK attestation | Registry, transcript, and verification commands stay tied together | Verified | npm run build:zk-attestation and npm run verify:zk-attestation | not a production launch approval | machine-readable registry and transcript summary |
| ZK doc coherence | The zk docs and artifact surfaces stay consistent | Verified | npm run verify:zk-docs | not protocol enforcement | reviewer-surface discipline |
| ZK review-surface integration | ZK links remain connected to proof, audit, and operations surfaces | Verified | npm run verify:zk-surface and npm run verify:all | not a claim that ZK is the only review path | docs, registry, signals, and tamper checks stay aligned |
zk_enforced finalize path | A stricter proposal path can require stronger receipts and review posture | Live but bounded | docs/zk-verifier-strategy.md, docs/governance-hardening-v3.md, docs/test-wallet-live-proof-v3.generated.md | not the dominant production recommendation yet | stronger path, still additive and truth-aligned |
| Standalone on-chain verifier | A separate Solana Testnet verifier program emits a BN254/Groth16 receipt | Testnet deployed | docs/zk-standalone-verifier-testnet-2026-05-23.md, program 5H7Afyqdh5yPekkZJ5UM2j3HNB2bRvU8aVv8XoqeAW1j, receipt zwqNsA3kNP1mgcaS6zNdR92LLdssFULXfsRdkMK3UxraKLM6wYDoPaWCwV3J9PqApK5xJJH8TpxsGyCRcdEah67 | not integrated governance CPI | reviewer-visible on-chain verifier evidence |
| Program-integrated verifier path | Current PrivateDAO binary path can absorb stricter verifier/runtime integration under Squads governance | Staged behind timelock | docs/squads-current-binary-upgrade-proposal-2026-05-25.md, proposal index 3, buffer HXcaUbT7Q8euufUbDKuhoRkSSYQPwUwmhw69TdePV6uY, release 2026-05-27T02:25:39Z | not executed until Squads timelock releases and proposal index 3 executes | active protocol release path |
| Anonymous private treasury execution | Treasury execution remains fully private and anonymous end-to-end | Not implemented | not claimed | no anonymous private treasury execution | outside current scope |
| Full hidden on-chain tally replacement | Tally stays fully hidden and enforced on-chain rather than reviewer-bounded | Not implemented | not claimed | no full hidden tally replacement | future zk phase |
Our Reading Of The Matrix
This is the PrivateDAO-specific reading that matters:
- ZK is real inside the repository and reviewer stack.
- ZK is already tied to proof packets, runtime evidence, and proposal-bound anchors.
- ZK is not being presented here as a fake "fully trustless everything" system.
- Standalone on-chain verifier evidence exists on Testnet now.
- Integrated governance verifier work is staged through Squads proposal index
3and must execute after the enforced timelock before it becomes a live protocol claim. zk_enforcedis useful and live as a stricter path, but it is not yet described as the universal production default.
Reviewer Shortcut
If you want the shortest high-signal path for this matrix:
- Read
docs/zk-layer.md - Read
docs/zk-capability-matrix.md - Read
docs/zk-provenance.md - Open
docs/zk-transcript.generated.md - Open
docs/zk-attestation.generated.json - Open
docs/test-wallet-live-proof-v3.generated.md - Open
docs/frontier-integrations.generated.md - Open
docs/cryptographic-onchain-matrix-2026-05-25.md
Reviewer Reading Guide
What is strong today:
- real Circom circuits
- real Groth16 proofs
- real setup artifacts
- replay-bounded public outputs
- consistency checks
- tamper rejection
- registry-backed zk review surface
- standalone Testnet verifier program and receipt
- Squads-governed integrated binary staged behind timelock
What is intentionally not claimed:
- fully integrated governance verifier CPI already executed
- private treasury execution
- anonymous mainnet governance execution
- full hidden tally replacement
Canonical Commands
npm run zk:all
npm run verify:zk-registry
npm run verify:zk-transcript
npm run verify:zk-attestation
npm run verify:zk-docs
npm run verify:zk-consistency
npm run verify:zk-negative
npm run verify:zk-surface
npm run verify:cryptographic-onchain-matrix
npm run verify:all