{"contract_version":"v1","corpus_contract":"corpus-2026-07-24","counts":{"corpus_act":307968,"corpus_edge":1658678,"corpus_summary":307053},"corpus_summary_loaded":true,"body_source_available":true,"migration_head":"053_corpus_summary_admit_shell_excluded.sql","corpus_loaded_at":"2026-12-03T00:41:13.856566+00:00","summary_loaded_at":"2026-12-03T00:44:40.595417+00:00","search_coverage":{"available":true,"reason":null,"basis":"search_index_state (the search build ledger, written BY the indexer) ⋈ corpus_act / corpus_part","denominator":{"latest_acts":262423,"parts_cohort_acts":7789,"source":"corpus_act.is_latest for the act lanes, the parts SEARCH COHORT for the part lanes (see lanes.part_lexical/part_vector.denominator_source) — the corpus plane, never the index being described"},"lanes":{"act_lexical":{"state":"partial","indexed":261408,"denominator":262423,"pct":99.61,"count_unit":"acts","ledger_row_absent":1015,"ledger_row_without_stamp":0,"ledger_column":"act_doc_lexical_at","denominator_source":"corpus_act.is_latest (the corpus plane)","reason":"1015 of 262423 acts carry no act_lexical stamp"},"act_vector":{"state":"partial","indexed":80553,"denominator":262423,"pct":30.7,"count_unit":"acts","ledger_row_absent":1015,"ledger_row_without_stamp":180855,"ledger_column":"act_vector_at","denominator_source":"corpus_act.is_latest (the corpus plane)","reason":"D15 (legdb.search.corpus._VEC_BANDS): the semantic ACT lane never receives a vector for band C or unscored acts — a permanent design exclusion, not an unbuilt gap. 181060 of 262423 latest acts are excluded this way and will NEVER carry a vector under the current ruling. Of the 81363 acts D15 actually admits (bands B/A/A+), 80553 (99.0%) already carry one — the real build gap is 810, not the 181870 the top-level `reason` on this lane names.","design_scope":{"eligible_by_design":81363,"excluded_by_design":181060,"indexed":80553,"eligible_pct":99.0,"eligible_bands":["B","A","A+"],"reason":"D15 (legdb.search.corpus._VEC_BANDS): the semantic ACT lane never receives a vector for band C or unscored acts — a permanent design exclusion, not an unbuilt gap. 181060 of 262423 latest acts are excluded this way and will NEVER carry a vector under the current ruling. Of the 81363 acts D15 actually admits (bands B/A/A+), 80553 (99.0%) already carry one — the real build gap is 810, not the 181870 the top-level `reason` on this lane names."}},"part_lexical":{"state":"partial","indexed":7763,"denominator":7789,"pct":99.67,"count_unit":"acts","ledger_row_absent":0,"ledger_row_without_stamp":26,"ledger_column":"parts_lexical_at","denominator_source":"the PARTS SEARCH COHORT, counted in ACTS: corpus_act.selected AND corpus_summary.importance_score >= PARTS_COHORT_MIN_SCORE AND corpus_part.part_kind IN ARTICLE_BEARING_PART_KINDS — the exact ACT population scripts/build_parts_search.py projects (the corpus plane). NOT corpus_part_state rows with part_count > 0 (10,280 acts — the wider BUILD-plane population; measured 2026-08-01, see corpus_parts_build.acts_with_parts), and NOT a document/part count — ES legdb_parts holds many documents per act; see this lane's count_unit","reason":"26 of 7789 acts carry no part_lexical stamp"},"part_vector":{"state":"complete","indexed":7789,"denominator":7789,"pct":100.0,"count_unit":"acts","ledger_row_absent":0,"ledger_row_without_stamp":0,"ledger_column":"part_vectors_at","denominator_source":"the PARTS SEARCH COHORT, counted in ACTS: corpus_act.selected AND corpus_summary.importance_score >= PARTS_COHORT_MIN_SCORE AND corpus_part.part_kind IN ARTICLE_BEARING_PART_KINDS — the exact ACT population scripts/build_parts_search.py projects (the corpus plane). NOT corpus_part_state rows with part_count > 0 (10,280 acts — the wider BUILD-plane population; measured 2026-08-01, see corpus_parts_build.acts_with_parts), and NOT a document/part count — Qdrant `parts` would hold many points per act once built; see this lane's count_unit","reason":null,"summary_plane":{"state":"present","rows":9529,"reason":null,"measures":"the corpus_part_summary SOURCE table — whether the LLM Parts Pass has produced rows — and never the vector lane that would embed them. `state:'present'` means summaries exist; it says nothing about whether any of them was embedded. See `vectors` below for that, which is the separate fact.","vectors":{"state":"never_built","rows_total":9529,"rows_embedded":0,"pct":null,"reason":"none of the 9529 corpus_part_summary rows carries an embedded_at stamp — the summaries exist and nothing has embedded them. This is NOT 0% coverage of a lane that ran; the embedding + projection step has never run at all"}}},"article_vector":{"state":"complete","indexed":7858,"denominator":7858,"pct":100.0,"count_unit":"acts","ledger_row_absent":null,"ledger_row_without_stamp":null,"ledger_column":null,"ledger":"corpus_part_articles_state.build_reason","denominator_source":"acts in the article cohort that CAN have articles: corpus_part_articles_state rows minus the build_reason='full_act_result' population, which has no article ladder and is excluded by design rather than pending","design_scope":{"cohort_rows":25925,"eligible":7858,"eligible_indexed":7858,"excluded_by_design":18067,"excluded_reason":"build_reason='full_act_result': no article ladder, so nothing was split at any level and the act returns the full-document result type. A permanent, correct outcome — never a pending build","acts_with_chunks_never_assessed":2785,"never_assessed_reason":"acts holding corpus_part rows with NO corpus_part_articles_state row at all — the article build never looked at them. `checked-and-impossible != never-tried` (D26): this is the absence of a row, not either build_reason value, and it is reported separately because nothing else in this block would reveal it"},"reason":null,"lexical_lane_absent_reason":"the article plane is vector-only by design (D42) — it has no Elasticsearch index, so there is no `article_lexical` lane missing from this block"},"chunk_vector":{"state":"complete","indexed":11773,"denominator":11773,"pct":100.0,"count_unit":"acts","ledger_row_absent":null,"ledger_row_without_stamp":null,"ledger_column":null,"ledger":"corpus_part_chunks_state.build_reason","denominator_source":"acts in the flat-act cohort that CAN be flat-cut: corpus_part_chunks_state rows minus the build_reason='not_flat' population, which has its own article ladder (the article plane owns it) and is excluded by design rather than pending","design_scope":{"cohort_rows":11773,"eligible":11773,"eligible_indexed":11773,"excluded_by_design":0,"excluded_reason":"build_reason='not_flat': the act has its own article ladder, so the article plane splits it instead and this plane correctly declines. A permanent, correct outcome — never a pending build"},"reason":null,"lexical_lane_absent_reason":"the chunk plane is vector-only by design (owner ruling 2026-08-05) — it has no Elasticsearch index, so there is no `chunk_lexical` lane missing from this block"},"summary_vector":{"state":"never_built","indexed":0,"denominator":9529,"pct":0.0,"count_unit":"parts","ledger_row_absent":null,"ledger_row_without_stamp":null,"ledger_column":null,"ledger":"corpus_part_summary.embedded_at","denominator_source":"corpus_part_summary rows — the part summaries that were actually BOUGHT, never the corpus. This lane's population is a deliberate, narrow purchase; see population_is_not_the_corpus","population_is_not_the_corpus":"SPARSE BY DESIGN, AND SPARSE IS NOT COVERAGE. This lane must never be disclosed as covering the corpus: only a few hundred acts carry any part summary at all, so its silence about an act is very nearly always 'never summarised' (per candidate: not_indexed) and almost never a ranking opinion. Do not divide this lane's `indexed` by any act population in this block — the units differ and the intent differs","text_kind":"llm_abstraction — ALONE among these lanes, this one does not index act text. It indexes an LLM's abstraction of a passage, so a hit is evidence of what a passage MEANS and never a quotation of what it SAYS. Hits carry is_act_text=false","reason":"no corpus_part_summary row carries an embedded_at stamp — the part-summary vectors have never been built. Not 0% coverage: a build has not run","lexical_lane_absent_reason":"the part-summary plane is vector-only BY DESIGN — a lexical index over it would let a caller keyword-match words the legislature never wrote, and read the result as a citation. There is no `summary_lexical` lane missing from this block"}},"parts_build":{"ledger_rows":262357,"attempted":0,"built_produced_nothing":0,"never_attempted":262357,"available":true,"reason":null,"note":"`built_produced_nothing` is a build that ran and emitted no part; `never_attempted` is a ledger row the parts build never reached. They are not interchangeable","ledger":"search_index_state","ledger_column":"parts_built_at","measures":"the SEARCH INDEX parts build: how many search_index_state rows carry a parts_built_at stamp. It does NOT describe the corpus parts build that populates corpus_part — see `corpus_parts_build` in this same block for that.","describes_a_different_build_from":"these two blocks are ledgers of DIFFERENT BUILDS and their numbers are not comparable and never summed: parts_build reads search_index_state (the search index push), corpus_parts_build reads corpus_part_state (the corpus parts build). scripts/load_corpus_parts.py does not stamp search_index_state, so a corpus with a fully built parts plane can and does read as entirely never_attempted on parts_build."},"corpus_parts_build":{"available":true,"reason":null,"ledger":"corpus_part_state","ledger_column":"build_reason","measures":"the CORPUS parts build (scripts/load_corpus_parts.py), read off corpus_part_state — the plane GET /v1/acts/{id}/parts serves per act. It does NOT describe the search index parts push — see `parts_build` for that.","describes_a_different_build_from":"these two blocks are ledgers of DIFFERENT BUILDS and their numbers are not comparable and never summed: parts_build reads search_index_state (the search index push), corpus_parts_build reads corpus_part_state (the corpus parts build). scripts/load_corpus_parts.py does not stamp search_index_state, so a corpus with a fully built parts plane can and does read as entirely never_attempted on parts_build.","ledger_rows":28948,"by_build_reason":{"flat_act_lazy_policy":18328,"built":9918,"built_undercovered":702},"reason_notes":{"flat_act_lazy_policy":"not stored by policy: this is a flat act (no article structure — court rulings are the bulk of them), deliberately left unsplit and served by act-level search with a lazy split at query time. Its body is present; only the parts are not.","built":"built: the parts build ran over this act's body and stored what it produced.","built_undercovered":"built, but under-covered: parts were stored and the build's own coverage check found that they do not span the whole body, so the listing is incomplete by a known amount (see covered_chars / body_chars)."},"acts_with_parts":10620},"limits":["the ledger records that a write was ISSUED, not that a document is retrievable: a lane at 100% is not evidence the index answers, only that the build stamped every row","this block never reads Elasticsearch or Qdrant — an index that was dropped after its ledger rows were stamped still reads as covered here","the denominators come from the corpus plane (corpus_act / corpus_part), so a lane can read as partial simply because the corpus grew after the last build","a stamp is per-ACT even for the part lanes, so `indexed` counts acts whose parts were pushed, never individual part documents","part_lexical/part_vector's denominator (fixed 2026-08-01) is the PARTS SEARCH COHORT — selected ∧ importance_score >= PARTS_COHORT_MIN_SCORE ∧ an article-bearing part_kind — not every act holding any corpus_part row; see denominator_source on each lane","every lane's indexed/denominator/pct is a count of ACTS (`count_unit: \"acts\"` on each lane, stated explicitly since 2026-08-01) — never a document count. On the part lanes in particular, do not divide POST /v1/count {\"unit\":\"parts\"}'s `matched` (a DOCUMENT count, e.g. 64,141) by this block's part-lane `denominator` (an ACT count, e.g. 7,510): that computes a ratio of two different units, not a coverage percentage","act_vector carries a `design_scope` block (added 2026-08-01) splitting its denominator into eligible-by-design vs excluded-by-design (D15/_VEC_BANDS); its own `state`/`indexed`/`denominator`/`pct` remain whole-corpus-based and UNCHANGED by that addition — read `design_scope.eligible_pct` for coverage of the population that can ever carry a vector"]}}