refactor: prune obsolete provider and verification code

Remove unused imports, private inferred types, superseded limit constants and a duplicate MCP assertion. Preserve intentional field omissions while deleting unused local bindings.

Validation: typecheck, lint, formatting, unused-code and architecture checks pass. Runtime behavior is unchanged.
This commit is contained in:
morluto
2026-10-12 08:59:14 +08:00
parent b5ededd0f9
commit e19879328a
23 changed files with 10 additions and 47 deletions
@@ -40,10 +40,6 @@ describe("reconstruction obligation ledger MCP parity", () => {
summary: { total: 0 },
},
});
expect(result.structuredContent).toHaveProperty(
"normalized_result.schema",
"ReconstructionObligationLedger",
);
} finally {
await client.close();
await server.close();
@@ -1,6 +1,5 @@
import { randomUUID } from "node:crypto";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { fileURLToPath } from "node:url";
import { expect, it } from "vitest";
@@ -525,7 +525,7 @@ it("rejects bytes changed after target admission without launching an engine", a
});
it("retains an uncertain workspace and blocks later launches after cleanup cannot be verified", async () => {
const { service, apk, launches, provider } = await setup("cleanup-failure");
const { service, apk, launches } = await setup("cleanup-failure");
const outcome = await service.execute("inspect_android_package", {
path: apk,
});
@@ -1,12 +1,5 @@
import { execFile } from "node:child_process";
import {
access,
mkdir,
readFile,
readdir,
rm,
writeFile,
} from "node:fs/promises";
import { access, mkdir, readFile, readdir, writeFile } from "node:fs/promises";
import { join, resolve } from "node:path";
import { promisify } from "node:util";
import { pathToFileURL } from "node:url";