Repository navigation
Use own fields in queries and projections - #73
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
toStringno longer cause clone/sort errors.Absent
__proto__fields no longer match inherited empty objects. Genuine ownshadowing 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.
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.hasOwncheck 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.