Commit Graph

38 Commits

Author SHA1 Message Date
14a46abc63 Stop showing the word "null" above the menu (Fixes #26)
render() passed null to root.append(), which prints it as text. Only append
the reset banner when there is one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 14:20:18 -05:00
1cdebcef85 Mark up step pictures: markers, boxes and burned-in blur (Refs #25)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 13:03:12 -05:00
eb988b96aa Add mark validation and pure blur/geometry helpers for step annotation (Refs #25)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 13:01:07 -05:00
6066aac6aa Show and copy referenced credentials in steps, view, player and print (Refs #24)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 12:36:25 -05:00
edb3e25e67 Add credential references for steps: field ids, addUse/findFieldRef, usesView (Refs #24)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 12:35:22 -05:00
f089a00b66 Capture steps from the screen and walk through a sequence one step at a time (Refs #23)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 12:26:04 -05:00
29f44440ca Add ifStuck/stop to frames and captured date to sequences (Refs #23)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 12:24:35 -05:00
32d4b06096 Fold docs/MAINTENANCE.md into README.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 07:53:30 -05:00
05ffcc8561 Add sanitize.js: secret-free copy under a new passphrase (Refs #19)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 07:26:27 -05:00
78bf87c4e6 Update HANDOFF.md with #20 findings and pending decision (Refs #20)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 07:10:28 -05:00
52ce84c579 Add HANDOFF.md for issue #20 (Refs #20)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 22:01:47 -05:00
613f03993a Fall back to download when Chrome refuses createWritable (Refs #20)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 21:49:07 -05:00
c480ff113a Refresh OVERVIEW.md: ?reset=1 route, issue range (Refs #19)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 21:41:02 -05:00
6048398c1e Fix ?reset=1 when #reset=1 is added to an already-open page (Refs #19)
The flag was read once at load, but editing only the fragment fires
hashchange instead of reloading. Read it on each render and re-render
on hashchange.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 21:30:44 -05:00
60501b9508 Add ?reset=1 route that erases secret-flagged values (Refs #19)
After unlock, a banner offers to clear every secret field and secret
sequence step. Nothing is written until Save.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 20:26:39 -05:00
5cb80245ff Refresh OVERVIEW.md: sub-tabs in ops and print, issue range
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 19:33:03 -05:00
d7dc098e79 Add sub-tabs to records sections (Refs #18)
Records sections can be split into user-named sub-tabs with a General
catch-all. Records and visual sequences move between tabs via a Sub-tab
drop-down; up/down, collapse all and print work per tab.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 19:32:05 -05:00
37bdb62baf Put the control buttons on their own row below the title row
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 19:14:20 -05:00
f0c265be88 Update OVERVIEW.md for collapsible and movable records
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 19:11:07 -05:00
d6fa04e7b0 Move collapsed records up and down with arrow buttons
Closes #17

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 16:54:47 -05:00
661d2cf936 Collapse and expand records in a section
Each record gets a Collapse/Expand button; each records section gets
Collapse all and Expand all. View mode only; print and edit unaffected.

Closes #16

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 16:50:14 -05:00
3c347c4ad6 Add OVERVIEW.md codebase overview
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 19:01:52 -05:00
a2fcc65759 Show the app version at the top of the page (Ver YYMMDDX)
Adds src/version.js, bump-version.js and a pre-commit hook that bumps the
version in commits that change the app.

Closes #15

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 19:01:33 -05:00
1736548ef9 Say what is in a section when confirming its deletion
Closes #13

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 18:37:58 -05:00
e9ac581e38 Add visual sequences: numbered image + text steps in any section
Closes #12

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 18:35:30 -05:00
d588e30b9b Add Cancel to revert unsaved changes in a section
Reverts the section (or print header) on screen to the last open/save
and leaves edit mode.

Closes #11

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 18:24:26 -05:00
f5f05a3e26 Add images as a record field (drop, paste, import)
Images are downscaled, re-encoded and stored inside the encrypted document.

Closes #10

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 16:01:24 -05:00
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