mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 18:05:45 +00:00
fix(javascript): keep exports out of write relations
Project writes only from write-role references. Export references remain distinct facts and genuine assignments still traverse writes-only traces. Validation: source semantic controls and public CLI/MCP writes-only traces. Fixes #3207
This commit is contained in:
1 parent
7e5cffa2ae
commit
81f7638203
3 files changed
+118
-3
No files matched your search
@@ -648,7 +648,7 @@ function* projectDefinitionsAndReferences(
|
||||
resolution: "resolved",
|
||||
evidence: inferredSemanticEvidenceAt(context.file, reference.location),
|
||||
});
|
||||
else
|
||||
else if (reference.role === "write")
|
||||
addRelation(context.state, {
|
||||
source: expression,
|
||||
target: binding,
|
||||
|
||||
Reference in new issue
Block a user