Commit Graph
1211 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 c206652abe fix(core,mcp,store): a phone number is kept and a ZIP+4 is kept; only a tax id's printed shapes are refused in a phone
A telephone is ten digits or more, so the strict reading of a party's fields
(any run of nine digits) refused every phone number: the bill-to snapshot's
check, new with the free-text change, refused `503-555-0100` and failed the
window's invoice test. The party's own phone (since D-55) and the tool's
bill-to phone had always been refused the same way; only 7-digit test
numbers hid it.

A phone field (a party's, a bill-to's, the seller's) is now its own class,
read as a reference is: refuse the printed SSN 3-2-4 and EIN 2-7 and nothing
else, since a nine-digit national number is ordinary. A postal address
keeps the strict reading except a ZIP+4 (`98101-1234`, five and four, nine
digits), a postal code. The formation state's entity number is a
registration number (a Washington UBI is nine digits) and is read as a
reference. The tools' table, the engine, and the audit's keys agree; the
audit reads `phone` and `fax` as a phone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 20:50:23 -07:00
swaitsandClaude Fable 5.2 1dbca94bd2 docs(plan): the backups unit's follow-ups and delegation lines
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 20:30:28 -07:00
swaitsandClaude Fable 5.2 e6d722372e Merge branch 't3/plain-folder-backups': a backup is a plain folder; git leaves the program (D-91, D-92)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 20:23:15 -07:00
swaitsandClaude Fable 5.2 535f4fed40 test: the local backup and the open/close tests name the set folder by its new name; words, record and sync tests for the server and the host
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 20:20:57 -07:00
swaitsandClaude Fable 5.2 573dcb0531 docs: claims WB-backup-12 to 21, backups for a person, the end of plan section 9 and the module invariants for the second pass
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 20:10:14 -07:00
swaitsandClaude Fable 5.2 344b3b4abe feat: the window and the server say each new state in words; a proof cut short is made again; the proof does not mistake the books' own recovery for a changed head
- books ahead of the folder (as after a restore from an older backup) offer a
  new backup set beside the old one, at the person's request: books.back_up_now
  new_set, back-up --new-set, a button in the Backups window
- a key file lost from a sealed destination stops backups and asks for the
  passphrase; plain is written only after an explicit removal, which the record
  keeps (a damaged record falls back to what the folder itself holds)
- a restore that is not of the newest backup says so first, in the warning
  colour, with both dates and how many backups it passes over
- a folder a sync service keeps (or may) is said in plain words at set-up and
  in the window: one computer only, kept offline, a second computer its own
- a drill that finds only an older whole backup fails in words
- a manifest whose proof was cut short is marked unproven and proven by the
  next backup, even one with nothing new; a saved backup file is proven whole
  before it is given its name
- the proof compares the journal its pieces make with the head the manifest
  records before the books open, and lets opening add only after it
- the restore tests are split from backups.rs to keep each under a minute; the
  clone-of-an-old-git-backup test builds the working tree without git

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 20:07:38 -07:00
swaitsandClaude Fable 5.2 9ac47a3f10 test(store): damaged pieces are repaired, a drill never passes on an older backup, books ahead and diverged, a disk with no links, headers, sync stand-ins, a destination of 3000 backups
Each test fails without the change it covers: the reviewer's sequence (a
byte flipped in backup 2's segment, more backups, a drill, a restore), a
damaged stored file found by the rotating share, a drill that must fail
when only an older manifest is whole, ahead told from diverged with a new
set beside the old, the no-link path (and two writers racing on it), sealed
pieces in folders, header settings capped and authenticated, one key
derivation per setting, files not downloaded yet, vault scratch files, and
a destination of 3000 backups made cheaply (12 MB of manifests, 0.8 KB for
the newest, 32 ms to find and read it).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 19:21:34 -07:00
swaitsandClaude Fable 5.2 6a8dc6c88b fix(store): a backup is proven after it is written and repaired when a piece is damaged; a drill passes only on the newest backup
A backup that restores old or wrong books while reporting good is the worst
defect the product can have. A piece already in the destination was taken as
the piece (its name is its hash), the manifest built on the newest backup
whose pieces were the right length, no proof ran after a backup, and the
drill fell back to older manifests and recorded ok with the older head.

- the manifest just written is read back and proven before the backup is
  recorded good: every journal and access segment re-hashed, the chain
  replayed to its head, vault and keys present, the index, and the stored
  files this backup added plus a rotating sixteenth of the others (every
  stored file is re-read within 16 manifest numbers; the drill re-hashes all)
- a piece found damaged is written again under a generation suffix beside
  the damaged file (never touched), a new manifest names it, and the reader
  accepts any generation of a piece whose contents hash right
- the drill passes only on the newest manifest, and only when it reaches the
  head of the last backup recorded good; an older whole backup is a failure
  that says so with its date
- no consolidation: a manifest names the one before it and only what is new
  (a chain of 64, each link proven by the hash its successor holds)
- restore and drill read newest first and stop at the first that proves
- live books that are the beginning of the destination's longer history are
  ahead; any other mismatch is diverged or other books
- a new set can begin beside the old (.2), never touching it; set folders
  carry a fixed prefix so no book id is a reserved name on Windows
- no hard link is never a reason to replace: only errors that mean the disk
  makes no links fall back, to a move that refuses to replace
- sealed pieces are sharded by two digits; header settings are capped at 4x
  and bound into the sealed check; find derives one key per distinct setting
- vault scratch files are never backed up as records
- files a sync service has not downloaded read as not downloaded yet

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 19:10:34 -07:00
swaitsandClaude Fable 5.2 49459c9f6a docs: the settings words and the remaining references to the old form
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:40:16 -07:00
swaitsandClaude Fable 5.2 20b2e759e0 test(fuzz): a target for reading a backup folder from bytes someone else wrote
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:38:30 -07:00
swaitsandClaude Fable 5.2 fd78612dd4 chore: clippy, developer docs without git, the free-text clause count
The count of free-text source clauses falls from 56 to 54: the git form's spec
blocks are gone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:34:47 -07:00
swaitsandClaude Fable 5.2 83a32aec14 test(cli): the command-line and upgrade tests on the new form
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:24:48 -07:00
swaitsandClaude Fable 5.2 51a7607a82 feat: the window and the command line set up, save and show backups; the system's folder dialog
Admin requests set up the backup folder (journaled as the books' own
backup.folder setting, the owner the one who decided) and the passphrase, save
a backup as one file, and say how the backups stand; the Backups window, Save a
backup and Restore (a folder or a file, with the passphrase when it has one) use
them, and the command line has backup-setup, backup-status and backup-save
(the passphrase typed at a terminal, never on the command line).

New dependency: rfd (MIT) in ledger-gui, with pollster, for the system's own
folder and file dialogs (the portal on Linux, native on Windows and macOS). It
adds no other crate to the tree (zbus is already there through the window
toolkit); cargo deny passes and THIRD-PARTY-NOTICES.txt is regenerated.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:20:59 -07:00
swaits 0720f3036d fix: claims name the defining modules; doc link 2026-11-21 18:09:48 -07:00
swaitsandClaude Fable 5.2 d114e873ba docs: backups for a person, tests, parity and status for the plain-folder form
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:01:02 -07:00
swaitsandClaude Fable 5.2 f6bc047e5a test(store): what the removed tests of the old form protected, held by the new form
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 18:00:38 -07:00
swaitsandClaude Fable 5.2 11188be47e test(store): backups as properties; claims for the plain-folder form
WB-backup-1 to WB-backup-11 state the laws (a destination only grows; a
manifest names only pieces that exist and hash right; a restore of any whole
manifest is a prefix of the books; other or newer history is never written;
two writers cannot corrupt a destination and a death at any write leaves the
previous manifest whole; a damaged piece is never restored; a wrong
passphrase never yields books). Property tests hold them over random books,
random backups, random interleavings of two writers, and any flipped or cut
piece.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:58:18 -07:00
swaitsandClaude Fable 5.2 91d88dcee7 docs: packages need nothing for backups; handbook, tools and install words without git
The Linux packages, the AUR recipe and the rpm metadata no longer depend on
another program for backups (WB-pkg-4 is replaced); the Windows host's PATH no
longer carries Git for Windows; the handbook an assistant reads, the
tool descriptions, the install notes and the site say plain folders. A test
adopts a clone of an old backup as the docs describe.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:54:32 -07:00
swaitsandClaude Fable 5.2 4313464bd7 test(cli): the close tests stall a file copy where they stalled git
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:51:40 -07:00
swaitsandClaude Fable 5.2 5d5f94e8dc fix(store): a drill and a preview keep the stored files the store reads when it verifies the books
The store's own verification reads the text an extraction recorded as a stored
file, so a verification that left the stored files out would not prove books
with extracted text. Every proof now builds the books with their stored files,
as a restore does, and a test holds it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:49:22 -07:00
swaitsandClaude Fable 5.2 a6cd89d2a6 refactor: the server, restore and the window's seams on the plain-folder backup; git removed from the store
Restore reads a destination folder, a set's folder, or a backup file with an
optional passphrase; the server cuts the books under the store's lock and
writes the folder outside it; the format upgrade proves a local backup in the
book's folder (the same form) before it moves the format. The old backup
(git processes, their locks, the output drain) and every test of it are gone;
what each test protected is held by the new form's tests (table in the
report). Old settings and an old history in a book's folder are said in the
status and left alone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:42:05 -07:00
swaitsandClaude Fable 5.2 9f4529b078 feat(store): backups in plain folders, written once (P15 section 9, D-91, D-92)
A backup is a folder holding one folder per set of books, made only of
files that are written once: the journal and the access log as immutable
segments, an index of stored files and the stored files under their hash,
the vault and keys by content hash, and a manifest, written last, that
makes a backup complete. It is built beside the git form for now.

Accounting reasoning: the journal is append-only and a stored file never
changes, so what the store's lock must fix is one look (its length, that
its last line is the head, the vault and keys); the rest is read after it.
A destination is written only when its newest whole manifest is a point on
the live journal (byte-identical prefix); otherwise nothing is written.
Two writers cannot corrupt it: pieces are named by what is in them, the
manifest number is taken by exclusive create, the loser looks again.

A passphrase (D-92) seals every piece with XChaCha20-Poly1305 in 1 MiB
chunks, the key derived by Argon2id at the owner passphrase's own cost
(64 MiB, 3 passes, 1 lane); names are made from the key and say nothing;
the derived key is kept in the book's local/ folder, owner-only.
"Save a backup..." is a zip of the same form (.wbbackup).

New dependencies: none new to the tree. chacha20poly1305, zeroize and zip
(deflate only) were already used by ledger-vault, the viewer and the
packages; ledger-store now names them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:19:12 -07:00
swaitsandClaude Fable 5.2 81d53c35d1 docs(delegation-log): the tax-id check and the backup report
check / check (cli) (push) Canceled after 0s
check / check (gui-tests) (push) Canceled after 0s
check / check (gui-unit) (push) Canceled after 0s
check / check (lint) (push) Canceled after 0s
check / check (rest) (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 17:02:41 -07:00
swaitsandClaude Fable 5.2 e7d5e4b8cd Merge branch 't3/refuse-tax-ids-in-free-text': free text refuses a tax id's shapes; references take nine digits; bank files mask (WB-partner-15)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:56:02 -07:00
swaitsandClaude Fable 5.2 836543694c docs(plan): section 9, backups without git (D-91, D-92)
The owner's decisions, 2026-11-21: git leaves backups entirely; a backup
is a plain folder plus one file on request; a passphrase is offered and
off by default; built before the first test users.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:54:31 -07:00
swaitsandClaude Fable 5.2 06e7ee1cda fix(mcp): count masked bank values without a raw sum
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:14:29 -07:00
swaitsandClaude Fable 5.2 be23321971 docs: the reference class, the detector's dot and longer-run rules, composed text masked (WB-partner-15)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:13:06 -07:00
swaitsandClaude Fable 5.2 6f68835c3f fix(mcp,import): a reference class in the table, the refusal names the table's field, bank rules match the bank's words
The tools' table gains a third class, reference, for fields that are
identifiers by nature (18 strings: tags and serials, vendor and customer
references, payment and send references, account codes, file names, an
instrument's label, where a W-9 or W-4 is kept); free text falls from 127 to
109. The refusal names the table's own field and describes a key it does not
know as an unrecognised field, never quoting a key the caller chose. A bank
import matches its rules against the description as the bank wrote it and
journals the masked one, so a rule keyed on a nine-digit reference still
matches. A chart file's account code is a reference.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:13:06 -07:00
swaitsandClaude Fable 5.2 049cf2a6b5 fix(store): text composed from stored text is masked, never refused; the audit reads each field as its class
An asset an earlier version took may hold a number that reads as a tax id in
its description. Depreciation, the final depreciation and the disposal
compose their entry descriptions from it and went through the checked
constructor, so such an asset could no longer be depreciated or disposed
of. The composed text now holds the number masked to its last four. A
template's default description and an issued invoice's file name, also
composed from stored text, are masked the same way. A write-off's file name
and description are checked before its entry is journaled, as the rest of
its evidence is. The read-back of the projection reads an old tag or serial
number as history (replay), so verify never refuses books that hold one. The
audit's tax_id_in_journal gives each journal key a class: a bare nine digits
in a tag, serial, reference, file name, code or label is a number, in
free words a finding.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:13:06 -07:00
swaitsandClaude Fable 5.2 dd5f1befd6 fix(core): free text's detector reads a dot, a longer run, a line break and invisible characters, and a reference takes nine digits
A dot joins an SSN's groups only when it joins both (000.00.0000), never an
EIN's: a coordinate such as 47.6062095 is a number, not a tax id. A group
that starts or ends inside a longer run of digits and dashes (a date's day
then its reference, a part number) belongs to that run. A line break reads
as a space and zero-width and soft-hyphen characters are not counted, as the
strict party reading already has it. The reading is one detector with a
parameter: a reference (tag, serial, invoice or payment reference, account
code, label, where a W-9 or W-4 is kept) drops the bare-nine group, since a
serial or a check number is nine digits. The engine now also refuses a
payment's reference (printed shapes) and a discount's reason (free text),
which only the tools' table covered; a payment entry's description, free
text, shows the reference masked. A project's field has an engine-level test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:12:59 -07:00
swaitsandClaude Fable 5.2 d7d3458501 fix(spec): rule parts cited in bookspec's words in the web tests
The sub-reference check reads 'INVARIANT n' as the old vocabulary and
WB-assist-6 has no numbered parts; the comments now cite what exists.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:01:35 -07:00
swaitsandClaude Fable 5.2 5d474051bf docs(delegation-log): C1
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:58:45 -07:00
swaitsandClaude Fable 5.2 813042a7a6 Merge branch 't3/p15-c1-desktop-packages': packages for Windows, macOS and Linux, and the Claude desktop extension (P15 C1)
The two Connect page baselines are re-blessed on the merged code: the
page gained the extension row here and the stopped test clock on main.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:57:46 -07:00
swaitsandClaude Fable 5.2 2b946405cf feat(gui): the window carries the package icon (P15 C1)
The taskbar on Windows and X11 shows the same icon the packages carry;
macOS takes it from the bundle and Wayland from the desktop entry.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:55:10 -07:00
swaitsandClaude Fable 5.2 27f9607434 docs(packaging): installing, the unit's claims, status, and the git decision; the Linux packages depend on git (P15 C1)
docs/install.md is three short sections for a person installing.
docs/packaging.md records what the installed app is on each system, why
NSIS and the macOS bundle are scripts of our own, how signing is wired
with the owner's secrets, what was left out, and what bundling git
would require (GPL-2.0, separate program, unmodified: notices, source
offer), which stays the owner's decision. WB-pkg-1 to WB-pkg-8 are the
product rules. The Linux packages, the AUR file and the rpm now depend
on git, so the package manager fetches it and a Linux person never meets
the missing-git words.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:48:26 -07:00
swaitsandClaude Fable 5.2 2c9aea0883 test(packaging): the publish workflow's trigger is checked by what it must not have (P15 C1)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:44:38 -07:00
swaitsandClaude Fable 5.2 b88331d44c ci(release): all three packages, tested on their own system, in a draft release with SHA-256 sums (P15 C1)
The release workflow runs on a version tag (which must equal the
program's version) or by hand, never on an ordinary push. Each system
runs the workspace's whole tests, builds its package, signs it only when
the owner's secrets exist (and says so in the run's notices when not),
and checks it: the .deb and .rpm file lists; the Windows program's PE
subsystem is the GUI one, and the installer is run silently, installed
over itself, uninstalled, with a sentinel in the data folder that must
survive; the dmg is opened (never run) and its app checked for both
architectures, the plist, the licences and the signature. A last job
gathers the packages, the licences, a latest.json with the version
number the app's daily look reads, and SHA256SUMS.txt, into a DRAFT
release; a release that is already published is never touched. The apt
and dnf repositories are no longer pushed to by a tag: that is the
manual publish-repos workflow, from a published release.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:44:30 -07:00
swaitsandClaude Fable 5.2 26311f8b52 test(store): where each system keeps the books, and that no install folder holds them (P15 C1)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:42:45 -07:00
swaitsandClaude Fable 5.2 2d4c482abf fix(packaging): the AppImage carries the licences too (P15 C1)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:41:48 -07:00
swaitsandClaude Fable 5.2 8e3db472fa feat(packaging): a per-user Windows installer, a universal macOS app and dmg, desktop entries with the icon (P15 C1)
Windows: a hand-written NSIS script (per user, no administrator prompt,
installs under the profile's Programs folder; one program file; a Start
Menu entry named Wanderbooks with the icon; an uninstaller listed in
Settings > Apps that removes only what the installer put in its own
folder and never names the data folder). The installer asks the person to
quit the app fully before it replaces or removes the program. An optional
Authenticode signing step runs only when its secrets exist.

macOS: the .app is assembled by a script (Info.plist with the bundle
identifier, version, name, Documents-folder purpose string; the one
program at Contents/MacOS/wanderbooks; the licences), signed with the
hardened runtime and an empty entitlements file that says why, put in a
dmg with an Applications shortcut, notarized and stapled when the
owner's Apple identity is given and skipped with a notice when not. The
program is one universal binary (lipo of the two release builds).

Linux: both desktop entries name the window's app id and the icon; the
rpm now installs the icon; the deb, the pacman tarball and the rpm all
carry LICENSE-MIT and LICENSE-APACHE beside the notices.

One version: deploy/packaging/version.sh reads crates/ledger-cli's
Cargo.toml; every script takes it from there. Tests read the scripts and
build a bundle with a stand-in program.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:41:22 -07:00
swaitsandClaude Fable 5.2 657daf43da test(cli,store): through the server a refusal writes nothing, a bank file is masked, a chart file refused; the store's own texts meet the check
The store's attestation notes and model names, attachment and document
texts and the unlink, withdraw and void reasons are checked before
anything is journaled, like the engine's. Two end-to-end tests changed
their words (not their data): spec_projects expects "tax id" where it
expected "TIN", documents expects "tax id" where it expected
"taxpayer", for the refusal the new check now gives first.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:38:14 -07:00
swaitsandClaude Fable 5.2 1e1294aa28 docs(delegation-log): the working picture
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:36:26 -07:00
swaitsandClaude Fable 5.2 e127d260a7 Merge branch 't3/fix-windows-working-picture-shapes': the working picture no longer depends on the frame count
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:36:26 -07:00
swaitsandClaude Fable 5.2 f2eb0d29f0 test(gui): the assistants pictures run on a stopped clock and compare shapes rounded to a hundredth
The working mark's arc (connect.rs paint_mark) and every ui.spinner() turn
with the frame time, and the number of frames run before a picture depends
on how long threads take, so the arc's phase differed from machine to
machine. The window now runs on a clock that stands still, a second capture
a few frames later must match, and the shape text is rounded so a sin/cos
last-digit difference is not a changed picture. All assist_*.shapes are
re-blessed (the hash text changed; the pictures did not, but the arc sits at
phase 0).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:36:11 -07:00
swaitsandClaude Fable 5.2 90f663ed54 feat(app): the window tells when a newer version exists and where to get it (P15 C1)
Update is an ordinary app update: the newer package installed over the
old one. The program's part is to say one exists. Once a day, on a
thread of its own, it reads one small file a release publishes
(latest.json: only a version number is taken from it; where to get the
update is a fixed address in the program) and notes the answer in the
data root's updates folder. A higher x.y.z shows a standing notice with
a button that opens the download page and the words that books, keys
and connections stay. Check for updates does the same look at once on
every platform; where a program may replace itself with a signed release
it also stages one as before. A macOS app is never replaced one file at
a time (that breaks its signature): it is treated as managed, and says
to drag the new app over the old. Window prose names the product
Wanderbooks.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:35:17 -07:00
swaitsandClaude Fable 5.2 2bc442f795 feat(app): the Connect page's Claude desktop app row writes a one-click extension (P15 C1)
Claude's desktop extension format is the MCP Bundle: a .mcpb zip with a
manifest.json (manifest 0.3, github.com/anthropics/mcpb). The row's
button makes the company's agent key if there is none and writes
Documents/Wanderbooks/Extensions/wanderbooks-<id>.mcpb: a manifest whose
server is a binary running this program's own stable path as
mcp --book <id>, the 512 px icon and a short README as the entry point.
The package carries no program (the one executable is the installed
one), no key and no path of the data root. The page then says in plain
words where in Claude to pick the file and to keep Wanderbooks open, and
offers to show the file. The manifest is checked against Anthropic's
published schema (a test fixture) and its required fields. The blessed
Connect page pictures change by exactly the new row. The program's
version is now one value set by main for every platform, not only Unix.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:31:21 -07:00
swaitsandClaude Fable 5.2 5d4a5c90c7 docs(delegation-log): the fixes after GitHub's run on 8a6d731c3
check / check (cli) (push) Canceled after 0s
check / check (gui-tests) (push) Canceled after 0s
check / check (gui-unit) (push) Canceled after 0s
check / check (lint) (push) Canceled after 0s
check / check (rest) (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:30:01 -07:00
swaitsandClaude Fable 5.2 ef1d6e573a Merge branch 't3/fix-github-check-failures': what GitHub's run on 8a6d731c3 found
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:27:38 -07:00
swaitsandClaude Fable 5.2 145a6c4070 fix(mcp): redirects_fit folds its lengths, so kernel-only has no Iterator::sum outside the kernel
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:23:01 -07:00
swaitsandClaude Fable 5.2 479d3a5c5e feat(store): a missing git says how to get it, for this system; a Mac's git stub is not a git (P15 C1)
Backups run the system's git, which the program does not carry (it is a
separate GPL program: bundling it is the owner's decision). The error a
backup reports with no git now says so in plain words and how to get one
on Windows (Git for Windows, winget), macOS (the command line tools, or
Homebrew) and Linux (the package manager); backups stay off until then
and nothing else changes. On a Mac without the developer tools,
/usr/bin/git is a stub that opens Apple's installer and fails: it no
longer counts as found. Git for Windows' per-user folder is searched too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:19:35 -07:00