From 2a1dcc59e933b0fff04cea199e1348d9f8e5eaa9 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 24 Aug 2026 18:54:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(wiki=20=E9=80=A3=E7=B5=90):=20=E7=9B=AE?= =?UTF-8?q?=E9=8C=84=E9=A0=81=E9=80=A3=E7=B5=90=E6=96=B9=E5=90=91=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E3=80=81=E8=B7=A8=E9=A0=81=E5=9E=8B=E6=94=B9=E7=B5=95?= =?UTF-8?q?=E5=B0=8D=E7=B6=B2=E5=9D=80=E3=80=81=E5=B7=A5=E4=BD=9C=E8=AD=89?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=81=87=E8=A3=9D=E9=80=A3=E7=B5=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5 (1M context) --- templates/analyze-contents.md | 2 +- templates/analyze-page.md | 7 +++++-- templates/deliver-contents.md | 2 +- templates/deliver-page.md | 4 +++- templates/error-contents.md | 2 +- templates/error-page.md | 2 +- templates/plan-contents.md | 2 +- templates/repo-contents.md | 2 +- 8 files changed, 14 insertions(+), 9 deletions(-) diff --git a/templates/analyze-contents.md b/templates/analyze-contents.md index 9f11a3e..53478e0 100644 --- a/templates/analyze-contents.md +++ b/templates/analyze-contents.md @@ -2,4 +2,4 @@ | 計畫名稱 | 分析頁 | HASH | 工作包 | 未完成項目 | 狀態 | | --- | --- | --- | --- | --- | --- | -| {計畫名稱} | [[ANALYZE_{HASH}|{計畫名稱}]] | {HASH} | WP-01、WP-02 | {n} | 未完成 | +| {計畫名稱} | [[{計畫名稱}|ANALYZE_{HASH}]] | {HASH} | WP-01、WP-02 | {n} | 未完成 | diff --git a/templates/analyze-page.md b/templates/analyze-page.md index 8747598..eb8240c 100644 --- a/templates/analyze-page.md +++ b/templates/analyze-page.md @@ -1,8 +1,11 @@ # 分析:{計畫名稱} +> {PLAN 頁絕對網址}、{REPO 頁絕對網址} 由 `jsc-gitea/tools/gitea.sh wiki-url` 取得。 +> 跨頁型連結一律用絕對網址:不同頁型可能落在不同存取庫,`[[頁名]]` 只在同一個 wiki 內解析。 + - 頁名:`ANALYZE_{HASH}` - HASH:`{HASH}` -- 對應計畫:[[PLAN_{HASH}]] +- 對應計畫:[PLAN_{HASH}]({PLAN 頁絕對網址}) - 存取庫:`{owner}/{repo}` - 來源分支:`{使用者確認的分支}`(head sha:`{sha}`) - 狀態:未完成 @@ -11,7 +14,7 @@ ## 現況摘要 - 工作目錄:{關鍵檔案與結構摘要} -- 複用來源:[[REPO_{HASH}]](commit sha:`{sha}`) +- 複用來源:[REPO_{HASH}]({REPO 頁絕對網址})(commit sha:`{sha}`) - 複用決策:{複用哪些方法/端點、為什麼;不複用的原因} ## 未決項 diff --git a/templates/deliver-contents.md b/templates/deliver-contents.md index 18708d0..fd24150 100644 --- a/templates/deliver-contents.md +++ b/templates/deliver-contents.md @@ -4,4 +4,4 @@ | 計畫名稱 | 工作包 | 交付 | 交付型別 | 交付頁 | HASH | 存取庫 | 交付時間 | | --- | --- | --- | --- | --- | --- | --- | --- | -| {計畫名稱} | WP-01 {工作包名稱} | 是 | API 文件 | [[DELIVER_{HASH}|{WP-01 工作包名稱}]] | {HASH} | {owner}/{repo} | {yyyy-MM-dd HH:mm:ss} | +| {計畫名稱} | WP-01 {工作包名稱} | 是 | API 文件 | [[{WP-01 工作包名稱}|DELIVER_{HASH}]] | {HASH} | {owner}/{repo} | {yyyy-MM-dd HH:mm:ss} | diff --git a/templates/deliver-page.md b/templates/deliver-page.md index ed8e3b1..929f73d 100644 --- a/templates/deliver-page.md +++ b/templates/deliver-page.md @@ -1,8 +1,10 @@ # 交付:{計畫名稱} {WP-nn} {工作包名稱} +> {ANALYZE 頁絕對網址} 由 `jsc-gitea/tools/gitea.sh wiki-url` 取得。跨頁型連結一律用絕對網址。 + - 頁名:`DELIVER_{HASH}` - HASH:`{HASH}` -- 對應分析:[[ANALYZE_{HASH}]] +- 對應分析:[ANALYZE_{HASH}]({ANALYZE 頁絕對網址}) - 存取庫:`{owner}/{repo}` - 目標分支:`{使用者確認的目標分支}` - 工作證:`TICKET_{yyyyMMdd}_{HHmmss}_{HASH}` diff --git a/templates/error-contents.md b/templates/error-contents.md index 8a6b674..6e3dfbf 100644 --- a/templates/error-contents.md +++ b/templates/error-contents.md @@ -6,4 +6,4 @@ | 時間 | 頁名 | 存取庫名稱 | 觸發流程 | 退出碼 | 摘要 | | --- | --- | --- | --- | --- | --- | -| {yyyy-MM-dd HH:mm:ss} | [[ERROR_{HASH}|{error title}]] | {owner}/{repo} | {hook_name} | {exit_code} | {error_summary} | +| {yyyy-MM-dd HH:mm:ss} | [[{error title}|ERROR_{HASH}]] | {owner}/{repo} | {hook_name} | {exit_code} | {error_summary} | diff --git a/templates/error-page.md b/templates/error-page.md index 3de248b..b00acb3 100644 --- a/templates/error-page.md +++ b/templates/error-page.md @@ -30,4 +30,4 @@ | --- | --- | | 訊息來源 | {stdin / env / command} | | 相關輸出 | {stdout / stderr 摘要} | -| 關聯 ticket | [[TICKET_{yyyyMMdd}_{HHmmss}_{HASH}|{ticket 標題}]] | +| 關聯 ticket | `TICKET_{yyyyMMdd}_{HHmmss}_{HASH}` | diff --git a/templates/plan-contents.md b/templates/plan-contents.md index e40094d..42d5556 100644 --- a/templates/plan-contents.md +++ b/templates/plan-contents.md @@ -2,4 +2,4 @@ | 計畫名稱 | 計畫頁 | 存取庫 | HASH | 狀態 | 建立時間 | | --- | --- | --- | --- | --- | --- | -| {計畫名稱} | [[PLAN_{HASH}|{計畫名稱}]] | {owner}/{repo} | {HASH} | 未分析 | {yyyy-MM-dd} | +| {計畫名稱} | [[{計畫名稱}|PLAN_{HASH}]] | {owner}/{repo} | {HASH} | 未分析 | {yyyy-MM-dd} | diff --git a/templates/repo-contents.md b/templates/repo-contents.md index 3386f11..f4ca9db 100644 --- a/templates/repo-contents.md +++ b/templates/repo-contents.md @@ -2,4 +2,4 @@ | 存取庫 | 盤點頁 | HASH | commit sha | 盤點時間 | | --- | --- | --- | --- | --- | -| {owner}/{repo} | [[REPO_{HASH}|{owner}/{repo}]] | {HASH} | `{sha}` | {yyyy-MM-dd} | +| {owner}/{repo} | [[{owner}/{repo}|REPO_{HASH}]] | {HASH} | `{sha}` | {yyyy-MM-dd} | From c932ab2b363a56eb32d1f1aa211ea656542be2f1 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 24 Aug 2026 18:54:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore(plugin=20=E7=89=88=E6=9C=AC):=20?= =?UTF-8?q?=E4=B8=89=E4=BB=BD=20manifest=20=E5=8D=87=E7=89=88=E8=87=B3=200?= =?UTF-8?q?.0.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5 (1M context) --- .claude-plugin/plugin.json | 2 +- .codex-plugin/plugin.json | 2 +- plugin.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 9e09751..6ae9456 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-sdlc", - "version": "0.0.7", + "version": "0.0.8", "description": "開發生命週期:規劃/分析/實作/維護(wiki 追蹤)", "skills": "./skills", "author": { diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 323a2c4..b514edd 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-sdlc", - "version": "0.0.7", + "version": "0.0.8", "description": "開發生命週期:規劃/分析/實作/維護(wiki 追蹤)", "skills": "./skills" } diff --git a/plugin.json b/plugin.json index c624f51..b1ca2e0 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-sdlc", - "version": "0.0.7", + "version": "0.0.8", "description": "開發生命週期:規劃/分析/實作/維護(wiki 追蹤)", "skills": "./skills/" }