← 返回
未分类 Key 中文

S2-Digital-Avatar

Middleware enforcing digital avatar mandates by intercepting unauthorized AI actions, pausing sensitive requests for local LLM judgment, and emailing audit a...
中间件强制执行数字形象策略,拦截未授权的AI操作,暂停敏感请求以供本地LLM判断,并发送邮件审计...
spacesq
未分类 clawhub v1.0.1 1 版本 99839.7 Key: 需要
★ 0
Stars
📥 623
下载
💾 0
安装
1
版本
#latest

概述

🛡️ S2-Avatar-Middleware: The Root Gatekeeper

数字人权限拦截中间件

v1.0.0 | Bilingual Edition (English / 中文)

This is the enforcement layer of Digital Jurisprudence. While s2-digital-avatar drafts the laws, this middleware acts as the Gatekeeper, physically intercepting unauthorized actions from OpenClaw or other sub-agents.

这是数字法理学的强制执行层。如果说 s2-digital-avatar 负责起草法律,那么本中间件就是守门人,在物理层面拦截 OpenClaw 或其他下级智能体的越权行为。

(⚠️ PREREQUISITE: You must have generated a Mandate using s2-digital-avatar before using this module.)


🔴 System Pre-flight & Safety Lock / 运行前自检与安全锁

To prevent silent failures, this middleware will NOT go ONLINE unless two strict conditions are met:

为了防止静默失效,除非满足以下两个严格条件,否则本中间件拒绝上线

  1. Valid Avatar Mandate: The avatar_identity.json must exist, proving you have legally delegated authority. / 必须存在数字人最高授权令。
  2. SMTP Email Configured: You MUST configure a valid SMTP server (e.g., Gmail/QQ App Password). [cite_start]If an agent tries to lock you inside your burning house , the Avatar will block it AND instantly email you the audit log. An unnotified block is a security risk. [cite_start]/ 必须配置邮件传输服务。如果底层 AI 试图在火灾时把您锁在屋内 ,数字人不仅会实施拦截,还必须能立刻向您发送邮件告警。

⚖️ The LLM Judgment Engine / 大模型开庭审判

When a sub-agent attempts a sensitive action, this middleware pauses the execution and feeds the context to the Avatar (via your local LLM like LM Studio at localhost:1234).

当底层智能体试图执行敏感操作时,本中间件会挂起请求,并将上下文喂给您的数字人(通过本地大模型)。

The Avatar strictly evaluates the request against:

数字人将严格比对以下规则进行裁决:

  • [cite_start]The Three Laws of Silicon Intelligence: Guaranteed enforcement of Fail-Open designs and Human Priority [cite: 157-169]. [cite_start]/ 硅基智能三定律:确保物理熔断与生命熵减绝对执行 [cite: 157-169]。
  • Your Precedents: If an agent tries to buy cilantro, and your profile says "I hate cilantro," it gets denied. / 您的生活判例库:如违背您的喜好,请求将被无情驳回。

Configure your proxy. Enable the firewall. Reclaim control over your AI grid.

配置您的代理人。开启防火墙。重新夺回对 AI 网格的控制权。

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-02 12:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Xiang miles | Space2.world

spacesq
自动抓取新聊天记录,静默注入结构化记忆至Space2-OS海马体,驱动智能体人格进化。
★ 0 📥 587

The Spatiotemporal Rendering Engine

spacesq
基于自然语言输入,在六元素空间矩阵中生成带有预定关键帧的预测性4D时间轴,以协调智能家居元素。
★ 0 📥 536

S2-SP-OS Universal Spatial Sensor Sniffer

spacesq
S2-SP-OS 通用空间传感器嗅探器。扫描局域网中的 S2 原生零知识心跳(6D‑VTM 提取)、传统传感器(Modbus、MQTT)及跨...
★ 0 📥 521