LLM Wiki Ingest + MD
Perform both operations on the last assistant response in one step:
- Wiki ingest - update
bank-repos-wiki/wiki/commbiz-integration-testing.md(or appropriate wiki page) with key findings from the response, and append tobank-repos-wiki/wiki/log.md - MD export - write the full response text to
tmp-docs/<auto-named>.mdand open in Chrome
Workflow
- Identify the last assistant response (text only, not tool calls)
- Wiki ingest:
- Read
bank-repos-wiki/wiki/index.mdto find the relevant page - Surgically add key findings to the appropriate section (don't rewrite the whole page)
- Append a log entry to
bank-repos-wiki/wiki/log.mdwith format:## [YYYY-MM-DD] ingest | <brief title>
- Read
- MD export:
- Generate kebab-case filename from content (2-4 word summary)
- Write to
tmp-docs/<filename>.mdpreserving all formatting - Open in Chrome:
open -a "Google Chrome" <filepath>
- Report:
Wiki ingested + Wrote {n} bytes to {filepath}
Rules
- Wiki directory:
bank-repos-wiki/in cwd (/Users/tangj19/Desktop/repos/bank-repos-wiki/) - MD directory:
tmp-docs/in cwd - Wiki update: surgical addition, not full page rewrite
- Log format:
## [YYYY-MM-DD] ingest | <title>\n- Updated: [page](page.md)\n- Key finding: <one line> - Filename: auto-generate from content if no arg provided
- Overwrite: always overwrite md file, never append
- Content: raw text of last response only for md file
- Preserve: all formatting - code blocks, headers, lists, tables