Skip to content
guidePhase: PlanDeliveryGuide 3 of 16

Roles: architect · developer

Guide: Knowledge Indexing & Portals ​

Decision: How do humans browse ADRs/specs, and how do AI agents retrieve them?

Full catalog: AI toolkit — MCP, portals, ADR, specs, and retrieval tools.

Related: planning-and-adr.md · SOP-009


The problem ​

ADRs and specs are non-production artifacts. They must be discoverable by people, retrievable by AI agents, and changeable only through review (typically Git PRs).


Options compared ​

Git only (no portal) ​

ProsCons
Zero extra infraPoor browse UX for non-Git users
Agents can read repo directlyLarge monorepos → noisy retrieval

Fit: Small teams; early adoption.


Static site (S3 + CloudFront from CI) ​

ProsCons
Cheap; fast; read-onlySearch is basic unless you add an index
Good for auditorsAnother URL to maintain

Fit: ADR library + rendered specs; pair with search below.


Backstage (TechDocs + catalog) ​

ProsCons
Links services ↔ ADRs ↔ specsPlatform team must operate Backstage
Industry standard for eng portalsInitial setup cost

Fit: Organizations with many services and developers.


Confluence (or SharePoint) ​

ProsCons
PM and legal teams already use itEasily becomes stale source of truth
Familiar approval workflowsWeak agent indexing without sync

Fit: Mirror only, not canonical store.


OpenSearch ​

ProsCons
Full-text + semantic search; RAG-friendlyOperational cost (cluster or Serverless)
Filter index to Accepted/Approved artifactsReindex pipeline required on merge

Fit: Medium–large orgs; primary RAG backend.


Amazon Kendra ​

ProsCons
Managed enterprise searchHigher cost at scale
AWS-native connectorsLess customizable than OpenSearch for bespoke RAG

Fit: Teams wanting managed search without operating OpenSearch.


MCP server over Git or index ​

ProsCons
IDE agents call search_adr, get_specYou build and operate MCP in your platform (not this repo)
Precise retrievalExtra availability dependency

Fit: Cursor-heavy teams; complements search index.


Combination patterns ​

PatternComponentsWhen
MinimalGit + MCP reading Git< 20 engineers
StandardGit + Backstage + OpenSearch + MCPMost enterprise teams
Compliance-heavyAbove + static site + Confluence mirrorRegulated industries

Pitfalls ​

PitfallWhy it hurtsMitigation
Confluence as canonicalAI and devs read stale docsGit merge triggers publish
Indexing draft ADRsAgents implement rejected ideasFilter ingest by accepted / approved
Whole-repo embeddingIrrelevant RAG chunksIndex only docs/adr, specs/
No PR review on ADR changesSilent architecture shiftsADRs change only via PR
Portal without ownershipBroken TechDocsPlatform SLO on publish pipeline
Duplicate ADR in wiki and GitTwo versions divergeSync Git → wiki one direction
MCP pointing at wikiWrong version in agent contextMCP reads index or pinned Git SHA

Git as canonical → on merge, publish to Backstage + OpenSearch (Accepted/Approved only) → MCP for IDE agents. Add Confluence mirror only if non-dev stakeholders require it.


Reference template only — no production code. Adapt in your own project.