Problem
renderConsensusSummary(Server.swift,static、有 10 條測試)與 Consensus.run() 內的 inline 渲染(ConsensusCommand.swift,零測試 — grep Tests/ 無任何引用)是手抄重複的 ~80 行。#38/#39 的三波誠實性邏輯(REFUSED/excluded/overwrote、n 與 prior、單一共識三態 + threshold + unbounded)都同步改了兩邊 — 靠人工紀律維持對稱。改壞 CLI 那份,套件仍全綠,而 CLI 正是 bestocr consensus 使用者實際看到的介面。
Expected
把 render 抽到 kit 層共用(或 CLI 委派給既有 static renderer),CLI 輸出由同一條測試鏈覆蓋。
Source: surfaced during /idd-verify #39 R2 (requirements N3)
Problem
renderConsensusSummary(Server.swift,static、有 10 條測試)與Consensus.run()內的 inline 渲染(ConsensusCommand.swift,零測試 — grep Tests/ 無任何引用)是手抄重複的 ~80 行。#38/#39 的三波誠實性邏輯(REFUSED/excluded/overwrote、n 與 prior、單一共識三態 + threshold + unbounded)都同步改了兩邊 — 靠人工紀律維持對稱。改壞 CLI 那份,套件仍全綠,而 CLI 正是bestocr consensus使用者實際看到的介面。Expected
把 render 抽到 kit 層共用(或 CLI 委派給既有 static renderer),CLI 輸出由同一條測試鏈覆蓋。
Source: surfaced during /idd-verify #39 R2 (requirements N3)