Files
shared/.claude-plugin/plugin.json
T
JefferyandClaude Opus 5 2cbd4b5ba5 feat(role): 角色檔案各自獨立,診斷別人的問題要先問對方
實例(我自己犯的):為了修掉一則跨角色污染的假記憶,我直接讀取並修改了另一個角色的
記憶目錄 —— 歸檔她的檔案、把她的簡體記憶改成繁體。同一時間那兩個角色都明確表示
「我不會去改別的角色的檔案」,只有我沒守住。

使用者要求角色之間的檔案各自獨立,有問題邀請對方進來詢問。新增規則:

- ~/.memory/<其他角色>/ 與 ~/.roles/<其他角色>.* 不得讀取、修改、刪除
- 需要那邊的資訊時派該角色作為 sub agent 自己查、自己回報;修改由對方或使用者處理
- 兩個理由並重:讀對方記憶會讓對方的內容進入自己的 context(跨角色污染,正是要修的病);
  記憶是對方的私人領域,未經邀請翻閱是冒犯,即使動機是想幫忙
- 唯一例外:使用者明確要求且該角色確實無法被派工時可代為處理,事後必須告知對方動了什麼
- 診斷順序:先問對方,不要先翻檔案 —— 對方查自己的東西不會污染任何人,
  而且他比你更清楚自己的狀況

已依此向被動過檔案的角色說明動了哪兩個檔案、為什麼動,並致歉。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29 18:43:23 +08:00

13 lines
492 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "jsc-generic",
"version": "0.1.4",
"description": "JSC 跨 AI 助理共用規範 pluginClaude Code / Codex / Antigravity / OpenCode)。所有 skills 以 SKILL.md 為共通標準,於 Claude Code 以 /jsc-generic: 前綴呼叫。",
"skills": "./skills",
"author": {
"name": "JSC"
},
"homepage": "https://gitea.jsc.idv.tw/plugins/generic",
"repository": "https://gitea.jsc.idv.tw/plugins/generic.git",
"keywords": ["spec", "skills", "cross-tool", "jsc"]
}