Skip to content

feat: goldens, honesty harness, SCIP ingest, multi-field vectors, native-only embed - #30

Merged
AdityaVG13 merged 53 commits into
mainfrom
feat/golden-assert-testkit
Aug 15, 2026
Merged

feat: goldens, honesty harness, SCIP ingest, multi-field vectors, native-only embed#30
AdityaVG13 merged 53 commits into
mainfrom
feat/golden-assert-testkit

Conversation

@AdityaVG13

@AdityaVG13 AdityaVG13 commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Campaign branch from the golden-assert testkit workstream, landed as regular commits (not squashed). Highlights:

  • Goldens / testkit (nz7i): assert_golden + scrubber, frozen CLI/MCP/handbook/extraction/chain dumps, compare-only golden CI + update SOP.
  • Honesty / conformance (1vhy, ghiw): default-on keep-gate vs committed bench history, FeatureUniverse matrix, oracle dispatch SSoT, Pass/Fail/Not-run reports, native pattern: vs ast-grep Pattern-1, tagged published bench ledgers.
  • IVF / fusion docs (hoy3, e2hc): measured floors, ANN threshold cliff (default unchanged), T1-R sidecar non-identity, fusion intern + stage budget scorecard.
  • Mock-free surfaces (lbx1.7-.12): watch daemon e2e, LSP stdio JSON-RPC e2e, Code Mode hashed embed-on, opt-in ast-grep --json spawn, ANN IVF scale tradeoff hard-fail on workflow_dispatch.
  • Bounds (1pi0, df74, pb2w): pattern walk file-size cap, Code Mode NAPI waiter abort, Pi symlink-out-of-root refuse, LSP indexPath fenced unless opt-in, wrapping SQLite byte offsets rejected.
  • Multi-field vectors (7d5x.1-.3): chunk body before metadata, per-field blobs + IVF fingerprint bind, query-intent field weighting. Eval recall on a frozen corpus is still open (7d5x.4).
  • SCIP ingest (kgvi.1-.3): fail-open load, matching defs/refs upgrade to ScipExact, asgrep index|reindex --scip PATH degrades never fails. Eval-pack precision-by-tier is still open (kgvi.4).
  • EmbedBackend cascade (f4ce.1-.3): SearchOptions adapters, CLI flags, LSP init options. Concurrent backends collapse Neural > Semantic > Auto.
  • HTTP embed removed: Cloud and Ollama clients, flags, env, and ureq are gone. Embeddings are in-process only (hashed default, optional ONNX neural). Stored cloud/ollama indexes fail closed until asgrep reindex. Cloudflare Code Mode adapter is unrelated and stays. lbx1.1 / lbx1.2 withdrawn.

Test plan

  • Targeted crate tests for the later landing commits (field_weight, scip/resolution, CLI search_options_ + machine_contracts with known skips, LSP embed_cascade + lsp_stdio_e2e), via rch exec.
  • HTTP-strip tests via rch exec: ast-sgrep-embed --lib, core embed_backend, CLI search_options_, LSP embed_cascade, core e2e_smoke parity, machine_contracts (known skips), MCP protocol (19 passed).
  • CI on this PR (full workspace / goldens / machine contracts).
  • Do not treat chain_expand_sample_dump_matches_golden float drift as in-scope (pre-existing).
  • Do not quote MRR/latency from this branch; eval beads 7d5x.4 / kgvi.4 are still open.
  • Neural default-on is not this PR; built-in hashed embeddings plus repository vocabulary remain the no-download default.

Adversarial review remediation

  • Confined golden updates and indexed evidence to canonical roots, invalidated stale schemas, corrected SCIP occurrence naming, and preserved multiline definition starts.
  • Removed a redundant tracked file from a gitignored raw-profile directory, stripped personal corpus paths, and marked measurements without retained raw evidence and corpus snapshots UNREPRODUCIBLE.
  • Review fixes: 0e4e284f, b555b1fc. CI was not awaited.

AdityaVG13 and others added 30 commits August 13, 2026 16:30
Co-authored-by: Cursor <cursoragent@cursor.com>
Seed intentional divergences and verdict conventions so XFAIL is never silent green, and stop claiming ast-grep CLI delegation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Install three pillar ledgers with Open pointer imports only, bridge fail-closed product cases, and mandate pre-flight mining in AGENTS.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the optional 50% tripwire with -3%/-5% class thresholds, cv quarantine, and host/SHA/profile attribution against .bench-history SSoT.

Co-authored-by: Cursor <cursoragent@cursor.com>
Map each channel to an authoritative oracle and gate class so latency and unreproducible ledgers cannot be read as correctness.

Co-authored-by: Cursor <cursoragent@cursor.com>
Encode present/partial/missing/excluded per host, keep MCP non-fusion as excluded, and leave conformal scoring to WP6.

Co-authored-by: Cursor <cursoragent@cursor.com>
Hot-path hit fusion now interned u32 identity keys so multi-channel merge no longer clones file/symbol/caller/callee on every HashMap probe.

Co-authored-by: Cursor <cursoragent@cursor.com>
Exclusive samply on a 403-file IVF-on cold index: extract 48.68%, blake3 9.77%, sqlite upsert 9.37%, ivf_build 7.56%. T3/UPSERT reopen_gate true pending Score>=2 and human review.

Co-authored-by: Cursor <cursoragent@cursor.com>
Land living clause IDs for query grammar, machine envelope, and fail-closed negatives with table-driven parse tests. Score remains TBD; compact provenance drop stays a DISC, not a bug.

Co-authored-by: Cursor <cursoragent@cursor.com>
Land the supported/unsupported matrix and an env-gated match-set harness. Default CI runs native hits plus fail-closed unsupported shapes; equality vs ast-grep stays Not-run without ASGREP_DIFF_AST_GREP.

Co-authored-by: Cursor <cursoragent@cursor.com>
Per-section canonical/historical/UNREPRODUCIBLE/reproducible-in-tree tags. Delete dangling harness reproduce blocks. Archive the 110-file 285ms budget as breached. Quality snapshot stays UNREPRODUCIBLE; no new MRR invented.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Registry-driven proof-pack gate writes a report even on failure and
stops overclaiming Pi release as local-release-gate.sh.

Co-authored-by: Cursor <cursoragent@cursor.com>
Existing ASGREP_PERF_PROFILE events already split the stages; serial
upsert is 65.6% of cold-index wall on this host.

Co-authored-by: Cursor <cursoragent@cursor.com>
Live 1.965 s does not replace C1 4.304 s. No baselines.md floor rewrite.

Co-authored-by: Cursor <cursoragent@cursor.com>
…(hoy3.4)

IVF-on vs IVF-off at 2199 chunks is ~95 ms on this host. DEFAULT_ANN_THRESHOLD
stays 2000.

Co-authored-by: Cursor <cursoragent@cursor.com>
…3.5)

Unit-dot simsimd is not bit-identical to f64 cosine. Same-metric kmeans
reduce still is. No product change.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sub-1ms is the in-process CORE_PARTS gate, not CLI vs competitors.
Ripgrep and ast-grep still win the small self-corpus CLI rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
Lower bound is 0. Present-count is not certified. No release_certificate.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the 2048+10000 test ignored on PRs. Recall@10 >= 0.99 stays the SLO;
host µs remain UNREPRODUCIBLE.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
AdityaVG13 and others added 19 commits August 14, 2026 00:39
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Store name/docs/body/graph embeddings in SQLite (schema 10) and bump the
IVF field-layout fingerprint so stale sidecars rebuild. Search still uses
the concatenated primary vector until query weighting lands.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Embeddings are in-process only: hashed default plus optional ONNX neural.
Stored cloud/ollama indexes fail closed until reindex.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AdityaVG13 AdityaVG13 changed the title feat: goldens, honesty harness, SCIP ingest, multi-field vectors, embed cascade feat: goldens, honesty harness, SCIP ingest, multi-field vectors, native-only embed Aug 14, 2026
@AdityaVG13
AdityaVG13 merged commit 38960f0 into main Aug 15, 2026
8 of 11 checks passed
@AdityaVG13
AdityaVG13 deleted the feat/golden-assert-testkit branch August 15, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant