Commit Graph
471 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 045211e212 fix(host): a start that loses to a live app server says so; the window's close keeps one 90 s deadline
two-user / two-user (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
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
Two copies of the app started at once left the loser showing
'starting' for ever: its server waited on the other's lock. The wait
now gives up when another app's live server has held the books for
two seconds, stops its own child, and says another program has them.
A server that is closing is still waited for, and a missing info file
never counts, so the app's own server cannot be taken for another.
The window's close passes what remains of its 90 seconds to each step
(it could reach about 185), and a close that panics leaves a notice.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 17:20:56 -07:00
swaitsandClaude Fable 5.2 975a4d0452 feat(relay): a setup kit for a real machine; the relay's own name answers CAA so its certificate can renew
The apex CAA set allows issuance by DNS-01 only, and the relay
publishes challenge records only for apps' names, so no authority
could issue or renew the relay's own certificate. The relay now
answers CAA at its own host name with the same authorities and no
method restriction; every other name still climbs to the apex.
deploy/relay holds the service unit, settings and certbot hook, and
docs/relay-deploy.md the steps.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 09:47:50 -07:00
swaitsandClaude Fable 5.2 c37bbb9a60 docs(delegation-log): the Windows-only fixes
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 22:13:38 -07:00
swaitsandClaude Fable 5.2 8b08d6e931 docs(delegation-log): the phone fix
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
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
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 22:00:52 -07:00
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 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 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
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 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 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 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 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 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 d2384dfe7c docs: free text meets a tax id's shapes, bank files mask, chart files refuse (WB-partner-15)
The claim on BS-partner-2 gains a marked CHOICE (the owner, 2026-11-21:
shapes on free text, strict on party fields, masking on bank imports) and
the product rule WB-partner-15 with the downsides accepted; the tool
interface, the handbook sections an assistant reads (parties and TINs,
files in and out, attestations and audit) and the two import tools'
descriptions say what is refused, what is masked and what the audit
names.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:14:02 -07:00
swaitsandClaude Fable 5.2 a44744253d docs(delegation-log): B3
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:10:06 -07:00
swaitsandClaude Fable 5.2 0759089790 Merge branch 't3/p15-b3-web-assistants': the app's side of the relay (P15 B3)
Buypass is left out of the compiled-in directory hosts: its directory
could not be confirmed from its own documentation.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:05:16 -07:00
swaitsandClaude Fable 5.2 b0fe3decdc docs(spec): the claims and the plan say what the B3 review changed
Adding a brand-new certificate authority needs a release of the app: it
contacts only directory hosts compiled into it, and believes only
certificates that chain to the public roots it ships, because a relay that
could name any host or authority could make every app send requests where
it likes. The secret label is seen by the relay, the vendor's resolvers and
the network path (the sign-in is the lock); the relay cannot read the
traffic, the assistant's own company reads what it is sent. Certificate
log watching is still not built, so a relay misusing its DNS control to get
a certificate for a name would not be detected.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:03:48 -07:00
swaitsandClaude Fable 5.2 1a07eba93d docs(delegation-log): the Mac and Windows fix
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 14:37:27 -07:00
swaitsandClaude Fable 5.2 14c1a26bfc docs(spec): WB-link-1 to 6, WB-assist-6, WB-app-6 for the app's side of the relay (P15 B3)
The claims for the identity, the line, TLS at the app, certificates, the states in
words and the per-company switch, the Connect page's web half and the first run;
parity.md, the architecture table and the plan's follow-ups (what B3 left out and
why: certificate-log watching, steps for products nobody tried, the key for
key-only products, a real relay and authority).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 13:40:00 -07:00
swaitsandClaude Fable 5.2 a9fec9ee27 fix(spec): WB-app-5 names a file and a test in words the claims check accepts
run/server.info is made at run time, so it is not a path in the tree;
the test is named by its file and what it shows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:37:20 -07:00
swaitsandClaude Fable 5.2 610e41d1d1 Merge branch 't3/wanderbooks-app-hosted-bridge': nothing on the desktop starts a detached host (P15 A5)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:32:59 -07:00
swaitsandClaude Fable 5.2 8a6d731c32 docs(delegation-log): refusals write nothing
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 12:31:55 -07:00
swaitsandClaude Fable 5.2 bf977b1bc7 Merge branch 't3/mcp-refusals-write-nothing': a refused call writes nothing; four tools checked before writing
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:30:50 -07:00
swaitsandClaude Fable 5.2 a61df668ef docs: the holder of the books is read from what the server says (WB-app-1, 2, 3, 5)
Plan P15 unit A5, fix round. The claims for WB-app-2, 3 and 5 and the invariants
of opener.rs, app_server.rs, commands.rs, bridge.rs, serving.rs and ledger-mcp
local.rs say: a server says what started it and whether it is closing
(run/server.info), only the app's is "the app", a command's server and a closing
one are waited for in words inside one `open_wait`, a command racing a start joins
it, a command's own server starts clean (and why the app's own child does not),
a bridge that held a host follows the app, `books list` shows the upgrade pending,
and the app's notice for a host that holds the books has a button.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:30:26 -07:00
swaitsandClaude Fable 5.2 38612ab553 fix(mcp,store,core): four refusals are decided before the call's first line (P15 T1, D-88)
A refusal is decided before anything is written; a failed call on the
record is for a call that failed part way. Four tools wrote a line and then
refused, so under T1 each left a begun line, its lines and a failed closing
line in the journal for a plain "no":

- books.attach_receipt and books.file_document: bytes already filed are one
  file, so filing them again links the existing attachment; a link it
  already holds was refused after the earlier links were written. The store
  now asks first (Store::check_filing_links).
- books.draft_entry and books.draft_from_template: a no_party_reason that
  names a full tax id was refused by the mark, after the draft was made.
  Ledger::check_no_party_reason is asked first.
- books.dispose_asset: a receipt named twice was refused at its second
  link, after the disposal was posted. The ids are checked for repeats
  first.

Each has a test that the journal is byte for byte as it was. No journal
format or frame shape changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:30:25 -07:00
swaitsandClaude Fable 5.2 bb83bed92a docs(delegation-log): B1 and A5's review
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:22:38 -07:00
swaitsandClaude Fable 5.2 5a98e417a1 Merge branch 't3/remote-mcp-oauth-signin': the remote door and sign-in for web assistants (P15 B1, D-83, D-86, D-90)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:16:48 -07:00
swaitsandClaude Fable 5.2 afad9d1e14 docs: D-90 in the remote door's claims, interface and plan section 4 (P15 B1)
Rule 6 of section 4 now says every new sign-in is asked and an approval is
never reused; WB-remote-1, 5, 6, 7, 8 and the interface carry the matching
code, the neutral words, the per-start secret B3 must send first, and the
limits as built.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 12:16:15 -07:00
swaitsandClaude Fable 5.2 0a91656f14 docs: claims WB-remote-1 to 10 and WB-assist-5, the remote door in the interface, parity
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 11:39:39 -07:00
swaitsandClaude Fable 5.2 6b95ce59ad docs: how an assistant and a command reach the books under the app (WB-app-1, 3, 5)
WB-app-1 and WB-app-3 lose the permanent run/app-hosted marker; WB-app-5 is
new: a command finds what runs, never starts a host, and with nothing running
runs a server of its own for the work or says "Start Wanderbooks first", with
the table command by command. architecture.md, deploy/README.md and
mcp-interface.md say the app is the host and only serve keeps a detached one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 11:34:19 -07:00
swaitsandClaude Fable 5.2 af77939f62 docs(delegation-log): law 47 and the pin
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 11:00:12 -07:00
swaitsandClaude Fable 5.2 d66cc98ee5 docs(verification): law 47, a write is one transaction, exactly once (P15 T1, D-88)
Ties WB-format-8 to 10, the calls.rs spec block, the command-steps map and
plan 2a to bookspec law 47 (Calls.lean): a call is a Steps run, no new Step.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:59:55 -07:00
swaitsandClaude Fable 5.2 eafd269ba0 docs(delegation-log): T1
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:45:02 -07:00
swaitsandClaude Fable 5.2 38647e2143 Merge branch 't3/transactional-mcp-writes': every write through the tools is one transaction, exactly once (P15 T1, D-88, D-89)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:40:34 -07:00
swaitsandClaude Fable 5.2 b592aaf416 docs,test: claims WB-format-8 to 10, the interface, the handbook and the tests follow the review
WB-format-8 now says every reader applies the frame rule because ids are
reused after a failed call, and names the committed accessor and the labels;
WB-format-9 the keyed argument digest, the bounded answer, the in-memory
table for calls that wrote nothing and what a repeat of a long answer is
told; WB-format-10 the vault staged inside the transaction and the honest
words when the closing line is on disk. docs/mcp-interface.md, the receipt
store's frame paragraph and the handbook (contract, tracing figures) say the
same.

Tests follow the new shapes: a call that wrote nothing leaves no line, the
head a write answers is where its own lines end and its closing line follows,
the idempotency table compares events, and the checks that a refusal or a
preview wrote nothing compare the raw journal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:40:00 -07:00
swaitsandClaude Fable 5.2 92af0bf6be docs(delegation-log): A4 and the T1 review
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:23:35 -07:00
swaitsandClaude Fable 5.2 c3efb6b301 Merge branch 't3/p15-a4-connect-page': connection states, Ask your assistant, the Connect page (P15 A4)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:23:35 -07:00
swaitsandClaude Fable 5.2 022c0c642f feat(gui): each company's assistants: three states, Ask your assistant, the Connect page, a warning before closing
P15 unit A4, plan 3.3 and D-79. The window only reads the books, so it
now says so by what it offers. Each company is in one of three states
(no assistant, connected, working) read from the books server's own
sessions answer, never waited for, drawn as a shape on its tab and said
in words with the last thing done at the right of the top bar; the
sidebar gives up no height, because the links must all fit at 1479x519.
Where a button that edits would be there is "Ask your assistant", which
copies a ready sentence. The Connect page has a row per local tool with
exact commands, the keys with who is on each, and Revoke through the
existing command path. Closing the window or a tab with an assistant
connected warns first, before and never beside the server's own close.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:03:35 -07:00
swaitsandClaude Fable 5.2 5693390614 fix(spec): WB-app-1 names AppServer's drop in words, not as an item
The claims check reads a backticked word as a code item; Drop is a
trait, not an item of this workspace.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 09:55:38 -07:00