UMS documentation inherits governance standards from Evolith Architecture Reference while maintaining UMS-specific implementation evidence locally. This document establishes rules and processes for BMAD agents to maintain documentation quality, bilingual consistency, and architectural traceability.
Evolith (parent repository)
│
├── Defines global documentation standards
├── Provides reusable governance rules
├── Establishes canonical patterns for documentation
│
▼
UMS (satellite repository)
│
├── Inherits applicable Evolith rules by reference
├── Adapts rules to UMS context where needed
├── Documents UMS-specific implementation evidence
└── Proposes successful patterns back to Evolith
| Rule Type | Source | Example |
|---|---|---|
| Global enterprise standard | Evolith | Naming conventions, ADR format, Clean Architecture principles |
| Applied implementation evidence | UMS | API applied references, React applied references, domain design |
| Local adaptation | UMS | UMS-specific routing, module organization, runtime values |
| Candidate for promotion | UMS → Evolith | Patterns with zero UMS dependencies that are applicable to any satellite |
Every documentation artifact that exists in English MUST have a Spanish equivalent, and vice versa. The English and Spanish versions MUST be:
- Structurally homogeneous -- Same section order, same table structure, same heading hierarchy
- Technically equivalent -- Same concepts, same links, same references
- Naturally worded -- Not literal translations; use appropriate technical terminology in each language
All documentation entry points MUST include language switch links:
- English pages:
[Leer en español](../README.es.md)(or equivalent path) - Spanish pages:
[Read in English](../README.md)(or equivalent path)
- English:
<filename>.md - Spanish:
<filename>.es.md
When a Spanish version exists, internal links in the Spanish document MUST point to *.es.md versions of other Spanish documents.
Use accepted technical terms appropriately in each language:
| English | Spanish | Context |
|---|---|---|
| ADR | ADR | Decision records (keep acronym) |
| Backend | Backend / API | Context-dependent |
| Frontend | Frontend / Web | Context-dependent |
| Bounded Context | Bounded Context | DDD concept (keep English) |
| Aggregate | Agregado | DDD concept |
| Quick Access | Acceso Rapido | Standards page |
| Master Index | Indice Maestro | Navigation hub |
| Applied Reference | Referencia Aplicada | UMS-specific implementation |
UMS has the following primary entry points that MUST remain synchronized:
| Entry Point | English | Spanish |
|---|---|---|
| Root README | /README.md |
/docs/README.es.md |
| Standards | /docs/STANDARDS.md |
/docs/STANDARDS.es.md |
| Master Index | /docs/MASTER_INDEX.md |
/docs/MASTER_INDEX.es.md |
| Architecture Portal | /docs/architecture/index.md |
/docs/architecture/index.es.md |
-
Run bilingual consistency check
- Verify English and Spanish versions have same structure
- Verify links point to correct language variants
- Verify terminology is appropriate for each language
-
Run link validation
- All internal links resolve to existing files
- External Evolith links are valid and point to correct language version
- No broken references remain
-
Run diagram validation
- All Mermaid diagrams are syntactically correct
- Diagrams match the language of their document
-
Check encoding compliance
- No mojibake or encoding artifacts
- No emojis or non-standard decorative characters (per BMAD Rule R-03 and R-14)
- Run cleanup if needed:
python ../.bmad-core/scripts/cleanup_markdown_encoding.py
If you are checking documentation coverage or a gap in a story, start with:
Use this local Documentation Control Agents guide together with the Functional Story Gap Tracker for:
- Functional story readability verification
- Bilingual synchronization validation
- ADR and stack coherence checks
- Diagram traceability verification
UMS agents MUST enforce these Evolith rules where applicable:
- R-03 and R-14 (BMAD Global Rules): No encoding artifacts or decorative characters
- ADR Format Standard: All architectural decisions follow Evolith ADR template
- Functional Story Standard: Business narrative remains readable; technical details in dedicated section
- Configuration Catalog Standard:
code,value,descriptionmandatory contract - Diagram Validation: Mermaid syntax must be correct before commit
These rules apply specifically to UMS documentation:
- Applied References: Document UMS-specific implementation evidence in
/docs/architecture/ - Evolith Links: All upstream standards link to Evolith repository with correct language variant
- Product Scope: UMS-specific decisions remain local; do not generalize to Evolith without ADR
- Promotion Process: Patterns with zero UMS dependencies should be proposed to Evolith via ADR
- Complex Change Documentation Gate: Any complex, cross-cutting, architectural, or evolutionary change must include a documented impact check, a documentation update plan, and synchronized English/Spanish updates before the change can be considered complete.
Before any documentation commit, verify:
- English and Spanish versions have identical structure
- Language switch links are present and correct
- Internal links resolve to existing files
- External Evolith links are valid
- No encoding artifacts (mojibake) present
- No emojis or decorative characters
- Mermaid diagrams are syntactically valid
- Terminology is appropriate for each language
- UMS/Evolith separation is clear
- Configuration catalogs follow
code,value,descriptionstandard - Complex or evolutionary changes include a documentation impact check and updated artifacts in both languages
| Area | Entry Point | Purpose |
|---|---|---|
| Standards | docs/STANDARDS*.md |
Quick access to Evolith standards and UMS applied references |
| Architecture | docs/architecture/index*.md |
ADRs, blueprints, applied references, traceability |
| Governance | docs/governance/index*.md |
Product vision, requirements, delivery documentation |
| Documentation Control | docs/governance/documentation-control-agents*.md |
Documentation governance, validation workflow, bilingual sync |
| Construction | docs/governance/construction/index*.md |
DDD design, bounded contexts, aggregates |
| Operations | docs/operations/index.md |
Metrics, runbooks, operational documentation |
| Master Index | docs/MASTER_INDEX*.md |
Complete document tree |
- Evolith Architecture Reference
- Evolith Quick Access by Stack
- BMAD Global Rules
- BMAD Structuring Standard
- UMS AGENTS.md
When updating documentation:
- Identify whether change affects English, Spanish, or both
- Ensure both versions are updated together
- Run validation checklist
- If adding a new pattern applicable to other satellites, propose to Evolith via ADR
- Update MASTER_INDEX if adding new top-level documents
- For complex or evolutionary changes, add or update the corresponding ADR, functional story, or architecture note before closing the work