Vapora/docs
Jesús Pérez 75e5ebd9a2
Some checks failed
Documentation Lint & Validation / Markdown Linting (push) Has been cancelled
Documentation Lint & Validation / Validate mdBook Configuration (push) Has been cancelled
Documentation Lint & Validation / Content & Structure Validation (push) Has been cancelled
mdBook Build & Deploy / Build mdBook (push) Has been cancelled
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Documentation Lint & Validation / Lint & Validation Summary (push) Has been cancelled
mdBook Build & Deploy / Documentation Quality Check (push) Has been cancelled
mdBook Build & Deploy / Deploy to GitHub Pages (push) Has been cancelled
mdBook Build & Deploy / Notification (push) Has been cancelled
chore: ontology sync + 4 NCL ADRs + landing page update
on+re:
  - core.ncl: 5 new Practice nodes (notification-channels,
    vapora-capabilities, agent-hot-reload-stable-identity,
    merkle-audit-trail, notification-channels) + 5 new edges;
    knowledge-graph-execution-history updated with HNSW+BM25+RRF
  - state.ncl: production-readiness blocker/catalyst updated (hot-reload
    complete, BudgetManager/LLMRouter still require restart);
    ontoref-integration catalyst updated (vapora-ontology/reflection
    crates, api-catalog.json, nickel contracts)

  ADRs (NCL):
  - adr-013: KG hybrid search — HNSW+BM25+RRF, rejected in-process scan
  - adr-014: capability packages — AgentDefinition→vapora-shared,
    DashMap shard-before-await constraint
  - adr-015: Merkle audit trail — SHA-256 hash chain, rejected HMAC
  - adr-016: agent hot-reload — stable_id=role, learning_profiles survive
    drain, BudgetManager excluded from reload scope

  landing page:
  - 2 new feature boxes: VCS-Agnostic Worktree (jj/git), Ontology Protocol
  - KG box: 20→28 tests, HNSW+BM25+RRF description
  - Agents box: 71→82 tests, hot-reload + stable_id
  - tech stack: Rust 21→23 crates, added jj, Radicle, ontoref badges
  - status badge: 620→691 tests
2026-04-07 21:06:48 +01:00
..
adrs feat(agents): stable identity + hot-reload for zero learning loss on config change 2026-03-02 22:54:28 +00:00
architecture chore: ontology sync + 4 NCL ADRs + landing page update 2026-04-07 21:06:48 +01:00
disaster-recovery chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
features fix: eliminate stub implementations across 6 integration points 2026-02-27 00:00:02 +00:00
guides feat(capabilities): add vapora-capabilities crate with in-process executor dispatch 2026-02-26 16:43:28 +00:00
integrations chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
operations chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
setup chore: remove absolute paths from docs and scripts 2026-01-24 02:15:31 +00:00
src feat(security): add SSRF protection and prompt injection scanning 2026-02-26 18:20:07 +00:00
theme chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
tutorials chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
.gitignore chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
book.toml chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
custom-deployment-server.md chore: update files to compliant with layout_conventions 2026-01-24 02:22:48 +00:00
custom-deployment-setup.md chore: update files to compliant with layout_conventions 2026-01-24 02:22:48 +00:00
deployment-guide.md chore: update files to compliant with layout_conventions 2026-01-24 02:22:48 +00:00
examples-guide.html chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
examples-guide.md chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
getting-started.html chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
getting-started.md feat: Phase 5.3 - Multi-Agent Learning Infrastructure 2026-01-11 13:03:53 +00:00
github-actions-setup.md chore: update files to compliant with layout_conventions 2026-01-24 02:22:48 +00:00
index.html chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
mdbook-setup.md chore: update files to compliant with layout_conventions 2026-01-24 02:22:48 +00:00
quickstart.html chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00
quickstart.md feat: Phase 5.3 - Multi-Agent Learning Infrastructure 2026-01-11 13:03:53 +00:00
README.md chore: extend doc: adr, tutorials, operations, etc 2026-01-12 03:32:47 +00:00

VAPORA Documentation

Complete user-facing documentation for VAPORA, an intelligent development orchestration platform.

Quick Navigation

Documentation Structure

docs/
├── README.md                    (this file - directory index)
├── getting-started.md           (entry point)
├── quickstart.md                (quick setup)
├── branding.md                  (brand guidelines)
├── setup/                       (installation & deployment)
│   ├── README.md
│   ├── setup-guide.md
│   ├── deployment.md
│   ├── tracking-setup.md
│   └── ...
├── features/                    (product capabilities)
│   ├── README.md
│   └── overview.md
├── architecture/                (design & planning)
│   ├── README.md
│   ├── project-plan.md
│   ├── phase1-integration.md
│   ├── completion-report.md
│   └── ...
├── integrations/                (integration guides)
│   ├── README.md
│   ├── doc-lifecycle.md
│   └── ...
└── executive/                   (executive summaries)
    ├── README.md
    ├── executive-summary.md
    └── resumen-ejecutivo.md

mdBook Integration

Overview

This documentation project is fully integrated with mdBook, a command-line tool for building books from markdown. All markdown files in this directory are automatically indexed and linked through the mdBook system.

Directory Structure for mdBook

docs/
├── book.toml                        (mdBook configuration)
├── src/
│   ├── SUMMARY.md                   (table of contents - auto-generated)
│   ├── intro.md                     (landing page)
├── theme/                           (custom styling)
│   ├── index.hbs                    (HTML template)
│   └── vapora-custom.css            (custom CSS theme)
├── book/                            (generated output - .gitignored)
│   └── index.html
├── .gitignore                       (excludes build artifacts)
│
├── README.md                        (this file)
├── getting-started.md               (entry points)
├── quickstart.md
├── examples-guide.md                (examples documentation)
├── tutorials/                       (learning tutorials)
│
├── setup/                           (installation & deployment)
├── features/                        (product capabilities)
├── architecture/                    (system design)
├── adrs/                            (architecture decision records)
├── integrations/                    (integration guides)
├── operations/                      (runbooks & procedures)
└── disaster-recovery/               (recovery procedures)

Building the Documentation

Install mdBook (if not already installed):

cargo install mdbook

Build the static site:

cd docs
mdbook build

Output will be in docs/book/ directory.

Serve locally for development:

cd docs
mdbook serve

Then open http://localhost:3000 in your browser. Changes to markdown files will automatically rebuild.

Documentation Guidelines

File Naming

  • Root markdown: UPPERCASE (README.md, CHANGELOG.md)
  • Content markdown: lowercase (getting-started.md, setup-guide.md)
  • Multi-word files: kebab-case (setup-guide.md, disaster-recovery.md)

Structure Requirements

  • Each subdirectory must have a README.md
  • Use relative paths for internal links: [link](../other-file.md)
  • Add proper heading hierarchy: Start with h2 (##) in content files

Markdown Compliance (markdownlint)

  1. Code Blocks (MD031, MD040)

    • Add blank line before and after fenced code blocks
    • Always specify language: ```bash, ```rust, ```toml
    • Use ```text for output/logs
  2. Lists (MD032)

    • Add blank line before and after lists
  3. Headings (MD022, MD001, MD026, MD024)

    • Add blank line before and after headings
    • Heading levels increment by one
    • No trailing punctuation
    • No duplicate heading names

mdBook Configuration (book.toml)

Key settings:

[book]
title = "VAPORA Platform Documentation"
src = "src"                    # Where mdBook reads SUMMARY.md
build-dir = "book"             # Where output is generated

[output.html]
theme = "theme"                # Path to custom theme
default-theme = "light"
edit-url-template = "https://github.com/.../edit/main/docs/{path}"

Custom Theme

Location: docs/theme/

  • index.hbs — HTML template
  • vapora-custom.css — Custom styling with VAPORA branding

Features:

  • Professional blue/violet color scheme
  • Responsive design (mobile-friendly)
  • Dark mode support
  • Custom syntax highlighting
  • Print-friendly styles

Content Organization

The src/SUMMARY.md file automatically indexes all documentation:

# VAPORA Documentation

## [Introduction](../README.md)

## Getting Started
- [Quick Start](../getting-started.md)
- [Quickstart Guide](../quickstart.md)

## Setup & Deployment
- [Setup Overview](../setup/README.md)
- [Setup Guide](../setup/setup-guide.md)
...

No manual updates needed — SUMMARY.md structure remains constant as new docs are added to existing sections.

Deployment

GitHub Pages:

# Build the book
mdbook build

# Commit and push
git add docs/book/
git commit -m "chore: update documentation"
git push origin main

Configure GitHub repository settings:

  • Source: main branch
  • Path: docs/book/
  • Custom domain: docs.vapora.io (optional)

Docker (for CI/CD):

FROM rust:latest
RUN cargo install mdbook

WORKDIR /docs
COPY . .
RUN mdbook build

# Output in /docs/book/

Troubleshooting

Issue Solution
Links broken in mdBook Use relative paths: ../file.md not file.md
Theme not applying Ensure theme/ directory exists, run mdbook build --no-create-missing
Search not working Rebuild with mdbook build
Build fails Check for invalid TOML in book.toml

Quality Assurance

Before committing documentation:

# Lint markdown
markdownlint docs/**/*.md

# Build locally
cd docs && mdbook build

# Verify structure
cd docs && mdbook serve
# Open http://localhost:3000 and verify navigation

CI/CD Integration

Add to .github/workflows/docs.yml:

name: Documentation

on:
  push:
    paths:
      - 'docs/**'
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: peaceiris/actions-mdbook@v4
      - run: cd docs && mdbook build
      - uses: peaceiris/actions-gh-pages@v3
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          publish_dir: ./docs/book

Content Standards

Ensure all documents follow:

  • Lowercase filenames (except README.md)
  • Kebab-case for multi-word files
  • Each subdirectory has README.md
  • Proper heading hierarchy
  • Clear, concise language
  • Code examples when applicable
  • Cross-references to related docs