Repository navigation
fix(browser): respect metadata key and overwrite semantics - #686
Closed
rudycelekli wants to merge 1 commit into
Closed
rudycelekli wants to merge 1 commit into
rudycelekli wants to merge 1 commit into
Conversation
Signed-off-by: RudyCelekli <[email protected]>
morluto
approved these changes
Oct 6, 2026
morluto
left a comment
Owner
There was a problem hiding this comment.
Approve: computed route keys now use semanticStaticPropertyName (unknown computed drops out), last-wins for duplicate names, spread/computed/accessor invalidation with restoration, schema props filtered. Dense test covers all branches, no schema change. Checks green.
Owner
|
Superseded by #705, which cherry-picks this change (plus 13 sibling fixes) onto current main with conflict resolution and regenerated catalogs. Closing to keep one reviewable merge unit. |
Owner
|
Thanks, @rudycelekli, for your work on “fix(browser): respect metadata key and overwrite semantics.” I appreciate your contribution to REA. |
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.
What changed
Captured browser metadata now distinguishes literal property keys from computed identifiers. Route findings and WebMCP schema property names no longer treat an identifier's spelling as its runtime key. WebMCP declaration fields follow object property order: final named values win; uncertain spread/computed writes and accessors invalidate earlier exact values; subsequent exact fields restore them. Known empty-string keys preserve unrelated fields.
Consumer evidence
The complete public
CdpBrowserProvider.analyzeBundleon an owned page in actual Chrome 154 previously fabricated/not-a-routefrom{ [path]: ... }wherepathis"description", reported"old"for a duplicated finalname: "new", and invented a schema property namednamefrom[name]. Afterward the false route disappears, the final name is"new", uncertain overwritten names remain null, and the computed literal route and empty-string-key controls survive.Verification
npm run check,npm run check:fast,git diff --check: passed.npm run verify:browser: passed with actual Chrome and public CLI/stdio browser workflows.No new tool, schema or execution authority. Hopper/Ghidra verification was not run because no binary provider behavior changes. AI assistance was used for investigation, implementation and verification. Hosted checks are pending on publication.