@@ -900,6 +900,17 @@ First-run execution boundary:
900900
901901- A recorded Fit posture is not yet a commercial worthy Fit unless the deployed
902902 pipeline has actually executed and written its evidence.
903+ - The AssetPack pipeline must now emit depository search evidence in execution
904+ storage: ` depository/search.result` , ` depository/search.candidateRanking` ,
905+ ` depository/search.selectedCandidates` , ` depository/search.embeddingPolicy` ,
906+ ` fit.result` , ` fit.resultState` , and ` fit.resultReasons` .
907+ - Depository vector recall uses ` text-embedding-3-small` by default with
908+ ` encoding_format=' float' ` , ` dimensions=1536` , Supabase
909+ ` deliverable_vectors.embedding vector(1536)` , ` ivfflat` ,
910+ ` vector_cosine_ops` , and ` match_deliverable_vectors` cosine similarity.
911+ A different model or dimension is a new vector space and is a blocker unless
912+ all candidate vectors and query vectors are regenerated under that same
913+ policy.
903914- Until real pipeline execution exists, the honest positive-control result is
904915 ` blocked_readiness` : Deposit, Read admission, source binding, and Fit posture
905916 are reviewable, but AssetPack range, ledger anchor, BTC fee, settlement, and
@@ -941,6 +952,10 @@ Positive-control expectation:
941952 Terminal Deposit/Read components, repository/branch/commit source selection,
942953 execution-history persistence, wallet/GitHub readiness, saved QA SQL, BTD
943954 ledger readback, and proof/finality/admission primitives.
955+ - Candidate ranking should expose query root, ranking root, searched asset
956+ count, selected candidate ids, rejected candidates, blocked candidates,
957+ semantic score, source revision score, proof score, measurement score,
958+ embedding model, embedding dimensions, vector table/RPC, and distance metric.
944959- The Fit result must name why the selected deposited source evidence is
945960 decisive or why it is insufficient. A decorative Fit summary with no
946961 source/proof linkage is a failure.
@@ -986,9 +1001,15 @@ Manual steps:
98610019. Run saved query ` v28_qa_terminal_06_read_fit_quality_after_read` . Before the
9871002 first deployed pipeline execution, expect ` latest_fit_result_state` to be
9881003 ` blocked_readiness` , not ` worthy_fit` .
989- 10. Rerun ` v28_qa_terminal_02_activity_after_write` and
1004+ 10. If the Vercel Sandbox pipeline harness is run, save the exported
1005+ ` evidence.json` and ` telemetry.jsonl` summaries and verify that
1006+ ` depositorySearch` , ` fitResult` , ` queryRoot` , ` rankingRoot` , and
1007+ ` selectedCandidateAssetIds` are present in the pipeline output or execution
1008+ storage summary. Also verify ` embeddingPolicy.model` ,
1009+ ` embeddingPolicy.dimensions` , and ` embeddingPolicy.vectorStore.rpc` .
1010+ 11. Rerun ` v28_qa_terminal_02_activity_after_write` and
9901011 ` v28_qa_terminal_03_btd_ledger_after_terminal` .
991- 11 . Paste screenshots, Network payload summaries, Vercel logs for the same
1012+ 12 . Paste screenshots, Network payload summaries, Vercel logs for the same
9921013 timestamps, and all three query outputs.
9931014
9941015Pass criteria:
@@ -1006,7 +1027,8 @@ Pass criteria:
10061027 activity.
10071028- Fit evidence is source-bound and quality-explained, not just a summary.
10081029- Real ` worthy_fit` or ` no_worthy_fit` classification is backed by deployed
1009- pipeline execution rows, events, logs, and result evidence.
1030+ pipeline execution rows, events, logs, depository search evidence, candidate
1031+ ranking roots, embedding policy, and result evidence.
10101032- Settlement, finality, BTC fee, BTD range, or ledger anchor claims appear only
10111033 when query 03 shows matching projection rows; otherwise the Terminal result
10121034 labels the exact blocked-readiness state.
@@ -1019,6 +1041,10 @@ Commercial blockers:
10191041- Negative controls produce a confident AssetPack instead of no-worthy-fit or
10201042 clarification.
10211043- Fit search proceeds before Read review/admission.
1044+ - Pipeline output lacks ` fit.resultState` , ` fit.resultReasons` , query root, or
1045+ ranking root after the AssetPack pipeline entrypoint reports completion.
1046+ - Pipeline output uses an embedding model or dimensions that do not match the
1047+ stored depository vectors, or it lacks embedding policy readback.
10221048- Terminal claims delivery, settlement, mint, anchor, or finality that SQL
10231049 readback cannot verify.
10241050- Any staging-testnet Read/Fit row contains ` frontier/* ` , mock provider, or
@@ -1031,6 +1057,9 @@ Prove that the Read/Fit path can run inside the first lightweight deployment
10311057host before QA treats a Fit result as commercially meaningful. This pass checks
10321058the harness itself: sandbox creation, command execution, manifest binding,
10331059artifact export, telemetry, database persistence, and cleanup.
1060+ It also checks the first commercial finding layer: manifest Deposit supply is
1061+ converted into depository search input, candidates are ranked, and the pipeline
1062+ stores query/ranking roots before any result state is reviewed.
10341063
10351064Prerequisites:
10361065
@@ -1071,9 +1100,16 @@ BITCODE_SANDBOX_SOURCE_GIT_URL=https://github.com/engineeredsoftware/ENGI.git \
10711100BITCODE_SANDBOX_SOURCE_BRANCH=main \
10721101BITCODE_SANDBOX_SOURCE_COMMIT=31bbc0c5227b6b3aed5d107fd8507d35ec22970a \
10731102BITCODE_SANDBOX_SOURCE_REVISION=31bbc0c5227b6b3aed5d107fd8507d35ec22970a \
1103+ BITCODE_SANDBOX_DEPOSIT_HAS_PROOF=1 \
1104+ BITCODE_SANDBOX_DEPOSIT_HAS_MEASUREMENT=1 \
10741105pnpm run qa:pipeline-harness:sandbox
10751106` ` `
10761107
1108+ Omit ` BITCODE_SANDBOX_DEPOSIT_HAS_PROOF` and
1109+ ` BITCODE_SANDBOX_DEPOSIT_HAS_MEASUREMENT` when the manifest Deposit proof or
1110+ measurement posture has not been independently verified; expected result then
1111+ remains ` blocked_readiness` .
1112+
10771113If database streaming is intentionally being tested, pass only the required
10781114keys by name:
10791115
@@ -1087,18 +1123,31 @@ After either harness run:
10871123
108811241. Save the command JSON summary, sandbox id, command exit codes, and artifact
10891125 presence fields.
1090- 2. Run saved query
1126+ 2. Inspect exported ` evidence.json` for ` fitResult.resultState` ,
1127+ ` fitResult.resultReasons` , ` depositorySearch.queryRoot` ,
1128+ ` depositorySearch.rankingRoot` , ` depositorySearch.searchedAssetCount` , and
1129+ ` depositorySearch.selectedCandidateAssetIds` . Verify
1130+ ` depositorySearch.embeddingPolicy.model=' text-embedding-3-small' ` ,
1131+ ` depositorySearch.embeddingPolicy.dimensions=1536` ,
1132+ ` depositorySearch.embeddingPolicy.vectorStore.rpc=' match_deliverable_vectors' ` ,
1133+ and ` depositorySearch.embeddingPolicy.vectorStore.distanceMetric=' cosine' `
1134+ unless the entire vector store was intentionally rebuilt under a different
1135+ matching policy.
1136+ 3. Run saved query
10911137 ` supabase/queries/v28_qa_terminal_07_pipeline_harness_after_fit.sql` .
1092- 3 . Rerun ` v28_qa_terminal_06_read_fit_quality_after_read` and
1138+ 4 . Rerun ` v28_qa_terminal_06_read_fit_quality_after_read` and
10931139 ` v28_qa_terminal_03_btd_ledger_after_terminal` .
1094- 4 . Capture Vercel Sandbox dashboard/log evidence for the same timestamps.
1140+ 5 . Capture Vercel Sandbox dashboard/log evidence for the same timestamps.
10951141
10961142Pass criteria:
10971143
10981144- Host smoke returns exported evidence and telemetry artifacts and stops the
10991145 sandbox cleanly.
11001146- The repository pipeline run either produces source-bound AssetPack pipeline
11011147 evidence or an explicit ` blocked_readiness` error artifact.
1148+ - Repository pipeline evidence contains depository search result state,
1149+ candidate ranking, selected candidate ids, query root, ranking root, and
1150+ embedding policy.
11021151- Query 07 reports ` pipeline_harness_ready_for_result_review` , or reports a
11031152 precise blocker/warning that Terminal also shows as blocked-readiness.
11041153- Query 07 shows recent pipeline runtime evidence in at least the base runtime
@@ -1117,6 +1166,7 @@ Commercial blockers:
11171166- The harness runs but cannot export evidence artifacts before sandbox stop.
11181167- A ` worthy_fit` or ` no_worthy_fit` result is claimed without query 07 runtime
11191168 evidence.
1169+ - The pipeline completed without depository search/ranking evidence.
11201170- Provider tokens, wallet signatures, GitHub credentials, model keys, or
11211171 Supabase service-role secrets appear unredacted in command output, artifacts,
11221172 browser telemetry, or routine QA query rows.
0 commit comments