Commit Graph

11 Commits

Author SHA1 Message Date
7a81637819 Use a neutral sample string in the crypto round-trip test
The previous sample text coincided with a real PIN from the source
material. Replace it with a placeholder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:08:11 -05:00
6ffa75802d 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>
2026-11-09 14:03:06 -05:00
70c384cdcb Add configurable running print header
The line printed on every page is now a header stored in the document as
header.fields: any number of Text / Last updated fields, each optionally
aligned left or right (at most one of each). Printed order is left,
unaligned, right. Edited from a Print header panel with live preview;
documents without a header use the previous title/last-update default.
The header is a repeating table header so it sits in flow and cannot
overlap body text, replacing the fixed-position footer.

Also add "Open your existing Final Wishes file" to the start screen so
data in an older encrypted file can be carried into a newer build.

Closes #9

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:23:31 -05:00
e4a64eea5d Add executor README and maintenance docs
Plain-text README for the thumbdrive (open, print, edit, passphrase
recovery), a maintenance guide for the owner (setup, updating, backups,
passphrase custody, review, security clean-up) and a developer README.
docs/thumbdrive mirrors the intended drive layout.

Closes #7

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 09:19:11 -05:00
fec23c3e80 Add encrypted build and save flow
build.js seals a JSON document into the single-file HTML (passphrase from
a hidden prompt or FW_PASSPHRASE, 12 character minimum). In the page,
Save writes via the File System Access API when available and downloads
otherwise; Backup copy downloads final-wishes-YYYYMMDD.html; Ctrl+S and
Change passphrase are supported. Build and Save share assemble() in
template.js, replacing src/index.html. Tests confirm the built file
holds no plaintext and that the payload round-trips.

Closes #6

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:17:20 -05:00
e291ee75b6 Add print layout
Print dialog with withhold/include secrets modes, cover page with
contents, one section per page, non-splitting record blocks, TBD
highlighting that survives black and white, tick boxes on steps and
checklist items, and a per-page footer. Print content is built on demand
and cleared after printing. Pure display helpers live in print.js with
tests.

Closes #5

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:13:11 -05:00
d882debb9b Add viewer/editor UI
Passphrase unlock (or open a plain JSON file while no payload is
embedded), sectioned navigation, read-only cards with masked secret
fields and a reveal toggle, and an edit mode with add/remove/reorder for
sections, records, fields and items. Pure edit operations live in
ops.js with tests. DOM is built with textContent only.

Closes #4

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:10:21 -05:00
2c713f3a9b Add document data model and validation
Define the sections/records/items schema with secret-flagged fields and
a validator with tests. build.js bundles model.js. The PDF-derived seed
lives in the gitignored data/ directory.

Closes #3

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:04:03 -05:00
9fa6096a6c Add passphrase encryption module
PBKDF2-SHA256 -> AES-256-GCM via WebCrypto, with versioned blob header
authenticated as GCM additional data. Tests cover round trip, wrong
passphrase, tampering and malformed input. build.js bundles crypto.js
into the single-file output.

Closes #2

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 08:00:40 -05:00
fa6ba95d3e Scaffold project
Add src/ shell, build.js single-file bundler, package.json and
.gitignore (excludes PDFs, data/, dist/).

Closes #1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 07:57:25 -05:00
8acc9bad57 init 2026-11-09 07:49:38 -05:00