chore(plugins): track probe compat contracts

This commit is contained in:
Vincent Koc
2026-04-28 21:10:26 -07:00
parent a2e077e468
commit 0382ac5f7d

View File

@@ -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",