Wiki generation Read a repository, then produce a set of interconnected documentation pages that explain what the code does and how it fits together. The output is a directory of markdown files, uploaded to Factory via . 1. Survey the repository Before writing anything, build a mental model of the codebase. The survey has two passes: a structural scan and a deep code scan. Pass 1: Structural scan Read these files (when they exist): - , , — project intent and conventions - , , , — dependencies and scripts - directory — existing documentation - Entry points ( , , , etc.) — how the application s…