Document print header and upgrading to a newer build

Explain the configurable print header, how to carry data from an
existing encrypted file into a newer build, and the warning not to seal
over a file that should be kept. Correct the footer wording now that the
page header is in flow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 14:03:06 -05:00
parent 70c384cdcb
commit 6ffa75802d
2 changed files with 63 additions and 8 deletions

View File

@@ -16,10 +16,20 @@ The passphrase is prompted for (hidden) or read from `FW_PASSPHRASE`.
## Layout
- `src/crypto.js` passphrase encryption (PBKDF2 -> AES-256-GCM)
- `src/model.js` document schema and validation; `src/ops.js` edit helpers
- `src/print.js` print helpers; `src/app.js` + `src/style.css` the UI
- `src/model.js` document schema and validation (sections, records, and the
optional print `header`); `src/ops.js` edit helpers
- `src/print.js` print helpers (secret masking, header layout)
- `src/app.js` + `src/style.css` the UI, including the Print header panel
- `src/template.js` the HTML skeleton shared by `build.js` and in-page Save
- `docs/thumbdrive/` what goes on the drive alongside the HTML file
## Upgrading a file to a newer build
The data lives in the encrypted payload of each `final-wishes.html`, not in
the app code, so a rebuild never changes an existing file. To move data into a
newer build: `npm run build`, open `dist/final-wishes.html`, choose
**Open your existing Final Wishes file**, unlock it, then Save under a *new*
file name and verify it before replacing the old one. Never point
`npm run seal --out` at a file you want to keep: it builds from `data/seed.json`.
## Never commit
`*.pdf` and `data/` hold real personal data and are git-ignored.