Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
fix(ci): remove redundant process exports
morluto19bb2317d1bd
diff --git a/src/application/ProcessHarness.ts b/src/application/ProcessHarness.tsindex 986867a53..67f540e80 100644--- a/src/application/ProcessHarness.ts+++ b/src/application/ProcessHarness.ts@@ -35,7 +35,6 @@ import {import { assertNotCancelled } from "./ProcessCaptureAuthority.js";export { probeProcessCaptureCapability } from "./ProcessCaptureCapability.js";-export type { ProcessCaptureCapability } from "./ProcessCaptureCapability.js";interface EnvironmentOptions {readonly scenario: ProcessScenario;diff --git a/src/domain/processCapture.ts b/src/domain/processCapture.tsindex 03d451408..945fcd879 100644--- a/src/domain/processCapture.ts+++ b/src/domain/processCapture.ts@@ -325,7 +325,6 @@ export const processCaptureSchema: z.ZodType<ProcessCapture> = z.object({});export { validateProcessCapture } from "./processCaptureValidation.js";-export type { ProcessCaptureValidationIssue } from "./processCaptureValidation.js";import { validateProcessCapture } from "./processCaptureValidation.js";/** Parse unknown input as v4 and reject invalid commitments or semantics. */diff --git a/src/domain/processCaptureValidation.ts b/src/domain/processCaptureValidation.tsindex 571617746..8c7b62d4e 100644--- a/src/domain/processCaptureValidation.ts+++ b/src/domain/processCaptureValidation.ts@@ -1,5 +1,5 @@import type { ProcessCapture } from "./processCapture.js";-import { canonicalProcessSha256 } from "./processScenario.js";+import { digestProcessCommitment } from "./processScenario.js";/** One pure semantic validation failure in an otherwise shaped v4 capture. */export interface ProcessCaptureValidationIssue {@@ -35,7 +35,7 @@ const validateCommitments = (["replay_plan_sha256", manifest.replay_plan],] as const)require(manifest[field] ===- canonicalProcessSha256(+ digestProcessCommitment(value,), `manifest.${field}`, "commitment does not match its canonical value");require(Date.parse(manifest.started_at) <=diff --git a/src/domain/processScenario.ts b/src/domain/processScenario.tsindex 5d7d5cea1..a3ec96704 100644--- a/src/domain/processScenario.ts+++ b/src/domain/processScenario.ts@@ -42,7 +42,8 @@ const outputChunkSchema = z.object({export const LEGACY_PROCESS_CAPTURE_MESSAGE ="Process Capture v3 is unsupported. Re-run the scenario with this REA version using capture_process_scenario to produce Process Capture v4; captures cannot be upgraded because v4 requires new manifest and settlement evidence.";-export const canonicalProcessSha256 = (value: unknown): string => {+/** Compute a canonical SHA-256 commitment independent of object key order. */+export const digestProcessCommitment = (value: unknown): string => {const serialized = canonicalize(value);if (serialized === undefined)throw new TypeError("Process capture commitment is not canonical JSON");@@ -86,9 +87,6 @@ export const processComparisonContract = (replay: scenario.replay,});-/** Compute a canonical SHA-256 commitment independent of object key order. */-export const digestProcessCommitment = canonicalProcessSha256;-/*** Boundary schema for one explicitly approved, bounded process experiment.* Defaults are part of the evidence contract and must remain deterministic.diff --git a/tests/setupSkill.test.ts b/tests/setupSkill.test.tsindex 97c981272..537a8e5bf 100644--- a/tests/setupSkill.test.ts+++ b/tests/setupSkill.test.ts@@ -27,7 +27,7 @@ describe("canonical skill transaction", () => {expect(await readFile(`${destination}.rea.backup`, "utf8")).toBe("stale managed skill\n",);- expect(await readFile(destination, "utf8")).toContain('version: "10"');+ expect(await readFile(destination, "utf8")).toContain('version: "11"');expect(await readFile(destination, "utf8")).toContain(`tool_count: ${String(TOOL_CONTRACTS.length)}`,);