perf(javascript): query selected source-to-bundle facts (#6128)
Select completed source-to-bundle mappings and candidates through the shared view owner, preserve reference-file provenance, and retain full Evidence. Reuse bounded JSON reading, heap admission, and cancellation before session writes. Verified public Redux Toolkit source/map facts with an independent oracle, equivalent CLI/MCP workflows, focused negative controls, and complete CI/review. Historical paired SDK context estimates fall about 64%; timing/resource tradeoffs and final verification receipts are recorded without a general speedup or actual model-token claim. Fixes #6112.
This commit is contained in:
1 parent
a0214e0e0e
commit
0583fc69be
29 files changed
+3527
-129
No files matched your search
@@ -14,7 +14,7 @@ import type { Logger } from "pino";
|
||||
import { traceApplicationFeatureInputSchema } from "../domain/javascript/javascriptFeatureTraceSchemas.js";
|
||||
import { traceJavaScriptSemanticsInputSchema } from "../domain/javascript/javascriptSemanticTraceSchemas.js";
|
||||
import { compareApplicationVersionsInputSchema } from "../domain/javascript/javascriptApplicationVersionComparisonSchemas.js";
|
||||
import { compareSourceToBundleInputSchema } from "../domain/javascript/sourceToBundleComparisonSchemas.js";
|
||||
import { registerSourceToBundleCommand } from "./sourceToBundleCommand.js";
|
||||
import { compareJavaScriptExportShapesInputSchema } from "../domain/javascript/javascriptExportShapeComparisonSchemas.js";
|
||||
import { analysisInputErrorFromIssues } from "../domain/inputIssueProjection.js";
|
||||
import { reconstructionObligationLedgerInputSchema } from "../domain/reconstructionObligationLedgerSchemas.js";
|
||||
@@ -65,19 +65,7 @@ export const registerApplicationCommands = (
|
||||
return compareApplicationVersionsEvidenceValidated(input);
|
||||
},
|
||||
});
|
||||
registerJsonCommand({
|
||||
cli,
|
||||
logger,
|
||||
name: CLI_COMMANDS.compareSourceToBundle,
|
||||
description:
|
||||
"Compare committed historical source with authenticated application Evidence",
|
||||
inputSchema: compareSourceToBundleInputSchema,
|
||||
workflow: async (input) => {
|
||||
const { compareSourceToBundleEvidenceValidated } =
|
||||
await import("../application/javascript/JavaScriptApplicationWorkflowService.js");
|
||||
return compareSourceToBundleEvidenceValidated(input);
|
||||
},
|
||||
});
|
||||
registerSourceToBundleCommand(cli, logger);
|
||||
registerJsonCommand({
|
||||
cli,
|
||||
logger,
|
||||
|
||||
Reference in new issue
Block a user