Skip to content

docs(book): bring the operator documentation up to date for v6 - #6709

Open
rubentalstra wants to merge 19 commits into
mainfrom
docs/operator-docs-v6
Open

rubentalstra wants to merge 19 commits into
mainfrom
docs/operator-docs-v6

Conversation

@rubentalstra

Copy link
Copy Markdown
Member

This PR brings the operator documentation up to date for v6.

Storage sizing, measured again. scripts/perf/storage-sizing.sh ran on 2026-11-26 against the quickstart, on fresh volumes for each workload. The images were pinned by digest: ghcr.io/ferrohealth/ferroehr@sha256:3ec48115… (commit 31f0f293cb) and ghcr.io/ferrohealth/ferroehr-postgres@sha256:2fc22cc0… (PostgreSQL 19.0). The page records both digests and the date, and replaces the 5.6.0-rc5 measurement trail with this one run.

Measure Vital signs International Patient Summary
Clinical storage per create 14.0 KB (1.3 × the JSON) 107 KB (1.2 × the JSON)
Node rows 43 × 255 B 395 × 240 B
WAL per create 25 KB 177 KB
Access-log entry about 1.5 KB 1.3 to 1.9 KB

Two statements on the page were wrong and are corrected:

  • The page said "an update costs the same as a create". The driver's updates commit the same content again, and such an update adds only the version row (2.8 KB and 13.2 KB), with no node rows.
  • Audit records now land in audit.access_log_entry, not audit.audit_event.

Figures that were not measured again (the lz4 WAL comparison, the index leaf density, the dead-tuple scan) are removed and the advice behind them is kept. I ran the stack under my own d1-sizing compose project and removed its containers and volumes afterwards.

Upgrades. The Helm upgrade section moves from kubernetes.md into upgrades.md, so upgrading has one page. The v4 and v5 notes are removed, and the dump and load links point at the routes.

Splits by task.

  • installation/compose.md keeps the quickstart, and the overlays and profiles move to compose-overlays.md.
  • operations-admin-apis.md keeps the everyday routes, and storage integrity, dump and load, and EHR Extracts move to storage-admin-apis.md.
  • Every link into a moved section is rewritten, and docs-claims.sh checks chart values on the new pages.

I checked the backup, seal and signing pages against the CLI: db, access-log and audit-chain subcommands match app/ferroehr-server.

The PR is stacked on #6708 and stays a draft until #6708 merges. Checked locally: docs-claims.sh --all, conformance-numbers.sh, the storage-sizing self-test, mdbook-lint (no errors) and full-site lychee --offline --include-fragments (0 errors).

Closes #6675

Emergency access is a justification of the access policy, never a
configuration key or a role; the audit category map's shipped_map is a
field of the audit-categories register; the go-live checklist sets only
keys [audit] has and points audit retention at ACCESS_POLICY.log_retention;
the Codespaces sandbox runs PostgreSQL 19; and the party-binding
breaking-changes page, which described an issuer shape the server refuses,
is deleted with a redirect to the party-binding page.
How FerroEHR decides access sets out the parties and their relationships,
token roles beside demographic grants, the patient's EHR_ACCESS settings,
the controller's ACCESS_POLICY, purpose of use, consent and justified and
emergency access, care relationships, the legal marks, and the decision of
one request with its refusal codes, read from access_eval, access_policy,
party_binding and the ITS-REST access layer. Security drops its copy of the
step table and a stale upgrade note, and the pages that described the model
in parts link to it.
…ng page

The SUMMARY groups the pages into tutorials, how-to guides for integrating
and for deploying and operating, reference, explanation and the compliance
record, and the introduction routes integrators, clinician-facing app
builders, operators and decision makers to their first pages. No file moves,
so every published address stays.
The policy parties stay on Operational policy; roles, care relationships
and representatives, the access policy with the admin registers, and the
worked examples each get a page of their own, and every link into a moved
section points at its new page.
Security, Audit trail, Operations, Authentication & access and Kubernetes &
Helm each become a short page with the rest in pages of their own, so no
page outside the compliance record runs past about 640 lines. Every link
into a moved section is rewritten to its new page, and docs-claims checks
the chart values on the two new operator pages too.
The stale-numbers gate refuses a hand-typed timing in a site source.
…-architecture

# Conflicts:
#	website/book/src/SUMMARY.md
#	website/book/src/installation/kubernetes.md
#	website/book/src/installation/party-binding-migration.md
#	website/book/src/operational-policy.md
The sizing section moved to storage-sizing.md, so the guard that checks the
book names the measurement command reads that page.
The policy examples are on Worked policy examples and the party mapping
blocks on Authorization keys, so the two tests that run the book's examples
read those pages.
Removal notes for keys earlier releases read, the RabbitMQ migration steps,
the provenance history of v4 releases, issue numbers that only tell how a
page came to be, and steady-state sizing figures from an earlier storage
layout go; PostgreSQL documentation is cited at 19; the NEN 7513 record
names ehds-logging.md for retention; the README backup link names the page
the section moved to.
… habit

The audit trail and shared-responsibility pages still described the removed
[authz.professional] key; the access record names the professional a client
acts for without it. Em dashes in prose become commas, colons, semicolons or
parentheses, outside the compliance record's revision logs and the viewer
pages, with the threat-model links following its renamed headings.
…-architecture

# Conflicts:
#	website/book/src/SUMMARY.md
Storage sizing is measured again on a pinned v6 image and PostgreSQL 19, and
states that one run with its image digests and date in place of the earlier
measurement trail: a vital signs version takes 14.0 KB, an update that
commits the same content adds no node rows, and an access-log entry takes
about 1.5 KB. The Helm upgrade steps move to Upgrades, which drops its v4
and v5 notes; Docker Compose and the admin API split their overlays and
storage routes into pages of their own.
@rubentalstra rubentalstra added the documentation Docs-only work. Maps to a docs/ branch and a docs: commit. label Nov 26, 2026
…-architecture

# Conflicts:
#	website/book/src/SUMMARY.md
#	website/book/src/care-relationships.md
#	website/book/src/explanation/access-model.md
#	website/book/src/installation/config-auth.md
#	website/book/src/security.md

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Docs-only work. Maps to a docs/ branch and a docs: commit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bring the operator documentation up to date for v6

1 participant