You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`.bitcode/v30-protocol-telemetry-proof-hooks.json`| gate-dependent | yes | records source-safe Protocol telemetry and proof-hook inventory for provation/documentation |
786
812
|`BITCODE_SPEC_V30_PROVEN.md`| no | yes | generated proof appendix for promoted V30 |
Copy file name to clipboardExpand all lines: BITCODE_SPEC_V30_NOTES.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,6 +231,26 @@ No Gate 7 code may mint, wrap, transfer, settle, or unlock BTD through a bridge.
231
231
The only current chain-of-record posture is `bitcoin_btd_registry` plus
232
232
`no_bridge_chain_of_record`.
233
233
234
+
## Gate 8 Protocol telemetry notes
235
+
236
+
Gate 8 turns Protocol/BTD observability into package-owned typed telemetry
237
+
instead of leaving receipts, fee states, ledger projections, source-to-shares
238
+
proofs, and bridge-readiness posture as unrelated payload fragments.
239
+
240
+
The accepted implementation is `BtdProtocolTelemetryEnvelope` in
241
+
`packages/btd/src/telemetry.ts`. It contains source-safe telemetry records and
242
+
`BtdProtocolProofHook` rows that name theorem ids, replay step ids, witness
243
+
artifact paths, generated artifact paths, evidence roots, and telemetry roots.
244
+
The envelope is compatible with V32 provation and V35 documentation/
245
+
observability because it carries replayable source-safe proof facts without
246
+
requiring protected source.
247
+
248
+
Gate 8 rejects event/subject mismatches and secret-shaped metadata before a row
249
+
can reach Terminal, API, generated proof, or persistence surfaces. The API
250
+
boundary exposes `/btd/protocol-telemetry` as a JSON-safe proof-admission route;
251
+
it does not commit source-bearing artifacts, and it does not replace existing
252
+
crypto telemetry rows used for deployment readiness health.
253
+
234
254
## Gate 1 working notes
235
255
236
256
Gate 1 is complete only when the V30 family exists, validates in draft mode over active V29, and makes the roadmap truthful enough to drive V31 through V37 without stale V27/V28/V29 posture.
| Promotion readiness | Gate 10 | V30 promotion workflow, generated `.bitcode/v30-*`, `BITCODE_SPEC_V30_PROVEN.md`| pending |`version/v30` can promote to `main` only after all V30 checks pass and promotion automation can commit generated canon. |
67
67
@@ -210,6 +210,25 @@ No `_legacy/` source is active source truth.
210
210
- Gate 7 may expose source-safe research posture to Terminal/API callers for operator review.
211
211
- Gate 7 does not promote V30 or change the active canon pointer.
212
212
213
+
## Gate 8 Parity
214
+
215
+
| Requirement | Source evidence | Current V30 judgment |
216
+
| --- | --- | --- |
217
+
| Protocol telemetry is package-owned |`packages/btd/src/telemetry.ts`, `packages/btd/src/index.ts`| drafted |
218
+
| Receipt, BTC fee, ledger projection, source-to-shares, and bridge-readiness subjects are typed |`BTD_PROTOCOL_TELEMETRY_SUBJECT_KINDS`, `packages/btd/__tests__/telemetry.test.ts`| drafted |
219
+
| Telemetry rows and proof hooks reject protected source and secrets |`sourceSafety`, metadata source-safety tests | drafted |
- Gate 8 does not expose protected source, prompt bodies, private source text, private keys, service-role keys, OpenAI keys, JWT-looking secrets, or database passwords in telemetry.
227
+
- Gate 8 does not replace deployment-readiness crypto telemetry persistence; it adds Protocol/BTD source-safe proof hooks that later V32 and V35 work can consume.
228
+
- Gate 8 does not generate promotion artifacts yet; it reserves `.bitcode/v30-protocol-telemetry-proof-hooks.json` as a source-safe generated inventory.
229
+
- Gate 8 may expose telemetry/proof hooks to Terminal/API callers for operator review.
230
+
- Gate 8 does not promote V30 or change the active canon pointer.
231
+
213
232
## completion condition
214
233
215
234
Gate 1 is complete when the V30 draft family validates, `check:v30-gate1` passes, workflow posture is V30-aware, README and roadmap reflect V30 initiation, V31-V37 scopes are current enough to guide future gates, diff hygiene passes, and the gate branch is committed and pushed for review into `version/v30`.
0 commit comments