Skip to content

Fix OpenClaw pluginApi compatibility drift in capabilities metadata#416

Open
plind-junior with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-ci-test-py3-13
Open

Fix OpenClaw pluginApi compatibility drift in capabilities metadata#416
plind-junior with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-ci-test-py3-13

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

The failing ci / test (py3.13) job was caused by drift between the OpenClaw plugin manifest and the kb.capabilities response. The manifest was missing openclaw.compat.pluginApi, and capabilities did not advertise the corresponding host_compat.openclaw.pluginApi entry expected by the compatibility checks.

  • OpenClaw compatibility metadata

    • add openclaw.compat.pluginApi to openclaw.plugin.json
    • keep the declared plugin API floor explicit in the manifest rather than only in package.json
  • Capabilities surface

    • extend Capabilities with host_compat
    • expose host_compat.openclaw.pluginApi from src/vouch/capabilities.py
  • Drift checks

    • add coverage in tests/test_capabilities.py for the new host_compat contract
    • update tests/test_openclaw_plugin_manifest.py to assert manifest/package compatibility parity
    • stop treating openclaw as a dead manifest field now that it is part of the current contract
  • Schema/docs alignment

    • add host_compat to schemas/capabilities.schema.json
    • update CLAUDE.md to document that the manifest also carries the OpenClaw compatibility floor
{
  "openclaw": {
    "compat": {
      "pluginApi": ">=2026.6.0"
    }
  }
}
host_compat={"openclaw": {"pluginApi": ">=2026.6.0"}}

@github-actions github-actions Bot added the size: XS less than 50 changed non-doc lines label Jul 7, 2026
@github-actions github-actions Bot added docs documentation, specs, examples, and repo guidance openclaw openclaw integration mcp mcp, jsonl, and http surfaces storage kb storage, migrations, schemas, and proposals schemas json schemas and generated schema assets tests tests and fixtures size: S 50-199 changed non-doc lines and removed size: XS less than 50 changed non-doc lines labels Jul 7, 2026
Copilot AI changed the title [WIP] Fix failing GitHub Actions job ci / test (py3.13) Fix OpenClaw pluginApi compatibility drift in capabilities metadata Jul 7, 2026
Copilot AI requested a review from plind-junior July 7, 2026 10:29
@plind-junior plind-junior marked this pull request as ready for review July 7, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation, specs, examples, and repo guidance mcp mcp, jsonl, and http surfaces openclaw openclaw integration schemas json schemas and generated schema assets size: S 50-199 changed non-doc lines storage kb storage, migrations, schemas, and proposals tests tests and fixtures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants