Skip to content

Writing criteria for this guide

Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.

  1. Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
  2. Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
  3. No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
  4. Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
  5. General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's household is an invented cottage with invented possessions.
  6. Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
  7. Honest about limits. Chapter 17 names what the tool cannot do: totals that are only the numbers you typed and that follow two different quantity rules in two places, an inventory that decays unless someone walks the rooms, whole-number custom fields, whole-record updates, and the rough API edges the lab measured.
  8. The ethics rule is in the text, early. An inventory is a priced map of a household's valuables, so chapter 1 states the privacy property plainly and early — the record stays on your own machine — and chapter 13 draws the sharing and exposure line before any procedure depends on it. Chapter 1 is equally plain about the insurance use: the tool helps only if the list is current, detailed, and copied somewhere the loss cannot reach.
  9. Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.

Verification notes for this guide

The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox, shared with other work while the lab ran (timings are therefore ranges, and the guide says so). HomeBox 0.27.1 (release commit 1fd28822634a3d5935c002d569559ef46530d4a0, published 2026-10-23) was installed from the official release archive homebox_Linux_x86_64.tar.gz (39,484,069 bytes), its SHA-256 verified against the release's own published checksums.txt (sha256sum -c: OK, transcript t00), and run unmodified. All lab state — database and document store — was confined to a lab folder on ports assigned to this guide; the server was shut down and the port verified free at the end. Everything was driven through the program's own v1 API (the interface its web pages use), with passwords, login tokens and API keys redacted in the transcripts; the fixture credentials live only in the lab, which has been deleted. One scaffolding reset happened before any data existed: the lab's first registration used an inconsistent fixture password, the empty database was wiped, and the session restarted cleanly — the transcripts record the final run. All transcripts live in homebox-lab/transcripts/ (t00–t21).

Run for real, with transcripts as evidence:

  • Startup behaviour: the refusal to start without HBOX_AUTH_API_KEY_PEPPER (verbatim panic, t02), the migration roll on first start, and the status endpoint reporting version 0.27.1 and the build commit (t03). The web UI root was fetched and is the real application shell (t03).
  • The API surface from the program's own served swagger document: 68 route templates, read and used as the endpoint map (t04). Registration (HTTP 204), login returning a token with a 7-day expiry plus a separate attachment token, and the auth discovery that the raw token works in the Authorization header while the conventional Bearer prefix gets a 401 (t05–t06).
  • The seeded model: one default group ("Alex Rivers's Home", USD), entity types Item and Location, 8 seeded locations and 6 seeded tags, counted from live responses (t06, t07, t18). Group rename through PUT /v1/groups — noting that PUT /v1/groups/{id} answers 404 (t07–t08). Currency list counted: 161 (t05).
  • A location tree built by parentId (house → kitchen → pantry shelf, garage, study), the tree endpoint rendering it, and the path endpoint returning the breadcrumb (t07). Tags created, including a nested child tag (t07).
  • Six items created and completed with serial numbers, purchase prices/dates/sources, warranty expiries, insured flags and quantities, then read back individually (t09–t10). Two genuine traps found and measured on the way: updates replace the whole record (omitted parent/quantity were wiped and had to be repaired with complete updates, t10), and custom-field numberValue accepts only integers — 6.5 fails with the decoder error quoted from the server log (t10). Asset IDs went blank after the API edits and were restored by POST /v1/actions/ensure-asset-ids ("completed": 14); locations kept theirs (t11).
  • Search: text query hit and clean miss, tag filter where the parent tag returns child-tagged items too (3 for Appliances including 2 tagged only Small appliances), and location filter (t12).
  • Attachment round-trip: an 8×8 PNG uploaded as a primary photo (HTTP 201 after the filesystem fix below), the item reporting the attachment and image ID, and the stored blob verified byte-identical to the fixture by SHA-256 and by file (t15, t16). Upload staging behaviour measured across four attempts: temp-dir staging fails with invalid cross-device link when temp and storage sit on different filesystems, and succeeds when they share one (t12–t15).
  • Maintenance: a scheduled entry and a completed entry with a cost on the espresso machine, read back per item (t17). The cost field accepts JSON text ("12.50", stored "12.5") and rejects a bare JSON number with a decoder error (t17).
  • Statistics, checked against hand arithmetic: group totals (6 items, 13 locations, 10 tags, total value 1313.43 — quantities multiplied), the entity list's total (1294.68 — quantities not multiplied), the purchase-price history (ends 1294.68), per-tag totals that do not roll child tags into parents (Appliances 549 vs Small appliances 289.94), per-location totals for direct contents only (Kitchen 798.99, Pantry shelf separate at 39.95), and totalWithWarranty 1 — only the one in-date warranty of the three dated items (t18).
  • Labels and codes: the label endpoint returning a real PNG label (526 × 200, 14,272 bytes) for the mixer, and the QR endpoint returning a JPEG QR image (kept in the lab folder) (t19).
  • Exports: the CSV entity export (27 HB.* columns including one per custom field, 19 rows — kept in the lab folder), and the full group export job (202 → polled → completed) whose ZIP contains the model's JSON tables, an attachments/ folder with the real uploaded files, and a manifest (t19). A bill-of-materials CSV report was also pulled (t20).
  • API keys: one minted (value shown once, 30-day expiry), used as the only credential for a statistics call, listed afterwards with its last-used stamp and no value (t20).
  • Templates: one created with defaults and two custom fields, and an item minted from it arriving with defaults, fields, and an asset ID assigned (t20).
  • The on-disk truth afterwards: a single SQLite database (21 tables, 20 entity rows, 2 attachment rows) and the content-addressed document store with .attrs sidecars (t21).

Documented only — described from the project's documentation and the running program's own published surface, not exercised, and the text does not claim otherwise:

  • Click-by-click use of the web application. The lab drove the API the web pages use and fetched the app's shell, but did not click through the screens; where a chapter describes a screen flow it says so.
  • Fetching an attachment's bytes back through the API. The upload, storage and linkage are proven above; the GET routes the lab tried for the bytes (/v1/entities/{id}/attachments/ {attachment_id}, /v1/assets/{id}) answered with errors in this build (t16), and the guide claims no more than that. The web pages fetch attachments through their own route with the attachment token.
  • Printing to a physical label printer. The label image was rendered for real; the status endpoint reports labelPrinting: false by default and no printer exists in the lab.
  • Invitations end to end (a second person accepting one), multi-user households, and per-group roles in action. The endpoints, token shapes and role tables were read from the running program; the lab's household had one member.
  • Barcode product lookup (it resolves against outside services and optional third-party tokens), notifiers, and OIDC sign-in (reported disabled by the status endpoint).
  • PostgreSQL-backed installs, the Docker image as the install route, and the group import restoring an export into a fresh household — the export half is proven; the restore was not run, so the guide presents the export as the backup artefact and says the restore is documented.
  • Any judgement of the current market value of anything: the program sums typed prices, and so does this guide.

Fixtures are this guide's own and deliberately generic: an invented cottage household ("Maple Cottage"), an invented keeper, and six invented possessions (a stand mixer, an espresso machine, a kettle, a drill, a pair of speakers, and batteries) with invented brands, serial numbers and prices — no real person, organisation or home is described.