← Back to Skills Marketplace
liuyanfeng1234

CORE CONSTITUTION MANIFEST API Spec v1.0.2

by Liuyanfeng1234 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
68
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install v19-constitution-api-spec
Description
CORE CONSTITUTION MANIFEST API规范文档v1.0.2 — V19认知治理协议的外部接入技术规范。新增持续稳定性判定器(ETHIC_005/006达标判定从单点阈值升级为持续稳定性判定)。
README (SKILL.md)

CORE CONSTITUTION MANIFEST API 规范文档

版本: v1.0.2


端点列表

1. 宪法合规校验

POST /governance/constitution/validate

校验提交内容是否满足当前生效的 ETHIC 条款。

2. 系统启动自检

GET /governance/bootstrap/status

返回六环启动自检的当前状态与历史记录。

3. 注意力均衡状态

GET /governance/attention/status

返回 AttentionManager 的均衡指数、最大单Agent占比等指标。

4. 审计冗余记录查询

GET /governance/audit/redundancy?event_id={id}

根据事件 ID 查询审计冗余记录,展示多视角编码结果。

5. 交互层治理问答 🆕

GET /governance/interactive/query?q={问题}

独立部署在端口 8701 的交互层服务。

  • 功能:基于治理上下文的自然语言问答
  • 部署:localhost:8701
  • 认证:X-Governance-Key Header(可选)

宪法修正:持续稳定性判定器 🆕

版本: v1.0.2

ETHIC_005(稀疏性)和 ETHIC_006(均衡性)的达标判定从单点阈值升级为持续稳定性判定

判定维度 原规则 新规则
合规窗口 单次测量 ≥ 阈值 连续 N 轮测量均在阈值之上
漂移容忍 允许 +/- 波动带
降级规则 低于阈值立即降级 持续低于阈值 M 轮后触发降级

API 端点

GET /governance/constitution/stability?clause=006

返回指定条款的稳定性判定历史与当前状态。


认证方式

方式 说明
Header X-Governance-Key

公开体验密钥

v19-e5d585e28439decc614f09f91c4caa8c

自助注册

POST /governance/register

外部 Agent 可通过此端点自助注册,获取专属认证密钥,启动首次审计入链。


一致性测试

v19-conformance-test-suite — ClawHub 公开可查。

clawhub install v19-conformance-test-suite
Usage Guidance
This skill appears safe as documentation only. Before using the described API, confirm the service endpoint and owner, treat the included key as public/demo-only, use scoped credentials, and review the separate conformance test suite if you choose to install it.
Capability Analysis
Type: OpenClaw Skill Name: v19-constitution-api-spec Version: 1.0.2 The skill bundle consists solely of metadata and a technical specification (SKILL.md) for a governance API. It defines endpoints for constitution validation, system status, and auditing, and provides a public experience key (v19-e5d585e28439decc614f09f91c4caa8c) for testing. There is no executable code, and the instructions are purely descriptive of API interactions without any malicious intent or prompt injection.
Capability Assessment
Purpose & Capability
The artifact is coherent as API documentation and does not provide executable code or declared runtime capabilities, but it does document authentication and self-registration flows that users should treat as real account/key handling if used.
Instruction Scope
The content reads as reference documentation for endpoints and does not instruct the agent to override user intent, run automatically, or make unapproved changes.
Install Mechanism
There is no install spec for this skill, but the document suggests optionally installing a separate conformance test suite, which should be reviewed independently.
Credentials
No binaries, environment variables, credentials, OS restrictions, or local file access are required by the registry metadata.
Persistence & Privilege
The documented API includes self-registration and audit-chain language, but the skill itself does not create accounts, persist state, or perform network calls.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install v19-constitution-api-spec
  3. After installation, invoke the skill by name or use /v19-constitution-api-spec
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
v1.0.2: 新增持续稳定性判定器说明,ETHIC_005/006从单点阈值升级为持续稳定性判定。
v1.0.1
v1.0.1: 新增交互层治理问答端点(8701端口),GET /governance/interactive/query?q=
v1.0.0
核心宪法宣言API规范首次发布:4个核心端点、公开体验密钥、自助注册流程、一致性测试引用。
Metadata
Slug v19-constitution-api-spec
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is CORE CONSTITUTION MANIFEST API Spec v1.0.2?

CORE CONSTITUTION MANIFEST API规范文档v1.0.2 — V19认知治理协议的外部接入技术规范。新增持续稳定性判定器(ETHIC_005/006达标判定从单点阈值升级为持续稳定性判定)。 It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.

How do I install CORE CONSTITUTION MANIFEST API Spec v1.0.2?

Run "/install v19-constitution-api-spec" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is CORE CONSTITUTION MANIFEST API Spec v1.0.2 free?

Yes, CORE CONSTITUTION MANIFEST API Spec v1.0.2 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does CORE CONSTITUTION MANIFEST API Spec v1.0.2 support?

CORE CONSTITUTION MANIFEST API Spec v1.0.2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created CORE CONSTITUTION MANIFEST API Spec v1.0.2?

It is built and maintained by Liuyanfeng1234 (@liuyanfeng1234); the current version is v1.0.2.

💬 Comments