fix(evidence): enforce managed identity and cancel bundle reads
Validate managed reconstruction through the shared artifact and MVID scope boundary, including known/unknown identity contradictions. Forward MCP comparison cancellation into both bundle reads and consolidate pre-cancel coverage. Verified managed graph/reconstruction and filesystem/MCP cancellation workflows. A controlled missing-signal mutation reads 130 chunks instead of the expected one; cancellation leaves the session unchanged and retry succeeds.
This commit is contained in:
@@ -31,8 +31,8 @@ export const registerBundleComparisonTool = (
|
||||
context.mcpReq.signal,
|
||||
async () => {
|
||||
const [left, right] = await Promise.all([
|
||||
readEvidenceBundle(input.left_bundle_path),
|
||||
readEvidenceBundle(input.right_bundle_path),
|
||||
readEvidenceBundle(input.left_bundle_path, context.mcpReq.signal),
|
||||
readEvidenceBundle(input.right_bundle_path, context.mcpReq.signal),
|
||||
]);
|
||||
if (!left.ok) return server.delivery.toCallToolResult(left, contract);
|
||||
if (!right.ok)
|
||||
|
||||
Reference in New Issue
Block a user