Skip to content

Use own fields in queries and projections - #73

Merged
Jason-Doyle merged 3 commits into
mainfrom
experiment/own-field-query-projections
Dec 4, 2026
Merged

Jason-Doyle merged 3 commits into
mainfrom
experiment/own-field-query-projections

Conversation

@Jason-Doyle

Copy link
Copy Markdown
Owner

Summary

Use the existing own-value lookup for query comparisons, ordering and the
covering-index, browser and collection-fallback projection paths.

Missing optional fields such as toString no longer cause clone/sort errors.
Absent __proto__ fields no longer match inherited empty objects. Genuine own
shadowing values remain data. Existing reserved index/projection field
rejections, APIs, formats, planner, collation, limits and cache policies remain
unchanged.

Qualification

Merge-worthiness score: 92/100, against a prospective 85/100 threshold.
Every mandatory gate, including exact-publication-head CI and CodeQL, must pass.

Evidence Historical Candidate
Correct comparative trials 918/1,296 1,296/1,296
Incorrect returns 54 0
Exceptions 324 0
Declared complete-work control pairs 720 unchanged 720 unchanged
Focused/index historical comparison 74 pass, 38 expected failures Included in 258 passing related tests
Native Chromium/Firefox/WebKit Not a historical native comparison 108/108, one invocation, no retries
Built public-entrypoint probes Not compared 36/36

Real snapshot/trie integration cases publish optional covering fields, remove
them through replacements and query HEAD/index only. Repository/Studio/Worker
and explicit fixture types, packed consumers/browser isolation, canonical
documentation and website-link checks pass locally.

The protocol was published before production edits. Source/collector/tests
were frozen and pushed before the sole detached comparative capture. Both
complete public source graphs and 80 frozen input identities are retained.
Independent verification checks every row, CSV cell, graph data/geometry and
all 108 original native observations against their fixed-clock candidate rows.
Initial fixture/type and cleanup-inspection failures are disclosed separately;
none required a comparative or native recapture.

Report, exact tables, graphs, raw evidence and reproduction

Costs and boundaries

Each corrected lookup adds an Object.hasOwn check with unmeasured CPU cost.
Corrected cases complete reading/copying that previously threw: the full
synthetic matrix has 96 additional reader calls and 2,016 additional successful
clones. Already-correct declared controls retain exact work. These are not
production overhead or performance-improvement measurements.

Returned records retain ordinary JavaScript prototypes. This does not rewrite
prototypes, repair arbitrary stored indexes, change standalone-evaluator
ownership, add security guarantees or establish workload incidence.
No dependency, infrastructure, CI workflow, shared runtime, release or
deployment changes are included.

@Jason-Doyle
Jason-Doyle merged commit 257ed4a into main Dec 4, 2026
4 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