Skip to content

This is the multi-page printable view of this section. .

Return to the regular view of this page.

Introduction

What a CAI Field Manual is, what it is not, and how to get value from it, as a human or as an agent.

The format, end to end. The author guide for writing a manual of your own is next-to-last; Flow closes the section.

1 - What is a field manual

What is inside a field manual, who writes it, and where the name came from.

A CAI Field Manual tells you what to do, in which order, and why you might do that instead of something else. It is rugged, and there might be some hand-written notes in the margins.

Inside is what your peers learned before you: knowledge, tips, tricks, workarounds, warnings. People who have already been where you are, or somewhere close enough that it counts.

Who writes it

CAI write these manuals for themselves, as they come to grips with new versions and new jungle. Trial and error, wrong turns, shortcuts that worked; markers get laid down along the way, so the path is faster to find the next time.

It is a collaborative effort: you get back what you put into it.

Where it came from

The name “CAI Field Manual” was not chosen on day one. It came out of earlier initiatives, fits and starts, and failed attempts, and it will keep evolving.

Why it is open

Nothing here is held back as a “secret sauce.” The manual is open because it is the right thing to do, and because everything in it stands on work other people shared.

2 - Definition

What a field manual promises, what it does not, and who it is written for.

What it is

A field manual is:

  • Chronological field notes: ordered by the work you are doing (set up, operate, fix what broke).
  • Status-gated procedures: every command is followed by a verify command and the literal expected output, so “ran it” becomes “confirmed it.”
  • Inline known issues: documented where you hit them, as symptom, diagnosis, workaround, and tracker ID.
  • Written for two audiences at once: a human reading HTML, an AI agent reading the same page as markdown.

These are four of the six conventions every manual on this site follows. Writing the field manual names all six and states each as a rule.

What it is not

A field manual is not:

  • Official product documentation.
  • Guaranteed to be accurate.
  • Available ahead of a new release.

Orientation, not a support statement. Field notes record what worked when they were written. Check the official documentation for the version you are running before relying on them for production decisions.

Humans and their AI agents

AI agents now do part of the field work: the logistically important, strategically boring parts. Regression testing, bug reports, status updates, content review. The manual is written for both audiences:

  • You read the rendered page, filtered to your version and ops mode, with your cluster and name substituted in.
  • The agent reads the same page as markdown (llms.txt or per-page markdown), every variant labeled, every token at its shipped default.

One source, two readers.

3 - How to use it

Reading the manual as a human, as an agent, and what to do when something breaks.

The two-reader split (human HTML, agent markdown) is defined in Definition. This page is the steps.

As a human

  1. Start where your work starts. The left nav follows the field-work timeline, so the chapter order matches the order you do the job in.
  2. Set your context once. Open Customize this! and pick your version, ops mode, name, and cluster. The choice persists in localStorage, and every later command substitutes your values automatically.
  3. Filter, don’t fork. The selector at the top of every page filters version-specific notes and ops-mode blocks. Show all puts every variant side by side.
  4. Verify every step. Every command comes with a verify command and its literal expected output. A step is done when the verify output matches.

As an AI agent

  • Per-page markdown: use the page action menu (Copy markdown / View markdown), or hand the page URL to Claude, ChatGPT, or Gemini.
  • Whole-site bundle: llms.txt, plus one flattened markdown file per manual.

When something breaks

  • Find the symptom/diagnosis/workaround block on the page where the procedure failed. There is no separate errata page.
  • To report a new issue or propose a fix, open a GitHub Issue with the page URL (or content/ path) and what you saw.

See it in practice

  • You are reading the demonstration: the Hello World manual uses every step above across its chapters.

4 - Showcase

A visual tour of the two pieces of chrome you will use most: the variant selector and the command palette’s AI actions.

Two controls shape every manual page: the variant selector that filters content to your version and workflow, and the command palette for search and AI hand-off. This page tours both with screenshots.

The variant selector

At the top of every manual page, directly above the first heading, the selector offers one row per filter:

Variant selector with two axes: RHAIE Version (Show all, 3.4, 3.5, 3.6) and Ops Mode (Show all, GitOps, Manual, Scripted), both set to Show all
  • RHAIE Version: Show all · 3.4 · 3.5 · 3.6
  • Ops Mode: Show all · GitOps · Manual · Scripted

Click a pill to filter the page to that version or mode. Click Show all on a row to see every version or mode side by side. On a first visit the selector starts at RHAIE Version 3.6 and Ops Mode Show all, so 3.4 and 3.5 notes stay hidden until you change it. What each option filters and where your choices are remembered is covered on Customize this!.

Search and every quick action live in one overlay, the command palette:

Command palette open on Search with scope All sections vs Hello World and a Page actions group listing Copy Markdown, Open in ChatGPT, Open in Claude, Open Gemini, Feed it to my AI Agent, View markdown, and View edit history

What you are looking at:

  • The header is a live Search… input.
  • Under it, Search in toggles the scope: All sections (the whole site) vs. the current manual (Hello World on this page).
  • Below that, the Page actions group lists quick actions for the page you are on. The menu next to the page title offers the same actions; the palette is the keyboard route to them.

How to open it

  • Click the Search… box in the top bar or the magnifying-glass button in the sidebar.
  • Press ⌘K / Ctrl+K to toggle the palette open or closed.
  • Press / to open straight into full search.
  • Press \ to open straight into the command list (same as typing >).
  • Press Esc to close and return focus to where you were.

Once open, type to filter pages and actions, use ↑/↓ to move, ↵ to open, and prefix your query with > to show only commands.

You can also reach the same actions without the palette: click the disclosure caret ▾ next to the page title to open the page menu.

Using the AI actions

The rows under Page actions take the current page elsewhere, usually to your AI assistant:

RowWhat it does
Open in ChatGPTOpens ChatGPT in a new tab with a prompt pointing at this page (“Read from so I can ask questions about it”). The content itself is not fetched; you hand the AI the URL.
Open in ClaudeSame prompt pointing at this page, for Claude.
Open GeminiOpens the Gemini app in a new tab. It does not pre-fill a prompt like the other two; paste the page URL yourself.
Feed it to my AI AgentOpens a dialog with a ready-to-copy setup prompt for Claude Code or Codex (see below).
View markdownOpens the raw markdown for this page in a new tab.
View edit historyOpens the GitHub history for this page.

The copy-prompt dialog

Choosing Feed it to my AI Agent opens a dialog titled Feed this to your AI Agent with a single Copy prompt button:

  • The prompt tells your agent to clone this repository, follow the setup steps in the README, survey the manuals, and report what the manual can do, then ask you what to do next.
  • Click Copy prompt to copy it, then paste it into Claude Code or Codex. The label briefly flips to Copied to confirm.
  • Close the dialog with ×, by clicking outside it, or with esc.

Both screenshots come from this page. The selector was captured with both filters set to Show all for clarity; a first visit shows a narrower page, as described above. The palette was captured with an empty query. Your choices are saved in the browser and persist across pages, so what the page hides follows you around the site.

5 - Writing the field manual

The conventions every manual follows and the walkthrough for writing your first one.

Every manual on this site follows six conventions and passes one publication gate. The conventions get one sentence each below; Definition explains what each buys the reader. The Hello World manual demonstrates all six. Then a walkthrough takes the blank skeleton to a gated, deployable manual.

The six conventions

  1. Chronological information architecture. Order the manual by the field-work timeline: set up → operate → things that broke, not by product release phases.
  2. Status-gate verification. Every command is followed by a verify command and its literal expected output, so a step is confirmed, not just run.
  3. Inline known issues. Each known issue lives on the page where the reader hits it, as symptom, diagnosis command, workaround, and tracker id.
  4. Variant selector axes. Version and ops-mode differences go through the page-top selector’s axes, with labels that describe themselves.
  5. Customize tokens. Environment-specific values (username, cluster) are tokens with shipped defaults, not one reader’s values baked into commands.
  6. Dual consumption. Every page works as rendered HTML for a human and as labeled markdown for an AI agent, from the same source.

The Hello World chapters demonstrate all six.

Write your first manual

You will take the blank skeleton to a publication-gated field manual: duplicate it, retitle it, write the three timeline pages, and pass the gate. Every command below is immediately followed by a verify command or check and its literal expected output, the status gate the site’s manuals use. You need a clone of this repo and Prerequisites below.

Prerequisites

  • The definition you are writing against: What is a Field Manual?. Read it first.
  • Hugo Extended ≥ 0.168. Check with:
hugo version

Expected output: a version line at or above hugo v0.168.0+extended.

  • Go ≥ 1.27. Check with:
go version

Expected output: a version line at or above go version go1.27.

  • A clone of this repo. Check with:
ls content/hello-world/_index.md

Expected output:

content/hello-world/_index.md

Procedure

  1. Clone this repo as the starting point for your new manual (one manual per repo):
git clone https://github.com/rh-aiservices-bu/CAI-Field-Manual-Hello-World.git my-manual
cd my-manual

Verify you have the right repo:

git remote get-url origin

Expected:

https://github.com/rh-aiservices-bu/CAI-Field-Manual-Hello-World.git
  1. Retitle the manual in content/hello-world/_index.md: set title to your manual’s name and description to one sentence. Check the front matter parses and the title took:
head -4 content/hello-world/_index.md

Expected output: the --- fence, then your new title: and description: lines.

  1. Write the three timeline pages (set-up/, operate/, things-that-broke/) following the six conventions: outcome first, a verify step after every command, known issues inline. Verify each page has the verification subsection:
grep -l "## Verification" content/hello-world/*/index.md

Expected output:

content/hello-world/operate/index.md
content/hello-world/set-up/index.md
content/hello-world/things-that-broke/index.md

Adding pages: create leaves as content/hello-world/<slug>/index.md. The archetype (archetypes/default.md) provides the front matter; set description and weight yourself. If you see draft: true, remove it: drafts are excluded from the build, so the gate still passes while the page stays invisible.

  1. Run the dev server and check the section serves:
hugo server

In a second terminal, verify the section renders:

curl -s -o /dev/null -w "%{http_code}" http://localhost:1313/CAI-Field-Manual-Hello-World/hello-world/

Expected output:

200

A 404 at the root (http://localhost:1313/) is normal: baseURL contains a path, so the dev server serves under /CAI-Field-Manual-Hello-World/.

  1. Stop the dev server, then run the publication gate from Editing (§3, Production build): the production build, followed by the warning gate that asserts no WARN lines except the known LibSass one. A clean gate prints no WARN output; the LibSass warning in the direct build’s own output is expected, not a failure.

Verification

The manual is publication-ready when:

  • The dev server serves the section at http://localhost:1313/CAI-Field-Manual-Hello-World/hello-world/ (HTTP 200), and each timeline page renders under it.
  • The publication gate completes with no ERROR lines, and the warning gate produces no output.
  • Every command in the three timeline pages is followed by a verify step with literal expected output.

Rollback

  • Discard the content you added (the timeline pages), or clone fresh:
rm -r content/hello-world/set-up content/hello-world/operate content/hello-world/things-that-broke

Check the tree is back to the shipped state:

ls content/hello-world

Expected output (only the shipped chapters):

_index.md
customize
editing
what-is-a-field-manual

When the gate is clean, open a PR to main. Merges to main deploy automatically via GitHub Actions.

6 - Flow

How the repos fit together: Shell brings chrome, each manual owns its content, the Library aggregates.

The intended topology at a glance — Shell supplying chrome to content-only manuals, with the Library aggregating them:

Sketch: Shell (colors, features, common variables, chrome) wired to each manual — Hello-World as the template to copy or fork, plus Inference (soon), MaaS, Migration-2-3, Safety (soon) — each with its own rendered site; the Library then renders all manuals in one place (sketch labels this red.ht/caifm)

Whiteboard sketch overview. The red dashed outline groups the content-only manuals sharing Shell. Details the sketch adds beyond the text below — per-manual rendered sites, the Library’s schedule and CI checks, the red.ht/caifm short URL, and the planned Inference/Safety manuals — are as sketched; treat them as proposed until confirmed.

The interactive diagram below shows the same system with clickable detail:

Where Shell, manuals, and the Library sit. Click a node or an arrow for detail.

Two things the diagram compresses:

Mount means Hugo module mount. The Library does not copy or re-host anything. Its hugo.yaml imports each manual repo as a Hugo module, so one Library build renders every manual’s content under its own tree. The arrows above are those module imports.

Adding a manual is two steps, both content-only. Clone Hello-World, write your manual, deploy it as its own Pages site. Then open a PR in the Library that adds one module import. No new infrastructure, no Library code changes; the manual appears on the next Library deploy.