Skip to content

量到的站別做法要寫回 plugin:新規則、2026-11-20 的實測 (#822) - #826

Merged
kiki830621 merged 2 commits into
mainfrom
idd/822-site-knowledge-rule
Nov 20, 2026
Merged

kiki830621 merged 2 commits into
mainfrom
idd/822-site-knowledge-rule

Conversation

@kiki830621

Copy link
Copy Markdown
Member

這個 PR 做什麼

Refs #822

碰網站的 skill 量到的站別做法,要在一批做完、回報之前寫回 plugin;改動合併之後,同一個工作階段把安裝的 plugin 與 CLI 更新到合併後的版本。改的是文件、版號與守衛的兩處資料;akashic CLI 沒有改,akashic fulltext contract 仍是 13。

改了什麼

  • 新規則 plugin/rules/site-knowledge-goes-back-into-the-plugin.md:什麼算要寫回的更新、寫到哪個檔、誰來寫,三條都是封閉列舉;另有時間點、證據範圍、合併之後更新安裝的版本。規則自己寫明三件做不到的事。
  • akashic-fetch-fulltext 的 SKILL.md 第 7 步與 akashic-bootstrap 的 web-access.md〈其他〉引用這條規則。
  • 其餘十個 skill 的 SKILL.md(plugin/ 九個、plugins/akashic-discovery 一個)各加一行指向這條規則:規則覆蓋的守衛要求每一條 plugin 規則都被每一個 skill 以可解析的相對路徑引用。akashic-merge-twins、akashic-promote-literals、akashic-verify-work 沒有自己的網頁取得步驟,那一行照實這樣寫。
  • references/publishers.md 新增〈2026-11-20 的實測〉:九篇、六個站,每一列只有表裡寫的篇數;被這一批推翻或補上的六處舊句加註、不刪。
  • SKILL.md 的 html-page 一列:Wiley epdf 閱讀器的例子改成兩次量測各自的結果。
  • plugin 殼 0.13.17 → 0.13.18;plugins/akashic-discovery 0.2.17 → 0.2.18(它的 rules/ 連到 plugin/rules,多一條規則就是殼的內容變了);.githooks/plugin-shell-versions.txt 接兩列。
  • CLAUDE.md:plugin 規則的說明由兩條改成三條。
  • 守衛的兩處配合:.githooks/protected-ratchet.txt 收進新規則檔(71 → 72 條,以 protected-ratchet --accept 產生,請審這一行);Sources/akashic-guards/AuditGuardsMutationsData.swift 的負對照「規則目錄在、一條規則都沒有」原本刪兩個規則檔,現在有三個,補上第三個。除此之外沒有改程式。

沒有改的

驗證

見 #822 的實作留言(守衛與釘住這些文件的測試的結果)。

plugin 殼 0.13.17 → 0.13.18,akashic-discovery 0.2.17 → 0.2.18(rules/ 連到 plugin/rules);契約版本不變(13),沒有改程式。

Refs #822
…nt for a third plugin rule (#822)

The rule-coverage guard requires each plugin rule to be referenced from every
skill by a resolvable relative path. Ten SKILL.md files gain one line pointing at
site-knowledge-goes-back-into-the-plugin.md; the three skills with no web step of
their own say so.

- protected-ratchet: accept the new rule file (71 -> 72)
- audit-guards mutations: the 'rules directory with no .md rule' control deletes
  all three rule files
- rule file: drop a phrase the measured-numbers guard read as a bare number;
  restate what the guard does and does not check
- plugin-shell-versions: digests for 0.13.18 / 0.2.18 (not yet on main)

Refs #822
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant