feat: complete REA remediation program

This commit is contained in:
N0zoM1z0
2026-07-22 22:09:12 +09:00
committed by N0zoM1z0
parent 737940c90c
commit d25e98c3f9
460 changed files with 13985 additions and 1877 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
import { Client, InMemoryTransport } from "@modelcontextprotocol/client";
import { mkdtemp, rm } from "node:fs/promises";
import { tmpdir } from "node:os";
import { rm } from "node:fs/promises";
import { join } from "node:path";
import { describe, expect, it } from "vitest";
import { createTestTempDirectory } from "./fixtures/temporaryDirectory.js";
import { BinarySession } from "../src/application/BinarySession.js";
import { INVESTIGATION_EXAMPLES } from "../src/contracts/investigationExamples.js";
import { createEvidence } from "../src/domain/evidence.js";
@@ -21,7 +22,7 @@ const digest = (character: string): string => character.repeat(64);
describe("reconstruction coverage MCP parity", () => {
it("commits and queries the same evidence-backed fail-closed workspace", async () => {
const root = await mkdtemp(join(tmpdir(), "rea-coverage-mcp-"));
const root = await createTestTempDirectory("rea-coverage-mcp-");
const path = join(root, "coverage.json");
const policy = {
roots: [root],