Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
376 commits
Select commit Hold shift + click to select a range
a2d2e70
fix(artifacts): retain caller selection and applicable publication re…
morluto Oct 23, 2026
35aa8ef
fix(artifacts): retain DMG producer failures and bound integrity reco…
morluto Oct 23, 2026
9038589
fix(apk): classify malformed supported Zip64 records as input failures
morluto Oct 23, 2026
65e423e
fix(browser): compare script and tool facts without metadata identity…
morluto Oct 23, 2026
f49e2ee
fix(environment): retain path segments counters and parent diagnostics
morluto Oct 23, 2026
19d4a31
fix(discovery): retain Frida optional provider failure dispatch
morluto Oct 23, 2026
c394fb1
test(native): share Swift context in vtable fixture admission
morluto Oct 23, 2026
0211b65
fix(native): narrow capability refusal before retaining its reason
morluto Oct 23, 2026
7877268
fix(javascript): retain private receiver and iterative disposal effects
morluto Oct 23, 2026
c20b707
fix(native): preserve negative Mach-O admission identity
morluto Oct 23, 2026
5ee5e49
fix(javascript): bind Next page admission to source context
morluto Oct 23, 2026
2f6e050
fix: preserve process filesystem scope and admission failures
morluto Oct 23, 2026
f1dfd10
fix(evidence): reject runtime locations for managed static facts
morluto Oct 23, 2026
c70f5f3
fix(hopper): bind ordinary executable opens to selected bytes
morluto Oct 23, 2026
9dac74c
fix(browser): admit legacy capture uncertainty at retained input boun…
morluto Oct 23, 2026
e713c75
fix(unknowns): distinguish rejected creation from committed mutation …
morluto Oct 23, 2026
546b2a6
fix(evidence): preserve authentication failures and diagnose prior co…
morluto Oct 23, 2026
b885f44
fix(cli): preserve explicit Evidence record pairing in bundle comparison
morluto Oct 23, 2026
bd8e1fb
fix(artifacts): publish addressable inspection sources through both a…
morluto Oct 23, 2026
990d1de
docs(evidence): define authentication and committed delivery recovery
morluto Oct 23, 2026
965aff8
fix(javascript): own reference roles and invocation result identities
morluto Oct 23, 2026
324ca94
fix(hopper): pass private X authority cookie through stdin
morluto Oct 23, 2026
3e11259
fix(ghidra): preserve catalog and metadata admission failures
morluto Oct 23, 2026
0f5ece1
fix(jeb): retain selected inputs and completed primary replies
morluto Oct 23, 2026
b413332
fix(native): preserve literal environment map members
morluto Oct 23, 2026
2d06992
test: retain direct hash cleanup retainer contract
morluto Oct 23, 2026
98c3d2f
test: distinguish corrected port normalization commitment
morluto Oct 23, 2026
0729aba
fix: recheck attached worker policy after final artifacts
morluto Oct 23, 2026
e597e09
fix(javascript): share iteration and equality invocation facts
morluto Oct 23, 2026
34552ff
fix(artifacts): preserve typed resource limit diagnoses
morluto Oct 23, 2026
cf5e4f6
fix(javascript): preserve semantic query identity and source coverage
morluto Oct 23, 2026
9b656dd
docs(readme): align translated setup and analysis facts
morluto Oct 23, 2026
ca8b672
fix(cli): reject surplus positional arguments before execution
morluto Oct 23, 2026
9d8ede4
fix(kuna): retain setting-specific doctor recovery
morluto Oct 23, 2026
25d7135
fix(setup): preserve semantic configuration refusal during uninstall
morluto Oct 23, 2026
756701d
fix(setup): retain publication operation failures and recovery facts
morluto Oct 23, 2026
87c5967
fix(setup): distinguish Hopper inspection and archive staging failures
morluto Oct 23, 2026
08e8a56
docs(managed): distinguish oracle conformance from host verification
morluto Oct 23, 2026
0a0f98c
docs(skill): keep one setup prerequisite policy
morluto Oct 23, 2026
1545064
fix(firmware): preserve admission and extraction coverage outcomes
morluto Oct 23, 2026
88e3780
fix(contracts): preserve safe defaults and client literal guidance
morluto Oct 23, 2026
5f21aee
fix(javascript): retain worker storage and projection failures
morluto Oct 23, 2026
4a24b7e
fix(evidence): preserve valid output paths near filesystem pathname l…
morluto Oct 23, 2026
4990a0b
fix(cli): accept named native API selectors beginning with a dash
morluto Oct 23, 2026
03ae514
fix(artifacts): retain DMG carrier observations when child traversal …
morluto Oct 23, 2026
612bbee
fix(artifacts): retain dylib enumeration readers through failed cleanup
morluto Oct 23, 2026
c3dcc69
fix(browser): resolve empty storage-world origins from exact frame ev…
morluto Oct 23, 2026
d93c70c
fix(browser): retain unknown popup storage initialization coverage
morluto Oct 23, 2026
63370e9
test(reconstruction): isolate derived surface ownership in fixtures
morluto Oct 23, 2026
d0375a1
test(filesystem): probe actual permission denial before host assertions
morluto Oct 23, 2026
dac544b
test(managed): assert large issue retention without full-array diffs
morluto Oct 23, 2026
c8f8ec6
fix(javascript): preserve source facts across graph projections
morluto Oct 23, 2026
2206822
fix(javascript): preserve copied values and export publication lifetimes
morluto Oct 23, 2026
f1a9d85
fix(javascript): preserve per-field publication and provenance coverage
morluto Oct 23, 2026
dd55e2c
fix(javascript): retain initialized class self binding at body reads
morluto Oct 23, 2026
693ecec
fix(artifacts): retain permission omissions through JavaScript lookups
morluto Oct 23, 2026
80bb0b4
test(graph): narrow summary owner and complete PE fixture facts
morluto Oct 23, 2026
b5d83d2
test(javascript): supply source graph to native handoff checks
morluto Oct 23, 2026
d56a25e
fix(sourcemaps): bind cleanup status to remaining codec owners
morluto Oct 23, 2026
e8374f4
fix(browser): retain excluded source-map declaration coverage
morluto Oct 23, 2026
b4502be
test(javascript): preserve exact empty property keys in declarations
morluto Oct 23, 2026
209c42c
fix(browser): keep code absence unknown without worker inventory
morluto Oct 23, 2026
b29aa60
fix(browser): preserve WebMCP optional fields and replay coverage gaps
morluto Oct 23, 2026
1275817
fix(browser): publish executable examples with truthful capture coverage
morluto Oct 23, 2026
590bab9
fix(browser): preserve observed document invalidation and scope recovery
morluto Oct 23, 2026
c313f33
fix(native): share exact-name xref ambiguity resolution
morluto Oct 23, 2026
51612c8
fix(hopper): own bookmark API capability checks
morluto Oct 23, 2026
5ecd7de
fix(native): preserve procedure selector coordinate intent
morluto Oct 23, 2026
02c5e13
test(discovery): select the declared GDB console contract
morluto Oct 23, 2026
45abd4d
fix(ghidra): bind session refusal to retained cleanup owner
morluto Oct 23, 2026
b488a10
fix(apple): retain selected dylib identity after path removal
morluto Oct 23, 2026
dbbaf2a
fix(apple): preserve asset failures and authored resource coverage
morluto Oct 23, 2026
1c57eed
fix(apple): retain binary UID identity through archive projection
morluto Oct 23, 2026
661aef5
fix: retain completed historical replies through finalization
morluto Oct 23, 2026
cbfc2bd
fix: retain unresolved browser secret declarations as input errors
morluto Oct 23, 2026
62d19a7
test(browser): resolve network fixture secrets through typed input co…
morluto Oct 23, 2026
7479f0a
fix(environment): distinguish destination refusal and write access fa…
morluto Oct 23, 2026
4d3a7a0
fix(artifacts): preserve exact ZIP and DMG caller cancellation reasons
morluto Oct 23, 2026
b165b0e
fix(artifacts): require regular source-map target occurrences
morluto Oct 23, 2026
cae0336
fix(reference): separate local filesystem diagnostics from graph comm…
morluto Oct 23, 2026
0326ad9
fix(setup): retain proven PATH aliases in installed registrations
morluto Oct 23, 2026
cb689fa
test(package): join owned updater after registry fixture failure
morluto Oct 23, 2026
e00b2ed
fix(javascript): preserve recovery acquisition and cancellation failures
morluto Oct 23, 2026
9becdfe
fix(session): retain cleanup blockers and snapshot request identity
morluto Oct 23, 2026
271fecf
fix(evidence): preserve format-owned JSON recovery diagnostics
morluto Oct 23, 2026
7685dee
test(evidence): cover BOM recovery across bundle commands
morluto Oct 23, 2026
48af28b
fix(tracing): retain caller reasons at traversal checkpoints
morluto Oct 23, 2026
27e927f
fix(inventory): require released cleanup before capability fallback
morluto Oct 23, 2026
25b28ff
fix(hopper): drain retained publishers after current close failure
morluto Oct 23, 2026
84f4eb4
fix(native): preserve unknown Swift extension contexts
morluto Oct 23, 2026
7932312
fix(apple): qualify unexamined nib content coverage
morluto Oct 23, 2026
3a62b96
fix(frida): preserve session refusal and close execution effects
morluto Oct 23, 2026
57aa21a
fix(rizin): retain cancellation and recover cleanup correlation
morluto Oct 23, 2026
e94d5a5
fix: retain Electron file admission facts across adapters
morluto Oct 23, 2026
6aae8ef
fix: preserve selected Electron display authorization
morluto Oct 23, 2026
f36893a
fix(javascript): retain unavailable HTML reference scopes
morluto Oct 23, 2026
da0480a
fix(javascript): preserve capture timing and detached receiver authority
morluto Oct 23, 2026
a4e9b61
fix(ida): preserve producer failure and caller abort outcomes
morluto Oct 23, 2026
3f5d879
fix(cli): retain nested facts in Markdown tables
morluto Oct 23, 2026
4b029a6
fix(cli): present argument guidance without validator cause dumps
morluto Oct 23, 2026
8bb466d
docs(setup): define optional native update verification limits
morluto Oct 23, 2026
b791f02
docs(clients): distinguish discovery and schema recovery boundaries
morluto Oct 23, 2026
292f105
docs(setup): explain npm workspace launcher failures
morluto Oct 23, 2026
ca01cf5
fix(verification): bind Copilot schema profile to observed inputs
morluto Oct 23, 2026
6103fdd
fix(javascript): scope Next package admission by container identity
morluto Oct 23, 2026
0321bb9
fix(apple): align asset allowance and category fixture types
morluto Oct 23, 2026
5f3b925
fix(protocols): honor runtime queue and Frida identity types
morluto Oct 23, 2026
c0e35c2
test: parse Electron listing Evidence before comparison
morluto Oct 23, 2026
a954e9f
fix(evidence): omit absent format recovery metadata
morluto Oct 23, 2026
5629665
fix(contracts): validate historical source examples as exact JSON values
morluto Oct 23, 2026
9c4d194
fix(javascript): consume per-field CommonJS publication facts
morluto Oct 23, 2026
f3df653
fix(gdb): correlate raw-output completion and retain read-only TTY proof
morluto Oct 23, 2026
ef64631
fix(native): retain completed LLDB facts across output-close cancella…
morluto Oct 23, 2026
2fe5d97
fix(hopper): retain failed private-display probe cleanup authority
morluto Oct 23, 2026
9b7ba06
style(lifecycle): format traversal and fallback edits
morluto Oct 23, 2026
584791f
fix(apple): own ordered nib collections and registry parentage
morluto Oct 23, 2026
2544397
fix(process): attribute trace omissions without changing shared succe…
morluto Oct 23, 2026
cd12879
fix(cli): share builtin argument ownership with MCP routing
morluto Oct 23, 2026
fc404f0
fix(cli): count emitted documents and normalize token windows
morluto Oct 23, 2026
09b188b
fix(inspector): retain captures through authorization cleanup failures
morluto Oct 23, 2026
8b7de17
merge: reconcile upstream boundary and format fixes
morluto Oct 23, 2026
6c307e9
fix(artifacts): retain declared ASAR companion occurrence facts
morluto Oct 23, 2026
f6b525d
fix(javascript): separate endpoint syntax correspondence from target …
morluto Oct 23, 2026
b2cb9b6
fix: distinguish native process exit from sampling failure
morluto Oct 23, 2026
77ed32f
fix(javascript): retain selected-root access and filesystem failure f…
morluto Oct 23, 2026
f01f561
fix(browser): retain truthful cleanup facts and document request owne…
morluto Oct 23, 2026
782c6c6
fix(native): share exact Objective-C class symbol interpretation
morluto Oct 23, 2026
3f519c5
fix(go): retain completed artifact facts through finalization
morluto Oct 23, 2026
e1d9ebd
fix(native): preserve seed analysis failures in value traces
morluto Oct 23, 2026
f83d97f
fix(native): classify observed dSYM inspection refusal
morluto Oct 23, 2026
d98105d
test(apple): assert observed collection edge contract
morluto Oct 23, 2026
ef00b21
fix(javascript): retain primary interruption through worker cleanup
morluto Oct 23, 2026
60a0acb
fix(cutter): retain completion-read failures during cleanup retry
morluto Oct 23, 2026
59f0eb4
fix(cli): validate output windows and finish pending writes
morluto Oct 23, 2026
4e7fb1e
fix(mcp): require absolute JavaScript application inputs
morluto Oct 23, 2026
f824841
fix(capabilities): report missing navigation targets
morluto Oct 23, 2026
7eb9eb0
fix(cli): support system Bash completion registration
morluto Oct 23, 2026
ce9cb72
fix(cli): retain narrowed token-count format handling
morluto Oct 23, 2026
f33ab9b
test(ida): preserve exact optional resource method shape
morluto Oct 23, 2026
dfafc04
test(javascript): retain valid unknown endpoint coverage shape
morluto Oct 23, 2026
6ff6825
fix(ghidra): try keg JDKs after failed PATH launchers
morluto Oct 23, 2026
88bbf9c
fix(browser): retain capacity refusal through terminal progress
morluto Oct 23, 2026
779242a
fix(reference): require exact optional JSON diagnostics at the source…
morluto Oct 23, 2026
59a00d7
fix(apple): retain reader outcomes and cleanup ownership
morluto Oct 23, 2026
0a9bcbe
fix(elf): qualify exports without dynamic symbol declarations
morluto Oct 23, 2026
22d3236
fix(mips): retain unexamined RELR declaration coverage
morluto Oct 23, 2026
e909a92
fix(metadata): preserve canonical PowerPC subject identity
morluto Oct 23, 2026
301993d
fix(native): preserve LLDB discovery failure classifications
morluto Oct 23, 2026
a2d0af6
fix(native): report absent launch process before cleanup classification
morluto Oct 23, 2026
cab6527
fix(rizin): preserve primary outcomes across final cleanup
morluto Oct 23, 2026
c86288d
fix(browser): preserve admission failures and retain policy transport…
morluto Oct 23, 2026
76381b2
fix(objdump): preserve input issues and provider launch failures
morluto Oct 23, 2026
c6bc25f
test(apple): attribute omitted edges to their node capacity limit
morluto Oct 23, 2026
94081b0
chore(metadata): synchronize packaged skill version
morluto Oct 23, 2026
fc70657
fix(cli): consume canonical output validation state
morluto Oct 23, 2026
fc52858
fix(views): preserve owning layout field diagnostics
morluto Oct 23, 2026
fc11134
test(pyinstaller): distinguish path and metadata allowance failures
morluto Oct 23, 2026
53405fb
fix(native): compose the selected command cause once
morluto Oct 23, 2026
18acae9
fix(setup): require HTTPS throughout Hopper download redirects
morluto Oct 23, 2026
98ddd04
fix(ghidra): narrow fallback probe failures before projection
morluto Oct 23, 2026
62f7b5e
fix(native): require observed symbol origin for named identity
morluto Oct 23, 2026
1cc1612
fix(javascript): retain unavailable source processing scopes
morluto Oct 23, 2026
ee2433a
fix(cli): share declared output-error redaction
morluto Oct 23, 2026
cc983b3
docs(windows): explain MCP registration launcher limits
morluto Oct 23, 2026
6f8dc9c
fix(session): preserve binding commitments during restoration
morluto Oct 23, 2026
77ebfb5
fix(environment): retain primary facts through server cleanup failure
morluto Oct 23, 2026
d9d7772
fix(pe): distinguish unsupported overlapping header layouts
morluto Oct 23, 2026
1bf9191
fix(cli): keep positional admission placeholders omittable
morluto Oct 23, 2026
701519a
test(cli): expose JavaScript progress workflow failure output
morluto Oct 23, 2026
b3433d0
test(browser): match retained subframe limitations structurally
morluto Oct 23, 2026
c6ac60a
fix(javascript): preserve capture and property-key effect ownership
morluto Oct 23, 2026
84c327e
fix(ghidra): attribute import policy conflicts to settings
morluto Oct 23, 2026
5796220
fix(native): validate Mach-O command framing before admission
morluto Oct 23, 2026
aad3d88
docs(mcp): state plist inspection session prerequisite
morluto Oct 23, 2026
df00588
fix(electron): separate script frame admission from declared source l…
morluto Oct 23, 2026
c5d86a1
test(environment): read asynchronous owner observations through contr…
morluto Oct 23, 2026
80d4a74
test(javascript): distinguish resolver URLs from existing module targets
morluto Oct 23, 2026
ecfac46
fix(ghidra): retain neutral recovery for observed SIGKILL
morluto Oct 23, 2026
23664ef
fix(hopper): preserve unknown relationship completeness
morluto Oct 23, 2026
d397ac7
docs(native): clarify Darwin runtime breakpoint names
morluto Oct 23, 2026
d9a855f
fix(browser): preserve unknown script ownership through reconciliation
morluto Oct 23, 2026
7d941e2
fix(electron): keep optional provenance fields within JSON evidence v…
morluto Oct 23, 2026
a03096c
fix(native): retain Mach-O architecture discriminant narrowing
morluto Oct 23, 2026
a3eae6e
test: give oversized registration groups semantic owners
morluto Oct 23, 2026
9877ab7
test: group boundary registration by observed behavior
morluto Oct 23, 2026
20ff689
fix: normalize retained terminal observations with sampled identities
morluto Oct 23, 2026
6739b3c
fix: identify missing Electron lineage ownership markers
morluto Oct 23, 2026
75dfd1c
fix(ida): retain registration constraints and identity refusal guidance
morluto Oct 23, 2026
bbf7943
fix(kuna): retain published exports through staging cleanup failures
morluto Oct 23, 2026
6b0c4b4
fix(nativeaot): charge only examined candidate table entries
morluto Oct 23, 2026
bfa60d5
docs: clarify batch decompilation retention limits
morluto Oct 23, 2026
9fb63ad
fix(javascript): distinguish deferred bootstrap installer writes
morluto Oct 23, 2026
cc90771
fix(native)!: preserve UI scalar facts and selection failures
morluto Oct 23, 2026
1872fef
fix(javascript): retain activation order for captured scope exits
morluto Oct 23, 2026
afc72f3
test(pyinstaller): use an absolute drive path for refusal coverage
morluto Oct 23, 2026
f97747c
fix(javascript): preserve route selection owners and uncertainty
morluto Oct 23, 2026
55437c1
fix(javascript): prove native URL constructor paths
morluto Oct 23, 2026
d2dc3cf
refactor(tests): separate fixtures and registration groups
morluto Oct 23, 2026
aa521d4
test(native): distinguish qualified symbol identity controls
morluto Oct 23, 2026
19f3672
fix(ida): preserve busy details across timeout attribution
morluto Oct 23, 2026
a31b4a3
fix(cli): unify builtin and global completion scope
morluto Oct 23, 2026
1dff1b1
test(ghidra): group exit-signal evidence controls
morluto Oct 23, 2026
96e1a60
fix: retain narrowed terminal observation values
morluto Oct 23, 2026
094d399
fix(cli): bind completion input to public registry type
morluto Oct 23, 2026
9cd46d6
fix(flutter): qualify unsupported unified snapshot profiles
morluto Oct 23, 2026
7e8c786
test(native): bind origin comparison to containing entries
morluto Oct 23, 2026
fd254b5
fix(cli): remove completion markers on system Bash
morluto Oct 23, 2026
85292fd
test(ida): preserve physical workspace traversal controls
morluto Oct 23, 2026
a51a922
fix(native): retain unknown UI executable identity
morluto Oct 23, 2026
6e40f9f
fix(native): unify LLDB discovery preparation failures
morluto Oct 23, 2026
c2cc819
fix(evidence): preserve primary semantics during pending cleanup
morluto Oct 23, 2026
640a0cf
fix(evidence): retain owner finalization reports across cleanup envel…
morluto Oct 23, 2026
c8be9df
test(browser): inspect provenance in owned graph observations
morluto Oct 23, 2026
5a099ef
test(flutter): assert canonical unsupported profile error code
morluto Oct 23, 2026
27b077e
fix(javascript): capture primitive return values at evaluation
morluto Oct 23, 2026
7356434
merge: consolidate upstream ownership and coverage fixes
morluto Oct 23, 2026
2a4c70e
fix(mcp): own cancellation and raw input throughout startup
morluto Oct 23, 2026
9ecf48b
test(ghidra): construct exact import policy targets
morluto Oct 23, 2026
b9212b5
fix(gdb): preserve configured executable launch recovery
morluto Oct 23, 2026
b03a15e
test(ghidra): own fixed import target fixtures
morluto Oct 23, 2026
fc2d91a
docs(readme): align localized guide link occurrences
morluto Oct 23, 2026
1849a82
test(evidence): retain structured input issues through cleanup owners
morluto Oct 23, 2026
d1fdaaf
test(mcp): await observed EOF before releasing startup
morluto Oct 23, 2026
aa45728
fix(electron): retain bounded source frame claims
morluto Oct 23, 2026
651afa4
fix(elf): validate declared file extents before provider admission
morluto Oct 23, 2026
e8a44f8
fix(elf): align metadata and admission fixture error types
morluto Oct 23, 2026
53601d0
merge: consolidate upstream identity and representation owners
morluto Oct 23, 2026
c25ee58
test(wasm): place parsed interface comparison at provider boundary
morluto Oct 23, 2026
0adcd83
test(ida): place capability composition at provider boundary
morluto Oct 23, 2026
872d46a
test(browser): place PNG contract execution at provider boundary
morluto Oct 23, 2026
54609e8
Merge branch 'main' into fix/6467-cli-required-selector-discovery
gensokyo-dev Oct 23, 2026
5909430
perf(test): share SDK catalog compilation across deferred clients
morluto Oct 23, 2026
698f8cf
fix(cli): trim repeated selector discovery guidance
gensokyo-dev Oct 23, 2026
eac392d
revert(test): remove unproven SDK compiler sharing
morluto Oct 23, 2026
271ef32
refactor(managed): retain decoded metadata token facts
morluto Oct 23, 2026
f4179f5
test(managed): scope cleanup failures to snapshot reads
morluto Oct 23, 2026
5642451
test(cli): bound selector rejection cases by command
gensokyo-dev Oct 23, 2026
8d3ed58
merge: consolidate upstream managed token facts
morluto Oct 23, 2026
ac6e0e2
test(mips): distinguish damaged ELF admission from partial ABI evidence
morluto Oct 23, 2026
5ddd7dc
test(reconstruction): declare authored function symbol identity
morluto Oct 23, 2026
658c29c
test(rizin): register terminal admission at provider boundary
morluto Oct 23, 2026
b227c30
test(process): align root admission fixture with observer allocation …
morluto Oct 23, 2026
360ced2
test(mips): project inspected ABI facts without undefined overrides
morluto Oct 23, 2026
1778a3d
refactor(browser): remove obsolete web script reconciliation
morluto Oct 23, 2026
15edc71
refactor(javascript): remove obsolete in-process projection runner
morluto Oct 23, 2026
f470350
refactor(managed): retain TypeDef row ownership through projections
morluto Oct 23, 2026
81727c3
test(process): assert canonical admission failure through cleanup env…
morluto Oct 23, 2026
097b604
merge: consolidate upstream projection cleanup
morluto Oct 23, 2026
bcd18d2
fix(managed): select types from retained definition records
morluto Oct 23, 2026
b944d42
fix(cli): reconcile selector guidance across command owners
gensokyo-dev Oct 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(javascript): preserve capture timing and detached receiver authority
  • Loading branch information
morluto committed Oct 23, 2026
commit da0480a665f515505106398260b129cfaaddcf0c
8 changes: 7 additions & 1 deletion src/domain/javascript/javascriptCommonJsExportReceivers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export const commonJsExportApplicability = (
effect: CommonJsExportReceiverEffect | undefined,
name: string,
): ReceiverStatus =>
effect?.fields?.get(name) ?? effect?.receiver ?? "connected";
effect?.receiver === "detached"
? "detached"
: (effect?.fields?.get(name) ?? effect?.receiver ?? "connected");

/** A CommonJS export assignment or `Object.defineProperty` export call. */
export type CommonJsExportSite = t.AssignmentExpression | t.CallExpression;
Expand Down Expand Up @@ -582,6 +584,10 @@ export function* indexCommonJsExportReceiversSteps(
: fresh.has(receiver) && fresh.has(publicIdentity)
? "detached"
: "uncertain";
if (status === "detached") {
effects.set(node, { receiver: status });
continue;
}
const fields = new Map<string, ReceiverStatus>();
for (const { exportedName } of commonJsRuntimeExportValues(node, state)) {
const removed = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,39 @@ it("does not copy array holes over retained own object properties", () => {
value: 1,
});
});

it("keeps detached receiver ownership stronger than field deletion uncertainty", () => {
expect(
names(
`Object.defineProperty(exports,"old",{value:()=>1}); delete exports.old; module.exports={live:()=>2};`,
),
).toEqual(["default"]);
expect(
names(
`exports.old=()=>1; module.exports={live:()=>2}; if(flag)delete exports.old;`,
),
).toEqual(["default"]);
});

it("distinguishes copied scalar snapshots from earlier writes and shared reference fields", () => {
const returned = (body: string) =>
onlyCallable(
analyzeJavaScriptSemantics(`export function observe(){${body}}`),
"observe",
).returnSites[0]?.value;
expect(
returned(
`const source={a:1};const copy={...source};source.a=9;return copy.a;`,
),
).toEqual({ status: "literal", value: 1 });
expect(
returned(
`const source={a:1};source.a=9;const copy={...source};return copy.a;`,
)?.status,
).toBe("unknown");
expect(
returned(
`const source={child:{a:1}};const copy={...source};source.child.a=9;return copy.child.a;`,
)?.status,
).toBe("unknown");
});
15 changes: 14 additions & 1 deletion src/domain/javascript/javascriptSemanticValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
import {
semanticCapturePosition,
semanticEscapeFollowsCapture,
semanticBindingEffectFollowsCapture,
semanticBindingPrecedesCapture,
semanticBindingAtRead,
} from "./javascriptSemanticMutationInitializers.js";
Expand Down Expand Up @@ -546,7 +547,19 @@ const evaluateBinding = (
}
let projected = invalidateSemanticMutationPaths(
value,
binding.memberWrites.map(({ path }) => path),
binding.memberWrites
.filter(
({ node }) =>
context.capturePoint === undefined ||
node === undefined ||
!semanticBindingEffectFollowsCapture(
binding,
context.capturePoint,
node,
context.state.parentsByNode,
),
)
.map(({ path }) => path),
);
for (const escape of binding.escapedPaths) {
// Escapes only invalidate object references; other lattice values survive.
Expand Down