mirror of
https://github.com/morluto/rea
synced 2026-10-27 22:45:19 -04:00
fix(javascript): bound semantic unknown retention at projection
Admit unknowns before canonical construction and provenance interning. Offer independent per-file and application capacities through CLI, Evidence and the owned analysis worker, and reject over-allocation during streamed decoding. Report examined omitted emission occurrences by family and reason without retaining discarded identities. Preserve omission-free graph identities and distinguish node truncation from overall partial coverage. Fixes #4797
This commit is contained in:
@@ -145,6 +145,12 @@ export const reconstructJavaScriptArtifact = async (
|
||||
`Processing ${String(files.files.length - (files.source_selection?.unselected_files ?? 0))} selected application files`,
|
||||
);
|
||||
const semanticProjection = createJavaScriptSemanticGraphProjection({
|
||||
...(input.max_semantic_unknowns === undefined
|
||||
? {}
|
||||
: { totalUnknowns: input.max_semantic_unknowns }),
|
||||
...(input.max_semantic_unknowns_per_file === undefined
|
||||
? {}
|
||||
: { fileUnknowns: input.max_semantic_unknowns_per_file }),
|
||||
...(input.max_semantic_nodes === undefined
|
||||
? {}
|
||||
: { totalNodes: input.max_semantic_nodes }),
|
||||
|
||||
Reference in New Issue
Block a user