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
Copy file name to clipboardExpand all lines: BITCODE_SPEC_V39.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,16 @@ blockers; only `acceptReadNeed` may produce Finding Fits admission.
134
134
Gate 5 makes `ReadFitsFindingSynthesis` search the whole available Depository for many candidate deposits.
135
135
It must execute inference-derived query planning, lexical/symbolic/path/metadata/measurement/vector/provider channels, threshold ranking, verification, selected-fit provenance, replay receipts, and repair paths over the accepted Need.
136
136
The active vector policy remains OpenAI `text-embedding-3-small`, 1536 dimensions, cosine similarity, and `match_deliverable_vectors` until a tested migration is specified.
137
+
The implementation basis is `ReadFitsFindingRuntime`, exported from
138
+
`packages/pipelines/asset-pack/src/read-fits-finding-runtime.ts`. It wraps
139
+
the depository search result with `ReadFitsFindingReplayReceipt`,
140
+
`ReadFitsFindingStorageRecord`, `ReadFitsFindingTelemetryReceipt`, and
141
+
`ReadFitsFindingRepairPosture` projections so an accepted Need can replay the
policy, and candidate counts without exposing protected source or unpaid
144
+
AssetPack source. The generated source-safe proof artifact is
145
+
`.bitcode/v39-read-fits-finding-runtime.json`, checked by
146
+
`pnpm run check:v39-gate5`.
137
147
138
148
### Gate 6: AssetPack Preview, Quote, And Disclosure Boundary
139
149
@@ -248,8 +258,8 @@ Current canonical objects and emitted artifacts: query receipts, search channel
248
258
Current algorithms and derivation rules: inference-derived queries search lexical, symbolic, path, metadata, measurement, embedding/vector, and provider-specific channels before ranking.
249
259
Current invariants and fail-closed conditions: no-survivor asset pack and unsupported vector policy fail closed.
250
260
Current proof obligations: Selection-and-materialization, Verification-decisions, and Disclosure-boundary proofs.
251
-
Current source-bearing implementation basis: `depository-search.ts`, `embedding-config.ts`, and depository-search tools.
252
-
Current validating commands and parity basis: V39 Gate 7 checks and later Gate 8 handoff checks.
261
+
Current source-bearing implementation basis: `depository-search.ts`, `read-fits-finding-runtime.ts`, `embedding-config.ts`, and depository-search tools.
262
+
Current validating commands and parity basis: V39 Gate 5 checks, Gate 7 checks, and later Gate 8 handoff checks.
253
263
Current accepted boundaries: source-safe preview before settlement, full source only after paid rights transfer.
Copy file name to clipboardExpand all lines: BITCODE_SPEC_V39_NOTES.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,14 @@ without accidentally admitting Finding Fits.
211
211
## Gate 5 implementation notes
212
212
213
213
Gate 5 closes `ReadFitsFindingSynthesis` as a runtime many-candidate search pipeline with replayable query, ranking, threshold, and selected-fit provenance receipts across lexical, symbolic, path, metadata, measurement, vector, and provider-specific channels.
214
+
The package-owned runtime is `ReadFitsFindingRuntime`. It persists
215
+
source-safe storage records for accepted-Need admission, query plan, search
216
+
channels, candidate ranking, selected-fit provenance, fit result, telemetry,
217
+
repair posture, and source-safe replay receipt. The source-safe replay receipt
| ReadFitsFinding runtime |`ReadFitsFindingSynthesis` searches many above-threshold deposits with replayable query, ranking, threshold, and selected-fit provenance receipts |pending|
98
+
| ReadFitsFinding runtime |`ReadFitsFindingSynthesis` searches many above-threshold deposits with replayable query, ranking, threshold, and selected-fit provenance receipts |implemented|
99
99
| Preview and quote | AssetPack preview is source-safe and quote is deterministic before settlement | pending |
100
100
| Settlement and delivery | BTC settlement, BTD rights transfer, source-to-shares compensation, ledger/database/storage sync, and delivery are auditable | pending |
101
101
| Telemetry and repair | Reading emits source-safe rich stream events and operator readback with proof roots and repair posture | pending |
@@ -165,16 +165,29 @@ No `_legacy/` source is active source truth.
165
165
166
166
## Later Gate Parity
167
167
168
-
Later V39 gates must add gate-specific parity sections when their implementation begins. Gates 1 through 4 intentionally do not claim closure for Finding Fits runtime, preview/quote, settlement/delivery, telemetry/repair, interface parity, rehearsal, or promotion readiness.
168
+
Later V39 gates must add gate-specific parity sections when their implementation begins. Gates 1 through 5 intentionally do not claim closure for preview/quote, settlement/delivery, telemetry/repair, interface parity, rehearsal, or promotion readiness.
169
169
170
170
## accepted boundaries and reopen conditions
171
171
172
172
V39 Gate 1 accepts only draft-family, roadmap, workflow, branch, and documentation posture closure.
173
173
V39 Gate 2 accepts only Depository supply indexing, source-safe search document, vector projection, storage readback posture, rights boundary, repair posture, and Finding Fits handoff closure.
V39 Gate 5 accepts only ReadFitsFinding runtime storage projection, many-candidate depository search, source-safe query/ranking/provenance evidence, replay receipts, repair posture, active embedding policy, and generated runtime proof artifact closure.
176
177
Later gate scope is intentionally pending and must be reopened into gate-specific parity sections before implementation starts.
177
178
179
+
## Gate 5 Parity
180
+
181
+
V39 Gate 5 is implemented when `ReadFitsFindingRuntime` wraps the accepted-Need
182
+
depository search with source-safe runtime, storage, telemetry, replay, and
183
+
repair records. The parity source is
184
+
`packages/pipelines/asset-pack/src/read-fits-finding-runtime.ts`; it must not
185
+
expose protected source, raw protected prompts, raw provider responses,
186
+
credentials, wallet private material, settlement private payloads, or unpaid
187
+
AssetPack source. The generated proof artifact is
188
+
`.bitcode/v39-read-fits-finding-runtime.json` and the gate check is
189
+
`pnpm run check:v39-gate5`.
190
+
178
191
## completion condition
179
192
180
-
V39 Gate 4 is complete when `check:v39-gate4`, focused ReadNeed package and route tests, V39 draft spec-family validation, V38/V39 canon-posture drift validation, and promoted V38 spec-family validation all pass on a `v39/gate-4-*` branch.
193
+
V39 Gate 5 is complete when `check:v39-gate5`, focused ReadFitsFinding package tests, V39 draft spec-family validation, V38/V39 canon-posture drift validation, and promoted V38 spec-family validation all pass on a `v39/gate-5-*` branch.
- V34 Gate 2 closure anchor: deployment-depth now owns package-backed `DeploymentHostCapabilityCatalog` and `EnvironmentLaneContract` source, deterministic `.bitcode/v34-deployment-host-capability-catalog.json` and `.bitcode/v34-environment-lane-contracts.json`, and visible `value-bearing-mainnet` blocking through `blocked_future_canon_required`.
0 commit comments