Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
docs: correct generate written-set and log concept-tree changes (#1047)
Raghav Chamadiyaaf04d8d36fcb
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 072519304..7df9c5189 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- **One wiki, one renderer per page type.** The old template-vs-model split is gone. Every page except the subsystem layer is rendered from structure, always, with no key and no spend: file, symbol, API, infra, cycle and layer pages. Above them sits a derived, numbered concept tree (the `module_page` type) that is the one model-written layer: model prose when a provider is configured, structural stubs otherwise. `repowise generate` fills or refills that subsystem prose. (#1023, #1024, #1025, #1032)- **`--prose` / `--no-prose` is the single wiki-spend switch.** `--prose` writes the subsystem pages as model prose (needs a key); `--no-prose` renders the whole wiki from structure with no model and no cost. `--index-only` and `--docs llm|deterministic` remain as deprecated hidden aliases. The interactive coverage chooser and the `--coverage` / `--top` ranked-generation flags are removed; `init` and `generate` now ask a single cost question. (#1032, #1036)- **Hierarchy lives in the data model.** `wiki_pages` carries `parent_page_id`, `display_order`, `section_number` and a stable `structural_key`, so MCP (`get_overview`), the web docs tree and the breadcrumbs all read one stored tree instead of each deriving their own. (#1014, #1022)+- **Subsystem pages read like subsystem docs.** The concept tree's `module_page`s open by situating themselves against their siblings, weave in git-derived health and history signals, and close with a "Questions this page answers" section; a parent directory that spans several concept pages gets its own overview page. (#1043)+- **`get_answer` leads subsystem questions with their concept page.** A question about a subsystem as a whole now surfaces that subsystem's page above its individual file and child pages, instead of returning the parts without the whole. (#1046)### Removed- **The template-vs-AI provenance axis.** `is_deterministic` and `doc_tier` are gone from the API responses and every TypeScript type; the Auto / AI / Mixed page badges, the "Auto-documented" partition, and the per-page "Write with AI" affordance are retired. The pages router's `?deterministic=` filter becomes `?has_prose=`, scoped to the model-written page types. (#1037)diff --git a/docs/reference/CLI_REFERENCE.md b/docs/reference/CLI_REFERENCE.mdindex b9d405551..42778ff77 100644--- a/docs/reference/CLI_REFERENCE.md+++ b/docs/reference/CLI_REFERENCE.md@@ -204,11 +204,12 @@ git metadata are rehydrated from SQL, only the per-file parse and the LLMgeneration for the pages you selected run. A provider is required; a missing oneis an actionable error naming the key-setup path.-`generate` writes the subsystem pages, and only those: the numbered concept tree-above the file level plus the repo overview. Every structural page (file, symbol,-API, infra, cycle, layer) is rendered from structure and refreshes on `repowise-update`, so naming one with `--page` is an actionable error rather than a silent-LLM re-render.+`generate` writes the model-written pages, and only those: the numbered concept+tree above the file level plus the repo overview, the architecture diagram, and+the onboarding collection. Every structural page (file, symbol, API, infra,+cycle, layer) is rendered from structure and refreshes on `repowise update`, so+naming one with `--page` is an actionable error rather than a silent LLM+re-render.**Interactive chooser.** Run `repowise generate` with no selection flag on aterminal and it prints the wiki's state (written / unwritten / stale on the