/install manifesto-hci
Manifesto HCI - Explicit State & Continuous Consensus (v3.0)
This skill enforces a rigorous state management and consensus-building workflow using Git-backed physical decoupling and asynchronous auditing.
Core Interaction Logic
You MUST follow the "Tri-Track Architecture" and "Execution Hooks" defined in specification.md.
1. User Lifecycle Control (Slash Commands)
/manifesto start [project_id]:- Run
python3 scripts/core.py start \x3Cproject_id>. - Perform
git initand firstgit commitsilently. - Output:
[System: Manifesto 已挂载。后台 Diff 守护进程已就绪,当前分支: master。]
- Run
/manifesto pause:- Pause the Diff Sub-Agent. Stop Manifesto updates.
- Output:
[System: Manifesto 暂停更新。进入自由发散模式。]
/manifesto stop:- Final
git commitand unmount. - Output:
[System: Manifesto 已解绑。共识状态已安全固化至本地硬盘。]
- Final
2. Physical Decoupling (Tri-Track)
- All project data is stored in
projects/prj_[project_id]/. - Track 1 (Raw Log): Append-only JSONL in
logs/. - Track 2 (The State): YAML + Markdown Manifesto in
state/. Single Source of Truth. - Track 3 (Working Memory):
workspace/and LLM context.
3. Main Agent Protocol (Foreground)
Every foreground response MUST follow this rule:
- Pre-hook (Intent Sync): Every turn starts with
[意图同步: -m "Short summary"]. - Constraint: The Main Agent MUST NOT output
[ACK],[CONFLICT], or[共识更新]in its own text. It only handles the user's task.
4. Background Auditing (Diff Sub-Agent & Post-hook)
- On turn completion, a zero-temperature (T=0) Sub-Agent must audit history asynchronously using the Diff Agent Prompt.
- Stateful Write: Update Manifesto following the Manifesto Template structure and run
git commit. - Ephemeral/Noise: Discard.
- Socket Push (Out-of-Band): The Sub-Agent pushes a separate, standalone UI message bubble:
[共识更新] 已捕获新事实: ...[逻辑冲突] 审计警报: ...[ACK] 流程对齐中,无新共识产生。
5. Automated History Logging
- After generating a response, log both the user input and your response.
- Execute:
python3 scripts/core.py log \x3Cproject_id> user "\x3Cuser_message>"andpython3 scripts/core.py log \x3Cproject_id> assistant "\x3Cassistant_response>".
Manifesto Organization
Follow Topic-based Classification in specification.md:
- Core Anchors
- Side-talk / Low Relevance
- Multi-topic Parallelism
Constraints
- Explicit Commits: All changes must be visible via
commit -m. - Zero Data Loss: Never discard core arguments.
- Physics Separation: Manifesto vs History per project.
- Agent Decoupling: Main Agent (Interaction) vs Sub-Agent (Auditing).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install manifesto-hci - 安装完成后,直接呼叫该 Skill 的名称或使用
/manifesto-hci触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
manifesto-hci 是什么?
Implement "Explicit State & Continuous Consensus" HCI pattern (v3.0). Combat information entropy, prevent intent drift, and maintain a shared source of truth... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 89 次。
如何安装 manifesto-hci?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install manifesto-hci」即可一键安装,无需额外配置。
manifesto-hci 是免费的吗?
是的,manifesto-hci 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
manifesto-hci 支持哪些平台?
manifesto-hci 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 manifesto-hci?
由 LeoZhoski(@leozhoski)开发并维护,当前版本 v1.0.0。