|
| 1 | +{ |
| 2 | + "proofId": "v27-gate-1-source-audit-proof", |
| 3 | + "version": "V27", |
| 4 | + "generatedAt": "2026-05-06T00:00:00.000Z", |
| 5 | + "activeCanonicalPointer": "V26", |
| 6 | + "state": "draft-target-gate-closure", |
| 7 | + "gate": { |
| 8 | + "number": 1, |
| 9 | + "name": "Draft Opening And Source Audit", |
| 10 | + "status": "closed" |
| 11 | + }, |
| 12 | + "closureCriteria": [ |
| 13 | + { |
| 14 | + "criterion": "V27 SPEC, DELTA, NOTES, and PARITY files exist", |
| 15 | + "status": "closed", |
| 16 | + "evidence": [ |
| 17 | + "BITCODE_SPEC_V27.md", |
| 18 | + "BITCODE_SPEC_V27_DELTA.md", |
| 19 | + "BITCODE_SPEC_V27_NOTES.md", |
| 20 | + "BITCODE_SPEC_V27_PARITY_MATRIX.md" |
| 21 | + ] |
| 22 | + }, |
| 23 | + { |
| 24 | + "criterion": "V26 remains the active canonical pointer", |
| 25 | + "status": "closed", |
| 26 | + "evidence": [ |
| 27 | + "BITCODE_SPEC.txt contains V26" |
| 28 | + ] |
| 29 | + }, |
| 30 | + { |
| 31 | + "criterion": "audited surfaces are listed in the parity matrix", |
| 32 | + "status": "closed", |
| 33 | + "evidence": [ |
| 34 | + "BITCODE_SPEC_V27_PARITY_MATRIX.md audit basis lists spec, package, API, ORM, migration, UAPI, MCP, demonstration, and proof-slice surfaces" |
| 35 | + ] |
| 36 | + }, |
| 37 | + { |
| 38 | + "criterion": "parity rows classify source truth as implemented, partial, gap, or deferred", |
| 39 | + "status": "closed", |
| 40 | + "evidence": [ |
| 41 | + "BITCODE_SPEC_V27_PARITY_MATRIX.md judgment legend and V27 Source Parity Matrix classify all current rows" |
| 42 | + ] |
| 43 | + }, |
| 44 | + { |
| 45 | + "criterion": "no generated proof claim is made before proof artifacts exist", |
| 46 | + "status": "closed", |
| 47 | + "evidence": [ |
| 48 | + "BITCODE_SPEC_V27.md, BITCODE_SPEC_V27_DELTA.md, and BITCODE_SPEC_V27_PARITY_MATRIX.md still state generated proof appendix is not generated yet", |
| 49 | + ".bitcode/v27-crypto-primitives-proof.json is only a draft-target proof slice", |
| 50 | + ".bitcode/v27-gate-1-source-audit-proof.json is only a source-audit gate closure proof" |
| 51 | + ] |
| 52 | + } |
| 53 | + ], |
| 54 | + "sourceDiscovery": { |
| 55 | + "excluded": [ |
| 56 | + "_legacy/**" |
| 57 | + ], |
| 58 | + "queryClasses": [ |
| 59 | + "active canonical pointer and current spec family discovery", |
| 60 | + "V26 commercial canon, parity, application systems, and proof surfaces", |
| 61 | + "V27 draft spec family synchronization", |
| 62 | + "$BTD, BTC fee, non-fungible, range, supply, mint, access, revenue, ancestry, compatibility-storage searches", |
| 63 | + "wallet, ledger, Bitcoin, Taproot, Ethereum, testnet, mainnet, telemetry, reconciliation, Exchange, Terminal, order, bid, ask, buy, sell, transfer, journal searches", |
| 64 | + "package discovery under packages/btd, packages/api, packages/orm, packages/supabase, and packages/executions-mcp", |
| 65 | + "commercial interface discovery under uapi", |
| 66 | + "protocol reference discovery under protocol-demonstration", |
| 67 | + "database and migration discovery under supabase and internal-docs" |
| 68 | + ], |
| 69 | + "canonicalDraftSurfaces": [ |
| 70 | + "BITCODE_SPEC.txt", |
| 71 | + "BITCODE_SPEC_V27.md", |
| 72 | + "BITCODE_SPEC_V27_DELTA.md", |
| 73 | + "BITCODE_SPEC_V27_NOTES.md", |
| 74 | + "BITCODE_SPEC_V27_PARITY_MATRIX.md", |
| 75 | + "packages/btd/src/constants.ts", |
| 76 | + "packages/btd/src/supply.ts", |
| 77 | + "packages/btd/src/measuremint.ts", |
| 78 | + "packages/btd/src/semantic-volume.ts", |
| 79 | + "packages/btd/src/range.ts", |
| 80 | + "packages/btd/src/receipts.ts", |
| 81 | + "packages/btd/src/replay.ts", |
| 82 | + "packages/btd/src/allocation.ts", |
| 83 | + "packages/btd/src/access.ts", |
| 84 | + "packages/btd/src/ancestry.ts", |
| 85 | + "packages/btd/src/revenue.ts", |
| 86 | + "packages/btd/src/wallet.ts", |
| 87 | + "packages/btd/src/bitcoin-fees.ts", |
| 88 | + "packages/btd/src/bitcoin-provider.ts", |
| 89 | + "packages/btd/src/deployment-lanes.ts", |
| 90 | + "packages/btd/src/ledger-anchor.ts", |
| 91 | + "packages/btd/src/exchange.ts", |
| 92 | + "packages/btd/src/terminal-journal.ts", |
| 93 | + "packages/btd/src/reconciliation.ts", |
| 94 | + "packages/btd/src/telemetry.ts", |
| 95 | + "packages/btd/src/upgrade.ts", |
| 96 | + "packages/api/src/routes/btd-crypto.ts", |
| 97 | + "packages/api/src/routes/__tests__/btd-crypto.test.ts", |
| 98 | + "packages/api/src/routes/__tests__/user-btd-mutation.test.ts", |
| 99 | + "uapi/app/api/btd/registry/route.ts", |
| 100 | + "uapi/app/api/btd/mint-draft/route.ts", |
| 101 | + "packages/orm/src/models/btd-registry.ts", |
| 102 | + "packages/orm/src/client.ts", |
| 103 | + "supabase/migrations/002_v27_btd_crypto_registry.sql", |
| 104 | + "protocol-demonstration/src/v27-crypto-primitives.js", |
| 105 | + "protocol-demonstration/test/v27-crypto-primitives.test.js", |
| 106 | + "internal-docs/BITCODE_EXCHANGE_DATABASE.md", |
| 107 | + ".bitcode/v27-crypto-primitives-proof.json", |
| 108 | + ".bitcode/v27-gate-2-ontology-cap-proof.json", |
| 109 | + ".bitcode/v27-gate-3-supply-range-proof.json", |
| 110 | + ".bitcode/v27-source-to-shares-mint-admission-proof.json", |
| 111 | + ".bitcode/v27-gate-4-mint-admission-proof.json", |
| 112 | + ".bitcode/v27-receipt-replay-proof.json", |
| 113 | + ".bitcode/v27-gate-5-receipt-replay-proof.json", |
| 114 | + ".bitcode/v27-gate-6-exchange-persistence-proof.json" |
| 115 | + ] |
| 116 | + }, |
| 117 | + "nonPromotionAssertions": [ |
| 118 | + "BITCODE_SPEC.txt remains V26", |
| 119 | + "BITCODE_SPEC_V27_PROVEN.md does not exist", |
| 120 | + "V27 remains draft target until later gates, generated proofs, tests, and promotion closure complete", |
| 121 | + "No value-bearing mainnet readiness or launch is claimed by Gate 1 closure" |
| 122 | + ], |
| 123 | + "remainingGateFamilies": [ |
| 124 | + "Gate 7: Access And Policy", |
| 125 | + "Gate 8: Allocation And Revenue", |
| 126 | + "Gate 9: Ancestry And Anti-Game", |
| 127 | + "Gate 10: Wallet And BTC Fee Settlement", |
| 128 | + "Gate 11: Ledgerized AssetPack Anchoring", |
| 129 | + "Gate 12: Minimal AssetPack Exchange", |
| 130 | + "Gate 13: Terminal Transactions And Journal Diffing", |
| 131 | + "Gate 14: Ledger/Database Reconciliation", |
| 132 | + "Gate 15: Testnet/Mainnet Telemetry And Upgrades", |
| 133 | + "Gate 16: Product Surfaces, Research Rebinding, And Promotion Proof" |
| 134 | + ] |
| 135 | +} |
0 commit comments