mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-24 00:09:52 +00:00
feat(policy): add channel conformance checks (#80407)
Summary:
- Add the bundled Policy plugin with policy-backed doctor checks for channel conformance.
- Add `openclaw policy check` attestations, accepted-attestation drift checks, and opt-in doctor repair.
- Add policy CLI docs, generated plugin inventory/reference docs, and changelog credit.
Verification:
- node --import tsx scripts/sync-plugin-versions.ts --check
- pnpm plugins:inventory:check
- pnpm docs:list
- git diff --check origin/main..HEAD
- node scripts/run-vitest.mjs extensions/policy/src/policy-state.test.ts extensions/policy/src/cli.test.ts extensions/policy/src/doctor/register.test.ts src/flows/bundled-health-checks.test.ts src/cli/program/register.maintenance.test.ts
- codex review --uncommitted; accepted finding fixed, reran clean
- codex review --commit HEAD
- GitHub CI for 4e09b067f4: CI, Workflow Sanity, CodeQL, CodeQL Critical Quality, OpenGrep PR Diff, Real behavior proof, Dependency Change Awareness all green; reran failed Windows Node setup job successfully
Co-authored-by: Gio Della-Libera <giodl73@gmail.com>
Co-authored-by: Gio Della-Libera <giodl@microsoft.com>
This commit is contained in:
23
docs/plugins/reference/policy.md
Normal file
23
docs/plugins/reference/policy.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
summary: "Adds policy-backed doctor checks for workspace conformance."
|
||||
read_when:
|
||||
- You are installing, configuring, or auditing the policy plugin
|
||||
title: "Policy plugin"
|
||||
---
|
||||
|
||||
# Policy plugin
|
||||
|
||||
Adds policy-backed doctor checks for workspace conformance.
|
||||
|
||||
## Distribution
|
||||
|
||||
- Package: `@openclaw/policy`
|
||||
- Install route: included in OpenClaw
|
||||
|
||||
## Surface
|
||||
|
||||
plugin
|
||||
|
||||
## Related docs
|
||||
|
||||
- [policy](/cli/policy)
|
||||
Reference in New Issue
Block a user