Repository navigation
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Superseded by 5485483f7. Static CommonJS collection now preserves quoted, dotted, numeric and empty property identities as segments, omits unresolved computed names, distinguishes nested writes from literal dotted keys, and handles object-literal prototype setters correctly. Helper recognition retains member .d calls including this.d, exact Object.defineProperty, and ignores unrelated/standalone calls. Verified with 5 producer tests, 15 compiled application acceptance tests including Node runtime oracles and public CLI/MCP Evidence parity, four additional compiled helper controls, and typecheck/lint. This is static JavaScript verification; no native provider or Electron-runtime claim. |
|
TL;DR: I reran my 29-form export check on 5485483 and on main (a11fbc0). Fixed: 6 of the 14 forms where c916850 differed from Node. Still differs from Node: 8 forms, 5 of them computed keys that now give no name instead of a wrong name. ResultsFor each form, Node says what The columns are: Below are the forms that changed or still differ. A tick means REA equals Node. The other 15 forms match Node in every column. Fix and main gave the same answer on all 29 forms.
Forms that match Node, out of 29: parent 15, PR 18, fix 21, main 21. The collector file has not changed between fix and main. Fix matches Node on 3 forms the PR did not: the nested write, Two rows differ from Node by a REA convention. The CLI test in 5485483 expects "default" for Real files: I took 130 CommonJS entry files from the repo's own node_modules. Parent, PR and main give the same names for all 130, and 27 match Node exactly in each. So the fix changed nothing there. It shows no regression, but it does not test the fix either. Tests on main, 3 runs each, all passed. The member path depth test has 5 tests. The CLI acceptance test has 15 tests. One of them is new, for exact keys. The whole Not run
Thanks, N0zoM1z0, for the PR and the forms it covered. Thanks, morluto, for the fix in 5485483. All 29 forms
Test setup🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊 |
Preserve exact static CommonJS export keys. Quoted, dotted and empty keys retain their source identity; computed identifiers remain unknown instead of becoming invented export names. Helper handling recognizes member
.dcalls and exactObject.defineProperty, keepsthis.d, and avoids scanning export arguments for unrelated callees.This integrates the contribution from #1369 with the independently reviewed helper follow-up. The original contributor history and source branch are retained. Main now also contains the previously encountered formatting and maintenance/capture repairs.
Independent verification against main
11e3fae6: 126 affected tests across ten files and all eight static/documentation/architecture/discovery checks passed. Fresh compiled public CLI/pinned-SDK MCP runs cover an 833-byte eleven-module export fixture, a 296-byte helper control and a 113-bytethis.dcontrol. Exact export expectations, complete same-version CLI/MCP normalized-result and Evidence-ID parity, unchanged input bytes and subsequent ping all passed. An irrelevant-call probe confirms zero argument-path segment reads, compared with sixteen in the original candidate; this is a structural count, not a throughput or billed-token measurement. Native JavaScript controls confirm standalonedcreates no exports and the ownedthis.dhelper createsself.No real Hopper/Ghidra or Electron runtime verification was performed for this static JavaScript change. Windows/provider behavior is covered only to the extent established by the linked CI; final-head CI is still running.
CI refresh at
1e034a80changes no tracked source bytes. The independently compiled combination with mainc1217e71passes 17 focused export/helper tests, all eight checks, and all three public CLI/pinned-SDK MCP export controls plus the irrelevant-call structural probe. This includes the current snapshot cleanup and merged runtime ownership fix. The earlier 126-test validation remains tied to its stated revision. Original contributor and source history remain intact.CI refresh at
9d4dce12reruns the unchanged source tree against current mainc12a532b, which now contains the shared cleanup-boundary corrections. Earlier local and real-target measurements remain tied to their stated revisions; this empty refresh makes no new runtime-verification claim.