feat: OpenClaw skill + Hermes toolset glue for the assess pre-flight (#151)#152
Merged
Conversation
…ight (#151) Drop-in integration so the two dominant agent runtimes can call the assess primitive (#149) to pre-flight a proposed command / MCP server before acting. - sigil-mcp --print-config: add `hermes` (config.yaml `mcp_servers:` YAML) and `openclaw` (~/.openclaw/openclaw.json `mcpServers` JSON) client blocks beside codex/claude, with the absolute binary path stamped. Tests + usage hint. - examples/integrations/: OpenClaw `SKILL.md` (pre-flights via `sigil assess`, refuses on decision=deny; documents CLI + MCP paths), Hermes `config.yaml` snippet (registers sigil-check → mcp-sigil-check toolset with `assess`), and a README describing the reusable pre-flight contract. - sigil-mcp README: list the new --print-config clients + the `assess` tool. - CHANGELOG. Closes #151. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #151.
What
Drop-in integration so the two dominant agent runtimes can call Sigil's
assessprimitive (#149) to pre-flight a proposed command / MCP server against this host's loaded policy before acting — the "callable Sigil" path.sigil-mcp --print-configgains two clients alongsidecodex/claude:hermes→ aconfig.yamlmcp_servers:(YAML) entryopenclaw→ a~/.openclaw/openclaw.jsonmcpServers(JSON) entryBoth stamp the binary's absolute path. (Verified real output is valid YAML/JSON.)
examples/integrations/:openclaw/SKILL.md— a ready-to-use OpenClaw skill that runssigil assess --command "..."before risky shell commands and refuses ondecision: deny(gated onrequires.bins: ["sigil"]). Documents both the CLI (zero-setup) and MCP (assesstool) paths.hermes/config.yaml— registerssigil-checkas an MCP server → the auto-discoveredmcp-sigil-checktoolset exposesassess.README.md— the reusable pre-flight contract:assess→decision→ deny = refuse + surface reasons, warn = caution, allow = proceed; CLI vs MCP trade-offs.crates/sigil-mcp/README.md— lists the new--print-configclients and theassesstool.Grounding
The integration formats were confirmed against each platform's actual schema: OpenClaw
SKILL.mdfrontmatter +~/.openclaw/openclaw.jsonmcpServers; Hermesconfig.yamlmcp_servers:with auto-generatedmcp-<server>toolsets. Both runtimes converge on thesigil-mcp(sigil-check, local)assesstool, with thesigil assessCLI as a zero-setup fallback.Tests / gates
cargo fmt+cargo clippy --workspace --all-targets -D warnings+cargo test --workspacegreen (84 sections, 0 failures).print_confighas unit tests for the new hermes/openclaw blocks + the "all" output + the unknown-client hint.🤖 Generated with Claude Code