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 onboarding collection slot count in docstrings (#1048)
Raghav Chamadiya4bb5c5ed7082
diff --git a/packages/core/src/repowise/core/generation/onboarding/__init__.py b/packages/core/src/repowise/core/generation/onboarding/__init__.pyindex ab98df48e..f2c2720c5 100644--- a/packages/core/src/repowise/core/generation/onboarding/__init__.py+++ b/packages/core/src/repowise/core/generation/onboarding/__init__.py@@ -1,13 +1,13 @@"""Onboarding documentation collection.-A curated set of up to eight pages — Project Overview, Architecture Guide,-Getting Started, Codebase Map, Key Concepts, How It Works, Development Guide,-Active Landscape — designed to be the first thing a new contributor (or LLM-agent) reads.+A curated set of up to nine pages: Project Overview, Architecture Guide,+Guided Tour, Getting Started, Codebase Map, Key Concepts, How It Works,+Development Guide, Active Landscape, designed to be the first thing a new+contributor (or LLM agent) reads.Two slots ("project_overview", "architecture_guide") are *promoted*: theyreuse the existing ``repo_overview`` and ``architecture_diagram`` pages,-tagged via ``metadata.onboarding_slot``. The other six slots are new pages+tagged via ``metadata.onboarding_slot``. The other seven slots are new pagesgenerated at level 8 with ``page_type='onboarding'`` and a``metadata.subkind`` discriminator.diff --git a/packages/core/src/repowise/core/generation/onboarding/slots.py b/packages/core/src/repowise/core/generation/onboarding/slots.pyindex 15d2dd9c3..29ffa6bad 100644--- a/packages/core/src/repowise/core/generation/onboarding/slots.py+++ b/packages/core/src/repowise/core/generation/onboarding/slots.py@@ -1,8 +1,8 @@"""Onboarding slot identifiers and reading order.-The Onboarding collection is a fixed set of eight curated pages. Two slots are-"promoted" — they reuse the existing `repo_overview` and `architecture_diagram`-pages, tagged via ``metadata.onboarding_slot``. The other six are new pages+The Onboarding collection is a fixed set of nine curated slots. Two slots are+"promoted": they reuse the existing `repo_overview` and `architecture_diagram`+pages, tagged via ``metadata.onboarding_slot``. The other seven are new pageswith ``page_type='onboarding'`` and a ``metadata.subkind`` discriminator.Slot identifiers are used three ways:@@ -11,7 +11,8 @@ Slot identifiers are used three ways:- as the ordering key in the web UI's Onboarding folder.Keep the order list in lockstep with ``packages/ui/src/lib/page-types.ts``-``ONBOARDING_ORDER``.+``ONBOARDING_ORDER``. A slot without enough signal is skipped at generation+time, so a repo can end up with fewer than nine."""from __future__ import annotations