acceptance-audit
FreeCheck whether this card's code meets the acceptance criteria
The English summary is being prepared. Showing the original description.
Draft, update and publish a Tamanu user configuration guide for a module, covering its reference data, settings and permissions. Use when the user wants a configuration guide written or refreshed for a module (e.g. "write a config guide for Vaccines", "update the Medications config guide"), or wants existing System Administration documentation brought across from Slab. Authors from the codebase so the guide matches what the software does, and commits it under docs/user-manuals/config-guides/ for the author to review and raise as a pull request. Not for developer documentation or release notes (use draft-release-notes for the latter).
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
You write the configuration guides a system administrator or project manager configures a deployment from. You author them from the codebase, so what they describe matches what the software does, and commit them for the author to review.
Read .agents/docs/config-guide-format.md first and follow it for anything about what a guide looks
like: structure, tables, settings blocks, callouts, version flags, screenshots, and the accuracy rules.
This file is the procedure only.
Each module has three guides — 01-reference-data.md, 02-settings.md, 03-permissions.md — plus a
README. The Medications guides (docs/user-manuals/config-guides/15-medications/) are the worked
example.
Drafting a new guide and updating an existing one are the same job from different starting points. When updating, read the existing guides first: they carry author-written content you must preserve.
A module's configuration is not grouped anywhere in the codebase, and the boundary between modules is
editorial. Medication settings span several schema keys; Drug reference data belongs to Medications,
Dispensing and Immunisations at once.
Discover candidates:
packages/settings/src/schema/{global,central,facility}.ts. Search beyond the
obviously-named subtree; related settings hide under other top-level keys and under featurespackages/constants/src/permissions.ts. Search by meaning, not prefix: a subject
like SensitiveMedication sorts away from its siblingspackages/constants/src/importable.ts for the types, then the importers
(packages/central-server/app/admin/referenceDataImporter/), import schemas and exporters
(.../admin/exporter/modelExporters/) for tab names, columns, required fields and default-when-empty
behaviour. defaultProvisioningData/*.json5 has realistic example rows. The admin panel's Manage
tab edits the same records (packages/central-server/app/admin/referenceDataManage.js)Then present the candidate list for the author to approve or trim before writing anything. Do not derive scope and proceed. If the module has no folder yet, propose where it sits in the module order, since adding it renumbers the modules after it (see the format doc).
Scope limitations, clinical caveats and the lead paragraph are not in the codebase. Draft them from the module's existing documentation and what you can see of its behaviour, then have the author correct them. Never invent clinical guidance: where you have nothing to go on, leave a marked gap.
Tamanu's existing System Administration documentation is in Slab, at https://beyond-essential.slab.com/public/topics/system-administration-clam9ygt. Slab renders its pages with JavaScript, so read them with a headless browser, as for screenshots (step 4); a plain fetch returns only the page title. Open the module's configuration guide posts, and read them for what the module covered, its narrative and its template links, but write the code-derived sections from the code rather than from Slab's wording, since Slab may describe an older version.
Settle scope first. Then put everything else that needs the author into one review: the drafted
lead paragraph, the capabilities listed under each permission (inferred from req.ability.can() call
sites), version flags (from release branch history, see llm/project-rules/release-branches.md), the
red outlines you propose for each screenshot, and a request for each reference data type's example
template link. A guide-authoring skill that asks a dozen separate questions will not get used.
Leave a placeholder for each image the guide needs, per the format doc. If the author provides a demo site and a login, capture the images yourself; otherwise the author captures them by hand.
To capture from a demo site:
images/ folder named for its guide and what it shows, replace the placeholder, and
add its centred captionYou will find configuration a guide does not document. Report it and leave it out unless the author asks for it: an omission is often deliberate, because the configuration belongs to an adjacent module or is not yet supported. Correcting a fact the guide already documents is not widening scope — always do that.
On an update, also list screenshots in sections whose code has changed, so the author can judge whether to retake them.
Write the guides, update the module README and the section README, check every link and anchor still
resolves, and commit. Do not open the pull request: the author reviews the diff and raises it. Title it
to Tamanu's conventional commit format (llm/project-rules/pull-requests.md; docs is not an allowed
type, use chore).
Then tell the author what you wrote, the configuration gaps you found, and any screenshot placeholders still to be filled and why, so they can go in the pull request description.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Check whether this card's code meets the acceptance criteria
The English summary is being prepared. Showing the original description.
Summarise the unit and e2e tests a branch/PR adds, run only those, and produce a paste-ready report (e.g. for a Linear card). Use when asked to 'summarise added tests', 'run the new tests', 'what tests did this PR add', or to prove a card's test coverage.
The English summary is being prepared. Showing the original description.
Run a quick UX/UI workshop using ASCII-art sketches
The English summary is being prepared. Showing the original description.
Write automated tests for unticked scenarios in this card's test cases
The English summary is being prepared. Showing the original description.
Review code changes on this card for likely bugs, regressions, and missed edges
The English summary is being prepared. Showing the original description.
Maintain a support docs pack — dedup, length budgets, and no splintering — and land changes as a reviewed pull request. Use when a support thread, or a hand-off from Support assist, surfaces a new resolution, a correction to an existing one, or a deployment quirk worth recording. Not for ordinary code changes.
The English summary is being prepared. Showing the original description.