Bind query evidence and Python imports to proven index state #264
No reviewers
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index!264
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/review-followthrough-20260911"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Queries could combine different SQLite snapshots while reporting only Git provenance, and negative answers did not disclose working-tree changes beyond indexed content. This change adds transactional content identities, evidence from the snapshots actually read, RPC propagation, content-bound cursors, compound-query consistency checks, and bounded freshness observations.
Python imports resolve by proven module and export origin, including aliases, relative imports and conservative re-exports. Ambiguous or shadowed origins remain unresolved. Schema 67 repairs existing Python bindings; actual Flask and Django v65 databases upgrade to the same bindings as fresh indexes. The untyped storage.request.COOKIES chain in #250 remains outside proven type flow.
Executable build identities are unified, archive member versions and installer staging are verified, and routing timing assertions use deterministic work counts. Windows smoke stages the four release binaries in a fresh directory; unexpected executables within an archive are still rejected.
Corpus effects
All nine pinned repositories were compared against clean master
017c6d8using occurrence-aware joins and source adjudication. Reference populations are unchanged; all seven non-Python repositories are bind-for-bind unchanged.Correct losses include composed exports, extra import roots and object/ancestry flows not modeled here. Conditional losses involve runtime proxies, GIS configuration and task decorators. These accepted coverage losses are recorded alongside the gains. Historical #247 residuals remain tracked in #263; no rerun of that historical census is claimed.
The approved structural, resolver-stage and tier-3 records were generated by the existing measurement writers, with generation identities, categorized diffs and positive controls. Flask resolves one additional reference overall; Django resolves 439 more. The structural exception and complete target-movement review are documented in the records.
Measurement records
Corpus response budgets record snapshot evidence costs of +816/+912/+840 tokens for C#/Flask/Rust and freshness costs of +71/+0/+70. Attribution preserves the previous history and separates inherited record drift from these exact field costs. Questions, calls, answer quality, fallback counts and competitor populations are unchanged. The new recorded totals are 10645/10311/9976; fresh verification measured 10651/10304/9970.
Ruby package cost was measured in isolation under schema 67 / package 0.6.0: vm_step 26439909, fullscan_step 584758, sort 297, autoindex 20745, wall ratio 135%. These remain inside the previous bands. A subsequent verification also passed. All tolerance multipliers, the 60-token response drift allowance, reserve policy and existing plugin benchmark records are unchanged.
Validation
296cc58, native Windows CI passed workspace tests, all eight staged shipped-set smoke checks and all six release-worker smoke checks. Linux CI passed fmt, clippy, MSRV, windows-gnu, ABI32/wasm, deny, private-item docs, complete workspace and full daemon transport.022d665, release structural/stage/tier-3/Ruby gates passed: 26 tests. Real-corpus benchmarks and attribution checks passed: 7 tests. Formatting and diff checks passed. Full PR CI passed on022d665: native Windows (including staged shipped-set smoke 8/8 and release-worker smoke 6/6), complete Linux workspace, full daemon transport, corpus, formatting, lint, compatibility, dependencies and documentation. Corpus CI measured 10654/10312/9970 response tokens, inside the unchanged tolerances.Refs #245, #246, #250, #251, #253, #260, #261, #262.
answer_provenancewas byte-identical: nothing says which generation answered #245claim_domain_scalemoved ONE wall-clock ratio to#[ignore]and left its sibling live — the sibling is a FLOOR, which contention breaks in the direction a floor cannot survive #253answer_provenancenames a commit the INDEX has not reached, so a watcher-lag miss and a measured absence are indistinguishable #260install.shas a release asset, so an installer can be pinned to a release instead of tracking master #261code-index-plugin-hostcannot say which build it is — three of four shipped binaries answer--version, the fourth exits 21 with usage #262django/utils/{inspect,html}.py) #251