refactor!: simplify runtime tools and remove replay engines (#572)
* fix(hopper): report unavailable procedure body coverage * refactor!: simplify runtime tools and remove replay engines Keep direct inspection, capture, and comparison tools. Bind handlers to named contracts and let agents compose experiments with commands and local fixture servers. BREAKING CHANGE: Remove controlled replay, Node characterization, finite replay-machine, managed runtime planning, and redundant string-tracing tools. Retire process replay, shims, reactive scenarios, custom checkpoints, and active browser replay and origin-scope inputs.
This commit is contained in:
@@ -2,7 +2,6 @@ import { z } from "zod";
|
||||
import { evidenceSchema } from "../domain/evidence.js";
|
||||
|
||||
import { managedReconstructionImportInputSchema } from "../domain/managedReconstruction.js";
|
||||
import { managedRuntimeCorrelationInputSchema } from "../domain/managedRuntimeCorrelation.js";
|
||||
import type { ToolContract } from "./toolContracts.js";
|
||||
import { managedWorkflowOutputSchemas } from "./toolOutputSchemas.js";
|
||||
import {
|
||||
@@ -10,7 +9,6 @@ import {
|
||||
MANAGED_NATIVE_VERIFICATION_EXAMPLE,
|
||||
MANAGED_APPLICATION_GRAPH_EXAMPLE,
|
||||
MANAGED_RECONSTRUCTION_IMPORT_EXAMPLE,
|
||||
MANAGED_RUNTIME_CORRELATION_EXAMPLE,
|
||||
} from "./managedWorkflowExamples.js";
|
||||
import { toolContractMetadata } from "./toolEffects.js";
|
||||
import { requireOutputSchema } from "./toolOutputSchemaPrimitives.js";
|
||||
@@ -30,12 +28,6 @@ export const compareManagedMembersReferenceInputSchema = z
|
||||
});
|
||||
});
|
||||
|
||||
/** MCP reference for planning from one session-owned managed observation. */
|
||||
export const managedRuntimeCorrelationReferenceInputSchema =
|
||||
managedRuntimeCorrelationInputSchema.extend({
|
||||
static_members: evidenceSchema,
|
||||
});
|
||||
|
||||
/** Inline Evidence input for importing reconstruction. */
|
||||
export const managedReconstructionReferenceInputSchema =
|
||||
managedReconstructionImportInputSchema.extend({
|
||||
@@ -115,10 +107,6 @@ const comparisonOutputSchema = requireOutputSchema(
|
||||
managedWorkflowOutputSchemas,
|
||||
"compare_managed_members",
|
||||
);
|
||||
const runtimeOutputSchema = requireOutputSchema(
|
||||
managedWorkflowOutputSchemas,
|
||||
"plan_managed_runtime_correlation",
|
||||
);
|
||||
const reconstructionOutputSchema = requireOutputSchema(
|
||||
managedWorkflowOutputSchemas,
|
||||
"import_managed_reconstruction",
|
||||
@@ -192,28 +180,6 @@ export const MANAGED_WORKFLOW_TOOL_CONTRACTS = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "plan_managed_runtime_correlation",
|
||||
...toolContractMetadata("plan_managed_runtime_correlation"),
|
||||
description:
|
||||
"Prepare a non-executing managed runtime-correlation plan from authenticated inspect_managed_members Evidence. Planning does not probe or launch a runtime; it records the configured executable or the default command name, locks the exact artifact SHA-256, MVID, method signature, and decoded-IL hash, and describes requested effects and bounds without claiming execution or confinement.",
|
||||
kind: "application",
|
||||
inputSchema: managedRuntimeCorrelationReferenceInputSchema,
|
||||
outputSchema: runtimeOutputSchema,
|
||||
examples: [
|
||||
{
|
||||
title: "Plan an exact-build managed runtime correlation",
|
||||
input: {
|
||||
static_members: MANAGED_RUNTIME_CORRELATION_EXAMPLE.static_members,
|
||||
method: MANAGED_RUNTIME_CORRELATION_EXAMPLE.method,
|
||||
requested_effect:
|
||||
MANAGED_RUNTIME_CORRELATION_EXAMPLE.requested_effect,
|
||||
host: MANAGED_RUNTIME_CORRELATION_EXAMPLE.host,
|
||||
bounds: MANAGED_RUNTIME_CORRELATION_EXAMPLE.bounds,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "project_managed_application_graph",
|
||||
...toolContractMetadata("project_managed_application_graph"),
|
||||
|
||||
Reference in New Issue
Block a user