feat(process): introduce evidence-safe capture v4

This commit is contained in:
morluto committed 2026-07-13 18:03:41 +08:00
1 parent d0e21f9231
commit ee4d284597
22 files changed
+793 -85

No files matched your search

+3 -3
View File
@@ -7,13 +7,13 @@ import {
import { logCliCommand } from "./cliLogging.js";
import type { Logger } from "./logger.js";
/** Register Process Capture v3 one-shot commands through shared application services. */
/** Register Process Capture v4 one-shot commands through shared application services. */
export const registerProcessCommands = (
cli: ReturnType<typeof Cli.create>,
logger: Logger,
): void => {
cli.command("capture-process", {
description: "Capture one approved Process Capture v3 JSON scenario",
description: "Capture one approved Process Capture v4 JSON scenario",
args: z.object({ scenario: z.string().describe("Scenario JSON path") }),
run: ({ args }) =>
logCliCommand(logger, "capture-process", () =>
@@ -21,7 +21,7 @@ export const registerProcessCommands = (
),
});
cli.command("compare-process-captures", {
description: "Compare two Process Capture v3 Evidence JSON files",
description: "Compare two Process Capture v4 Evidence JSON files",
args: z.object({
left: z.string().describe("Left capture Evidence JSON path"),
right: z.string().describe("Right capture Evidence JSON path"),