Skip to content

feat(openclaw): add opt-in harness mode toggle for provider server#173

Merged
saschabuehrle merged 1 commit intomainfrom
feat/openclaw-harness-optin
Mar 12, 2026
Merged

feat(openclaw): add opt-in harness mode toggle for provider server#173
saschabuehrle merged 1 commit intomainfrom
feat/openclaw-harness-optin

Conversation

@saschabuehrle
Copy link
Copy Markdown
Collaborator

@saschabuehrle saschabuehrle commented Mar 12, 2026

Summary

  • add OpenClaw server CLI flags for optional harness activation: --harness-mode off|observe|enforce
  • add optional harness limits: --harness-budget, --harness-max-tool-calls, --harness-max-latency-ms, --harness-max-energy, --harness-compliance
  • initialize harness at OpenClaw server startup and print effective harness status when explicitly enabled
  • document activation paths in OpenClaw guide, docs-site integration page, and ClawHub skill quickstart
  • add focused tests for OpenClaw CLI -> harness wiring

Scope

OpenClaw integration-level only (server + integration docs + integration skill + integration tests). No core harness/routing behavior changes.

Validation

  • python3 -m ruff check ./cascadeflow/integrations/openclaw/openai_server.py ./tests/test_openclaw_harness_cli.py
  • python3 -m pytest tests/test_openclaw_harness_cli.py tests/test_openclaw_openai_server_auth.py tests/test_openclaw_openai_server_streaming.py tests/test_openclaw_demo_mode.py tests/test_openclaw_upstream_errors.py

Both passed locally.

@saschabuehrle saschabuehrle merged commit d6d6cf8 into main Mar 12, 2026
27 of 28 checks passed
@saschabuehrle saschabuehrle deleted the feat/openclaw-harness-optin branch March 12, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant