From 0382ac5f7dbf0c5438fae1869dd3f0387274cbb8 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Tue, 28 Apr 2026 21:10:26 -0700 Subject: [PATCH] chore(plugins): track probe compat contracts --- src/plugins/compat/registry.ts | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/src/plugins/compat/registry.ts b/src/plugins/compat/registry.ts index 54e085be411..e4233d04a9a 100644 --- a/src/plugins/compat/registry.ts +++ b/src/plugins/compat/registry.ts @@ -51,6 +51,56 @@ export const PLUGIN_COMPAT_RECORDS = [ "src/plugins/contracts/plugin-sdk-subpaths.test.ts", ], }, + { + code: "hook.before_tool_call.terminal-block-approval", + status: "active", + owner: "agent-runtime", + introduced: "2026-04-29", + docsPath: "/plugins/hooks", + surfaces: ["before_tool_call block result", "before_tool_call approval result"], + diagnostics: ["hook runner contract probe"], + tests: [ + "src/plugins/hooks.security.test.ts", + "src/agents/pi-tools.before-tool-call.e2e.test.ts", + ], + }, + { + code: "hook.llm-observer.privacy-payload", + status: "active", + owner: "agent-runtime", + introduced: "2026-04-29", + docsPath: "/plugins/hooks", + surfaces: ["llm_input", "llm_output", "agent_end", "allowConversationAccess"], + diagnostics: ["conversation access hook contract probe"], + tests: ["src/agents/cli-runner.reliability.test.ts", "src/config/schema.help.quality.test.ts"], + }, + { + code: "api.capture.runtime-registrars", + status: "active", + owner: "plugin-execution", + introduced: "2026-04-29", + docsPath: "/plugins/architecture-internals", + surfaces: [ + "createCapturedPluginRegistration", + "capturePluginRegistration", + "OpenClawPluginApi", + ], + diagnostics: ["runtime registration capture contract probe"], + tests: ["src/plugins/captured-registration.test.ts"], + }, + { + code: "channel.runtime.envelope-config-metadata", + status: "active", + owner: "channel", + introduced: "2026-04-29", + docsPath: "/plugins/sdk-channel-plugins", + surfaces: ["api.registerChannel", "channel setup metadata", "channel message envelope"], + diagnostics: ["channel runtime contract probe"], + tests: [ + "src/plugin-sdk/channel-entry-contract.test.ts", + "src/plugins/captured-registration.test.ts", + ], + }, { code: "bundled-channel-config-schema-legacy", status: "deprecated",