Skip to content

Discovery V3: bounded representative multi-module source comparison - #8

Merged
yunmin311 merged 3 commits into
mainfrom
codex/discovery-v3
Oct 22, 2026
Merged

yunmin311 merged 3 commits into
mainfrom
codex/discovery-v3

Conversation

@yunmin311

@yunmin311 yunmin311 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Discovery now recommends representative JS/TS sources from the existing bounded verified listing, compares multiple modules through the existing provider/worker, and exposes file-level outcomes, unknown coverage and downloadable evidence in the current desktop/mobile workflow. Users can override recommendations and compare revised selections within the same cumulative budgets; verified source reuse avoids repeated blob requests while final repository identity is always checked.

The additive review receipt preserves existing export/API/Graph schemas and pending/none provenance boundaries. Sealed evidence now deep-copies mutable resolver/provider state so a later failed identity check cannot change an earlier receipt. No production deployment, budget increase, new language engine or global visual redesign.

Validation:

  • Local typecheck, production build and unit suite: 631 pass, zero failures, three existing opt-in live skips (634 total).
  • Fixed nine-case corpus, four strategies, identical hard caps: macro relevant module coverage 54.17% (old first file), 91.67% (representative), 75% (same-count first-N). Source-byte recall 46.10% -> 77.03%; full selected-pair completion remains 100% on six complete fixtures. V3 spends 116 vs 104 requests, 25,711 vs 21,310 response bytes; fault cases and counterexamples are reported separately.
  • Chromium and Linux WebKit production-bundle flow: 1920/1280/430/390 preview + 1280/390 anonymous app; recommendations, override/recompare, real worker, receipt download, keyboard/Reduced Motion and Graph/cache isolation pass.
  • Anonymous GitHub smoke: five actual files, six completed pairs, 21 requests. Irrelevant candidate retrieval and common-syntax normalized matches are explicit counterexamples, not evidence of provenance or real-world precision.
  • Full existing browser regression passes locally, including all 12 unification scripts, motion, History and mobile. The legacy design-closeout check now establishes a manual single-file state before keyboard addition, preserving its original two-file and focus assertions with V3 recommendation defaults. ARM64 benchmark/browser gates are included in M2 CI. Final-head checks pass: M2, Stable UI, ARM64/live/image. M2 and Stable CheckRuns are completed/success; Runs REST status lag was observed. PR checks use the test merge ref; dispatched ARM64 uses the branch head. ARM64 reproduces the same corpus digest, quality metrics and request/byte costs.

See docs/discovery-v3.md for method, denominators, measured costs, source coverage and limitations. Raw local evidence is retained under artifacts/discovery-v3/; CI uploads its artifacts. Physical devices, real touch/pinch, macOS/iOS Safari and broad independent repository-quality validation remain unverified.

@yunmin311
yunmin311 merged commit 01563bc into main Oct 22, 2026
3 checks passed
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