In-Repo Project Wiki
Todo2026-10-31Jean Mertz
Tracking ticket for RFD 127.
Implementation plan
- Extract shared document substrate: Moves metadata parsing/rendering, parameterized 7-character epoch ID allocation, reference rewriting, and heading/anchor extraction into a shared internal crate used by
ticketandjp-rfd. Mergeable independently with no behavioral change. - Build jp-wiki core and CLI: Creates
crates/plugins/command/wiki(jp-wiki) withinit,add,show(with--sectionand transclusion expansion),list,edit,rename,rank,archive,pin,from-ticket, andcheck(metadata, labels,#sectionanchors, workspace file/line/symbol links, permalinks). Depends on Phase 1. - Add wiki assistant tools: Adds the
wiki_list,wiki_show,wiki_create, andwiki_edittools, plusjp wiki tools initandjp wiki tools sync. Depends on Phase 2. - Integrate wiki into jp-vite: Extends
jp-vitewith wiki support:settings.rs,references.mjs,redirects.mjsand theredirectsmap,theme/documents.mjs,middleware.mjs,<WikiIndex />, the owned slug function, the transclusion markdown rule, and the auto-generated/wiki/sidebar. Depends on Phase 2. - Migrate JP's documents into the wiki: Moves each
docs/architecture/file intodocs/wiki/as one page, keeping headings so anchors carry over. Rewrites references to old paths across the whole workspace (including.jp/config/andjp_clidoc comments), reports any left unrewritten, redirects old/architecture/*routes, and moves research-note tickets such asT-0n0nwz3withjp wiki from-ticket. Depends on Phase 4.