什麼:tools/worklog-target.sh 不再自行重算 SHA-1,改為直接接收呼叫端算好的 hash 參數;skills/worklog/SKILL.md、README.md 同步更新呼叫方式與工具說明;plugin.json、.claude-plugin/plugin.json、.codex-plugin/plugin.json 版本號由 0.0.3 升至 0.0.4。
為什麼:原本 worklog-target.sh 重複實作了共享的 SHA-1 wiki-hash 演算法,與 jsc-gitea/tools/hash-id 的邏輯重複,違反單一事實來源原則,也和 learn 技能已採用的正確呼叫模式不一致。
如何:移除腳本內建的 sha1sum/shasum 計算與 hash 前綴修正邏輯,改為直接使用傳入的 hash 參數組出 LOG_{HASH}、LOG_CONTENTS;SKILL.md 改為先呼叫 jsc-gitea/tools/hash-id 算出 HASH 再傳給 worklog-target.sh;輸出行為與結果不變。
誰:jsc-meta:skill-check 例行合規稽核(worklog 技能)。
18 lines
416 B
JSON
18 lines
416 B
JSON
{
|
|
"name": "jsc-log",
|
|
"version": "0.0.4",
|
|
"description": "工作日誌(LOG_{HASH} wiki 頁)、技能使用統計與教訓紀錄(LEARN_{HASH} wiki 頁)",
|
|
"skills": "./skills",
|
|
"author": {
|
|
"name": "JSC"
|
|
},
|
|
"homepage": "https://gitea.jsc.idv.tw/plugins/log",
|
|
"repository": "https://gitea.jsc.idv.tw/plugins/log.git",
|
|
"keywords": [
|
|
"jsc",
|
|
"log",
|
|
"skills",
|
|
"cross-tool"
|
|
]
|
|
}
|