Knowledge_baseFederated
Vitruvyan Docs
Docs Federation Operations
Last Updated: February 26, 2026
This runbook describes producer publish and hub ingest flows for federated docs.
1. Prerequisites
- Repository root available on producer and hub.
- Python 3.10+ on both sides.
scripts/docs/federate_docs.pypresent.- SSH/scp access from producer to hub (if using remote transfer).
Optional:
DOCS_KB_INGEST_CMDon hub to trigger indexing after ingest.
2. Producer: Build Bundle
Core scope:
Vertical scope:
Wrapper script:
3. Hub: Validate + Ingest
Validate:
Ingest:
Wrapper script:
4. Destination Routing
scope=coreroutes todocs/knowledge_base/federated/core/<producer>/...scope=verticalroutes todocs/knowledge_base/federated/verticals/<vertical>/...
5. KB Reindex Hook
Configure on hub:
The hook runs only after successful ingest and is skipped in dry-run mode.
6. Dry-Run Commands
Bundle dry-run:
Ingest dry-run:
7. Onboarding a New Producer VPS
- Ensure producer can generate a valid bundle (
validatepasses). - Add secure transfer channel to hub (scp/rsync or CI artifact).
- Run first ingest in dry-run mode.
- Enable
DOCS_KB_INGEST_CMDfor indexing. - Verify MkDocs navigation under Federated KB.