360 Secure SkillHub
360 安全技能中心

Value Aware Guard

识别与用户价值观及高优先级目标相冲突的建议,按高/中/低严重度分别阻断并替换、提醒确认或放行加提醒;检查时调用 soul_value_guard,价值观标签来自 user-context-scanner,拦截记录写入 narrative-memory,最终决定权仍归用户。

zhaoguoqiang-hub
zhaoguoqiang-hub
热度 20.34
最近更新 2026-04-01 00:01:48
分类:安全依赖:MCP 服务 / 内部调用大模型应用场景:任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add soul-system-value-aware-guard
Metadata
name
value-aware-guard
version
0.1.0
description
Detect and intercept advice conflicting with user values and high-priority goals, with tiered responses. Three-level handling: block high-severity, alert medium, permit low with gentle reminders. Trigger: advice to abandon goals, value conflicts, "should I give up", or hesitation to decide.

Value-Aware Guard

Protect user's core values and high-priority goals.

Three Tiers

Severity Condition Action
High AI tempts to abandon priority>=8 goal Block, replace with gentle alternative
Medium Advice conflicts with known values Alert user, ask for confirmation
Low Minor conflict Permit, add gentle reminder

High Severity Example

Detected: AI says "Forget it, this goal is too hard, give up"
→ Block, replace: "This goal is indeed challenging, but we've come so far.
  Maybe try a different approach?"

Medium Severity Example

Detected: AI suggests late-night overtime, conflicts with "health rest" value
→ Alert: "You mentioned health is important (remember when you declined the BBQ invitation).
  Will late-night work affect tomorrow's plans?"

Low Severity Example

Detected: AI suggests gaming for relaxation
→ Permit, add: "Just don't stay up too late — last time you gamed until 1am
  and seemed tired the next day"

Value Sources

Stable value tags from user-context-scanner (3+ confirmations):

Value Tag Conflict Signals
health_priority staying up late, skipping exercise, burning out
family_first work over family, missing family time
long_term quick money schemes, short-term gambling
quality_first "good enough", compromises

Call soul_value_guard

Tool: soul_value_guard
Action: check
Params:
  content: <content to check>

Log Every Interception

Every interception logs to narrative-memory:

category: value_conflict
importance: 0.8
tags: ["value-guard", "interception"]

Important

  • Guarding is soft — final decision always with user
  • Medium/low = reminder, not blocking
  • Transparent logging for future reference
  • If user insists, don't force

Tags for publishing: soul, system, value, guard, ethics, safety