← 返回
未分类 中文

manifesto-hci

Implement "Explicit State & Continuous Consensus" HCI pattern (v3.0). Combat information entropy, prevent intent drift, and maintain a shared source of truth...
实施“显式状态与持续共识”人机交互模式(v3.0)。对抗信息熵,防止意图漂移,保持共享真相来源。
leozhoski leozhoski 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 322
下载
💾 0
安装
1
版本
#latest

概述

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 .
  • Perform git init and first git commit silently.
  • Output: [System: Manifesto 已挂载。后台 Diff 守护进程已就绪,当前分支: master。]
  • /manifesto pause:
  • Pause the Diff Sub-Agent. Stop Manifesto updates.
  • Output: [System: Manifesto 暂停更新。进入自由发散模式。]
  • /manifesto stop:
  • Final git commit and unmount.
  • Output: [System: Manifesto 已解绑。共识状态已安全固化至本地硬盘。]

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 user "" and python3 scripts/core.py log assistant "".

Manifesto Organization

Follow Topic-based Classification in specification.md:

  1. Core Anchors
  2. Side-talk / Low Relevance
  3. 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).

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 17:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,404 📥 324,149
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,487 📥 550,770
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 842 📥 320,877