Commit Graph
23 Commits
Author SHA1 Message Date
JefferyandClaude Opus 5 bf599e81a5 feat(role): SessionStart 載入未整理的近期工作記憶
修補記憶交接的先天缺口:role_load.sh 的順序是先 memory.js load 載入記憶,
之後才在背景補跑 --catchup 整理(腳本註解亦寫明「結果會在下次載入時反映」)。
而 load 原本只讀已整理的六個分類,完全不讀 inbox,導致上一段工作永遠來不及
進入本次載入 —— 使用者重開工作階段時,角色看不到剛剛做過的事,表現得像失去
記憶,只能靠 resume 找回上下文。

- memory.js 新增 inboxBlock():讀 inbox 最新數則的 summary,附時間與標籤,最新在前
- cmdLoad 把該區塊放在最前面,並使用獨立字元預算,不佔用 ROLE_LOAD_LIMIT
  (已驗證:開關 inbox 時長期記憶區塊逐字元完全一致,未被擠壓)
- 新增 ROLE_LOAD_INBOX_LIMIT(預設 1200)與 ROLE_LOAD_INBOX_COUNT(預設 10),
  任一設 0 可關閉
- role skill 補「近期工作記憶交接(不可移除)」段落,寫明缺口原因與範圍限制:
  這是摘要級交接,角色會知道上一段在做什麼、進行到哪,但不等於逐字記得整段
  對話;需要完整上下文仍應使用 resume
- 版號 0.0.1 → 0.0.2

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 17:47:21 +08:00
JefferyandClaude Opus 5 54628d8b2c chore(plugin 版本): 更名視為新 plugin,版號重置 0.0.1
plugin 更名後,各助理以 <plugin 名>@<marketplace 名> 作為安裝識別鍵,
新名與舊名是兩筆獨立條目:舊 plugin 會被移除、新 plugin 為首次安裝,
兩者之間不存在版本比較,因此不會發生版本倒退,「版本單調遞增」不適用。

依 spec-plugin-version「新 plugin 首發 0.0.1」,三份 manifest 版號一律重置為 0.0.1,
不沿用舊名 jsc 的版本序列。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 17:15:23 +08:00
JefferyandClaude Opus 5 db492e6ba7 refactor(plugin 命名空間): plugin 更名 jsc-generic、hooks 只註冊自己擁有的 role
- 五份 manifest 的 name 由 jsc 改為 jsc-generic
- hooks/hooks.json 由合併超集改為只註冊 SessionStart(role_load)與 Stop(role_capture):worklog 的 hook 交還 jsc-doc
- hook 腳本搜尋路徑改指 jsc-generic
- role skill 更新 hooks 說明:改名後各 plugin 名稱獨立、互不覆蓋,不再需要三份同步;並註明不可再把別的 plugin 的 hook 寫進自己的 hooks.json
- skill 名稱不變(role、spec-*),指令引用改為 /jsc-generic: 前綴
- 版號 0.0.8 → 0.0.9

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 17:07:14 +08:00
Jeffery 28c2b69800 chore(plugin 版本): 三家 manifest 升版 0.0.8 2026-07-28 16:13:47 +08:00
Jeffery 131cda2978 chore(plugin 版本): 三家 manifest 升版 0.1.0 2026-07-28 16:09:24 +08:00
Jeffery 0ebaf8991b chore(plugin 版本): 三家 manifest 升版 0.0.10 2026-07-28 16:07:26 +08:00
Jeffery 12430131f4 chore(plugin 版本): 三家 manifest 升版 0.0.9 2026-07-28 15:54:04 +08:00
Jeffery f70c010cc5 chore(plugin 版本): 三家 manifest 升版 0.0.8 2026-07-28 15:26:44 +08:00
JefferyandClaude Opus 5 bb48a77dd4 chore(plugin 版本): 三家 manifest 升版 0.0.7
hooks/hooks.json 與 role 腳本有變更,需升版才會重建版本化快取目錄並被載入。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 14:21:48 +08:00
Jeffery 3748d2e61a chore(plugin 版本): 三家 manifest 升版 0.0.6 2026-07-28 13:35:57 +08:00
Jeffery f0018fd2a0 chore(plugin 版本): 三家 manifest 升版 0.0.5 2026-07-28 12:51:13 +08:00
Jeffery 485f506a28 chore(plugin 版本): 升版 generic 至 0.0.9 2026-07-28 12:46:25 +08:00
Jeffery 78f4086a48 chore(plugin 版本): 升版 generic 至 0.0.8 2026-07-28 12:30:52 +08:00
Jeffery e71f165e9a chore(plugin 版本): 三家 manifest 升版 0.0.6 2026-07-28 11:47:21 +08:00
JefferyandClaude Opus 5 d6f9c4956b chore(plugin 版本): 三家 manifest 升版 0.0.4
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 11:11:16 +08:00
Jeffery 497dc55b61 refactor(generic 規範): 移除 worklog 並補 Copilot 說明 2026-07-27 16:24:53 +08:00
JefferyandClaude Opus 5 c2239dd97d revert(plugin 版本): 還原 0.0.3 升版,本批最終版本維持 0.0.2
0.0.2 尚未合併到 master,同一批變更只需最終一個版本。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 11:59:54 +08:00
JefferyandClaude Opus 5 c25307b9b9 chore(plugin 版本): 三家 manifest 升版 0.0.3
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 11:51:42 +08:00
JefferyandClaude Opus 5 08455fb053 chore(plugin 版本): 三家 manifest 升版 0.0.2
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 11:20:15 +08:00
Jeffery a2b0a51a35 chore(marketplace): 將 marketplace 名由 jsc-plugins 改為 generic 並同步 README 2026-07-17 13:57:33 +08:00
JefferyandClaude Fable 5 90d614fe0d chore(plugin 版本): 版本號修正為 0.0.1(generic 為新 plugin 首發版本)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 09:17:39 +08:00
JefferyandClaude Fable 5 3ba798ed7f chore(plugin 設定): 三家 manifest 升版 0.2.0 並修正 homepage/marketplace 指向 generic repo
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 08:58:18 +08:00
jiantw83 8f555734ca Initial commit 2026-07-16 07:59:55 +00:00