MxOS Documentation Policy

Content Boundaries, Editorial Governance, and Source Model

Authors:
Organization:

Fundación MxOS, A.C.

Date:

September 2026

Status:

Active Standard

Policy Purpose and Principles

At Fundación MxOS, being 100% documented is not a secondary bureaucratic requirement, but the indispensable condition to fulfill one of our existential foundations: being 100% replicable. We are actively researching, learning, and deciphering how to replicate a project of the scale of CentOS Stream 10; therefore, every finding, tool, and piece of infrastructure must be documented with such clarity that any person or institution can replicate our work from start to finish and do the same on their own.

The operational objective of this policy is to precisely delineate the boundary of responsibilities between the Central Documentation Portal, the official aggregator at docs.mx-os.mx, and the internal documentation of each repository.

To prevent maintenance bottlenecks, content duplication, and version drift, Fundación MxOS documentation is governed by four non-negotiable principles:

  1. Total Replicability Without Black Boxes: Every process discovered while deciphering CentOS Stream 10 and every component built for MxOS must be documented in full. No component of the operating system or its infrastructure may rely on undocumented manual steps.

  2. Single Source of Truth: No operational procedure or implementation detail should be written twice. Every technical fact resides exclusively in its source repository.

  3. The Portal as an Entry Point: The main portal provides the high-level overview, philosophical and methodological foundations, open-learning context, and the high-level master replication guide that connects the entire ecosystem.

  4. Autonomous In-Repository Maintenance: Each repository or project in the ecosystem maintains its own development and operational documentation, with full lifecycle autonomy.

Content Boundaries Between the Central Portal and Repositories

Dimension

Central Portal at docs.mx-os.mx

Ecosystem Repositories

Primary Audience

New contributors, learners, technical directors, auditors, operating system replicators, and the general public.

Active developers, package maintainers, infrastructure operators, and image builders.

Scope and Focus

High-level: Mission, governance, legal framework, cross-cutting replication methodology, and onboarding guides.

Low-level: Internal component architecture, CLI configuration options, environment variables, testing, and APIs.

Mandatory Content

  • Mission, vision, and bylaws of the Non-Profit Association.

  • Master Replication Guide covering the four stages of the process.

  • Cross-cutting contribution and RST style standards.

  • Project map and directory of sovereign repositories.

  • Standard README.rst with cloning, building, and testing instructions.

  • docs/ directory with detailed component specifications.

  • Commented and instrumented configuration files.

  • Technical user manuals for specific scripts or tools.

Prohibited Content

  • Step-by-step procedures for internal micro-tools.

  • Source code snippets or playbooks duplicated from other repositories.

  • Command options or implementation details subject to frequent change in individual repositories.

  • Institutional bylaws or general organizational agreements.

  • Duplication of the Foundation’s global style guides.

Distribution of Responsibilities by Repository

The following details the type of documentation assigned to each active repository and project of the Foundation:

Central Documentation Repository in docs/portal

  • Role: Sphinx aggregator that builds the official docs.mx-os.mx website.

  • Content:

    • Main portal navigation indices.

    • Declarative federation of independent documentation repositories via sections.conf: organización, administración, legales, empaquetamiento, operaciones, replicación, and guías.

    • High-level master replication guide: comprehensive explanation of how we decipher CentOS Stream 10 and assemble MxOS to be one hundred percent replicable.

    • Direct links to development repositories on the sovereign forge git.mx-os.mx.

Synchronization and Packaging in rpms-sync

  • Role: Upstream source ingestion from GitLab dist-git and Koji Stream, lookaside cache mirroring, and branch maintenance.

  • In-Repository Content:

    • FLUJO.rst: Detailed branch synchronization protocol, conflict resolution during rebase, and c10s immutability rules.

    • Operations manual for synchronization CLI scripts and source downloads at sources.mx-os.mx.

    • Handling of side tags and Koji composes at the ingestion automation level.

Koji Build Farm in ansible-koji

  • Role: Ansible automation for the Koji Hub build cluster, Mock builders, PostgreSQL database, and package signing with Sigul.

  • In-Repository Content:

    • Detailed network and TLS certificate architecture for the Hub and builders.

    • Procedures for database initialization, user creation, and client certificates.

    • Configuration of Koji tags such as c10s-build, c10s-candidate, and side tags, along with build policies.

    • Administration, backup, and monitoring guide for the Koji service.

Media and Image Generation in mxos-mkosi and mxos-kiwi

  • Role: Deterministic and declarative construction of workstation images with 1:1 functional parity.

  • In-Repository Content:

    • README.rst in each directory explaining the engine used: mkosi versus kiwi-ng.

    • GPT partitioning parameters, Btrfs subvolumes, and Unified Kernel Image UKI configuration with systemd-boot.

    • Local execution procedure via make or run.bash, virtual machine testing with QEMU/KVM, and debugging.

    • Feature parity documentation between both tools.

Standard Structure for Ecosystem Repositories

Every repository created under the Fundación MxOS organization must include a minimum documentation structure at its root:

  1. README.rst File:

    • Formal title and concise project description.

    • Prerequisites and system dependencies.

    • Direct build, execution, or deployment instructions to ensure anyone can replicate the component.

    • Automated testing or local validation guide.

    • Code license and communication channels.

  2. CHANGELOG.rst File:

    • Changelog structured according to the Keep a Changelog standard using .. rubric:: directives.

  3. docs/ Directory in Complex Projects:

    • Internal architecture specifications, sequence diagrams, or complete interface references.

Linking Strategy and Zero Manual Synchronization

To avoid manual synchronization work or documentation drift across repositories:

  • Cross-Linking via Canonical URLs: When the Central Portal needs to reference a specific technical procedure, such as provisioning a Koji builder, it will not copy the manual. Instead, it will describe the architectural objective of the stage and provide a direct link to the corresponding file on the sovereign forge:

    Para consultar los parámetros de configuración y el despliegue del constructor Mock,
    consulte la `Documentación del Constructor Koji en ansible-koji <https://git.mx-os.mx/MxOS/ansible-koji/src/branch/master/docs/constructores.rst>`__.
    
  • Independent Repository Federation in the Portal: Each thematic documentation section is a standalone Sphinx project with parallel es/ and en/ source trees, registered in the central portal’s declarative sections.conf manifest without using Git submodules.