| 开发者 | muze233 |
|---|---|
| 更新时间 | 2026年10月17日 14:32 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
client_policy on health, help, and the connection manifest so compatible clients can consume explicit route, output, sensitive-read, and write-flow boundaries. The local CLI also redacts profile paths, key ids, signing headers, tokens, passwords, and secrets from output, and its mcp subcommand runs a client-side stdio MCP server over the same signed profile with governed read, propose, preflight, and execute-after-human-approval tools only.
Current governed execution support covers explicit Adapter profiles after Core approval and commit-preflight: npcink-abilities-toolkit/trash-post, npcink-abilities-toolkit/create-draft, npcink-abilities-toolkit/update-post, npcink-abilities-toolkit/patch-post-content, npcink-abilities-toolkit/update-post-blocks, npcink-abilities-toolkit/update-template-blocks, npcink-abilities-toolkit/upsert-template-blocks, npcink-abilities-toolkit/update-template-part-blocks, npcink-abilities-toolkit/patch-setting-value, npcink-abilities-toolkit/set-post-seo-meta, npcink-abilities-toolkit/adopt-article-audio, npcink-abilities-toolkit/set-post-slug, npcink-abilities-toolkit/set-post-terms, npcink-abilities-toolkit/delete-term, npcink-abilities-toolkit/update-media-details, npcink-abilities-toolkit/upload-media-from-url, npcink-abilities-toolkit/set-post-featured-image, npcink-abilities-toolkit/optimize-media-asset, npcink-abilities-toolkit/replace-media-file, npcink-abilities-toolkit/restore-media-backup, npcink-abilities-toolkit/adopt-cloud-media-derivative, npcink-abilities-toolkit/rename-media-file, npcink-abilities-toolkit/delete-media-permanently, npcink-abilities-toolkit/delete-attachment, npcink-abilities-toolkit/reply-comment, npcink-abilities-toolkit/trash-comment, and npcink-abilities-toolkit/approve-comment.
核心功能:
client_policy so clients can understand route, read, write, and sensitive-data boundaries.npcink-abilities-toolkit.npcink-governance-core.Adapter provides an approve-and-execute action for supported execution profiles, reserved for WordPress administrator sessions. Signed AI clients cannot approve their own proposals: a human approves in the Npcink Governance Core admin and the client then calls the execute route. Npcink Governance Core remains the governance backend for proposal storage, approval, commit-preflight, and audit.
Execution abilities are declared by Npcink Abilities Toolkit and approved by Npcink Governance Core; Adapter supplies only the post-preflight channel.
不会。Adapter 只会在 Core 批准和提交预检之后执行明确受支持的执行配置。它不是通用能力执行器,也不会绕过 Core 治理。
需要。Npcink Abilities Toolkit 提供 Adapter 使用的能力定义和回调。Npcink Governance Core 负责受治理的提案、批准、提交预检和审计。
Adapter is built for OpenClaw-compatible local clients and similar tools that can call authenticated WordPress REST endpoints and consume the Adapter client_policy.
推荐的签名密钥配对路径避免把 WordPress 应用密码交给客户端。Adapter 只保存已批准的公钥。对于有专用密钥字段或凭据库的客户端,应用密码路径仍作为备用方式保留。
不会。Adapter 是通道层。它不提供模型路由、提示词管理、provider 凭据、工作流队列或托管 AI 执行。
Adapter 的 health 和 help 路由可以报告依赖状态。需要 Npcink Governance Core 或 WordPress Abilities API provider 的路由会失败关闭,并返回结构化的缺失依赖错误。
npcink-abilities-toolkit/delete-attachment on hosts providing that Toolkit ability; require deletion policy branch, operator reason, idempotency key, approval and commit preflight.limit rejection on both list routes and test media-deletion proposals without current Core branch evidence as fail-closed.limit query parameters on proposal and sensitive read-request list routes with the standard WordPress REST 400 error envelope instead of silently coercing them to 1./help and connection-manifest discovery for the shipped route surface, including actionable administrator-session and malformed-id responses.approve-and-execute as a breaking change for signed clients.app_auth_expired hints, the 429 retry relay honoring delay-seconds Retry-After, contract:read fallback, and audit offset passthrough.ability_id enforcement on governed routes, hardened governed-write locks and handoff consumption, structured CLI schema enforcement with redaction, and admin-surface fixes.reason and next_step data instead of a generic rest_forbidden; key-record and signature failures share one pre-verification code so key liveness is never observable without the private key; scope and nonce-replay causes are reported only after the signature verifies. Requests without credentials receive npcink_openclaw_adapter_authentication_required pointing at the device-pairing entry, and logged-in non-administrator accounts receive npcink_openclaw_adapter_privilege_required.Retry-After response header alongside the existing error data.GET /terms/GET /term purpose strings from /help route discovery.data.operator_feedback, next_step, and retry_after (redacted); the bounded AI image ratio crop recipe helper now mirrors the reviewed recipe contract locally because Adapter /help no longer carries recipe playbooks.npcink_openclaw_adapter_approve_requires_admin_session.client_policy.boundary_enforcement (client policy version 2) so clients can distinguish enforced key-pair connections from conventional WordPress-native credentials.@npcink/openclaw-adapter-cli 0.5.0): read, propose, preflight, and execute-after-human-approval tools only, with no self-approval tool.core_proxy_execute=true before Adapter execution.core_proxy_execute and commit_execution batch fail-closed behavior.