fix(cli): preserve caller paths in format inspections (#7855)

* fix(cli): preserve caller paths in format inspections

* fix(cli): retain caller path on partial evidence

* test(cli): preserve caller path in adapter parity checks

* test(rust): account for retained caller path

* fix(wasm): compare shared cli and mcp evidence
This commit is contained in:
morluto authored and GitHub committed 2026-10-29 09:26:22 +08:00
1 parent 63f05d1cad
commit 419a211304
36 files changed
+453 -96

No files matched your search

+3 -2
View File
@@ -8,7 +8,7 @@ import type { CliInstance } from "./types.js";
import { withCommandCancellation } from "./commandCancellation.js";
import { localPathStringSchema } from "../domain/localPath.js";
import { absoluteCallerPath } from "../filesystem/callerPath.js";
import { finishAnalysisCommand } from "./finishAnalysisCommand.js";
import { finishCliEvidenceCommand } from "./cliEvidenceCallerPath.js";
import { inspectSqliteDatabaseInputSchema } from "../domain/sqlite/sqliteDatabase.js";
/** Resolve an operator-selected SQLite snapshot through the shared inspection workflow. */
@@ -54,7 +54,8 @@ export const registerSqliteCommands = (
run: ({ args, options }) =>
withCommandCancellation((signal) =>
logCliCommand(logger, CLI_COMMANDS.inspectSqliteDatabase, () =>
finishAnalysisCommand(
finishCliEvidenceCommand(
args.path,
() =>
service.inspect(
{