fix: declare prompt_rules tool in contracts.tools #2
Reference in New Issue
Block a user
Delete Branch "fix/declare-contracts-tools"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Same class of bug as Meridian (zhi/Meridian#2), HarborForge.OpenclawPlugin (zhi/HarborForge.OpenclawPlugin#6), and PaddedCell (already fixed in commit
787d88c). OpenClaw's plugin host requires that any tool registered viaapi.registerTool()is also declared incontracts.toolsin the plugin manifest, or the tool is silently dropped from the agent's available tool list.plugin doctor was warning:
PrismFacet registers exactly one tool,
prompt_rules(intools/prompt-rules.ts). Declaring it in the manifest. Verified in DinD sim that with this change the warning disappears and the tool becomes visible to agents.🤖 Generated with Claude Code