fix(coverage): consolidate request validation ownership
Route CLI and MCP coverage requests through the shared strict workflow boundary before authenticating source Evidence. Preserve canonical advertised schemas, use integrity errors for malformed source bundles, and use the workflow operation for input diagnostics. Remove the unused throwing domain facade and keep semantic fixture assertions on the parsed Result APIs. Validate compiled CLI and stdio MCP parity, strict request rejection, domain authority/time semantics, generated schemas, and unexpected failure propagation. No external providers execute in these checks.
This commit is contained in:
1 parent
da9a580a0d
commit
ed069bb9d4
8 files changed
+148
-43
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import { reconstructionCoverageEvaluationInputSchema } from "../domain/reconstructionCoverageInput.js";
|
||||
import { Cli, z } from "incur";
|
||||
|
||||
import { CLI_COMMANDS } from "../cliCommandNames.js";
|
||||
@@ -145,7 +144,7 @@ const registerCoverageCommand = (cli: CliInstance, logger: Logger): void =>
|
||||
logger,
|
||||
name: CLI_COMMANDS.evaluateReconstructionCoverage,
|
||||
description: "Evaluate inline fail-closed reconstruction coverage",
|
||||
inputSchema: reconstructionCoverageEvaluationInputSchema,
|
||||
inputSchema: z.unknown(),
|
||||
workflow: async (input) => {
|
||||
const { evaluateReconstructionCoverage } =
|
||||
await import("../application/ReconstructionCoverageService.js");
|
||||
|
||||
Reference in new issue
Block a user