update_identity
Propose a change to an identity field such as profile, preferences, or trust boundaries for local review. The proposal stays pending until the Owner approves it, so approved identity remains in use.
Instructions
提议修改一个身份字段,等待本地审核。 / Propose an identity change for local review.
用途:需要修改 profile、preferences、trust_boundaries、work_style 或 quality_standards 时调用。
Purpose: Call when changing profile, preferences, trust_boundaries, work_style, or quality_standards.
所有模式只创建 pending 身份提案;Owner 用 engram review 查看旧值/新值并批准或拒绝。
All modes create pending identity proposals only; the Owner compares old/new values in engram review.
批准前自动上下文继续使用已批准身份。trust_boundaries 的变更也需要审核。
Automatic context uses approved identity until approval, including trust_boundaries changes.
Args:
field: 字段名:profile、preferences、trust_boundaries、work_style 或 quality_standards。 / Field name: profile, preferences, trust_boundaries, work_style, or quality_standards.
updates_json: 包含要更新字段的 JSON 字符串。 / JSON string containing the fields to update.
source_tool: 调用来源工具(如 'claude_code', 'codex', 'cursor'),用于字段级溯源。 / Source tool for field-level provenance tracking.
Field-specific keys / 字段专用键:
profile: role, language, technical_level, description / role、language、technical_level、description。
preferences: work_patterns (dict), communication (str), tool_preferences (dict), playbook_auto_extract (bool, default true) / work_patterns(字典)、communication(字符串)、tool_preferences(字典)、playbook_auto_extract(布尔,默认 true)。
trust_boundaries: default_sharing, tool_access, private_fields, restricted_fields / default_sharing、tool_access、private_fields、restricted_fields。
work_style: preferences (dict), communication (str) / preferences(字典)、communication(字符串)。
quality_standards: acceptance_threshold (1-5), rules (list) / acceptance_threshold(1-5)、rules(列表)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"field": "<field>",
"updates_json": "<updates_json>"
},
"name": "update_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| source_tool | No | ||
| updates_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |