Interface ReuseVerdict

Verdict produced before reusing an emergent tool from a previous session.

Validates that the tool's schema and runtime behaviour still match expectations, and flags any anomalies that may indicate drift or tampering.

interface ReuseVerdict {
    valid: boolean;
    schemaErrors: string[];
    anomaly: boolean;
    anomalyReason?: string;
}

Properties

valid: boolean

Whether the tool is safe to reuse in the current context. false means the tool should be re-forged or discarded.

schemaErrors: string[]

JSON Schema validation errors for the tool's input/output schemas, if any. An empty array means schemas are structurally valid.

anomaly: boolean

Whether a behavioural anomaly was detected compared to the tool's historical usage baseline.

anomalyReason?: string

Human-readable description of the detected anomaly, present when anomaly is true.