feat: declare vouch-context engine contract#249
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 91efdfc58f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
91efdfc to
0081245
Compare
|
@plind-junior please review |
What changed
Adds a
vouch-contextOpenClaw context engine: Python implementation undersrc/vouch/openclaw/, a JS plugin entry atadapters/openclaw/vouch-context-engine.mjs,vouch openclaw-rpcCLI bridge,contracts.contextEngines: ["vouch-context"]inopenclaw.plugin.json, andcontext_enginesonkb.capabilities.Why
OpenClaw deployments need a declared context-engine contract so prompts can route through vouch and get back a cited synthesis with salience and hot memory already woven in — the natural counterpart to gbrain's
gbrain-contextengine.Closes #228.
What might break
No breaking changes for existing
.vouch/directories or kb.* callers.kb.capabilitiesgains an additivecontext_enginesfield; clients that ignore unknown fields are unaffected.plugins.slots.contextEngine: "vouch-context"explicitly; default remains the legacy engine.VEP
Not required — this is an OpenClaw plugin surface and additive capabilities metadata, not a change to the AKBP object model or review-gate protocol.
Tests
make checkpasses locally (lint + mypy + pytest)tests/test_openclaw_context_engine.py,tests/test_openclaw_plugin_manifest.py)CHANGELOG.mdupdated under## [Unreleased]