Skip to content

Migrate docs/ + meetings/ to GitHub Wiki #172

Closed as not planned
Closed as not planned

Description

@wei18

Date: 2026-05-26

當前 spec / RFC / meeting log 全住 Sudoku-spec repo 樹下;隨 docs 累積,wiki 比 file tree 更適合做 narrative-heavy 文件的瀏覽(auto sidebar / cross-link / web 搜尋 / 對外公開但不動 code repo 結構)。

兩條落地選項可獨立或組合:

  1. (optional)sudoku 主 repo 加 submodule 指向 wei18/Sudoku.wiki.git,讓 spec/meetings 跟 code 在同一 clone 樹下,本機 grep + agent 一次 load 仍方便
  2. 整理 docs/ meetings/ 結構讓每份文件可一對一搬到 wiki page(檔名 → page title、相對連結 → wiki link、frontmatter 拿掉、圖片改走 wiki assets、_Sidebar.md / _Footer.md 補上)

Trigger: (i) 第二人 collab 需要 wiki-style discoverability;(ii) meetings/ 累積 > 50 份單檔 navigate 變慢;(iii) 想對外公開部分 spec 但不想動 repo 結構

代價:wiki history 跟 PR review flow 不同(無 squash / 無 required check / 無 code review subagent)、cross-repo link 維護、CI 上的 lychee link-check 需重設目標、[[feedback-...]] memory link 慣例需要對應 wiki link 規則。


Migrated from docs/foundations.md §Backlog on 2026-05-26.

Activity

  1. added
    documentation
    backlog
    and removed on May 26, 2026
  2. wei18 commented on May 29, 2026

    @wei18
    OwnerAuthor

    Recommendation: STAY_IN_TREE — close as "not now, re-open on a hard trigger"

    Re-evaluated 2026-05-29 via multi-perspective workflow (3 parallel evidence readers + synthesis).

    Why not now

    The deciding factor is that migration breaks the Code-Reviewer-on-PR gate that methodology §派發契約 §8 mandates for >50 LOC doc changes. Even with the submodule plan from option 1, GitHub Wiki has no native PR surface — wiki UI edits bypass review by design, and our own "edit via local clone + bump submodule pointer in main repo PR" convention is unilaterally circumventable.

    The submodule approach DOES solve most of the other concerns raised in the first-pass synthesis (AI agents single-tree grep, lychee scope, MEMORY.md [[name]] convention, squash-merge history all stay intact). The remaining real costs are narrower than initially reported:

    1. Wiki UI editing has no required-check surface — anyone clicking Edit on the wiki web UI bypasses CR
    2. Double-commit ceremony — every doc change is 2 commits (wiki repo + main repo bump); forgotten bump → CI runs stale
    3. submodule update --remote cultural debt — local + CI must remember; otherwise silent drift

    The real pain isn't wiki-shaped

    meetings/ has 98 files, 77% mechanical *.impl-notes.md. The pain is "noise in narrative search", not "platform limitation". Solve with a meetings/README.md index + impl-notes archival policy, not a platform migration.

    Sharpened triggers (replace issue body's soft triggers)

    Re-open this issue only when 2-of-3 fire:

    1. Second human collaborator actively editing docs: ≥3 doc-only PRs in a rolling 30 days authored by someone other than the repo owner. Current: 0.
    2. Meeting-log signal-to-noise breakdown: synthesized (non-impl-notes, non-raw) files in meetings/ exceed 40, OR total meetings/ exceeds 200. Current: ~22 synthesized / 98 total.
    3. Public-spec intent becomes concrete: open issue or commitment to publish a spec landing page that needs Google indexing + narrative nav. If this fires, the right answer is Docusaurus on GitHub Pages, not Wiki (Wiki is noindex by default).

    Additionally, retire the size-based trigger — current docs/ + meetings/ markdown payload is 944K, not the 655M figure that motivated the original entry (the bulk was a SwiftPM .build/ tree under docs/designs/code/ that should be .gitignored regardless of this migration question).

    Closing.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogdocumentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions