Skip to content

docs(book): delete the history and stale pointers inside current pages - #6708

Open
rubentalstra wants to merge 17 commits into
mainfrom
docs/delete-stale-book-content
Open

rubentalstra wants to merge 17 commits into
mainfrom
docs/delete-stale-book-content

Conversation

@rubentalstra

@rubentalstra rubentalstra commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

This PR removes the history and stale pointers left inside current book pages, outside the compliance record. The compliance record keeps its revision logs.

  • Removal notes for keys earlier releases read: [[authz.system_client]], [[authz.federation.agreement]], [privacy.access_delay], [audit.store] enabled, [authz.professional], user_role, [auth] patient_claim and patient_namespace, the old [record.multimedia] S3 keys, the "Keys a release before v5.7.0 read" section, and the removed FERROEHR_ACCESS_CONTROL_V1 scheme.

  • Migration and release history: the RabbitMQ migration section of the outbox page, the v4 provenance notes on Verifying releases (older releases keep their own frozen book), FerroPIX 0.0.7/0.0.8/0.0.37 notes, FerroSMART 0.2.0 notes, "used to" passages in compose and hardening, and the removed exec probe story.

  • Issue numbers that only record how a page came to be. Links to open upstream reports, and the DPIA's measure table, stay.

  • Stale facts: the pseudonymisation page called PIXm "planned in An IHE patient identity source (PIXm, PDQm) as the default EHR index provider, FerroPIX in the quickstart, the in-instance map as opt-in #3380", which is closed, and record.subject_index = "pixm" ships. The party-binding go-live table said no FerroFED release reaches the CDR under the caller; FerroFED v0.0.20 does. The access-log steady-state figures predated the current storage layout, so the page now keeps the formula and points at the performance gate's measured bytes.

  • PostgreSQL documentation is cited at 19, the version the server requires. The storage-sizing "measured on" line stays for Bring the operator documentation up to date for v6 #6675, which measures it again.

  • The two stale pointers noted on Rewrite the FerroEHR documentation for v6: accurate, task-based, and one explanation of how the access model fits together #6668: scripts/vendor/law-nl.sh and the PROVENANCE.md it writes now name ehds-logging.md for retention, edited identically so the record matches its script; law-corpus.sh passes. The README backup link names database-operations.html, the page that section moved to in docs(book): organise the book in Diataxis form and split the longest pages by task #6704.

  • The removed [authz.professional] key was still described as live on the audit-trail and shared-responsibility pages. Those passages now describe the access record without it.

  • Em dashes: about 150 in prose become commas, colons, semicolons or parentheses. The compliance record's revision logs and the viewer pages (owned by the viewer work) are left as they are, and the compliance links follow the threat model's renamed B1 to B8 headings.

This PR is stacked on #6704, which is ahead of it in the merge queue. Checked locally: docs-claims.sh --all, conformance-numbers.sh, law-corpus.sh, mdbook-lint (no errors) and a full-site lychee --offline --include-fragments run (0 errors).

Closes #6676

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.
@rubentalstra rubentalstra added the documentation Docs-only work. Maps to a docs/ branch and a docs: commit. label Nov 26, 2026
… 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
…-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
@rubentalstra
rubentalstra marked this pull request as ready for review November 26, 2026 19:17
@rubentalstra
rubentalstra added this pull request to the merge queue Nov 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 26, 2026

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.

Delete stale and duplicated book pages and the history inside pages

1 participant