1.6.0’s feature (the owner, 2026-10-13). Lovejoin PR #163 adds a token-mixing variant of the contracts: a launch pools one native token, and every box in it holds exactly box_lovelace ADA plus Q of (policy, name).
We launch no pools. Seedelf users launch them from their private balance: they choose the token and pay the ADA for the launch and the reference scripts. They also carry their own bootstrap and movement problems.
Why it matters: today a token in a one-time account, or one coming back into a Seedelf, is never mixed, so under some circumstances it can be tied to its owner. With token pools, someone buying NIGHT or a stable token can mix it and go back into the mixer, the way ADA already does.
Status: ✅ done, in 1.6.0 (#308, #312, #314–#321 and #323, then the gate, #324, merged as babb8e76; the release’s record is roadmap.md’s handoff note). Archived after 1.6.0, its open items carried into post-release-roadmap.md’s Kept in mind (Left by 1.6.0’s release review and Left by chunk 34’s sessions). Every step below happened, 34g last: its release review of every PR since 1.5.0, its fix rounds and the blind back-translation (Session 12), the final checks, the live run of the collateral’s mix, the PR, the deploy and the upload. The plan went through two rounds of the owner’s questions on 2026-10-13.
web-wallet/token-pools-groundwork, 2026-10-17) did every step that needs no more design: S0a, S0b, S0d, S0c’s evaluation, 34a and 34b, core and WebAssembly. Nothing in the worker uses them yet. What it built and found is under The groundwork.web-wallet/token-pools-design. Session 1’s calls override the sections below wherever they differ, until a later session folds them in. Still to settle: its Still open after session 1, each small and owned by a step. The design is otherwise ready for the steps: 34a′ and 34c first.web-wallet/token-pools-records, 2026-10-17): every pool’s records beside the classic pool’s, every mix followed until its boxes are back, Bootstrap’s boxes held, gated on 1.5.0’s own record of how it planned and ran.web-wallet/token-pools-discovery, 2026-10-17): which pools are shown and how the wallet finds them, the data layer’s copy of the rules, its pool list, crowds and combined box feed. The server’s queries wait on one live run against home’s db-sync, which the owner starts.web-wallet/token-pools-flows, 2026-10-18): the tile’s mixes into a token pool from either side, Bootstrap in place of the seed, a pool’s start from either side and every check before it, the escape hatch, and Activity’s names. Worker, core and WebAssembly; the screens are 34f’s.web-wallet/token-pools-planner, 2026-10-18): each pool’s costs, a return’s tokens through their own pools beside its ADA’s in one chain, Change, a swap that funds its token’s boxes (33), and four boxes a mix with its fallback to three. Worker, core and WebAssembly; the screens are 34f’s.web-wallet/token-pools-screens, 2026-10-18): Lovejoin’s page as a hub with a page per pool, Your mixes, the pools grouped by token, Start a pool, the escape hatch, Bootstrap leading below the floor, Change on reviews, the swap approval’s funded token boxes (34e’s release blocker), Settings’ four boxes a mix, Home’s row per pool, the strings in es and ja, and the docs.Read first:
docs/generalize-lovejoin.md and docs/perf.md, on Lovejoin’s main since the merge (8131b1d).The owner’s answers to Claude’s first proposal. Where they differ from the sections below, these win.
Claude’s second proposal, with the owner’s answers.
mix_box and mix_logic reference scripts sit at the holder, and L is registered.
mix_logic refuses deregistration (it allows RegisterCredential and nothing else).(token, Q, box ADA). A copy is never shown.
fee_contract reads it (self.fee <= max_fee_per_mix_lovelace, line 171 at 8131b1d), and the wallet never uses it.288fea77…, which takes no parameters, so discovery watches that one address.
npm run lovejoin-pools) is a head start: the shown pools’ seeds and references, so a first sync skips their lookups.prices.ts), so no bound is in money.one_shot_mint accepts an ADA-only datum (an empty policy and name, Q = 0).
The owner’s answers to Claude’s remaining questions.
tokens/list.json for its network. ADA pools need no token.
unregistered entry, which test networks allow.c5852bb7…, its scripts at a key address) isn’t shown. Preprod’s first standard pool is the one the rehearsal launches.mix_box and mix_logic at the holder and registers L, unless L was registered in an earlier block. “Earliest for its values” is then the earliest launch: by block, place in the block, then id.
seedelf-data/api/src/lovejoin/), and nothing new is published for the CLI. The two are held to shared vectors and scenarios. This replaces §10’s small shared crate.
seedelf-lovejoin published before core at the next CLI release; two copies can disagree where the vectors don’t reach.Each is small, and the step named settles it.
width). The words for four boxes’ fallback to three are drafted (lj.width.warn.*); where the screens show them is 34f’s.mix_box and mix_logic only. About 23.3 ₳ that never comes back, plus the fee:
mix_logic’s reference, 15.82 ₳;mix_box’s, 3.63 ₳;fee_contract is not published.
Nothing a 1.5.x user has, or relies on, moves. Each point is a test or a gate, not a hope.
c145c10f… and preprod’s 67ffe4ed… stay bundled, as Pool::classic, which is today’s Protocol::of. They keep the same hashes, reference UTxOs and 10 ₳. Every builder’s output for them stays byte-identical. lovejoin_mainnet_test.rs, withdraw_zero_test.rs, lovejoin_test.rs and the WebAssembly mainnet tests pass unedited.pool is the classic pool’s. That covers:
lovejoin.<network> Schedule (due times, notMixed, unsure, Withdrawing), and chain records;lovejoinMaybe, SESSION_LOVEJOIN_PUBLIC and …SENDING;spent.ts’s reservations, and the session and auto records.The upgrade test takes a 1.5.0 vault mid-flight (a chain in flight, a withdraw in its write-ahead slot, boxes due) and checks that it all finishes after the update as it would have before.
lovejoin/pool and /since keep their shape and data, and Kupo’s patterns stay.The datum and the box value
ReferenceDatum goes from 5 fields to 8: box_lovelace, token_policy, token_name, token_quantity, max_fee_per_mix_lovelace, mix_script_hash, mix_logic_script_hash, fee_script_hash.box_value exactly, and serialise_data(box_value) goes into the Fiat-Shamir context.MixDatum, the redeemers and the sigma and Schnorr code are unchanged. Only the value bytes differ:
A1 40 A1 40 <lovelace>, byte-identical to today;A2 40 A1 40 <lovelace> 58 1C <policy> A1 <name> <Q>.The one-shot mint and the parameter chain
one_shot_mint(seed_tx_id, seed_idx, holder_hash) checks that the seed is spent, and that one "lovejoin" NFT goes to the holder with no stake credential and no reference script.box_lovelace > 0, 0 < max_fee < box_lovelace, a 28-byte policy, a name of at most 32 bytes, and 0 < Q ≤ 2^64−1.list.find, so other outputs at the holder in the same transaction are fine.mix_logic(P, "lovejoin") gives L;mix_box(L) gives M;fee_contract(P, "lovejoin") gives F.reference_holder (288fea77…) takes no parameters, so every launch shares it.What it doesn’t check, and what it costs
The bytecode
plutus.opt.json is a stale classic 1.1.21 build.Apply nodes, or from aiken build at the pinned commit.mix_box is byte-identical to mainnet’s apart from its parameter.uplc 1.1.23, already a dependency, applies parameters (Program::apply_data). A script’s hash is blake2b_224(0x03 ‖ cbor(flat)).The owner scalar
One pool, hardcoded, at:
Protocol::of(network) (denom = 10 ₳, M, L, the bundled reference outputs), in seedelf-core/src/lovejoin.rs:66-184 and references.rs. The datum is never decoded.denom_value_bytes (173-184).PoolBox::from_row and from_resolved (254-289).Coin::from_row, which refuses tokens (318-331).NETWORKS[n].lovejoin.{mixBox, poolFloor = 30, mixCost} (networks.ts:9-74).LOVEJOIN_DENOM, BOX and LOVEJOIN_BOX.The flows
kept and come back directly.The data layer
MIXBOX_HASH, Watched {Contract, Lovejoin}, the lovejoin/pool and /since routes, and fixed Kupo patterns.seedelf-core/src/lovejoin/)A Pool holds:
id, the NFT policy P;version, Classic | TokenV1;box: BoxValue { lovelace, token: Option<(policy, name, Q: u64)> };max_fee;seed and reference;script_refs, at the holder or Inline.The classic pool stays bundled, as its own trust anchor.
BoxValue::cbor() ports Lovejoin’s crypto/ref/src/value.rs, replaces denom_value_bytes, and is tested on Lovejoin’s 64 box_value parity vectors.
Templates
one_shot_mint, mix_logic, mix_box and fee_contract go in as flat bytes in lovejoin_templates.rs, pinned to the merge commit.templates_are_frozen.TokenV2 beside it, never an edit, the way Seedelf’s variants work.derive(seed) -> (P, L, M, F) applies them.verify_poolCheap checks first, offline before network:
288fea77…, with no stake credential and no reference script.P.lovejoin and nothing but ADA besides.hash(apply(one_shot_mint, seed)) == P. The script makes the NFT one of a kind, so the seed alone proves it, whoever supplied the seed:
tx_info, on the Koios path only.account_info)? Only then the seed proof. As built (34c, decision 30), L is checked once, when the pool is found: Koios’s look reads its launch’s certificates, or, for a launch that didn’t register it, L’s earlier registration (account_update_history); from the data layer’s list (mainnet) it’s the server’s word, by its own copy of the rule.Verified and usable aren’t the same thing.
account_info for all pools);mix_logic refuses L’s deregistration (11), so the worker passes registered: true (usableNow);box_lovelace − withdraw fee covers the real destination: an enterprise Seedelf output with a register datum and Q.minimum_seedelf_payment sizes that destination against dummy_base_address, which is 120k too high, so add an exact enterprise sizing.An escape hatch for a pool that turns unreturnable: bring a box back with the fee paid from the public account, saying that it ties the box to the account. The withdraw builder has no fee input today (lovejoin.rs:795-833). Since the owner’s call 36 (2026-10-19), the private balance pays by default (lovejoin::withdraw_private: a Seedelf UTxO of ADA alone beside the box, tied to it on chain), and the public account is the user’s visible choice.
Session 1 settled it (11, 12):
lovejoin.<network> record. A new record’s name would show (private-store.ts:14).PoolBox carries its pool.ScriptSpend
PolicyMint { policy, script: SeedelfRef | Inline } replaces the Seedelf-only mint (build.rs:1316-1321, 1540-1548, 2001, 1787-1790, 1223).Patches are threaded through settle, draft, measuring_draft and the final build (1577-1813).remainder().Staking::deposit() learns cert 0’s deposit from params.key_deposit (staking.rs:364-376), with no fake stake signature (348-350).Deposit
box.lovelace + Q, with a token-change output beside the ADA payer line.MAX_DEPOSIT_BOXES is sized by bytes: a token box is about 226 B, against about 150 B for an ADA box.Mix
MIX_FEE_ESTIMATE is per pool: about 0.96 ₳ inline.per_box, boxes_affordable, funding_for, again_*, fan_out and fresh_for take a Pool.Withdraw
lovejoin.rs:811 writes Output::new(to, lovelace).Script refs
Large integers
crossCheck sends Ogmios’s UTxOs through JSON.parse and stringify (lovejoin.ts:1832, koios.ts:1111, data-layer.ts:355), which rounds any Q above 2^53. Pass the raw JSON through, and test 2^53+1 and 2^64−1.assets.rs:62-69), in words (“bring them back fewer at a time”). The wallet’s own 30 × Q cap went with call 35.One transaction, straight from the private balance, or from the public account if the user chooses (session 1, 10): an account-paid builder beside this one, for 34d. The private one holds:
ScriptSpend of ADA-only Seedelf UTxOs, kept apart by history as mint_apart does, one of them the seed;one_shot_mint inline;mix_box and mix_logic reference scripts, at the holder;changeHistory), as every Seedelf spend’s change is. On chain it’s tied to the launch and its inputs anyway.It’s about 6.6 KB, and atomic: no half-launched pool, no stranded deposit.
How it’s put together
uplc agrees. But Lovejoin’s own launch used cert 7 with a Publish redeemer.
mix_logic inline: about +3.5 KB, a Cert redeemer patch, and "publish" accepted in Budgets::from_ogmios (build.rs:1117-1123).Collateral-Provider/rs/src/validators/transaction.rs:173-270) has no rule against a foreign mint or a certificate, and the probe confirms that against what’s deployed.Checks before the review
asset_info) below 30 × Q;box_lovelace is suggested and can be changed: S0d’s least for the token’s shape, plus a margin, rounded up to 0.5 ₳ (4.5 ₳ for every token S0d measured). It never goes below S0d’s bound, nor above 9 ₳ (27). For an ADA pool, it is the amount, with no upper limit.max_fee is 1.5 ₳, and below box_lovelace as one_shot_mint requires.verify_pool runs over the draft’s own outputs, the same check a stranger’s pool gets. The draft is also measured locally and through Ogmios.The review
Mainnet
Weighed against the review’s traps.
MAX_CHAIN_MIXES and the free-box accounting.box_lovelace + mixes × fee (the withdraw fee is inside the box, so it isn’t counted twice), plus the minimum for the token remainder’s change. ADA boxes come from what’s left. The review says it took spare ADA away from ADA boxes.sessions.ts, wasm/src/lovejoin.rs)holdings splits your own token UTxOs into the deposit; a stranger’s stays kept.asset_list. Today rows[0] is ..Default (353-359).
own (367-368).known for merged_return (392).plan_return gains token boxes;lovejoinCost and priced price them per pool (1316-1364), and “tokens never go in” goes;mixFunding sends tokens (1526).SessionRecord.mix and AutoRecord.lovejoin, so the build can’t choose other pools than the review showed.spareOf, collateralWanted, poolShort, and C53’s Put in 5 ₳.A record with no pool is the classic pool’s. Each of these gains a pool:
Schedule.due’s entries. Today held() is due.length × 10 ₳ (3085-3097); it becomes per pool, and so does withdrawDueNow’s trim (3159-3163).notMixed and unsure, kept per pool.Withdrawing, which stays one slot but carries its pool and tokens.ChainRecord’s boxes and leaves.lovejoin.ts: Split, rooms, listing, poolRows, utxoOf(r, mixBox) (1381-1411), fits, room, againBoxes, floor* and funding.status(), LovejoinStatus, LovejoinHeld, KeptPublic, SendingPublic, lovejoinMaybe, and spent.ts’s reservations.These stay network-wide: one box a run, the spread, the quiet times, and the inTurn names.
Elsewhere, every place learns every pool:
madeBy’s mixed means an input at this box’s pool’s M (lovejoin.ts:2839-2870; row.rs:128).feed.ts (34, 162, 214, 241), activity.ts (482, 781) and pending.ts.crossCheck runs once for each script version in a chain.Two new Activity kinds: Started a Lovejoin pool, and Into Lovejoin · NIGHT.
The Lovejoin page is a hub (session 1, 4, 5, 13):
A pool’s own page shows:
How a mix is shown was settled in session 1 (5). The owner asked for it on 2026-10-14: “how to display a current lovejoin mix just in general needs a review … Mixing from public does not show on the mixes so there is no way to track it”. What the page did before:
Every other screen — Home, Settings, UTxOs, Activity, ClaimAll, SiteSessions, the swap review — shows its figures per pool.
Strings
.warn. and .privacy. keys, which makes them critical: translated to es and ja, and back-translated.Docs
account_info at a launch (asset_info went with call 35).Session 1 set its shape (11, 12):
private-index.ts:220-233).mixed is per pool (row.rs:128, kupo.rs:328).seedelf-core won’t do: it wouldn’t resolve, since [patch.crates-io] lives in the platform workspace, and it would pull blst, Pallas and uplc into the server.One branch, web-wallet/token-pools-groundwork, of what needs no more design, so the design session starts from what’s proven. The classic pool doesn’t move: a classic deposit is pinned byte for byte to 1.5.0’s (lovejoin_pools_test.rs), and the classic Lovejoin, withdraw-zero, width and WebAssembly tests pass unedited.
Built, in core (seedelf-core/src/lovejoin/, now a directory):
templates.rs: the four unapplied scripts, built with aiken build (v1.1.24) at Lovejoin 8131b1d, the merge, and pinned by their own hashes; derive(seed) applies them (P, L, M, F).value.rs: BoxValue, checked on Lovejoin’s 64 box_value vectors.pool.rs: the eight-field datum, decoded as strictly as one_shot_mint checks it; verify_pool; find_seed; and usable, whose way back is a real withdraw, built and measured.Protocol is the pool. It gained version, id, token, max_fee, fee_hash, inline_scripts and seed, and keeps its name: the classic tests build it by struct update, and run unedited. The classic pool’s id, fee cap and fee script are checked against its bundled reference outputs.deposit_from and chain_from take token UTxOs, and the tokens the boxes don’t take come back apart from the ADA payer line (token_change). Mixes and withdraws carry the token. A withdraw that can’t pay its own way back says so (CantPayBack), and withdraw_paid is §2’s escape hatch: the fee from an account, which also makes up what the output needs.launch.rs: §5’s launch as one Seedelf spend, with cert 0 for mix_logic, and its pool checked from its own bytes (launched_pool). launch_apart picks its inputs with Purpose::Mint’s order. The Seedelf spend learnt a mint under a carried script (mint_inline) and certificates patched in (with_staking), and Staking counts cert 0’s deposit (deposit_at) and asks no key of a script’s credential.Built, in WebAssembly (none of it called by the worker yet):
PoolRef: its reference row, its seed, and the holder’s rows that may carry its scripts. It’s verified on every call.lovejoinVerifyPool, lovejoinUsable, buildLovejoinLaunch, and poolRef beside a lovejoinOwned or buildLovejoinWithdraw request.poolRef is read on its own: serde’s flatten would have buffered a stranger’s deep datum past serde_json’s limit (deep.test.mjs caught it).Built, in the worker: only §4’s large-integer fix. The network’s check now hands Ogmios a chain’s unsent UTxOs as the JSON text WebAssembly wrote (RawJson), tested with 2^53 + 1 and 2^64 − 1.
What S0 found
uplc 1.1.23 reproduces every hash of Lovejoin’s preprod token launch, and the very bytes of its two published scripts. It measures the launch’s seven recorded mixes (N = 2 to 4) and withdraws (box-paid and wallet-paid) as the chain charged them, to the step. No Pallas or uplc bump. S1 is moot: PR #163 merged as it was, and the templates come from aiken build at the merge.Q = 2^64 − 1) exactly as the wallet does (lovejoin_live_test.rs, --ignored).S0d, measured; the figure is the owner’s (lovejoin_box_value_test.rs). Each case is a box’s whole way back: its withdraw into a Seedelf, then part of the token or all of it to a Seedelf or an address, from what came back alone. The least box value, the same on both networks:
| token | scripts | least box value | withdraw fee |
|---|---|---|---|
worst (32-byte name, Q = 2^64 − 1) |
by reference | 4.11 ₳ | 0.298 ₳ |
| worst | inline | 4.23 ₳ | 0.412 ₳ |
| typical (5-byte name, 100 of a 6-decimal token) | by reference | 3.83 ₳ | 0.297 ₳ |
| typical | inline | 3.95 ₳ | 0.410 ₳ |
The step that binds is always part of the token paid to a Seedelf. How far the price of a byte (today 4,310 lovelace) can rise before a value stops covering a shape, inline:
| box value | worst token | typical token |
|---|---|---|
| 4.00 ₳ | doesn’t cover it today (−6.3%) | +1.7% |
| 4.25 ₳ | +0.7% | +9.3% |
| 4.50 ₳ | +7.7% | +17.0% |
| 5.00 ₳ | +21.7% | +32.0% |
A box’s ADA comes back with it: a bigger value costs capital while the box is out, not fees.
Other findings
mix_box 3.62, mix_logic 15.81, and the deposit 2.00. It costs about 0.52 ₳ in fees and is 6,330 bytes.What a transaction costs on Lovejoin’s preprod pool, the classic’s 0.88 ₳ mix beside them:
| scripts by reference | inline | |
|---|---|---|
| a mix | 0.833 ₳ | 0.947 ₳ |
| a withdraw | 0.297 ₳ | 0.411 ₳ |
Left for the design, and why
MIX_FEE_ESTIMATE, per_box and the funding sums still take the classic pool’s): 34e.Branch web-wallet/token-pools-records. The step that §8 and session 1 (5, 6, 18) set, as built, in the worker (lovejoin.ts, rpc.ts). Nothing in core or WebAssembly changed. Claude’s choices, the owner’s to overturn.
The gate comes first: 1.5.0’s own record (tests/lovejoin-1-5-0.test.ts, backward compatibility 3, 4, 5 and 8).
tests/fixtures/lovejoin-1.5.0.json was written by that test file run in a worktree at 1.5.0’s release (63f87b8), on that commit’s WebAssembly. This tree must meet it.mixes. The due times sit where the runs meet each rule: the unlock’s waits, one box a run, the spread, the quiet after the user’s own send and its pushes, a cut chain’s boxes held, a public mix’s record and leaves going. Every draw is seeded.package.json is 1.5.0.What stays as 1.5.0 wrote it. The sealed lovejoin.<network> schedule keeps the classic pool’s fields where they are, with their meanings: due, notMixed, unsure, withdrawing, chains, marks, leaves, origins, asking and unlock. A wallet that never touches a token pool keeps the same record, and chain records keep their 1.5.0 lifetime. Token pools add beside them, never inside:
classic is never written.pools: each token pool’s own due, notMixed and unsure, by id. marks stay keyed by time across every pool.pools (how many of its boxes went to each token pool; the rest are the classic pool’s), and a pool on each leaf. A chain may span pools: one deposit, mixes in each, one return.bootstrap when a Bootstrap held its box.mixedIn, the token pools whose mix_box an input sat at. mixed keeps meaning the classic pool’s.One rule set, run per pool. Every rule that counted the classic pool’s boxes now counts each pool’s: due times against the boxes that can come back, boxes not mixed yet, a restore’s lookups. Given the classic pool, each gives 1.5.0’s answer, which the gate checks. What’s network-wide stays network-wide: one box a run, the spread, the quiet, the unlock’s draws, and the turns.
Every shown pool is read (session 1, 11 and 12). The read set is the classic pool and what discovery hands the worker (LovejoinDeps.pools, 34c’s). Until 34c, discovery hands it nothing, so the classic pool is all a wallet reads.
Your mixes: mixes, one entry a mix (session 1, 5). The list the hub shows, followed until the mix’s last box is back. Chain records keep their own lifetime, and no rule reads mixes, Bootstrap’s hold aside, so it can’t change how boxes come back.
RECORD_KEEP_MS ago, is squared up, and boxes a recent chain made don’t count against older mixes. A listing that’s behind (a Koios backend lagging) can miss a box that just landed, which is why chain records are kept that long. Without this rule, such a read closed a just-landed Bootstrap’s entry, and its boxes then came back by themselves; a test holds it.Bootstrap, a kind of its own (session 1, 6 and 18). Its chain record is a deposit with no mixes, as a seed’s is, marked bootstrap.
released: the boxes are no longer held, and come back by themselves, one a run, as any box does (round three, 24).Status and Home. status and held keep the classic pool’s figures where they are, so the classic screens read as today. Each token pool read adds an entry under pools, and Bootstrap’s held boxes are listed apart (bootstrap). Two methods are new, for 34d and 34f: mixes(), the list with each mix’s chain while its record is kept, and releaseBootstrap(), Bring them all back.
Also changed:
poolRef), carries its token into the Seedelf, and its history entry has the token coming in.planLovejoin with again and no depth). Nothing asks for it, since mixing again always takes Settings’ depth, 1 to 3; the gate’s grid leaves it out. Not changed here.An independent review of the diff, adversarial, found three that the tests had missed. Each is fixed, with a test that fails without the fix:
maybe), and a Bootstrap’s mix closing let its boxes go. It now closes only as its record goes, with none of its boxes listed.Tests: the gate, and tests/lovejoin-pools.test.ts (18), with PR #163’s preprod token pool read beside the classic pool. A token pool read in the same request as the classic pool’s; a pool that doesn’t verify left out; its own due times, and Home’s figures; a token box back through its own pool, its token with it; one box a run across pools; due times kept through a read that didn’t cover the pool; a chain spanning pools; squaring up, and the lag; mixing again taking boxes over; 1.5.0’s entries made once; Bootstrap’s hold, by hand, and Bring them all back, and against a box with no mix and a deposit Koios didn’t answer; a chain that never went; a restore’s lookup per pool, through discovery failing. Thirteen one-line changes to the new rules each fail them.
For later steps:
made_by), as the classic pool’s listing does. Until then, a restore of token pool boxes asks Koios even while our server is up, which tells Koios which boxes are the wallet’s.pools and each leaf’s pool to recordChain.anyway, as a seed’s always could; its review says what bringing back a box nobody has mixed yet shows.activity.ts’s describe knows the classic mix_box alone).Left to later steps: building chains into token pools, Bootstrap’s button and the launch’s record (34d); the planner per pool (34e); discovery and the read set’s source (34c); every screen (34f).
Branch web-wallet/token-pools-discovery, from main 88e5be7. Session 1’s 11, 12 and 26, and 30 to 32, as built. Claude’s choices, the owner’s to overturn.
The rule, three times over. A pool is shown when it’s standard and the earliest launched of its values.
lovejoin NFT and ADA alone, a datum that decodes); a token in tokens/list.json, or ADA at any amount but 10 ₳; a seed among the launch’s inputs that makes the NFT’s policy, and a datum naming exactly the scripts that seed makes; and finished by its launch (30).candidate now takes ADA pools at any amount but the classic pool’s 10 ₳ (17); WebAssembly’s lovejoinCandidate (the cheap offline checks) and lovejoinLaunchCheck (the seed among the inputs, the derivation, which scripts the launch put at the holder, and L’s reward account).background/lovejoin-pools.ts (shown, PoolDiscovery).seedelf-data/api/src/lovejoin/ (32), its own copy written without Pallas, uplc or blst:
flat.rs applies a template’s parameters by hand. A term moved along isn’t its bits shifted: every byte string in it is padded to a byte boundary, so moving it moves its pads. The term is read and written again, item by item.templates.rs (the four templates, copied from core and pinned by their hashes), datum.rs (as strict as core’s ReferenceDatum::decode: any integer width, chunked bytes, either list form; no bignum, no tag 102), standard.rs, crowd.rs, db.rs, discovery.rs, routes.rs.seedelf-core/tests/fixtures/lovejoin-pool-vectors.json, which core’s lovejoin_vectors_test.rs writes from its own derive and decoder (ten seeds’ four hashes; 32 datum encodings and what each reads as), and extension/tests/fixtures/lovejoin-shown.json (ten scenarios of the earliest of each value), read by both sides’ tests. The data layer’s CI runs when either changes, or the token list.The data layer (mainnet, db-sync alone; Kupo indexes neither the holder nor the token pools):
lovejoin/pools: every shown pool as of the stable cursor (its reference UTxO, seed, two scripts at the holder named by their hashes, its launch’s place and its crowd), and the classic pool’s crowd.lovejoin/tokens and /since/{cursor}: every shown pool’s boxes, read as the classic pool’s routes are, each with made_by (mixed per its own pool), and the pools covered: those shown as of the cursor, or of from’s.lovejoin/pools is worked out once per cursor, off any request, and kept an hour; a request waits up to its 5 s, then gets the last list.TokensDown).The wallet:
PoolDiscovery): the data layer’s list at each pool read, at most every 5 minutes, each pool verified again in WebAssembly; or, when the Lovejoin page opens (lovejoin-look-for-pools) and the data layer hasn’t answered within those 5 minutes, Koios’s holder from the last height looked to, less 20 blocks:
tx_info (inputs and certificates, 20 a request); for a launch that didn’t register L, L’s account_update_history;seedelf.lovejoinPools.<network>, unsealed (the same for everyone; the height dates the last look; deleted with the wallet): every standard pool, its scripts named by their hashes alone, which WebAssembly fills in from its own derivation. Rejected candidates aren’t kept: the next look starts past them.src/lovejoin-pools.json): written by npm run lovejoin-pools with the wallet’s own look against the real Koios, and checked on every test run (each pool verifies, none is a copy). Today: no standard pool on either network; preprod looked to block 5,299,707, mainnet to 14,080,490.LovejoinService): pools is discovery.known, after the data layer’s refresh. A token pool’s rows come from lovejoin/tokens for the pools it covers, each box’s making with it, so nobody is asked what made a token pool’s box while the data layer answers (34a′’s For later steps, done). A pool it doesn’t cover, or all of them while it says 503 (TokensDown, which leaves the part up), comes from Koios, in the classic pool’s request when that goes to Koios too.classic, fed); a box of a pool read from Koios is Koios’s to say, and so is a transaction that made boxes in both.Tests: core’s vectors (2), the ADA pool case in lovejoin_pools_test.rs; the data layer’s rule, settling and assembly tests, 5 crowd tests and the 503 route test (scripted_kupo.rs); WebAssembly’s candidate, launch check and hash-named scripts (lovejoin-pools.test.mjs); the extension’s lovejoin-discovery.test.ts (13), three feed tests in lovejoin-pools.test.ts, the head start’s check, and Remove wallet’s caches. The classic pool’s tests and 1.5.0’s gate pass unedited. Against the real preprod Koios (LIVE_KOIOS=1): the holder, a launch’s tx_info with tx_block_index, and registrations read as discovery reads them.
An independent review of the diff, adversarial, found these. Each is fixed, with a test where one can run offline:
npm run lovejoin-pools, at block 5,299,707 on preprod) moved their look past the fixture’s launch: five failed. A test now gives its own head start (headStart), and one checks the bundled one is where a look starts.TokensDown.SETTLE_MS), the height held short of it until then.Math.max(...) past about 125,000 rows): a fold now.tokens/since covers the snapshot’s pools (the server’s newer-cursor case is checked server-side); privacy.md’s wording of the fallback request, corrected.Waiting on the owner: the server’s queries against home’s db-sync (Production Reads are the owner’s to run), from seedelf-data/:
cargo test --test live_lovejoin -- --ignored --test-threads=1 --nocapture. It checks that the combined feed’s queries give the classic route’s rows field for field when given the classic pool’s mix box, that the classic pool’s crowd counts the route’s boxes, and that every candidate at the holder is read and checked; with --nocapture it prints each one’s verdict and the classic pool’s crowd.
For later steps:
discovery.known; a launch whose L an earlier block registered needs no cert and is still standard, but one registered in the same block isn’t.PoolDiscovery.crowdsOf (the data layer’s; none on Koios, which shows boxes alone), through an RPC of its own; the pools grouped by token from known.npm run lovejoin-pools with the other lists; the policy’s Changes entry names the new reads: the data layer’s lovejoin/pools and lovejoin/tokens, and on Koios the holder’s outputs, launches’ tx_info and L’s registrations.Branch web-wallet/token-pools-flows, from main 87e83cb. The step’s row as built: the tile’s flows per pool, Bootstrap in place of the seed, a pool’s start from either side, the withdraw’s escape hatch, and Activity. Core, WebAssembly and the worker; the screens are 34f’s, and today’s page changed only where the worker’s change would have made it untrue. Claude’s choices, the owner’s to overturn.
Core (seedelf-core/src/lovejoin/)
Terms.token is optional. A 10 ₳ ADA pool is refused before anything is built, as a copy of the classic pool’s value.launch_from_account, AccountLaunch): the public account’s UTxOs, picked as an account-paid mint picks them (pure ADA first, the largest first), the first of them the seed; its own collateral; the change to its 0/0; valid until a slot, as the account’s transactions are. It’s measured in the wallet, never as a draft through Ogmios. One step makes what a launch makes for both payers (made): the same outputs in the same order, the same certificate, the same checks.box_value.rs): way_back, least_box_lovelace (about a dozen ways back, about 20 ms each natively) and suggested_box_lovelace, the least plus 0.25 ₳ rounded up to 0.5 ₳. Every token S0d measured comes to 4.5 ₳, as session 1 (14) said. S0d’s test now holds core’s search to its table, and to an ADA pool’s least, 3.45 ₳.comes_back beside usable: whether a box already in a pool comes back, whatever a new box’s minimum is now. It’s the escape hatch’s question; usable stops at the minimum first.MAX_TOKEN_DEPOSIT_BOXES): 71 boxes of the worst token fit with two inputs, and 64 with 31, the same room the classic pool’s 96 leaves.WebAssembly
poolRef). The classic functions keep their signatures, the pool-aware forms are *_in beside them, so the classic tests run unedited.buildLovejoinLaunchFromAccount; lovejoinBoxValue (least, suggested, a token pool’s most); buildLovejoinWithdrawPaid, signed by the paying UTxO’s key and the collateral’s. Both launches report L’s reward account, for the worker’s account_info.The worker
poolNamed): the classic pool, or one discovery found and WebAssembly verified. Any other is refused, so a mix only goes into a pool every wallet is shown.mixOutBuild, againBuild, publicBuild, publicAgainBuild, funding and fits. Each chain records its pool (pools) and each leaf’s, so its boxes get that pool’s due times. A swap’s or a site’s return still goes to the classic pool (34e).bootstrap): a chain record and a mix entry marked so, held by 34a′’s rules until brought back by hand. At most 96 boxes in the classic pool, 64 in a token pool; from the private balance, as many as its funding’s reserve pays the deposit for (privateBootstrapMost, review 3 below). funding keeps 1.5.0’s shape (seed at depth 0), since 1.5.0’s gate holds it; a mix session renames it. A seed record from before reads as it did, and its boxes still come back by themselves.lovejoin-launch.ts):
terms: what a box may hold (least, suggested, a token pool’s most) and the token’s shown pools, to join instead (14). Worked out in WebAssembly once an epoch per token and Q.build checks first: the token in the list (20); Q a whole number; not a copy of a shown pool’s values (11), once discovery has looked; an ADA pool not 10 ₳ (17); the box at least its least and, for a token, at most 9 ₳ (27). The fee cap is 1.5 ₳, under the box’s ADA.account_info whether something registered L already (it checked 30 boxes’ worth in the token’s supply too, asset_info, until call 35): then the build without the certificate goes, still standard (34c), if it makes the same pool or its own L is registered too (review 4 and 7 below).launches): no rule reads it, and the pool is read from once discovery finds it, as every wallet’s is (§3).comes_back, a withdraw built in WebAssembly).STUCK_WAIT_MS (6 h) and a spread, rather than built and refused every minute, each try costing a pool read.status says so per pool (cantComeBack), for the page’s offer.withdrawNow’s paid brings a box back with the public account paying. The withdraw it keeps names its box and that it was paid; the private history’s entry has no fee of its own.lovejoin-launch, told apart as a stealth mint is: the account’s carries a slot.lovejoin-mixes, lovejoin-bootstrap-release, lovejoin-launch-terms, -build and -submit. The tile’s builds take pool and bootstrap, and lovejoin-withdraw-now takes paid.The page, only where the worker’s change made it untrue:
lovejoin.bootstrap.*, beside the worker’s and Activity’s new ones, in es and ja. The critical ones, and eight more, were back-translated by an independent agent that saw only the Spanish and the Japanese. Its findings were applied, two of them the English’s own (the note under Bring them all back read as a contradiction, and the box value’s minimum as ambiguous).Tests: core’s launch (7), box value and pools tests; WebAssembly’s lovejoin_flows_test.rs (7); the worker’s lovejoin-flows.test.ts (14): a mix into the token pool from either side, end to end; Bootstrap from either side; a pool’s start and every refusal; the escape hatch; Activity’s names. Also the screens’ BootstrapHeld, the seed’s tests made Bootstrap’s, and the e2e offer. The classic pool’s tests and 1.5.0’s gate pass unedited.
The review’s findings, fixed (2026-10-18). An independent adversarial review of 84c2775 found nine; each is fixed, with a test.
split read one pool, so fits, againBoxes, a session’s chain, publicBuild and publicAgainBuild sent credential_utxos for that pool’s mix_box alone. It lists the whole read set now, as a status read does, and takes the pool’s rows. Test: every read naming a mix_box names both pools, through fits (either pool), room and a token mix’s publicBuild.lovejoin-launch is in PRIVATE_SPENDS; the account’s launch carries a slot, as an account-paid mint does. Tests: private-refresh.test.ts, either side.bootstrap_most builds the deposit from one UTxO of funding_for(n, 0, box) and the boxes’ token, its change at a base address, and finds the most it pays for by halving. The worker’s privateBootstrapMost asks WebAssembly (lovejoinBootstrapMost) once an epoch per pool, and mixOutBuild refuses more with “Bootstrap 1 to N boxes at a time.” On preprod’s parameters that’s 53 classic boxes, 40 of LJTEST and 35 of the worst token. (Since 1.6.0’s release review, 318-rust#0: the cap builds the deposit and its sweep back, which the funding pays 1.5 ₳ more for: 96 classic boxes, 64 in a token pool, on today’s parameters.) Growing the reserve instead would have changed 1.5.0’s funding at depth 0, which its gate holds. Tests: core’s a_private_bootstrap_is_held_to_what_its_reserve_pays_for (N builds, N + 1 doesn’t); the worker’s refusal before giveme.my is asked, with the public account’s cap unchanged.account_info says its own L is registered too; otherwise it refuses (lj.launch.otherPool) and nothing is sent. Test: a build without the certificate made to name another pool is refused, then sent once that pool’s L is registered.build calls discovery.look first, the request every wallet makes. Test: a pool the look finds refuses the start as a copy.mixes) still brings its box back by itself once someone else’s mix moved it, as a Bootstrap’s never does; a private Bootstrap’s chain is recorded bootstrap, with its session and no due time, once its funding lands and the session runs.asset_info and account_info went out at review. Both wait for Send now (see 4), before anything is sent; the review asks only what any spend asks. Test: neither at build, both at Send before submittx.from missing or malformed launched from the public account. Refused (lj.launch.from) before anything is read. Test: undefined, “”, “account” and “Public”.watchSent’s toAccount, and settleWithdrawing). Tests: the escape hatch’s, at both moments; private-refresh.test.ts for the watch.The two new strings (lj.launch.from, lj.launch.otherPool) are machine drafts in es and ja; neither is in the critical set.
For later steps:
MIX_FEE_ESTIMATE, per_box), and D3.lovejoin-mixes);lovejoin-launch-terms, -build, -submit);status.pools[].cantComeBack, then lovejoin-withdraw-now with paid);account_info (and named asset_info until call 35), the account-paid launch and the escape hatch; and the launch’s first real submit on preprod (S0c).Branch web-wallet/token-pools-planner, from main 9cb97a3. The step’s row as built: each pool’s costs, a return’s tokens through their own pools (§6, §7), Change, a swap that funds its token’s boxes (33), and D3. Core, WebAssembly and the worker; the screens are 34f’s. Claude’s choices, the owner’s to overturn, but 33, the owner’s.
Core (seedelf-core/src/lovejoin/mod.rs)
mix_fee_estimate): 0.95 ₳ three wide, as ever; 1.35 ₳ four wide (1.214 ₳ measured on mainnet’s classic pool and 1.227 ₳ on a token pool, and about a tenth); and 0.15 ₳ more a mix for a pool whose scripts no reference carries (0.114 ₳ measured). per_box_in, boxes_affordable_in, funding_for_in and again_*_in take the pool and the width. The classic pool three wide is the old functions exactly, at every depth and count (a test holds it).deposit_across is one deposit: each leg’s boxes at its own mix_box and value, then the token change, then the ADA change. chain_across fans each leg out in its own pool, a leg at a time, every mix paid from the one before’s change. One leg three wide is deposit_from and chain_from byte for byte (a test compares the transactions); both are now that one leg.plan_across: the token pools first, each taking as many boxes as its token makes (Q each), its most and the ADA allow; then the ADA’s from what they leave. It keeps back the least the tokens left need in their own change output, and nothing when the boxes take them all.mixes_per_box_at ((width^depth − 1)/(width − 1): 1, 5 and 21 four wide), fresh_for’s width − 1 others a mix, fan_out, again_at, check_width (3 or 4).WebAssembly
Wide) and a return’s pools (Across: legs, fills, params) are read on their own, as poolRef is. The classic native tests build their request structs field by field, so a new field would have edited them; *_at sits beside every *_in, three wide.plan_across_pools, chain_across_pools: a session’s own UTxOs holding a leg’s token, or fills’, go into its deposit, and never a stranger’s. PlanResult.legs and ChainResult.legs give each leg’s boxes, a leg’s leaves in that order among leaves. One pool named twice, or a token into two pools, is refused.The worker
lovejoinWidth, 3 by default (its switch is 34f’s). widthFor: four goes when it takes every box it pays for, or as many as three would. Otherwise it goes three, and says why (fellBack):
lj.width.warn.short);long);cost);refused), so it’s built again at three.Never fewer boxes for the width, nor a box back unmixed. It applies to the tile’s mix from either side (fits, publicBuild), mixing again from either side (againBoxes, publicAgainBuild), and every session’s chain (fanOut, acrossOf).
mix.width), whatever Settings says since: a session funded for three, sent four wide, would come up short. A swap’s approval keeps its own (auto.lovejoin.width). Either without one is three, as 1.5.0 went.CHAIN_WINDOW_FOUR, carried as the progress’s own window).width: 4 (ChainRecord, LovejoinChainView, LovejoinMixView’s chain): a chain’s view says which width it went at (session 1’s open question). How to word it is 34f’s.acrossOf, §7):
crossCheck, its deposit and the change it spends as additionalUtxo).auto.fills, outcomeOf). None from before.session-back-build’s pools, Change: by the token’s unit, a null for back directly) or the approval’s. Otherwise, the token’s most used pool that takes a box now: not under its floor, with room for a box, and usable (a new box’s minimum and its way back, measured once an epoch). Among equals, the earliest shown.only): one it didn’t name comes back directly, and so does one whose approved pool can’t take a box now.SessionBackSummary.lovejoin gains parts (each pool’s boxes, pool none) and ways. Each way is a token: its pool, its boxes, the pools Change can offer, and why it came back directly, if it did (lj.tokens.skip.warn.*, or sess.skip.warn.noBox when the ADA left pays for no box of it). The chain’s record has the token pools’ shares (pools) and each leaf in its pool.SwapLovejoin.ways and fund: floor(minAmountOut / Q) boxes, at most what a chain, a deposit and the pool’s room take, at the review’s depth and width.quote.fund, which stays the approval’s: withinFunding checks what leaves the account against the swap’s own alone.session-out-build’s pools is Change. As the user types, the quote names the token’s first shown pool with no request; the review reads every pool’s room once, and the parameters once for whether each is usable.ifStopped).rooms, room(network, pool)): one listing, as any read is, kept POOL_ROOM_MS. poolsOf and usable serve the review.Strings: six new accuracy-critical keys, lj.width.warn.* (4) and lj.tokens.skip.warn.* (2), the worker’s reasons, in es and ja. An independent agent that saw only the Spanish and the Japanese back-translated them. It found the Spanish “mezcla” with no subject (in cost, readable as the ADA doing the mixing), “sus” and “para él” loose for a token, and “alcanza a pagar”. In the Japanese, 件 with no noun read as transactions, 空きボックス as empty boxes, and トークンに選ばれた as chosen by the token. Each was rewritten. The round is “Chunk 34’s 34e round” in verified-critical-*.json.
Tests: core’s lovejoin_planner_test.rs (9): the classic pool three wide as before, each pool’s estimate, plan_across, a deposit and a chain across pools, four wide and short for four. WebAssembly’s lovejoin_across_test.rs (4): a return’s plan and chain across pools, a fill’s token in and a stranger’s out, four wide, the width read on its own. The worker’s lovejoin-planner.test.ts (13):
wayOf for each kind of session, and poolChoice;fits, and the funding at four;The classic pool’s tests and the 1.5.0 gate pass unedited. The two preference tests that list every setting gained the width.
Claude’s calls, the owner’s to overturn:
Where it stands (2026-10-18). Built on web-wallet/token-pools-planner. The review’s ten findings below are fixed, each with a test that failed without its fix. Every check passed on the final tree: cargo fmt --check, clippy -D warnings (crypto, core, wasm), cargo test --workspace --locked (618), wasm/build.sh then node --test (53), npm run typecheck, Vitest 2,258 both builds (VITE_ENABLE_MAINNET=false too), npm run build:ext and e2e 100/100. Not run: the store build’s e2e (CI’s last step: never package.mjs in the main tree), and nothing on preprod. Next: commit (code, then docs), push and open the PR into main, as 34d’s #318 went; then 34f.
The review’s findings (2026-10-18, each fixed with a test). An independent adversarial review read the diff (no code run) and found ten. Line numbers are the tree’s before the fixes. The tests are in lovejoin-planner.test.ts’s 34e’s review findings (3’s in swap-runner.test.ts, 8’s in core’s lovejoin_planner_test.rs).
chain returns acrossOf’s chain or its throw (lovejoin.ts ~2434). buildBack’s leftOut (sessions.ts ~3726) then returns it all directly when only the token leg failed: its pool’s first mix refused by the network, a PoolShort for that leg, or a deposit over 16 KiB or short of ADA. 1.5.0 would have mixed that ADA. Fixed: a Lovejoin failure across pools (narrower) builds the classic pool’s chain alone, from the same read; each token that was to go in comes back directly, skipped with lj.tokens.skip.warn.failed.ways to Change from. tokenWay (sessions.ts ~1383) caps a swap’s token boxes by the chain, the deposit and the room, never by what the private balance pays beside the swap. With a box worth about 10 ₳ that’s about 9 boxes, about 76 ₳ more, and buildFunding refuses (sess.notEnoughPrivate). The pool read also comes before a funding that then fails. Fixed: a funding refused for the private balance (NotEnoughPrivate, by its type) is built again with the token’s boxes at none, the token back directly and skipped with lj.tokens.skip.warn.balance. A swap the balance can’t pay at all is refused as before. The pool read before it stays: it’s the one listing every read is, kept POOL_ROOM_MS.auto.fills takes every arrival as the fill (sessions.ts ~3018). A stranger’s UTxO holding 1 of the approved token and hundreds of junk assets goes into the deposit. Its junk’s least ADA comes from the user’s spare, and the junk comes back as the session’s own token change; enough of it pushes the deposit past 16 KiB, which through 1 sends it all back directly. Fixed: a fill is a transaction whose every UTxO at the account holds ADA and the swap’s tokenIn/tokenOut alone (fillsOf).againBuild funds at Settings’ width after againBoxes fell back to three. againBoxes names its width only when it’s four (lovejoin.ts ~2305), so funding(..., undefined) reads Settings’ four, records mix.width: 4 beside a fellBack saying three, and over-funds (about 16 ₳ a box at depth 3; it comes back with the return). mixOutBuild reads Settings twice the same way (sessions.ts ~1614). Fixed: both callers pass on the width chosen, three when none is named. fits and againBoxes return what they did, so the classic tests run unedited.priced’s poolShort and fits, tokenWay’s room and stopCost use four’s need: a pool with room for three but not four reads “comes back directly” while the return falls back to three and mixes. Fixed: one rule for every chain’s width, wayOver (fanOut, acrossOf, the review). The review weighs the token’s boxes and the ADA’s together, as one chain goes, and shows three with fellBack (new on SwapLovejoin) where four can’t take what three would. Its approval keeps that width. ifStopped and Stop’s dialog go from that width down, as the return does, each with its own width/fellBack. skipped is three’s.collateralWanted uses Settings’ width (sessions.ts ~3831): at four, a session whose spare pays a three-wide box isn’t offered Put in 5 ₳, and reads noBox. Fixed: priced at three.fanOut’s and acrossOf’s rule; againBoxes, publicAgainBuild’s count(4) >= count(3) at 0). Fixed: four only when it takes a box (wayOver, againWay).plan_across keeps the reserved plan as soon as it leaves tokens (mod.rs ~1516), one token box short at a boundary. Fixed: the unreserved plan is tried first and kept when it leaves no token.readSet now runs where it didn’t, and can ask the data layer for its pool list (discovery.refresh, throttled by REFRESH_MS): a swap’s quote as the user types (tokenWay → poolsOf), and a return whose spare pays for nothing (acrossOf before countAt’s gate). usable adds an epoch_params read at review. Fixed: a new dep, known (discovery’s kept pools, asking nobody), serves the quote and acrossOf’s first look (readSet(network, true)). funding takes the pool as read, so the quote asks nothing at all. The review reads the parameters once, for usable and the funding alike (readContract’s known).wayOf gives {} for a swap with no auto.lovejoin, which then goes at Settings’ width (maybe four) where the plan says three; and a swap’s token leg at return isn’t capped at the approved boxes, so a fill above minAmountOut can take more token boxes, and the classic leg’s ADA, than the review showed. Fixed: such a swap goes three wide (its Stop dialog too). The approval keeps each token’s boxes (auto.lovejoin.tokenBoxes), and its return takes no more (ChainWay.returns.most). Change at a return’s review isn’t capped: that review shows what it builds.Found while fixing: core’s one_leg_deposits_exactly_as_deposit_from passed about half the time. pallas-txbuilder keeps an output’s tokens in a HashMap, so a token change holding two policies is written in either order, by chance, and so is the deposit’s id. That’s harmless on chain and true of every builder in the workspace. The test now compares byte for byte with one policy, and with two compares the transaction as the ledger reads it, its tokens sorted (read_tx).
The strings: two new accuracy-critical keys, lj.tokens.skip.warn.balance and .failed, in es and ja, back-translated twice by independent agents that saw only the Spanish and the Japanese (“Chunk 34’s 34e review round” in verified-critical-*.json). The first pass found the balance reason readable as the swap itself being short, in the English too. All three languages were rewritten.
Claude’s calls in the fixes, the owner’s to overturn:
The fixes’ review (2026-10-18). An independent read-only review of the fixes found no money bug in the worker’s arithmetic, confirmed each test above fails without its fix for the reason it states, and found three wide unchanged, the reservations sound and the reads within the listing rule. What it found is fixed, each with a test that fails without it (lovejoin-planner.test.ts’ 34e’s fixes’ review; 7’s public side in lovejoin.test.ts), but where said:
NotEnoughPrivate alone. A funding whose token boxes took more of the private balance’s UTxOs than one transaction spends (a balance of returned 10 ₳ boxes) still refused the swap. Now any failure but what another try may mend builds the swap’s own funding again; the swap’s own failing too is refused as before (tested)..failed, over the noBox a leg had this time. Each try now starts each way afresh, and the fallback marks only those with no reason yet. No test of its own: a token leg with no box beside a classic box can’t arise, as the token legs are paid first; the path is the first round’s 1.mixOutBuild’s half of the first round’s 4 has a test now too: Settings changed between the pool check and the funding.auto.lovejoin.fund).funding threw on a pool: null from a page (typeof null is “object”), which the old code read as the classic pool. Fixed there, and the handler passes a string or nothing.Left open:
fundParts (ui/swap.ts) counts lovejoin.fund as room for network fees. With the ADA’s boxes at none (a typical ADA→token swap) the review says it all comes back at once, though the token goes into its pool. There’s no Lovejoin switch when quote.fund is under about 15 ₳. The ifStopped line quotes quote.fund while counting fund too. And skipped (the classic pool short) hides the cost while the token still goes. 34f’s review takes these; no build from main ships before it (a 1.5.x hotfix would branch from 1.5.0’s commit).noBox, not why its token came back (chain carries no ways without a chain).Found sound: one leg three wide byte for byte as before; the fan-out at a width; indexing of legs, leaves and each leg’s first mix, and crossCheck’s additional UTxOs; the records’ pools, leaves, width and window; strangers’ tokens kept out; protocols_of, poolChoice, namedFor; narrower’s exclusions; one listing for the rooms; the i18n keys.
For later steps:
ways[].pools, with session-back-build’s and session-out-build’s pools. fellBack’s words on reviews, and a chain’s width on its view.3 ** depth (Settings, the Lovejoin page, LovejoinReturn), their costs, lovejoin.mix.privacy.waves_* (“two others, and three boxes come out”), and lovejoin-mix-width.md’s “So the width stays three”.collateralWanted counts the classic pool’s box alone, so a session whose only box would be a token’s isn’t offered Put in 5 ₳ for Lovejoin.lovejoin_width_test -- --ignored), then four wide and a return across pools on preprod (Verification’s step 8). No new reads for the policy’s Changes: a review’s pool read is the one every read is, and its parameters the ones every build reads.Branch web-wallet/token-pools-screens, from main 6ca8016 (after #319 merged). The screens over 34d’s and 34e’s RPCs, drawn from session 1 (4, 5, 13, 14, 16), and 34e’s release blocker. Mostly the extension’s UI; the worker gained only what the screens had to read. Claude’s choices, the owner’s to overturn: none was asked this time, and every one is listed under Claude’s calls below.
Lovejoin’s page is a hub (Lovejoin.tsx; session 1, 4, 5, 13):
lovejoin-mixes’ entries, each joined with its private mix session where it has one (mixItems), and the mix sessions with no entry (a funding on its way, never sent, or over with its boxes back, the last few). Each card says what went in and where (“2 boxes of 10 ₳, 1 box of 100 NIGHT + 4.5 ₳”), who paid (a private session; a swap’s or a site’s return; the public account, by name with several), how many are back (and mixed again), four boxes a mix where it went four, and a Bootstrap’s hold (Held; Coming back once released). A private mix keeps its stage, Stop and Try now. A chain stopped is said under Chains while it’s listed there, and on its card once it’s gone from there.ui/lovejoin-pools.ts): ADA’s first, then the tokens held in either balance, then the most used (boxes not the wallet’s, all its pools together); in a group, the busiest pool first. Each row: what a box holds (boxText: “10 ₳”, “25 ₳”, “100 NIGHT + 4.5 ₳”), its crowd (crowdText), the wallet’s boxes in it, and its page’s news (not mixed yet, held by a Bootstrap, can’t pay its way back, Being started: 12 of 30 boxes with a bar, You started it). Search shows past four token groups. A start the wallet sent that no look has found yet is said under the pools.A pool’s page (PoolPage, the classic pool’s too): its box value as the title, its crowd as the aside (the classic pool’s “The classic pool · …”), the wallet’s boxes, where the data layer counted them the deposits its boxes could have come from (an ⓘ), its launch on Cardanoscan (the explorer’s warning when this wallet started it), the escape hatch, the box actions, Mix and Bootstrap, each scoped to this pool (Bring one back now names it: lovejoin-withdraw-now’s pool). The hub owns the reads and every poll (sessions running, a public mix being sent), so they go on while a pool’s page is open, and a Send comes back to the hub, where the mix is followed.
lj.width.warn.short) and three’s room decides.Start a pool (LovejoinLaunch.tsx; session 1, 10, 14, 17, 20, 21, 23): the token from the wallet’s list (held first) or ADA; Q in the token’s units; each box’s ADA, suggested, with its least and, in a token pool, 9 ₳ as bounds (lovejoin-launch-terms, asked once typing pauses); the token’s pools already shown, with their crowds, each opening its page (a copy highlighted, and Review off with why); Pay from, two tabs, private by default. The review: each box, who pays, what never comes back (the reference UTxO, the two scripts, the stake deposit) and its total, the fee, the total leaving and the balance after, “at most” for the deposit, what’s public, the floor, and the no-audit note. Sent: the pool shows once a look finds it, and Bootstrap is offered from its page, never forced.
Reviews:
swaps.plan.backTokenPool); the switch shows wherever a token’s boxes go or a pool could; What you get, on the way back names the pool with Change; the stop line quotes the whole funding; and the token’s costs stay shown while the classic pool is short. Moving the switch or Change builds the funding again (session-out-build’s new through, and pools): off, no token’s boxes are funded. Four’s fallback is said, on the approval and in Stop’s dialog.partsText), its tokens under Its tokens with Change (TokenWays), the width. Bring everything back names each pool’s boxes, no Change.Elsewhere: Settings’ Four boxes a mix switch, each depth priced at the width (depthCost), and a line that a token comes back through its own pool. Home’s In Lovejoin, a row per pool with something there. A site’s way back priced at the width. The chain rows say four boxes a mix where they went four.
The worker, for the screens:
LovejoinStatus.crowd, .started; LovejoinPoolStatus.crowd, .launch, .mine: a new LovejoinDeps.facts (discovery’s launches and the data layer’s crowds, from the device), wired in sw.ts.lovejoin-withdraw-now’s pool: with no box, one of that pool’s boxes (“classic” for the classic pool), never another’s that waited longer.session-out-build’s through: the approval’s switch over Settings’.values: SessionBackSummary’s lovejoin, SwapLovejoin; LovejoinChain inside); LovejoinHeld.pools[].box.collateralWanted counts a box of a token the session’s own UTxOs hold, in a shown pool its spare ADA pays for (34e’s For later steps): Put in 5 ₳ for Lovejoin is offered for a session whose only box would be a token’s.Strings: about 130 new keys in en, es and ja; the “10 ₳” keys became the pool’s value (lovejoin.boxesOf, lovejoin.mixes.boxesOf, claim.andBoxesOf, …), English byte-identical for the classic pool. Seventeen are accuracy-critical, back-translated by independent agents that saw only the Spanish and the Japanese, thirteen of them twice (“Chunk 34’s 34f round” in verified-critical-*.json). The first pass found the English itself ambiguous in three (“not whose” with no noun, “the rest” readable as the other UTxOs, an unnamed fee), and all three languages were rewritten for them.
Docs: flows.md (the hub, a pool’s page, a token pool’s mix, four wide, Bootstrap below the floor, the escape hatch, Start a pool, a return’s tokens and the swap approval), architecture.md (the screens), privacy.md (the hub reads nothing new; why a crowd counts boxes not yours), lovejoin-mix-width.md (four is a choice since 1.6.0).
Tests: tests/lovejoin-hub.test.ts (30): a box’s value in words, the groups’ order and search, the crowd line, the pool rows and their news, the hub’s first rows (classic-only word for word, across pools, hidden), Your mixes (order, cards, hidden counts, a stopped chain), Change, the swap approval’s (all but the switch-off case fail on main’s screen), a mix’s reviews in a token pool and four wide, Home’s rows and gate, Settings’ switch. lovejoin-pools.test.ts (7 new): the facts, none on Koios, Bring one back scoped to a token pool and to the classic pool, a pool page’s own errors, a start aged out, the held pool’s box. lovejoin-planner.test.ts (4 new): the switch-off build, a return’s values, the token collateral offer, and a swap’s fill for it in its approved pool. Each worker test fails without its fix. The e2e’s Lovejoin tests take the hub’s extra tap, and the floor’s test Bootstrap leading. A screen harness (the scratchpad Vite harness over the real components) rendered the hub, each kind of pool page, the launch form and review, and the swap approval, for the visual check.
Checks (2026-10-18): npm run typecheck; Vitest 2,299 on both builds (VITE_ENABLE_MAINNET=false too); npm run build:ext; e2e 100/100. No Rust changed. The Lovejoin e2e under taskset -c 0,1 … --repeat-each=4 --workers=4: two steps fail under that load, and fail the same on main’s build (checked in a worktree): the first pool read after a restore (its assertion now waits 15 s, sized to the read) and Home’s banner once a public mix lands (20 s already). Not run: the store build’s e2e (CI’s), nothing on preprod (34g).
The review’s findings (2026-10-18, each fixed with a test that fails without its fix, but where said). An independent adversarial review read the diff and ran the suites; it found the approval’s totals, the pool scoping, the hidden balances, the classic pool’s words and the hub’s effects sound, and twelve issues:
inLovejoinShown counts every pool.swaps.lovejoin.privacy.tokenRest), and onToken says whole boxes.widthFor goes; falling back, the funding is asked at three (lovejoin-funding’s new width). Checked in the harness.collateralWanted didn’t count a swap’s fill, counted a token its approval sent back, and strangers’ with no session: it follows wayOf now..warn. keys now, back-translated; lovejoin.boxesOfTen, removed, left the verified lists.Claude’s calls, the owner’s to overturn:
For 34g:
Branch web-wallet/release-1.6.0, from main e6b5dae (after #320 merged); sessions 1 to 3 committed as 8cc0044 (code) and 030fdcf (docs), the last review’s fixes on top (The last review below), and session 5’s three owner calls on top of those (the owner: “start 34g”, then “get a handoff going right now so we can continue this into a new context window”). The step’s row: Claude’s preprod rehearsal in dev mode, the release review across everything since 1.5.0, its fixes, the policy’s Changes entry, the lists and the version; then the owner’s rehearsal by hand, the PR, the deploy and the upload. #321 merged sessions 1 to 10 into main (68150b39) and #323 Session 11 (web-wallet/collateral-mix, 499768f6); Session 12, the release review, is on web-wallet/review-1.6.0.
Done: every step this section names happened, and 1.6.0 shipped from babb8e76 (#324). What it left is in post-release-roadmap.md’s Kept in mind; what follows is the record.
Next (Session 12’s Left): the final checks on rounds 3d and 4; then Claude’s live run on preprod (the collateral’s mix through the real giveme.my with a lock and unlock mid-chain, a private Bootstrap, and the repaired live harness); e2e on the final tree. The owner’s: the live db-sync tests, their own test of item 11, what’s left of item 4 under Before session 5, Session 12’s calls with the policy’s date, and the earlier sessions’ (Session 9’s, 10b’s six, Session 10’s and Session 11’s). Then the PR, CI green on every step; after the merge, the API’s deploy, status and the curl checks, then the package, the upload and the record PR.
Branch web-wallet/review-1.6.0, from main at 499768f6 (#323’s merge), committed as it went: d5fa7ede (the review, and the fix round’s first edits, cut short when the laptop’s editor crashed under the load), 9978654a (those made to build, on the other computer), c87d8dfc (the fixers’ brief), fc8561c7 (round 1), e43eef7f (round 2), 8cd8ce08 (the lists and vitest), 56dce2cd (round 3), 3ea05dc1 (round 3b) and 677715db (round 3c, and the docs). It’s the step’s release review, across everything since 1.5.0, and its fixes. The working record was compressed into archive/plans/review-1.6.0.md once the PR was ready (the owner, 2026-10-26). Its full text (HANDOFF.md, FINDINGS.md, the briefs, fixes/ with each fixer’s report and review/ with each reviewer’s) is in git at 7e2d89ed, and that file’s The IDs says where each family is. What should outlast it is here, in this session.
The review (2026-10-24), read-only, of #308–#323 at 499768f6: 33 slices, one reviewer for each small PR and two to five for each large one (#314, #317–#321, #323); seven lenses across them (privacy, the 1.5.0 upgrade and the classic pool, release readiness, Spanish, Japanese, and two end-to-end scenario walks); then a completeness critic, whose three gaps each got a probe. A skeptic per slice tried to refute every finding, and every high and medium was then reproduced on its own, most by a throwaway test that failed on the tree: 83 agents. 136 findings: 8 high and 8 medium, each confirmed twice; 78 low and 22 nits; 16 owner’s calls; 4 refuted.
The highs were three problems:
62162483), left a private Bootstrap’s session 1.5 ₳ beside its boxes, and the deposit’s change, about 1.33 ₳, can’t pay a sweep back into Seedelf (an output’s least is 1.456780 ₳, plus the fee). So the chain failed, and the session came straight back, a second fee paid and no box in. Two unit tests went red with it (x-compat#0, docs-small#0, x-release#0), so CI’s build and e2e never ran on #323, which merged while its check was still running, 12 minutes before that check failed; web-wallet.yml runs on pull requests alone, so main looked green.The mediums: Bring every box back now ended before a just-sent chain’s boxes landed, wiping their due times (321-lj-worker#0); the swap and site approvals’ totals left out the collateral’s mix (323-worker#1); Remove wallet went ahead at the first yes while a payment’s parts waited (gap-1#1); after a restore, a session funded in parts brought back only one part’s tokens (x-scenarios-sessions#0); a public Bootstrap’s banner said its boxes were on their way to the private balance (318-worker#0); a public deposit’s box came back tied to nothing (316#1); the Collateral page opened from Home raced Home’s watch (309#0); and this step’s own gate, still open (x-release#1): the collateral’s mix never ran live or through the real giveme.my, and the owner’s live db-sync tests and calls wait.
The fix rounds. Fixers in the one tree by file ownership, each fix test first: seen failing for its reason, fixed, then mutation-checked (the fix undone, the test failing, the fix put back). Words in en, es and ja together; no refusal the chain wouldn’t make (a warning or a visible choice instead). The lead rebuilt the WebAssembly, ran the suites and committed each round.
fc8561c7), 16 fixers in three lanes: the Lovejoin worker (bootstrap, wlj-1 to 4); the Rust and the problems across layers (deep-datum, pool-exists, max-left, reserve, rr-1, rr-2); docs and words, then the sessions worker (docs-1, docs-2, i18n-existing, wss-1, wss-2). Phase A’s data fixer had finished its four seedelf-data fixes before the crash (in d5fa7ede, with no report of its own). 84 findings fixed, 10 in part (their screens’ halves went to round 2), one CLI-only finding left for a CLI pass (321-parts-rust#0), and one owner’s call answered with warnings (321-parts-worker#2).
BOOTSTRAP_BACK_RESERVE (1.5 ₳, read through lovejoinBootstrapReserve) beside the deposit’s 1.5 ₳, so it’s funded with its boxes plus 3 ₳, and what isn’t used comes back; the deposit lands, and its change is swept back with nothing put up. The cap is what one funding pays a deposit and that sweep for, both built to find it (bootstrap_most): 96 boxes on today’s parameters, 64 in a token pool, where it was 53, and 40 of LJTEST. A Bootstrap funded with no collateral is marked (mix.noCollateral), so its return never puts up a stranger’s 5 ₳ (323-worker#4). One funded between 62162483 and the fix (dev builds only) goes in with one box fewer, whose ADA pays the way back, and a one-box one comes back directly. The review shows For returning the rest as its own row.cbor::MAX_DEPTH (128 levels), or isn’t one CBOR item, is no reference, in core (resolve_reference, post_alonzo), WebAssembly (protocol_of skips it, so discovery never keeps the pool) and the data layer (standard.rs) alike; the shared vectors were re-recorded on purpose (scriptRowDatums). A RangeError thrown inside WebAssembly is a trap now: the wallet locks at once, with a fresh instance.Schedule.depositors; 316#1, but its case (a), below); a chain with no box of its own gets its entry (316#3); Bring every box back now waits for a just-sent chain to land (LANDING_MS, 15 minutes), keeps why it waits, and turns late after 10 minutes (321-lj-worker#0, #1, #4); withdraws go while a collateral’s mix waits on giveme.my (x-scenarios-lj#1); the tail’s waits say why and for how long, and a deposit’s box not listed yet is waited for 15 minutes before it’s taken for moved (323-worker#2, #5); a private session’s chain never holds an account switch (gap-1#0); a pool’s start warns when this device sent one of the same values that no look has found (318-worker#1).direct_tail_reserve, from the parameters: 2.8 ₳ at 4,310 lovelace a byte); swaps and mixes keep 1.5 ₳; a funding refused for want of it is built again without it.leftWhy: their tokens, their fee or the 25-transaction limit; 321-parts-worker#6, x-scenarios-sessions#1).data-layer.yml’s paths; the release procedure’s route checks and 1.6.0 flows (development.md); the live harness (e2e/live) made to run again, its English held by tests/live-runs-copy.test.ts; the translation findings and the glossary’s 1.6.0 words.e43eef7f), the screens and the worker’s leftovers: five fixers (sc-lj-1, sc-lj-2, sc-o-1, sc-o-2, w-left), 36 findings fixed and one in part (323-worker#1’s Stop dialog, still priced with the reserve in: round 3’s L1). The Mix forms, the swap form and both approvals count the collateral’s mix and keep its reserve aside; reviews say the 5 ₳ comes back later, mixed once, and that giveme.my sees that mix; Building… while only a review is rebuilt; Bring every box back now says why it waits, offers Stop once a withdraw is late, and never says Done after Stop; a held box’s questions name the accounts; Start a pool’s amounts take the wallet’s guard; Home’s banner after a public Bootstrap; the Collateral page leaves a landing to Home’s watch; a trap on the run’s path reaches the wallet’s trap handling.56dce2cd): ten lenses over both rounds (git diff 499768f6: money and state, privacy and words, screens and states, tests by mutation, Lovejoin’s records, the Rust, the data layer, where fixes meet, and two checks that each finding was fixed), merged, then a skeptic per finding, two for any rated high or medium: 31 confirmed, 19 low and 12 nits, none high or medium, none refuted. Every high and medium fix has a test that fails without it, for its finding’s reason. The questions and the known leftovers L1–L6 are in review/QUESTIONS.md. One reviewer started the API server from seedelf-data/target/ by mistake: about two minutes against home’s services, most likely only reading, sending nothing. Both briefs now forbid running a binary from there.3ea05dc1), six fixers (fx-reserve-1, fx-reserve-2, fx-lj-1, fx-lj-2, fx-misc, fx-tests): a funding without the reserve says its collateral is mixed where its return pays for that mix, and a swap against the pools, whose direct return can’t build it, pays no reserve (R3-9, R3-10); the quote’s reserve decided from what was last read, asking nobody, and Max following it down (R3-11, R3-12); the Mix form never refusing on the reserve (R3-7); fundings falling back without it at one transaction’s limit too (R3-8); Stop’s dialog priced as WebAssembly builds the return, and saying giveme.my sees the collateral’s mix (L1); the private payer and the escape hatch ordered by the account a question names (R3-2, R3-3); Stop told apart from Done (L2); traps on every remaining catch (L3); one clock (L4); the data layer answering its last list when the cursor read fails (R3-15); Pay it again anyway for a collateral payment still waited for after 10 minutes, on the Collateral page; Home’s banner counting one box as one; the 1.5.0 gate comparing Koios requests and funding plans exactly (R3-17, R3-18); 24 screen wirings pinned over the house’s vi.mock("react") seam (tests/screens-wiring-review-fixes.test.ts, R3-20). In part: R3-14 (its Rust half, below) and R3-20 (Home’s two-window watch has no test: an e2e case). R3-13 is the owner’s (below), and R3-22 waits for the back-translation. The last look: two fresh reviewers over just these fix-ups (review/last-money.md, last-words.md) found no high or medium: four lows and two nits.677715db): fx-last over what the last look found (fixes/fx-last.md), and the docs brought in line with every round (docs-a, docs-b). Max never follows its amount down to nothing (LM-2); Stop with no box says the 5 ₳ comes back later, mixed once, with a giveme.my line of its own (LW-1); Home’s banner counts boxes in the plural while the balances are hidden (LW-2); a token pool’s public figure shows what the stepper offers (LW-4); and Stop and the approval said the collateral is mixed only where the return, as predicted, pays for that mix (LM-1, tailPaid). LW-3, the Mix form against its review in a band about 0.3 ₳ wide, is the owner’s. Checked: tsc clean, Vitest 2,859 on both builds, bar the gate’s two es/ja checks.fixes/fx-promise.md, fixes/docs-c.md): fx-promise, and the docs again. A look at round 3c’s fix-ups (review/last-3c.md) and a check of the docs against the code (review/docs-check.md) found no high or medium: four lows and a nit, and 12 lows and two nits. LM-1 still promised the mix where a cancel, or the swap’s own fees, took the ADA it counted on, and dropped giveme.my’s line where the return still mixed it, so fx-promise put one rule in place of its predictions, on every screen that speaks of that mix (CollateralMix): mixed only where the funding paid the reserve and the return keeps it whatever the swap does; “only if enough is left”, giveme.my’s part with it, wherever else a 5 ₳ pool may take it, an ADA-to-token swap whose token gets no box among them; a site’s funding and top-up say only “only if enough is left”, and that return’s own review gives giveme.my’s part; nothing where no mix can go. Stop counts its boxes on what an order’s cancel brings back (last-3c, 4), and its pool-short line says “its ADA” (5). The docs check’s findings went into the docs, the privacy policy’s unshipped 1.6.0 entry among them (the restore scan’s new ask, and bringStopped). A second docs check (review/docs-check-2.md) found no high or medium: a low and a nit, both fixed.fixes/fx-may.md): a look at fx-promise’s code (review/last-3d.md) found no high or medium: two lows, each a giveme.my line missing where the return still mixes the 5 ₳. fx-may fixed both. Stop pressed while the funding is on its way counts the account as that funding will leave it, its 5 ₳ and, for an ADA swap, ADA alone, so it says the collateral’s mix as it will once that funding lands (last-3d, 1). A review whose read of the 5 ₳ pool fails still funds without the reserve, and now says the collateral is mixed only if enough is left, unless what the wallet last read says that pool takes none (tailReserve’s may, collateralPool’s tell; 2). A look at those fixes (review/last-3e.md) found no high or medium: two lows and a nit, which the lead fixed, the lows with tests and mutation checks: Stop counts the account that way too once the funding is confirmed but, before any swap is sent, not yet listed (1); a test pins that a funding found short says nothing of that mix (2); two code comments name the failed read (3). The words (review/i18n-review.md): the Spanish and Japanese of the 92 entries the rounds added or changed (76 keys, 8 of them plural) read against their English and the code that shows them, and 32 values changed (two Spanish wordings, and the no-break space before ₳ in 30). Then the 19 critical keys (23 values, with Spanish’s plural forms) back-translated blind, each value by a fresh agent with no English and no key name, then compared with the English by another: two drifts, each fixed and passed blind again (es lovejoin.stuck.privacy.publicNamed, ja dappUi.back.privacy.noteLovejoinMixed), recorded in verified-critical-{es,ja}.json. The English followed: lovejoin.pools.warn.startedCopy says only an earlier start makes a copy, lovejoin.collateralMix.privacy.ifLeft lost its second “it”, and 15 values gained that space. The final checks run next.The release prep (8cd8ce08): vitest 5.0.1 → 5.0.3 (GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp: moderate, dev-only, nothing shipped; npm audit finds nothing else); npm run tokens, both registries unchanged (2 preprod tokens, 32 mainnet); npm run dreps, one more mainnet DRep named (GNP1_DRep, 465 in all), preprod’s 62 unchanged; npm run lovejoin-pools, preprod’s head start gaining a MIN pool of 4.5 ₳ and 500 MIN a box (three pools; mainnet none); the data layer’s token decimals, from a fresh registry clone, unchanged (1,172 tokens), so nothing to commit. The version was 1.6.0 already.
22acd30e, the real giveme.my). On a fresh wallet B, funded with 600 tADA from wallet A’s public account in node, so that A, which holds 64 Bootstrap boxes, was never restored. B minted a Seedelf and made 400 ₳ private. Each transaction was then read back from chain by three checkers of its own CBOR: every proof, register, signature and value checks out. The log, with every transaction, is in the session’s live/NOTES.md.
313e4979… was one payment of 13 ₳: the box’s 11.5 ₳ and the 1.5 ₳ way back, with no 5 ₳. Its deposit 90659b0d… put one 10 ₳ box in the classic pool, with no collateral, no script and no reference input, so it’s byte-identical in shape to 1.5.0’s. Its way back 462ed023… swept the 2.83 ₳ change into Seedelf with nothing put up. Its Seedelf output cleared the ledger’s least by 1.32 ₳; without the reserve it would have been 0.18 ₳ short and refused. The session closed, marked noCollateral.6ad1bad1… was 16.8 ₳ (15.3 ₳ and the 1.5 ₳ reserve) and the 5 ₳. The deposit and four mixes went, then the wallet was locked, cutting the chain at 5 of 8, and unlocked 75 s later. buildBack rebuilt the rest, and it landed:
17944d29…, the 5 ₳ into a box at the 5 ₳ pool, with the pool’s NFT UTxO as its one reference input: 317-wallet#0, live;a36ee6c8…, under giveme.my’s collateral (a 5 ₳ input at giveme.my’s key address, not the session’s): three boxes in, three fresh 5 ₳ boxes out, mix_box and mix_logic run, fee 0.83 ₳;41afe1d6…, the rest into Seedelf.fixes/fx-cut.md, then fx-cut-2.md for the two lows a look at it found, review/last-5.md; a last look, review/last-5b.md, found a nit, which the lead fixed): a cut chain whose every mix went and whose rest its session’s return brought back, in a chain of its own or directly, reads as done. Checked live: on the fixed build, wallet B’s own record cleared at the first read, Home’s “A mix stopped partway” gone and the card Done, with nothing rewritten.e2e/live/, repaired in round 1, never run since), on B through a copy that reads B’s phrase: run.mjs all passed, its six transactions confirmed (an account-paid mint, a move-in, a stealth mint, a transfer, a withdrawal and a removal; only preprod Koios and giveme.my asked). run.mjs staking first stopped at its first review: the harness pressed “Send”, where a staking review’s button says the act (ST-2, older than this review), and round 1’s repair and its guard test missed it, “Send” being a word elsewhere. Each flow now names its review’s button and the guard checks it, and the rerun passed: stake TPREP with its 2 ₳ deposit, the vote to always abstain, then LOGIC.Checks (the lead’s, on 3ea05dc1 but where said):
cargo fmt --check and clippy -D warnings clean; the WebAssembly rebuilt in round 1, node --test 57 of 57 (later rounds changed only comments in its Rust);-D warnings clean;tsc clean; Vitest 2,849 passed + 4 skipped on both builds, bar the critical-key gate’s two es/ja checks, which waited for the blind back-translation (recorded in round 4);For the owner (the calls that matter for the release, each with a recommendation; every fixer’s calls are in review/OWNER-CALLS.md, and HANDOFF.md’s in its section The owner’s calls, both in git at 7e2d89ed (archive/plans/review-1.6.0.md)):
seedelf-platform/, so it needs a job that always reports.Left, in order:
verified-critical-{es,ja}.json.node e2e/live/run.mjs all and staking on the repaired harness, never run since its repairs. On a wallet holding no Bootstrap’s boxes: never wallet A restored on a fresh profile, since a restore gives its 64 held boxes due times.fixes/docs-a.md, docs-b.md, docs-c.md, then round 4’s).cd seedelf-data && cargo test --test live_lovejoin -- --ignored --test-threads=1 --nocapture. A read on now resumes from what the read before gathered (321-lj-rust-data#0), which only home’s db-sync shows.deploy, approved), a status run, then development.md’s curl checks, each 200 application/json (a 503 in the first minute is the restarted server working out its first pool list: ask again). seedelf-data changed, so this comes before the package; .prev then becomes 68150b39’s build, which lacks this review’s data fixes.Left for later: post-release-roadmap.md’s Left by 1.6.0’s release review.
The ask (the owner, 2026-10-23): “can we investigate if the collateral utxo gets mixed or just sent to the mixer? it should be mixed.” It was only sent: the return made the box and wrote its origin as a deposit (noteCollateralBox, { mixed: false }), the wallet’s own chains never draw its own boxes (fresh_for), and Mix my boxes again, which took it first, ran as a session whose own new collateral went in unmixed in turn, so one unmixed collateral box was always left. It moved only if someone else’s random draw took it (Session 10’s call 4). The chicken and egg: the collateral backs every mix of the chain, so it can’t be a box until they’re done.
The owner’s calls: the tail goes fan-out → the collateral into its box → that box’s mix → the return sends the change to Seedelf, the return last; that mix under giveme.my’s collateral (“its a chicken n egg thing”); one wave, three wide; a session’s funding adds about 1 ₳ for it; the waiting mix kept sealed, so a lock doesn’t lose it; back with the rest where the tail can’t be built at review.
Built:
lovejoin/mod.rs): mix()’s body is mix_with over a MixCollateral: Own (the payer’s, byte for byte as before) or Giveme (mix_giveme: giveme.my’s coin, its collateral return and signer, two signers, an even fee). collateral_tail (a deposit of the collateral and the chain’s change into one box, then collateral_mix: the box and two drawn at random, fresh_for, under giveme.my’s collateral). COLLATERAL_TAIL_RESERVE, 1.5 ₳.CollateralBox became CollateralTail (5 ₳ ADA pools only; the collateral exactly 5 ₳ of ADA alone; draws never the wallet’s nor what the chain spends, spent_by). with_return builds it on the chain’s change and sweeps the mix’s change after it, never merged (the collateral a merge puts up is in the box), or the return as before where anything fails; its txs marked tail and the mix giveme; collateralTail on the result. session_return the same through direct_tail, its two transactions in SessionReturnResult.tail. collateral_mix (buildCollateralMix) builds the mix again from what’s on chain, with the sweep after it. collateralReserve on chain and plan requests counts boxes after the reserve; lovejoinCollateralReserve. plan_return’s box bytes and merged_return’s extra outputs went with the box.collateralPool reads the pool on every network and returns its rows, needing two free others besides the floor. pumpChain sends a giveme transaction only once nothing before it is in flight, asking io.witness (witnessTail → tailWitness: Ogmios’s evaluate and declaredCovers first, then giveme.my, then finishLovejoinWithdraw); a refusal within GIVEME_BEHIND_MS, busy or out of reach, waits for the next pump; past it, or TAIL_KEEP_MS, the chain stops there. ChainRecord.tail, read through makers wherever a chain’s boxes are told apart; the leaf’s due time is drawn when its mix is sent, apart from the chain’s boxes’, and its entry gains a share in the 5 ₳ pool. buildBack builds a stopped chain’s tail again (tailOf, tailChain; TAIL_TRIES 2, then tailOver), and a direct return’s tail as a chain; while that box isn’t listed yet (a lock cut the chain right after its deposit went), a return waits (lj.tail.waiting) rather than sweep what pays for the mix, found re-reading buildBack and tested. tailReserve adds the reserve to a swap’s, a site’s, a mix’s funding and a top-up that pays a new collateral (collateralTopUp’s exact 5 ₳ doesn’t take it), and SessionRecord.collateralReserve says so. noteCollateralBox is gone.CollateralTailRow (with its fee), CollateralTailNote, CollateralReserveRow on the four funding reviews (their first payment’s row less the reserve); Bring everything back’s row; Settings’ switch and note. lovejoin.collateralBox.privacy.note (critical) rewritten in three languages and back-translated blind twice, a fresh agent each round (verified-critical-*.json’s note: the English’s own “moves it there” read as into the pool, and three pronouns were pinned down); lj.tail.*, the chain’s stop reasons, and lovejoin.collateralReserve.* new.Calls made here (yours to overturn):
buildBack (the runner’s, or Bring back): a stopped chain’s tail is built again as a chain of its own, rather than its record renamed mid-send (a chain’s id is its return’s hash).SessionRecord.collateralReserve), so a session funded before this never loses a box to it; without, the tail is paid from what the chain leaves, if that’s enough.collateralTopUp) adds no reserve: its exact 5 ₳ output is what its checks look for.Tests: core a_mix_under_givemes_collateral_passes_mix_logic, a_sessions_collateral_goes_into_a_box_and_is_mixed_once; WebAssembly the chain’s tail, the direct return’s, the fallbacks, the reserve, the rebuild with giveme.my’s witness beside the session’s, and the_collateral_never_draws_a_box_its_chain_drew (mutation-proven); Vitest’s tail block in lovejoin-planner.test.ts (the chain, giveme.my only once everything before is on chain, the refusal’s wait then the stop then the rebuild, a lock’s cut holding the return back, the direct return, the floor, off, the funding’s reserve; the giveme wait and makers’ tail mutation-proven), and lovejoin-screens-review.test.ts’ rows. Not run here: e2e, and a live run on preprod.
Its review (the same day, after the session’s crashes; an xhigh review of the two commits, each finding checked against the code). The fix round, each with a test that fails without it (mutation-checked), but where it says none:
recordChain marked the stopped chain’s tail over before start(), and a refused start (another chain had reserved a box it drew) never undid it, so the next return swept what pays for its mix. It hands the tail back.chainSent counted it under the Bootstrap’s entry in the 5 ₳ pool, and nothing counts a box back against a Bootstrap still holding its boxes. That leaf is no entry’s now, and its return counts against none (countBack; that line has no test of its own).sendChain cleared lovejoinSkipped and never wrote the return’s; it writes it, as sendBack does.TAIL_TRIES; tailWitness takes those (ours) as Koios behind, asked again at the next pump.tailOf read ended without cuts(). A return built before any page had asked Lovejoin anything since a lock took the cut chain for one being sent, and swept what pays for its mix. The runner’s unlock run happened to run cuts() first; tailOf does now.planAcross), so a leg the reserve tips could fall back as failed.crossCheck), drawn from a 5 ₳ read unstale never refreshes, and a measurement there would have left the whole Bootstrap out. Never the tail’s: tailWitness measures it before giveme.my.landed restarted, so its day ran twice: carried over.moreThanDue left a sending chain’s leaf’s due time uncounted in the 5 ₳ pool (no test: the window is one transaction).collateralTail.txs).lessReserve had taken PrivateReview’s doc comment (no test: a comment).The lock-cut test now also lists the box once it lands and sends the rebuilt mix, the path the live run’s lock-and-resume will take.
The owner’s calls on what the review left (2026-10-23), built the same day, each with a test that fails without it (mutation-checked):
TAIL_UNLANDED_MS, from when its chain stopped): it was most likely dropped, and the return going is safe if it lands after all, since both spend the same UTxOs. Koios not answering still waits. The day stays for a deposit that landed and waits on giveme.my.TAIL_WITNESS_WAIT_MS, kept on the chain’s progress), not every pump: a day of a busy giveme.my is about 50 requests, not about 1,400.mixFunding). buildBack builds its depth-0 chain without one (depositOnly; collateralWanted wants none for it), chain() and plan() take it optional, as do WebAssembly’s ChainRequest and PlanRequest (Holdings.collateral, mixes_collateral, which refuses none only for a chain that mixes, as core’s chain_across does), and its return is a sweep, never merged (the owner’s call: a merge puts up a collateral; the sweep leaves one more private UTxO under the same history). The change goes to an address the session’s own transactions paid, never first a stranger’s. The review drops its collateral row (PrivateReview), the form stops counting 5 ₳ (bootstrapLimits), and lovejoin.bootstrap.cantAfford no longer names a collateral, in three languages. A Bootstrap funded before this keeps its 5 ₳, which its return puts up and merges as before, and a seed’s comes back with the rest, never mixed. Tests: WebAssembly a_bootstrap_with_no_collateral_deposits_and_sweeps_back (and a chain that mixes still refused without one); Vitest the funding’s one payment and no reserve, the return’s deposit and sweep with nothing put up, the review with no collateral row, the form’s bound; each mutation-checked. This branch’s Bootstrap-tail fixes (review items 2 and 7) stay as guards, reached by no new chain. It broke every private Bootstrap: the deposit’s change can’t pay the sweep back, so each came straight back with no box in. The release review found it, and the funding now carries its way back, 1.5 ₳ more (Session 12).The audit (a subagent, cited to file and line, 2026-10-23) of every flow that funds or requires a collateral found the Bootstrap the one clear case: every other runs a script that needs one, bar two that may not, left as they are since a swap’s way back and Stop’s cancel aren’t known when it’s funded: a direct pool swap (Danogo) whose return comes back directly, and an order swap that’s never cancelled (Stop’s cancel falls back to the largest UTxO of ADA alone). A Bootstrap’s funding now looks unlike other sessions’ (an amount and exactly 5 ₳: privacy.md, The funding’s shape marks it), which costs a Bootstrap nothing, since it shows itself on chain by design, but leaves the crowd of fundings that look alike by one.
Left: WebAssembly’s CollateralTail repeats core’s Tail, for the builder extraction.
Since the release review (Session 12): a site’s funding and a top-up that pays a new collateral add 2.8 ₳ at today’s prices, what a return back directly needs (swaps and mixes keep 1.5 ₳), and a funding the balance can’t pay with it goes without it; withdraws go while the mix waits on giveme.my; each wait says why and for how long; and a chain with no box of its own gets its entry.
The ask (the owner, testing 1.6.0 on the laptop, after a Bootstrap’s review said it spent money Private sessions 29 and 30 left): “so if we did have a 5 ada pool then we could have a pool for mixing old collaterals?”, then “coming from a private one time session it can send that ada into the 5 ada pool … since after the sc interaction it doesnt need the collateral anymore. We should have it here.” Every return through Lovejoin brought its session’s 5 ₳ collateral back to the private balance under the session’s history (merged into the funding’s change, or a new UTxO), and mixing old collaterals later from the private balance would tie those sessions together in one funding. Asked (the owner’s answers): which returns (every return through Lovejoin, a chain’s or one that comes back directly), the box while it’s unmixed (like any unmixed box: not mixed yet, Home points to Lovejoin, Mix my boxes again takes it first), mainnet with no 5 ₳ pool (dormant until one exists; we launch none), and a switch (its own in Settings). A correction made on the way: a Bootstrap’s held boxes never come back by themselves (bootstrapOf), so the box isn’t held as a Bootstrap’s; it’s a box not mixed yet, as any deposit’s, which other people’s mixes move and which then comes back by itself.
Built:
build.rs): external_sweep_with, external_sweep with extra outputs of ADA alone paid first; with none, external_sweep’s transaction exactly (the CLI’s external sweep unchanged).lovejoin.rs, lib.rs): collateralPool on ChainRequest and SessionReturnRequest; CollateralBox (the pool verified as 5 ₳ boxes of ADA alone, COLLATERAL_LOVELACE, one box under a fresh re-randomization of the Seedelf key’s register, found again in the built transaction by its datum). with_return and session_return try the return with the box first (the merged return’s ScriptSpend::output, which puts the collateral up and spends it in the same transaction; the sweep’s external_sweep_with) and build it as before where that fails; plan_return counts the box’s bytes (BOX_OUTPUT_BYTES). collateralBox on ChainResult and SessionReturnResult; returned/lovelace leave its 5 ₳ out; the sweep’s deposit_outputs leaves it out.lovejoinCollateral (preferences, on by default); LovejoinService.collateralPool (the shown ADA pool of 5 ₳ boxes, discovery’s, asking nobody, never a copy, only while usableNow); ChainWay.collateralPool into both chain requests (fanOut, acrossOf); buildBack asks for it wherever the return goes through Lovejoin (throughLovejoin, not direct) and the switch is on, the chain’s or the direct return, and names the box with its pool (SessionBackSummary.collateralBox); sendBack writes its origin before the return goes (noteCollateralBox: { mixed: false }, as Koios would say a deposit made it), so a pool read holds it as not mixed yet without asking what made it. An origin is kept 3 hours unlisted (RECORD_KEEP_MS): a chain whose return lands later has its box asked of, as a restore’s are, which says the same.CollateralBoxRow beside Into, CollateralBoxNote), Bring everything back (a row counting the boxes, the note in its plural), Settings → Lovejoin (the switch under the returns’, off with them).lovejoin.collateralBox.*, claim.collateral*, settings.lovejoin.collateral*); two critical (lovejoin.collateralBox.privacy.note, settings.lovejoin.privacy.collateralOff), back-translated blind over three rounds each language, a fresh agent each (verified-critical-*.json’s note). Most fixes were the English’s own: “5 ₳ pool” read as a pool holding 5 ₳, and is “the pool of 5 ₳ boxes”; “can be tied” named nobody; “comes back by itself” named no destination; the switch’s note said nothing of a network with no such pool.Tests: WebAssembly lovejoin_test: a chain’s return, merged and swept, puts one box of exactly 5 ₳ at the pool, owned by the key, and returned leaves it out; a direct return, merged and swept, the same; one that can’t pay for the box, or a pool of other boxes, is as before (the fallback mutation-proven). Vitest lovejoin-planner.test.ts (a 5 ₳ ADA pool launched as minPool’s MIN pool is, adaPool): a chain’s return makes the box, its origin is written at Send, and a pool read lists it not mixed yet with no tx_info for the return; a direct return makes it; directly by the switch, Settings off, no 5 ₳ pool, or a 25 ₳ ADA pool, none. Each worker piece mutation-proven (no origin, the switch ignored, the direct return without the pool: each fails one test).
For the owner (calls made, yours to overturn):
auto.direct), but the collateral switch is read when the return is built, as Settings’ Lovejoin is for any other session.lovejoin.review.privateNote, againNote) and “…kept aside for contracts, and comes back” stay true (it comes back, later, as a box), but no longer “with” the rest where a 5 ₳ pool is shown. Rewording them changes classic-only users’ screens and four more strings in three languages.Checks (on the laptop): Rust workspace 658 passed, 0 failed (12 ignored, the live ones), cargo fmt --check and clippy -D warnings (core, WebAssembly) clean; the WebAssembly rebuilt from it, node --test 55 of 55; tsc clean; the critical keys 444. Vitest: 2,564 passed + 4 skipped on the preprod build, with one timeout, restore-scan’s “offers 5 ₳ where the account’s ADA alone…” (C41, C47), which takes 4.1–4.3 s alone here before and after this change, against a 5 s limit, and passes alone; on the default build two tests that pin every preference gained the new one (fixed), and three timed out only while other runs loaded the laptop. Not run: e2e (this laptop has no Playwright browser), and the live run on preprod.
Its review (2026-10-22, a fresh session, after this one crashed partway through the worker and resumed): every piece listed under Built is in the tree; both chains’ returns (chain_at, chain_across_pools, through with_return) and the direct return take the pool; collateralBox survives both of the worker’s chain paths (...built); every send goes through sendBack. Two fixes, both in WebAssembly, where the box is built (CollateralBox::back_from):
total - fee - 5 ₳) went below zero: a panic in a test build, and in wasm-release, which doesn’t check overflow, a review saying about 18.4 trillion ₳ comes back. The box now goes in only out of the session’s own ADA; short, the return is built as before.collateralFits).Tests: lovejoin_test’s a_return_boxes_only_its_collateral_and_only_from_its_own_ada (was …_when_it_cant_pay_for_the_box) gains the merged return of the collateral alone and an account whose collateral is spent; each fix mutation-proven (each removed fails it). Checks on the laptop: Rust workspace 658 passed, 0 failed (12 ignored), cargo fmt --check and clippy -D warnings (core, WebAssembly) clean; the WebAssembly rebuilt, node --test 55 of 55; tsc clean; Vitest’s lovejoin-planner, lovejoin-screens-review, settings and preferences 101 of 101 (the full suite not run again: nothing in the worker changed). package-lock.json was npm’s rewrite on this laptop, reverted.
Its live run (2026-10-22, on preprod, two fresh wallets driven through a preprod-only build from a copy of the extension, by e2e/live’s harness): A, funded from the faucet, paid B 1,000 ₳, minted a Seedelf and made 150 ₳ private, then mixed one box of the classic pool from its private balance, one wave deep: Private session 1, funded with 12.45 ₳ and the 5 ₳ kept aside. Its chain’s return, 178ad8d4…8d5f (block 5,324,692), merged into the funding’s change: it spent the session’s 5 ₳ collateral (put up as its own collateral too), the chain’s 1.455805 ₳ change and the funding’s 132.316792 ₳ change, and paid #0, 5 ₳ to the 5 ₳ pool (18c4df77…, boxes at 7962202a…) under an inline {a, b}, and #1, 133.535907 ₳ back into Seedelf: the session’s own 6.455805 ₳ paid the 0.23669 ₳ fee and the box, the funding’s change none of it. A’s 5 ₳ pool page then held “1 box, 5 ₳, Not mixed yet”. B, from its public account, set its collateral and mixed 2 boxes three waves deep in the 5 ₳ pool (27 transactions, drawing 52 of its 54 other boxes); its mix 8c6b6c3c…d585 (block 5,324,714) moved A’s box. Not waited for (the owner: not 1 to 6 hours here): A bringing the moved box back by itself; A’s phrase is the gitignored extension/.preprod-test-wallet.txt on the laptop, and the box comes back once A is unlocked past its due time.
lovejoin.warn.notMixed.*), left as they are.mint flow is older than the mint form (a radio for who pays, and the tag’s label “Tag (optional, anyone can read it)”), and Lovejoin’s depth is on Settings’ own Lovejoin page; the run used its own steps, and flows.mjs is left as it is. A plain npm run build opens on mainnet, so a live run wants VITE_ENABLE_MAINNET=false.Its floor (the owner, 2026-10-23, asked whether the PR was ready: “there has to be some min amount of boxes … because its going to mix like the rest”). The box went into any shown 5 ₳ pool, so on mainnet the first one anyone started (about 23 ₳) would have taken every session’s collateral, with nobody else’s boxes there to hide among, or only its starter’s, who could then trace every box a mix of theirs moved. collateralPool now asks for the network’s floor of boxes that aren’t the wallet’s (30 on mainnet, as a mix does; preprod’s 0 reads nothing more), read as split reads, every pool the wallet reads listed together; a read that fails leaves the box out, never the return. The switch’s note says so (settings.lovejoin.collateralOn, three languages, not critical); privacy.md, architecture.md and flows.md too. Test: lovejoin-planner.test.ts’ floor case (a pool under it takes none, the return still direct; two other people’s boxes there and it goes in), failing with the check removed.
The review (the owner, 2026-10-21: “lets get code review going on this branch”), read-only, of c6883afd against main e6b5dae: workflow wf_baed1a06-657, ten lenses (WORKER-PARTS, WORKER-FUNDING, WORKER-LOVEJOIN, RUST-BUILD, RUST-PLANNER, RUST-LOVEJOIN, PRIVACY, SCREENS, I18N-DOCS, CROSS), two verifiers each (one traced the code, one weighed the impact), a completeness critic and two gap rounds (gap 1: the new guards no test exercises, by mutation, and the Rust planner with overflow checks; gap 2: a chained funding through the worker). A maintenance reboot cut it during gap 1; it went on as wf_9e0f775e-03e, which ran gap 1 again over its earlier logs, verified it and synthesized. 60 verified findings, none refuted, merged to 47: 8 medium, 24 low and 15 untested guards; nothing high. Almost all came from e674be62..HEAD (items 1 to 10b), which no earlier review covered. The report, by key, with every finding’s scenario, fix and verification, and the reviewers’ reproduction tests, is in the session’s review-1.6.0/ folder, which survives a reboot (/home/logic/.claude/projects/-home-logic-Documents-LogicalMechanism-Seedelf-Wallet/8e6aafe7-1478-43c2-8f97-65390b044df4/review-1.6.0/: REPORT.md, FIX.md the fixers’ brief, CHANGES.md what the round changed, scratch/work/).
The fix round (the owner: “fix what is worthy then commit and push”): five fixers in the one tree by file ownership (RUST, PARTS-SEND, PARTS-REVIEW, SESSIONS, LOVEJOIN), each test first: every fix has a test that fails without it. Three contracts between them: mayGo (parts.ts asks SessionService.partsMayGo before each waiting part), MaybeSentWait (pending.ts’s typed wait), and the carry’s history (WebAssembly’s Carried and the worker’s carried, each tested on its own half). Then a cross-area review of the merged fixes, three lenses: 1 medium and 9 lows, also fixed.
What changed, by finding key (CHANGES.md has each in full):
lib.rs, core build.rs): carry-has-no-history (medium): a chained part’s carry keeps the history of the part that made it, so a review no longer names money of no history, and the sealed change carries the real histories. parts-pick-by-worth-not-history (medium): where histories are known, an amount’s parts pick by history first (Worth::apart, by_history_first, Histories::tier_of): one history alone where its money pays, then every UTxO with each history’s together, boxes and another session’s money last, then the worth order only where those are refused or would chain where it doesn’t; it never refuses what the worth order paid, and Max is unchanged. carry-part-fills-room: an amount’s chain part spends only the free UTxOs its fee needs (Fill::Lean). discovery-cursor-moves-back: the data layer’s discovery cursor never moves back (seedelf-data).parts.ts, runs.ts, pending.ts, sw.ts): parts-failed-look-stops-alarm (medium): a pump that fails counts as busy. send-restart-orphans-reservation: splitParts holds the waiting parts (their copies, the reservation, the Waiting record) before any part goes. step-stops-on-wait-or-sent-already: a maybe-sent wait, or a part sent already, no longer stops the rest as refused. later-part-rechecks-review-age: the review’s age is checked once, at Send (Send, Make public, sendFunding). stop-doesnt-stop-waiting-parts (medium): mayGo cancels a funding’s waiting parts for a session stopping, failed or over, or whose return is built or sent ("cancelled"), and they’re unsent; a Send’s parts always go. unseen-part-says-payment-never-went (medium) and banner-confirmed-over-partial: Home says “ only partly sent” with how many didn’t go, never “confirmed” or “Private session funded”; a later part never seen counts among those, and only a first part never seen keeps “most likely never went out”; a later part refused at Send leaves a stopped record.script-spend.ts, transfer.ts, withdraw.ts): parts-review-misses-cross-part-ties (medium): the histories come from every part’s inputs. max-kept-tokens-overcount: each kept token once. parts-note-wrong-reason: “Too much for one transaction, so it goes as N, one after another.” (and the funding’s note). parts-reservation-blamed-on-lovejoin: the parts’ hold has its own words (worker.spend.waitsForParts, .allLockedOrParts, .partsConflict.*, leftOut.reason.parts).sessions.ts, dapp.ts): stop-before-short-pause-stuck (medium): a stopping session never pauses short, so Stop brings back what came. bootstrap-cap-vs-funding-parts (medium): a Bootstrap’s funding is one transaction, too many UTxOs refused at review (sess.bootstrapTooMany). partsStopped-outside-queue: it writes through the queue. failed-funding-part-lands-late, try-again-never-refails: a failed funding that turns short lifts failed; Try again on one none of whose parts landed fails again. site-gets-funding-or-short-session: enable() and every call from a linked site go through DappService.funded(), waiting while the funding lands (one shared read a poll, FUNDING_WAIT_MS); short or never, unlinked and refused. chained-funding-late-clock: a waiting part is pending while the parts’ record holds it, its clock starting as it goes (RecordedTx.waits). return-merges-reserved-part-input: fundingChange leaves out other chains’ reservations.lovejoin.ts, BringAllBack.tsx): bring-takes-later-mixes: only the boxes there when it was asked (madeSince). bring-over-clears-reserved-due: it waits for boxes a kept review holds, and “over” keeps later boxes’ due times. bring-stopped-why-raw: the reason ends with its own full stop, and the frame is in SHOWN_IN. bring-stopped-promise-false: “… Press Try again to bring back the rest.” bring-cost-omits-origin: the cost note names where the paying UTxO came from. capfour-wrong-reason: the Mix form names one chain’s length where that caps four (lovejoin.mix.capFourChain); the classic pool at three is byte-identical.partsMayGo answers at once for them.dapp.fundingNotAllThere), not that it never reached the chain.For the owner (calls made, yours to overturn):
enable(), reads and signing. Short or never: unlinked.Not fixed:
Checks on the final tree (the WebAssembly rebuilt from it):
tsc clean;cargo fmt --check and clippy -D warnings clean;lib.rs): 0 with problems, 108 refused (none of them Max), 484 ok, unchanged;node --test 56 of 56;build:ext with the store flags, no package);The two changed critical values (settings.lovejoin.warn.bringStopped, .privacy.bringCost) were back-translated blind: four rounds for Spanish and two for Japanese, a fresh agent each (verified-critical-*.json).
Built as 10b, the design (under Session 7) has it, but where it bent (below). Live on A, every local check green; the owner’s other agent committed dependabot fixes on this branch meanwhile (1eb5267e, vite 8.3.3), so only 10b’s own files are staged.
build.rs): ScriptSpend::carry(), pay_rest to the change’s owner with no token; build::carried(chain, built) reads that output back as a row (the wallet contract’s output of ADA alone holding rest_lovelace, its register from the built transaction), refusing none or two.lib.rs): carry on TransferRequest and WithdrawRequest (serde default false): exactly the UTxOs given, the payment’s tokens with their least (Max’s too; Everything’s every token they hold, carried_payment), a funding’s collateral beside it, the rest carried; the result’s carry row is #[serde(skip)], so the worker reads which part waits off inputs. One fit_part holds the room logic both kinds of part share. in_parts and max_in_parts keep what was owed before each part (Owed); where a part can’t pay its fee, chained/max_chained rebuild from the part that couldn’t go, or the one before it, back to the first: each part pays its tokens with their least and carries the rest (Room::beside, 19 of its own beside the carry), and after each, what’s left is tried beside the carry as the last. A part spending its carry alone is refused (next_of).token_group’s rich). Max is refused only when nothing at all goes.max_spends_every_utxo_of_ada_before_bundles_that_add_nothing now asserts every bundle goes too, over the parts.background/parts.ts, new): sendParts moved here from script-spend.ts. splitParts reads which parts spend an earlier one’s output (parentsOf); the parts before the first of those go at Send, the rest are reserved (spent.ts, parts.<first>), and once those went, moved off Send’s keys (waitingPartKey, so the next review can’t take them) and recorded in session storage (seedelf.waiting.<network>, Waiting). pumpParts (the sessions alarm’s runs, and Home’s pending-tx poll, not waited for) sends each once its parent shows (chainStatus, the contract’s feed on mainnet, tx_status on preprod; looked for at most every 15 s, LOOK_EVERY_MS), through send with waited (no 10-minute review limit, its own reservation excepted); never as the wallet unlocks; while another payment may still go through, it waits. giveme.my or Koios turning one away within 3 minutes of its parent showing (GIVEME_BEHIND_MS) is tried again; after that, or a parent not shown in 20 minutes, the rest stop (refused, unseen), freed. A funding’s (sendFunding, the same split) stopped parts are marked unsent at once (SessionService.partsStopped), so it’s short and offers Bring it back. PartsService in sw.ts, Context.parts (optional), runs.ts.waits (reviewParts) adds review.partsWait after the parts note on Send, Make public and the four funding approvals (“2 wait, each for the one before to land. Keep Seedelf Wallet unlocked until they go.”). PendingTx.parts {sent, total, stopped?}: Home’s banner says pending.partsWaiting (“1 more to go, once the one before lands.”) and stays on its way while parts wait though the last that went landed; pending.partsStopped once they won’t. When the watch has let the last part go, the pending-tx handler answers from the parts’ record (PartsService.shown). Home keeps polling while parts wait (unsettled). New keys in en/es/ja with provenance; none critical.api_test: a_part_of_tokens_with_no_ada_left_spends_what_the_part_before_carried (each part spends the one before’s carry, an output of ADA alone at the wallet’s own register; the least per part; Max over the same), a_chain_starts_at_the_first_part_when_the_ada_sits_with_the_tokens (A live), parts_that_can_each_pay_their_own_fee_stay_apart, a_withdrawal_carried_forward_…; the chain tests fail with the chain switched off, the A-live one with either half of its fix reverted. The shapes harness checks every chain links (a part spends at most one carry, the part right before’s, ADA alone) and gained A’s two shapes: 0 problems, 108 refusals all over what the balance holds, Max never refused; item 9’s “a move-in’s 240+ tokens with fewer ADA UTxOs than parts” now goes. Vitest payment-parts-chain.test.ts (A’s 20 bundles, three parts: only the first at Send, reserved, each of the rest once its parent shows, the look throttled, nothing as the wallet unlocks, a lock leaves the rest, giveme.my behind then the rest stopped, a parent never shown, a new review under the same keys), mutation-proven; session-funding-parts.test.ts (stopped parts make the funding short at once, proven); a banner render test.cargo fmt --check, clippy -D warnings; the shapes harness; WebAssembly node --test 55 of 55; tsc; Vitest 2,486 passed + 4 skipped on both builds; e2e 103 of 103 on the dev build and on the store build (build:store, no package); the i18n guards (sentences joined with joinSentences).dist-A-parts-7): all 400 test tokens, 0 tADA, to A’s own Seedelf (refused before, twice): 2 parts, 13b20375bf1fc1a57e11898b39d4cd2266f1b220c4f9a5c3bcf964bb2efe8f1c (10 inputs, sent 17:51:37 UTC) and 6e6f4791232e6dd835b3ad6b04a565ce1c7e5d8ddc631e8ccfd626402755cba0 (12 inputs, the first’s carry among them): its parent seen at 17:52:09, giveme.my signed at once, submitted 17:52:11. Both on chain; the 400 tokens back at A’s Seedelf, its tADA in one 2,610.15 tADA output; fees 2.356426 tADA. The submit answered parts: {sent: 1, total: 2}.For the owner (calls made, yours to overturn):
State, 2026-10-21: 10a is committed and pushed on web-wallet/release-1.6.0 (79742931 code, 923ae44e docs): a session’s funding in parts, independent parts only. Every check was green on that tree: Rust core + WebAssembly, Vitest 2,479, e2e 103/103 on the dev and store builds, cargo fmt --check, clippy -D warnings, the i18n guards. It’s live on preprod too (10a, built, below). The owner’s three calls are under Session 7 below. 10b’s design is 10b, the design there: build it as written, or say where it had to bend.
Where to start, by file:
wasm/src/lib.rs): in_parts (3627) and max_in_parts (3733) get the chain mode, Room (3494) a room of 19 beside a carry. The carry goes through TransferRequest (2754) and WithdrawRequest (3111) as a request field (carry, serde default false). transfer_spend (2944) and withdraw_spend (3265) then spend exactly the given UTxOs, pay the share with its least, and pay_rest(RestTo::Seedelf(owner), none) (core build.rs 1660). The carry’s row is modelled on core’s came_back (lovejoin/box_value.rs 214). Measuring is already local (measure_locally, build.rs 1811), so a row not on chain needs nothing new.sendParts (script-spend.ts 466) and sendFunding (sessions.ts 5011) send only the independent parts and record the rest as waiting. A new pump sends each waiting part once its parent is listed: the minute alarm (runAll) and Home’s poll. Home’s banner (PendingBanner.tsx 232) needs a count of the parts still waiting, not only chain.first. A funding’s waiting parts count as pending in fundingState (sessions.ts 966) until they go or the chain stops.wasm/tests/payment_parts_shapes_test.rs, ignored, run in release) gets A’s live shape (one big ADA UTxO, 20 bundles of 20 tokens at their least) and checks every chain.The live case is ready on A (driver on port 47001, build dist-A-parts-5 = 10a; rebuild with DIST_TAG=parts-6 FRESH_DIST=1, after a kill -9 of the old driver, which ignores SIGTERM and keeps the profile locked). A holds 24 private UTxOs: the 400 test tokens in 20 bundles at exactly their least, 120.496922 MIN in 2 UTxOs (one also holding the 2,218 tADA back from 10a’s swap), and two 1.75 tADA UTxOs. All 400 tokens, 0 tADA, to A’s own Seedelf was refused before (409 tADA in one UTxO, 3+ parts by size): with 10b it should go as a chain. That run also shows whether the “1 of 3” words read right, the open question (b) under Also item 10.
The owner tests chunk 34 by hand on the dev build and hands over items, mostly the screens’. Each is fixed with a test that fails without it, looked at in the screens harness, and dist rebuilt.
HeldOnSide); the public account’s ADA holds the stepper (mixMost, nothing kept aside: its collateral is apart and the deposit’s fee is in the reserve), with capBalancePublic, noneAffordPublic, cantAffordPublic; at ten, capMix (“At most 10 boxes go in at a time”); the count drops to one where none fits (boxesShown). The owner asked for ADA pools too, so the classic pool’s form gains the balance line and the ten line: two lines added to backward compatibility 7’s byte-identical form, nothing reworded. Test lovejoin-held-balance.test.ts.tagOf, subOf, detailOf); any other mix says “3 of 9 transactions sent” or where it stopped while its chain’s record is kept, Done after. lovejoin.mixes.back and .backMoved are gone. Tests in lovejoin-hub.test.ts.cleared mark on the list’s entry (sealed schedule, MixEntry) and on the mix session (mix.cleared), set by lovejoin-mixes-clear, which skips a chain being sent and a session not over (clearable in the page). A cleared entry’s session stays named as listed, and the last few over are picked before the cleared go, so clearing brings no older ones in. Ten at a time, tokens.showMore. Pools as a grid (PoolGrid) once there’s more than ADA’s group: logo, ticker, the wallet’s boxes or how many pools; a token with one pool opens its page (tileOpens), one with more its own screen (PoolGroupList untitled); a pool’s Back returns there, a sent mix to the hub (onHub). ADA’s alone keeps its rows, so a classic-only hub reads as before. Tests in lovejoin-hub.test.ts, lovejoin-release-rules.test.ts. Found by the full e2e run: on preprod the hub’s first read lists the classic pool alone, and the grid comes with the read after the look finds the head start’s MIN and 5 ₳ ADA pools (R10’s read again), so a test that clicked fast saw rows and a slow one the grid; the e2e now opens the classic pool through ADA’s tile on preprod (classicRow) and comes back through ADA’s list (poolToHub). A fresh preprod device sees the rows turn into the grid a moment after opening; mainnet bundles no token pool, so its hub keeps rows.againWay went four only where four took as many boxes as three. The owner: “Four now, rest next press” (the review already said “Mix the rest once this is done”), and a per-mix switch, default from Settings. againWay goes four wherever four takes a box; atThree says what three would take, on both sides’ again reviews (public’s gained owned). The Four boxes a mix switch (FourSwitch, Settings’ keys reused) is on the Mix form and Mix my boxes again’s review, one width a page; every build takes width (lovejoin-mix-private-build, -public-build, -again-build, -again-public-build, lovejoin-funding, which no longer caps at Settings’). The form’s formWidth (four going three behind the setting) became formRoom: at four the stepper stops at four’s room or one chain’s length, with capFour/noneFitFour naming three’s. Tests in lovejoin-planner.test.ts (the old fallback test rewritten to the new rule, mutation-proven), lovejoin-screens-review.test.ts, and the mix-again e2e turning the switch both ways.withdrawOne frees its slot once a submit is taken, so the next goes at once, and only a box’s waits held them apart. Bring every box back now in Settings → Lovejoin (not “Bring everything back”, a session’s), behind its question (BringAllBackQuestion, settings.lovejoin.privacy.bring and .bringCost): lovejoin-bring-all-back seals bringing in lovejoin.<network>, and every run from then (bringAllBackNow, from withdrawDueNow, the unlock’s too) takes every box, mixed or not, a Bootstrap’s held ones too (bootstrap, so its entry counts them), the classic pool’s first, a stuck pool’s paid from the private balance (call 36), for BRING_RUN_MS (2 min) a run; it waits as Bring one back now does (a chain being sent or mixing again, a withdraw that may have gone through, a payment that may), and leaves reserved boxes to their chain. Over when a run finds no box it can take: due times and counts cleared for Home (since session 9: it takes only what was there when asked, a mix sent since keeping its waits and its due times, and waits for boxes a kept review holds rather than ending without them). BRING_FAILED_RUNS (3) runs that sent nothing (a pool read that failed counts) stop it with the latest reason (settings.lovejoin.warn.bringStopped) and Try again; Stop forgets it. Settings reads lovejoin-held’s bringing every 4 s (BringAllBackView). Tests: lovejoin-bring-all-back.test.ts (real WebAssembly: four boxes in two pools and a Bootstrap’s in one run, then over; waits for a chain being sent, mutation-proven; three failing runs stop it, asked again it goes; a failed pool read; Stop), settings.test.ts, and an e2e (asked with nothing in Lovejoin: kept, then over). The three critical keys back-translated blind over three rounds (verified-critical-*.json); most fixes were the English’s own. The boxes come back as that many private UTxOs, which also tests spending many of them at once (the owner). Then (“so bring it all back is global over all pools and not just a select pool. hmmm”; asked, then: “global oh crap button in settings … Then on that pool mix page, something that allows that pool specific”): bringing.pool, from each pool’s page (BringAllBack in ui/components/BringAllBack.tsx, shared with Settings, pool, shown while the wallet has something there), the run taking that pool’s boxes alone and clearing that pool’s figures when over. Every pool’s widens a pool’s run; another pool’s is refused (lj.bringOtherPool, the page’s button off with lovejoin.bring.other). No new critical key: the question’s privacy notes are Settings’ own. Tests: the pool’s run (mutation-proven), the widening and refusal, and the page’s states in settings.test.ts. On the pool’s page a link with its line under it, as Help start the pool is (the owner asked: a large button or the link? Claude: the link, as it’s rare and costs privacy; Settings’ stays a button; “yea do it”). Then the text cut (“we are doing that thing again where we write paragraphs … the rest is text like some god damn essay”): the link alone, Settings’ button with one short line, the question’s confirm “Bring them back” (one line), its notes a few short sentences (settings.lovejoin.privacy.bring, .bringCost, .warn.bringStopped shortened, back-translated again), lovejoin.bring.note gone. Then (“Not the best indications of what is going on but it did function correctly”): a run counted its sends only at its end, so a pool’s run showed none sent, then done; now left is set as a run starts and each send counted as it goes, a bar beside the counts, read every 2 s (test: the counts go 0/4 to 4/0 in one run).UTXOS_PAGE, tokens.showMore, as Your mixes pages); kept ones still first. Test: an e2e with 26 public UTxOs.confirming), the page saying “8 boxes sent. Waiting for the chain to confirm.” with no Stop, and Done (“back in your private balance”) once none is listed. Tests: the run waits until the fake Koios marks the boxes spent, for every pool and one.build::TooMany, is_too_many); WebAssembly’s buildTransferParts/buildWithdrawParts build an amount to one recipient in parts (in_parts: the largest 20 of the rest a part, all their ADA but its fee, its unrequested tokens kept (transfer_most, sweep_most: Everything would have paid them), the UTxOs holding the tokens sent kept for the last, which pays what’s left) and Max over every UTxO (max_in_parts), MAX_PARTS 25; never a session’s funding, most, or several recipients. The worker keeps each part under its own key (keepParts, partKey, the first with partHashes) and sends them in turn through the reviewed send (sendParts), the last with PendingTx.chain; a part refused after the first says how many went (worker.parts.partly), and Koios not answering stops the rest (partlyMaybe). The reviews add the parts up (whole), with a Transactions row and a one-line note; Max’s notes on both forms rewritten (no more “up to 20”), back-translated blind. Tests: core apart_test (typed), WebAssembly api_test (an amount in parts both ways, the tokens in the last; Max in parts both ways; one part), payment-parts.test.ts (two parts sent with the chain, a refused second, Max in parts, one part as ever), an e2e review of two parts. Then “attempting to send all my min to myself … its not breaking it up”: the MIN was in more UTxOs than one spends, all kept for the last, which then couldn’t go. While the tokens sent are in more than 20 UTxOs, a part sends what the 20 holding the most hold (token_group, share_of, less), with the least ADA that carries it; Max too. Tests: 30 UTxOs of a token, all of it, both ways and Max (each failed before), and through the worker. Live on preprod (Claude, the test wallet A in dev mode, at the owner’s ask): two sends of 20 × 10 MIN to A’s own Seedelf (d06fd4e7…, b8e58263…) spread its MIN over 42 UTxOs (at 22 it still went as one: a transaction fits 22 Seedelf spends, a part takes 20); then all 3,120.496922 MIN to itself went as 2 parts, a275a398… (20 inputs, 2,900.496922 MIN) and 66113cab… (22 inputs, 220 MIN), sent within 2 s of each other and both on chain at the next look, the MIN intact, A’s private UTxOs 47 → 9; the submit answered with chain {first, total: 2}.wasm/tests/payment_parts_shapes_test.rs (ignored, about a minute in release): 23 wallet shapes (ADA alone, a token spread thin, a pool’s boxes brought back, NFTs, bundles of 10–60 tokens, a move-in’s bundles at exactly their least, ADA-poor holders, a mix), each asked amounts, amounts with some or all of the tokens, Max and Everything, both ways; every part decoded and checked as the ledger would (size, each output’s value, conservation, nothing spent twice, exactly the tokens asked), every refusal against the most the wallet could pay. It found, each fixed with a test that fails without it:
in_parts); the tokens go first, then parts of ADA alone.build::TooLarge, is_too_large); a part too large tries fewer UTxOs, read off how far over it was (TooLarge::fewer, Room).max_val_size (5,000): the review showed it, the node would refuse it. settle now refuses an output over 5,000 bytes (MAX_VALUE_SIZE, value_size, matched against the ledger’s encoding), and a payment’s tokens go 20 to an output as change and deposits already did (seedelf_payment, pay_address; minimum_seedelf_payment/minimum_address_payment are their outputs’ least added up, unchanged up to 20 tokens), so 160 tokens go as one transaction. Public Send to an address splits the same way.Room::ada, for_ada); Max’s token parts take ADA UTxOs too.most) now goes in parts too.whole): now theirs added up, so “the least the network accepts” shows when that’s all the parts pay."decimals": null, and seedelf-koios read a u8, so a request holding a just-minted token was unreadable (“invalid type: null, expected u8”; anyone can pay one to a Seedelf). It reads as 0 (zero_if_null, rows_test). Mainnet’s data layer always writes a number.build_test (value size as the ledger encodes it, an output too large refused typed, 80 tokens to an address 20 to an output, the size refusal typed), WebAssembly api_test parts_of_any_shape (five shapes, each refused or wrong before), payment-parts.test.ts (the least added up), Koios rows_test; the “tokens in the last” test now asserts the tokens in the first.be3a888b… (the 20 largest holders, their ADA and MIN) and 7fd14364… (the last 2 and the 300 ₳ UTxO), exactly 370 ₳. L2 all 240 test tokens (12 policies of 20), 0 ₳, from a move-in’s 12 bundles: one transaction, 49c5a551…, the payment in 12 outputs of 20 (before: one output of about 9.7 KB, which the node refuses). L3 Make public 80 of them to A’s address: 9139991a…, 4 outputs of 20 to it. L4 240 tokens each under its own policy from 12 bundles at exactly their least: 2 parts by size, 1df39434… (8 bundles and an ADA UTxO for its fee, 14,568 bytes) and 1300ea4e… (8,459 bytes), their least added up on the review. All on chain. The null decimals were found here, at L2’s move-in. Hashes in full in the rehearsal’s NOTES.md.Worth, core max_inputs_by), and a part of ADA alone that can’t pay tries fewer (Room::fewer). Test max_spends_every_utxo_of_ada_before_bundles_that_add_nothing (fails on 1cd50db); the shapes harness now checks no Max leaves a UTxO of ADA alone. Live: A’s Max to itself went as one transaction, 80f15c41…, every spendable UTxO of ADA alone in it, one output of 409.88 ₳, the tokens back 20 to an output. Uncommitted.State, 2026-10-21: item 9 is pushed on web-wallet/release-1.6.0 (1cd50db code, b5104a9 docs) and the owner is testing it by hand. Item 10 waits for that test (the owner: “Let me test first to make sure it works for me”); start it when the owner says so, and fold in what the test finds first.
The ask (the owner, after item 9): “if a user wants to sell X tokens on minswap but to fund the private one time flow it requires that tx to be split with the logic you just wrote.” A private swap funds its one-time account in one transaction, so selling a token spread over more UTxOs than one spends (MIN back from a pool’s boxes), or one too large, is refused as Send was before item 9.
The owner’s call: “if it requires y parts but y-k come in then its not complete and is basically equal to the one time account being not funded.” A session is funded only when every part of its funding has landed; until then nothing runs, and with one never landing it counts as never funded. Still to confirm with the owner before building that branch: what happens to the parts that did land. Today a never-funded session’s account is empty, so nothing comes back; here it holds some of the money. Claude’s reading: the run stops (auto.failed) and what came goes back as Stop would bring it (the approval’s way, direct or through Lovejoin), never swapped. Ask whether that’s automatic or offered.
Where it is now:
buildFunding (extension/src/background/sessions.ts:2465) builds every funding with one wasm.buildWithdraw call, funding: { session }. Its callers: outBuild (1583, a private swap), siteOutBuild (1666, a site’s private session), mixFunding (1785, a private Lovejoin mix), topUpBuild (1855), collateralTopUp (1980, 5 ₳, always one transaction). One change there covers all but the last.build_withdraw_parts (wasm/src/lib.rs:3751) returns one transaction for it (3755). Funding’s own pick is Purpose::Fund (lib.rs 3271, core Histories, rank at seedelf-core/src/build.rs:2311): the session’s own money first (a top-up), received money or a box that pays alone first, another session’s money last. The parts don’t keep that order: in_parts/max_in_parts (lib.rs 3550, 3640) pick through Room::picks → build::max_inputs, the largest first, whatever the history. That’s the WebAssembly work: a funding-aware pick (rank free by the purpose before the largest), so parts never take another session’s money ahead of the rest.outSubmit (sessions.ts 2516–2560) keeps one KeptOut (538) under SESSION_OUT, records txs: [outRecord(…)] and sends it with send. Send’s parts are the model: keepParts, sendParts, whole (script-spend.ts 409–490), partKey, PendingTx.chain.view() counts a session funded once any UTxO is at its account (funded = out.confirmed || !!utxos?.length, sessions.ts 4697), so the first part landing would make it “open” and let the runner swap part of it. The runner checks only the first record for never-funded (const out = s.txs[0], 3007–3033), though it does wait for every unconfirmed record before acting (3040).swapBuild, 2563, minswap.buildTx(address, …)), and the account spends with its key, with no script budget, so several funding UTxOs are fine there. Check the same for Lovejoin’s deposit from the account (mixFunding → the chain’s first deposit) and for a site session’s spends.Order of work:
api_test cases (a token over 30 UTxOs funded in parts; another session’s money left last; a top-up’s own first; one part as ever), each failing first.buildFunding → buildWithdrawParts + whole; KeptOut keeps parts (keepParts under SESSION_OUT); outSubmit records an out per part and sends them with sendParts, the last with chain.out confirmed (or its outputs listed), in view() and the runner; never funded = any out never landing; then the owner’s rule above, after asking the open question.worker.parts.partly): the same as a part never landing.Also item 10: parts that share ADA (the owner, 2026-10-21: “add it to item 10 and we can discuss it further there”). To discuss with the owner before building:
privateShortOf → privateLeft: Max in parts paid more than was asked, so it took the shortfall for what stays). Whatever the fix, a refusal of this kind needs its own sentence.measure_locally(known) as a Lovejoin chain is) and sent in order (the node’s mempool takes a transaction spending another’s output: the test-token mints went that way). The cost: those parts depend on each other, so if one doesn’t go, none after it can (worker.parts.partly then means the rest couldn’t go at all). No new link: the parts already tie every UTxO they spend together, to one recipient at once.worker.parts.partly (part 2 refused, its reason after “didn’t:”) or partlyMaybe (Koios didn’t answer part 1, so the rest held back)? Every live run so far had at most 2 parts; send 3 or more live once the planner can build them for A’s tokens.The owner’s calls, 2026-10-21 (session 7):
Collateral-Provider/docs/WALLET_INTEGRATION.md, Chained transactions: “Wallets should wait until the parent is ledger-resolvable”; non-empty additional_utxos is refused on purpose). So a part spending the part before’s change waits for that part to be in a block (~20–60 s), not just in the mempool, and chaining every part would turn every payment in parts into a background job of minutes. The owner: chain where needed. Parts with their own ADA go at once as today; a part with no ADA spends the part before’s change, sent once that part is in a block. Lovejoin’s chains aren’t touched: they put up the one-time account’s collateral.The plan, in two steps (Claude’s cut):
build_withdraw_parts takes a funding (a top-up’s 5 ₳ alone stays one transaction), its picks by funding’s order before their worth (core Histories::rank_of; max_inputs_by takes any ordered key), the collateral output in the part that ends the payment (in_parts’ extra, reserved from every part before). Worker: buildFunding → buildWithdrawParts + whole, KeptOut/KeptFunding parts, an out record per part, funded once every out landed, a part that never lands or is refused → the funding didn’t all arrive with Bring it back (the approval’s way). Screens: the approval’s Transactions row and note, the session’s page. Tests, then live on preprod.pay_rest to itself). WebAssembly: a part short of ADA with none left chains from the part before: from there ADA flows forward, each part paying its tokens and carrying the rest, the last paying the ADA owed (Max: all of it); each part says which it spends the change of (after), its carry measured as an unsent UTxO (measure_locally’s rows). Worker: independent parts sent at once, a chained one once its parent is listed (the minute alarm and Home’s polls pump it, while unlocked; a lock stops the rest), Home’s banner counting them. Funding with chains through the same sender.10a, built (session 7, uncommitted until its checks pass):
max_inputs_by takes any ordered key; Histories::rank_of; sweep_most_with pays fixed outputs beside the most.build_withdraw_parts takes a funding. Its first payment goes in parts as an amount does; the payments after it (the account’s 5 ₳ collateral) go in the first part (in_parts’ beside, first; Withdrawing::Most carries them). A funding’s picks go by funding’s order before their worth (Worth keys (rank, worth); Send and Make public keep rank 0, so their order is unchanged). Tests: api_test a_funding_* (parts with the collateral once in the first; another session’s money last and a top-up’s own first, proven to fail without the rank; one part as ever).buildFunding builds parts (a top-up, a collateral top-up and Mix my boxes again stay one transaction: mixing again pays its mixes from the account’s largest UTxO, plan_at) and keeps them (keepFunding → keepParts, each part with its own figures for the history). fundingRecords records every part before any is sent (SessionRecord.parts). sendFunding sends them in turn, the last with chain. A part turned away is unsent, and so is every part after it (worker.parts.fundingPartly/…Maybe); the first turned away is a never-started session, as before. fundingState (landed / funding / short / never) decides view()’s stage and the runner. A part not shown in time and not listed at the account is missed. A funding short of one pauses (SessionPause short): nothing is swapped or mixed, Try again finds it short again, and Stop (the page’s Bring it back) brings back what came. A missed part that lands after all lifts the pause at a refresh. A site’s enable() waits for every part (fundingSeen returns the state). Short, the site is refused (dapp.fundingShort) and its link to the session dropped, so its next enable() can’t take what came. SessionView.parts {landed, total, short}.review.fundingPartsNote. The swap page’s short pause says why (swaps.pause.warn.short) and has Bring it back (Stop’s dialog), and its timeline stays on a failed funding step (swaps.step.fundingShort, swaps.step.partsIn). The mix card says it (lovejoin.tag.short, .sub.fundingShort, .detail.short). The site page says it in the detached callout (sites.warn.short).session-funding-parts.test.ts (in parts and recorded; waits for every part; short → paused, Try again stays short, Bring it back returns; a late part lifts it; a refused part; the first refused). site-funding-parts.test.ts (enable() waits for every part; short → refused and unlinked). Mutation-proven: the old “anything at the account” rule in view() and in the connector, and the short pause. The planner test that made a funding with token boxes fail now stands in for buildWithdrawParts. restore-scan’s “keeps its network marked” takes about 4 s alone (three restores, three fundings), as before this change: given 20 s.swaps.pause.warn.short, sites.warn.short), back-translated blind over two rounds. Most fixes were the English’s own: “its page” named no page and became the session’s; “it starts” named nothing and became the session. The Spanish lost “sus” (read as “your”) and gained the subjunctive. The rounds are in verified-critical-*.json.2d32e1a3…, 4316059c…), the collateral in the first. The session read “0 of 2” until a read saw both, then the swap went in the same step (8e7fea0d…), and the return brought back 2,218.59 tADA (9349b0d9…). Hashes in full in the rehearsal’s NOTES.md. A short funding wasn’t forced live: a part can’t be made to fail on chain on purpose; the Vitest cases cover it.10b, the design (Claude’s, before building):
Room::for_ada → none). The parts built before it stay independent. Chaining starts at the last of them that still has ADA (the anchor), and from there to the end every part chains.pay_rest(RestTo::Seedelf(owner), none), so the tokens it doesn’t send stay as change with their least). The next part spends that carry beside its own UTxOs (MAX_WITHDRAW_UTXOS − 1 of them). The chain’s last part pays the ADA still owed (Max: all of it) and keeps the change. An anchor whose ADA can’t carry the chain moves one part back, down to the first.came_back builds a row). It’s measured in the wallet like any row (measure_locally), so nothing about it is asked of Koios before it’s on chain.inputs, no new field). giveme.my signs only once that part is listed on chain. So a dependent part stays kept until its parent is listed, then goes: giveme.my, the one-time key, submit.sendParts/sendFunding send the independent parts at once, as today, and record the rest as waiting (sealed, so Home’s banner and a session’s page can count them). A pump (the minute alarm and Home’s poll, while unlocked) sends each waiting part once its parent is listed. A lock wipes what’s kept, so the rest never go: a Send says how many went, and a funding is short (10a’s rule, so Bring it back). A part refused stops the parts after it.api_test. A worker test where a dependent part waits until its parent is listed, and one where a lock stops the rest. Then live on A: its 400 test tokens to itself (3+ parts), which also shows whether the “1 of 3” wording reads right.Harness: the rehearsal driver is in session 2c01f20b’s scratchpad (/tmp/claude-1000/-home-logic-Documents-LogicalMechanism-Seedelf-Wallet/2c01f20b-bc3b-453d-8ae9-c6a3d6e0af08/scratchpad/rehearsal/: driver.mjs, rpc.sh, NOTES.md; A on port 47001, last on dist-A-parts-3). The test-token minter is in session 726de239’s scratchpad (/tmp/claude-1000/-home-logic-Documents-LogicalMechanism-Seedelf-Wallet/726de239-add8-4f9c-a2ad-43cb303569dd/scratchpad/minttool/). A holds 480 test tokens on preprod, and its MIN is in two private UTxOs at its own Seedelf after L1.
After the last review (below) the owner went through its open calls and made three, each reversing a rule Claude had added on top of the contracts (memory no-paternalistic-guards: the wallet refuses only what the ledger or the contracts refuse, a user’s mistake is the user’s, and the private balance pays by default wherever the public account could). Session 4 started them (core’s withdraw_private) and stopped for a new context; session 5 (2026-10-19) built the rest, with agents by area in the one tree (supply, WebAssembly, screens, docs), then two read-only reviewers by lens, a blind back-translation round, and mutation proofs.
Asked and decided this session: where the wallet picks a pool itself (a return’s tokens, acrossOf; a swap’s token pool, tokenPool; Change’s list), Claude proposed it keep avoiding a pool whose boxes can’t come back. The owner: “Treat it like any pool”, with the review saying so. Built as LovejoinTokenWay.stuck (lovejoin.ways.warn.stuck under the token’s row).
Call 34 · A mix that passes the logic is allowed. usableNow (lovejoin.ts) refuses only a box below the network’s minimum (belowMinimum) and a copy (superseded, not for mixing again); a pool whose boxes can’t come back (cantComeBack), or where the check couldn’t be made, takes new boxes from every flow, either side. LovejoinUnusable is narrowed to those two; lj.unusable.warn.cantComeBack and .unchecked are gone. The status measures cantComeBack for every token pool, the wallet’s boxes there or not, and the pool page shows the stuck callout (lovejoin.stuck.warn.lead) before Review whenever it’s set; its Bring one back only where the wallet has a box the hatch takes. The hub’s row flags every stuck pool. stuck() and acrossOf/tokenAt flag a token’s way. The due-time withdraws are unchanged: a stuck pool’s due box waits STUCK_WAIT_MS, and nothing pays for it by itself. The anyway question’s “Mix my boxes again hides it first” is its own key now (lovejoin.anyway.privacy.hides, .hidesPublic), said only where that button works.
Call 35 · No supply check at a pool’s start. Gone from the wallet (lovejoin-launch.ts’ choose(), LAUNCH_SUPPLY_BOXES, assetSupply in koios.ts and data-layer.ts, lj.launch.supply, lj.launch.unknownToken, the 30 × Q cap at build: Q’s only bound is the ledger’s, and core refuses a k × Q past a u64 in words) and from the server (assets.rs, its tests and README: byte-identical to e6b5dae, asset_info takes the one select again). A start asks only account_info. Docs: the policy, privacy.md, the listing’s per-host Koios row; this plan’s decision 14 and §5 struck through.
Call 36 · Bring one back paid from the private balance, by default. Core lovejoin::withdraw_private (one Seedelf UTxO of ADA alone beside the box, its own proof bound to a one-time key, giveme.my’s collateral, the wallet contract’s reference script; PrivateTooSmall). WebAssembly buildLovejoinWithdrawPrivate(key, { network, params, pool, boxRef?, utxos, poolRef? }) tries the UTxOs in the worker’s order, skipping a token’s, another wallet’s, one with a reference script, or one too small, and answers the transaction unsigned with the one-time key’s seed, as every Seedelf spend ({ txCbor, txHash, seed, fee, lovelace, spent, spentLovelace, boxRef, token? }); none pays: NO_PRIVATE_PAYS’s fixed words. The worker (withdrawOne, paid: true | "private"): readContract’s UTxOs (nothing locked or reserved), one a box back from Lovejoin made first, then the smallest; giveme.my’s witness, then signScriptSpend; Withdrawing names its box and keeps the history’s origin (the box’s way back merged with the paying UTxO’s class and any account ties), and lovelace is what came in, net of the UTxO that was private already; settleWithdrawing writes the same history. None pays: lj.privatePayNone. The handler passes "private" or true, nothing else. Screens: the escape hatch’s question (PaidQuestion), a held box’s (HeldQuestion) and a not-mixed box’s (AnywayQuestion) in a stuck pool each offer Pay from my private balance (primary, first) and Pay from my public account (a button), each with what it ties (lovejoin.stuck.privacy.private, .public); the callout’s link says Bring one back.
The cross-area review (two read-only reviewers by lens, MONEY/WORKER/RUST and SCREENS/I18N/DOCS, over the uncommitted diff): nothing high. Fixed, each with a test that fails without it:
reviewHint); the form’s each-box-back row goes (EachBoxBackRow). The classic pool’s markup is byte-identical, captured before and after.ClaimAll) never said a token’s pool was stuck: a warn callout names each such token (claim.warn.skippedItem with lovejoin.ways.warn.stuck). The other return reviews show TokenWays already.stuck: lovejoin-planner.test.ts, a return through LJTEST at 4,800 a byte and a swap’s MIN box at 12,300 (a 4.5 ₳ box is stuck only in a narrow band, about 11,950–12,780).CantPayBack (PrivateTooSmall paid from the private balance, so the next UTxO is tried), test a_box_worth_less_than_the_fee_cant_pay_its_way_back; lj.privatePayNone said “make some ADA private” when every UTxO was locked or waiting for a return (now nothingToSpend’s words); a pool read measured each token pool twice an epoch (usable’s measure now answers whether a box comes back too); the payer buttons lost the danger the questions had (the private payer is danger, still first); “Next one back” and the Bootstrap’s “come back by themselves from then on” hidden in a stuck pool; the shared isHistoryClass; the private Bootstrap’s gate tested in a stuck pool; flows.md’s “beside it”; the listing’s character count (2,538).Checks on the final tree (after the review’s fixes): Rust fmt and clippy -D warnings clean, 626 + 115 tests over both workspaces; WebAssembly 205 native and node --test 55 of 55; tsc clean; Vitest 2,430 passed + 4 skipped on both builds; e2e 100 of 100 on the dev build and on the store build (build:store, not package, so no release zip was written), and the data layer’s 3 of 3. Every worker fix’s test fails with that fix reverted in a copy of the extension (thirteen mutations), and the core and screens fixes’ tests failed before their fixes. The paid question and a stuck pool’s page, with and without the wallet’s boxes, looked at in the screens harness. The blind round: three rounds each language (verified-critical-*.json’s note); most fixes were the English’s own.
For the owner, from session 5:
Session 3 (2026-10-18/19, a new context; same branch; committed at its end as 8cc0044 and 030fdcf) did steps 1 to 3 of the first handoff, and fix round two with its two reviews (Fix round two below). Session 4 (2026-10-19) ran a last review of all of 34g and fixed what it found (The last review below), committed on top and pushed. Where it stands:
npm run lovejoin-pools (preprod: the MIN pool dfa1f845… and the 5 ₳ ADA pool 18c4df77…; mainnet: none); the data layer’s decimals (byte-identical, registry a7f2aed, nothing to commit); the store listing’s Lovejoin text (the owner: “Draft it now”).tsc clean; Vitest 2,400 passed + 4 skipped on both builds (npm test, VITE_ENABLE_MAINNET=false npm test); e2e 100 of 100 on the dev build and on the store build, and the data layer’s 3 of 3 (npm run e2e:data); Rust on 030fdcf, which the last round didn’t touch: 736 tests over both workspaces, fmt and clippy -D warnings clean.The rehearsal’s wallets (A, B, C on 47001–47003) run on, so B’s last boxes come back by themselves; A holds 39 Bootstrap boxes in the MIN pool for the owner’s run.
cd seedelf-data && cargo test --test live_lovejoin -- --ignored --test-threads=1 --nocapture; live_public’s total_supply part and the SUPPLY timing went with call 35); their own rehearsal by hand (decision 29), perhaps on Claude’s MIN pool, which holds 39 of A’s Bootstrap boxes; a look at the store listing’s new Lovejoin text (below); the calls under For the owner.gh api -X PATCH for body edits, memory gh-pr-edit-workaround), CI; after the merge, deploy the API first (34c’s token routes, DATA-3/4; PRIV-2’s asset_info route went with call 35, so the wallet asks asset_info only as 1.5.0 did), check lovejoin/pools and lovejoin/tokens answer 200 by hand (the deploy’s /health says nothing of them), then package from the merge commit, upload, and the record PR with the zip’s hash (memory web-wallet-branching).Three wallets in headless Chromium, each kept unlocked and steered through the worker’s own RPCs and the screens (the harness below). A is the funded test wallet (extension/.preprod-test-wallet.txt), B a fresh phrase, C a fresh phrase started on 1.5.0’s build. Every transaction is on preprod.
| What | Transaction | What it showed |
|---|---|---|
| A starts a MIN pool from its private balance, 100 MIN + 4.5 ₳ a box (the suggested ADA) | 5ef638917a4f3ad7c6300ef18153fff77dccf97a7c5a51a639e0b42e48cb5cf2, pool dfa1f845… |
S0c is settled: cert 0 registers mix_logic with no script witness, and giveme.my signs a launch. Locked 23.11 ₳, fee 0.48 ₳, as the review said. Discovery found it about 10 minutes after its block (the tx_info look), as designed. |
| A swaps 150 tADA for MIN privately | out 736bc965…, swap d9490cf4…, back 6548b64d… |
13,507 MIN back in about 3 minutes. |
| A Bootstraps 40 boxes from its private balance | funding cca5bdf5…2b76dd, deposit ccf7f1d8…, back ab624108… |
Found the release’s worst bug (R0 below): the boxes got due times. Fixed, then held: 40, no due time; Home shows them (MONEY-4’s fix). |
| B (fresh) gets 1,500 tADA and 5,000 MIN from A, moves 900 tADA and 2,000 MIN in, sets collateral from the pool’s page | 1b947f26…, b39ff373…, 19e6eb09…, 1c32eccf…, 03859d16…d7ea57 |
The pool page’s Set collateral comes back to the pool (R6 below). |
| B mixes 2 MIN boxes from its public account, depth 2, three wide | first d20d4fb6…853880, 9 of 9 |
|
| B mixes 2 MIN boxes from its private balance, four wide | funding e6028c8e…9df97f, 12 of 12 |
The review says “four boxes a mix” and “one of up to 16”; two in flight at once. |
| B swaps 5 tADA for MIN privately, Settings at four wide | out 5a665d42…, swap 627d8f9a…, deposit 0204cded…, back 92dbe4e3…, 18 of 18 |
A swap that funds its token’s boxes, and a return holding the token, through its pool (Verification 5): 4 boxes funded (18 ₳ + 16.7 ₳), and four’s fallback to three said on the approval (“hasn’t enough boxes free to mix four at a time”), “one of up to 9” (Verification 8). 52.75 MIN, less than a box, came back directly. |
| B starts a 5 ₳ ADA pool from its public account | 2a8029dc6469a7b9f99b0a14640b2695c2f265015ac32fd076d5d737c765b393, pool 18c4df77… |
The account-paid launch, and an ADA pool on the new contracts (decisions 10, 17): found by B, then by A. |
| C, on 1.5.0’s build (63f87b8, a worktree), moves 200 in and mixes 2 classic boxes privately; at 4 of 10 sent, the browser restarts on 1.6.0 | 144bb495…, 55c94e84…, d2a53410… |
The upgrade, live: 1.6.0 reads the 1.5.0 record mid-chain and lists the mix; the restart cut the chain, as any restart or lock does (1.5.0 the same, the gate’s case); its 2 boxes read “not mixed yet”. |
| C mixes them again on 1.6.0 | c6210cd1…, 9 of 9 |
The cut mix’s entry closes as its boxes move; 2 boxes due. |
| A brings one Bootstrap box back by hand, on the fixed build | eda62e40…71c952 |
It asks first (“Bring back a Bootstrap’s box?”, PRIV-5’s fix); 39 held, the entry counts 1 back. |
Also: the live width test again (lovejoin_width_test -- --ignored): unchanged on both networks, four fits at 98.8–98.9% of the step limit. PR #163’s dev pool (c5852bb7…) isn’t in either wallet’s read set (Verification 7). The token list didn’t change; the DReps did (mainnet +3 named: Adalion, CryptoDossier, Endubis Hub; QuocTuan no longer registered).
Session 3’s part (2026-10-18/19), on the same three wallets and three restores of them:
| What | Transaction | What it showed |
|---|---|---|
| B’s MIN boxes, and C’s 2 classic boxes, come back by themselves | B’s first at 22:23:33, a minute after its due time, then 22:44, 23:34, 00:46, 01:45; C’s at 00:05:33 and 01:30:33 | Verification 4, in a token pool: B’s private MIN went from 1,852.745746 to 1,952.745746, one box’s 100 MIN; C’s came back on time after the 1.5.0 → 1.6.0 upgrade. |
| B2: B’s phrase restored on a fresh profile | none | Verification 6: the hub’s look found both new pools and B’s 8 MIN boxes, each a fresh due time. Found R10 and R12 (below). |
| A2: A’s phrase restored on a fresh profile | none | Of A’s 39 held Bootstrap boxes, the 37 B’s mixes had moved got due times; the 2 still at the deposit read “not mixed yet” (R11). Home: “In Lovejoin 37 boxes … 2 not mixed yet: open Lovejoin to see what to do.” Stopped before its first due time, so A’s crowd stays for the owner’s run. |
| B mixes 2 MIN boxes privately, three wide | funding 1654998a47…b22bf7, 10 of 10 |
The review: 8 mixes, “one of up to 9 boxes at 2 waves deep” (four wide said 16). |
| B3: B’s phrase restored again, on the fixed build | none | R10 and R12 fixed, live: the hub read “None”, then with no Refresh “3 boxes, 300 MIN + 13.5 ₳”; seedelf.sessions armed after that read. |
What preprod can’t reach stays as it was: the floor (preprod’s is 0, R2), the escape hatch (needs a pool whose boxes can’t pay their way back), and the data layer (FEED’s fix of the mainnet stall is tested offline only).
The harness (all in /tmp/claude-1000/-home-logic-Documents-LogicalMechanism-Seedelf-Wallet/2c01f20b-bc3b-453d-8ae9-c6a3d6e0af08/scratchpad/rehearsal/, gone after a reboot): driver.mjs <name> <phrase file|new> <port> runs one wallet on a persistent profile (profile-<name>), restoring or unlocking it, keeping it unlocked, logging every request to net-<name>.log; A on 47001, B on 47002, C on 47003, running (nohup). rpc.sh <port> '<json>' asks the worker; pw.sh <port> '<js>' runs Playwright with page, ask, context; state.sh <port> prints sessions, pools and mixes in a line; unseal.mjs <port> <record> opens a sealed record with the test wallet’s own store key; NOTES.md has every transaction; wallet-B.txt, wallet-C.txt the phrases; shots/ the screens. To move a wallet to a new build: curl -X POST http://127.0.0.1:<port>/quit, then DIST_TAG=<new tag> FRESH_DIST=1 node driver.mjs …. FRESH_DIST deletes the profile’s Service Worker folder: Chrome otherwise goes on running the old worker script for an unpacked build of the same version, even from a new path (it cost an hour here). DIST_FROM=<dist> loads another build (1.5.0’s is scratchpad/wt-150/…/extension/dist, a git worktree: git worktree remove it when done).
bootstrapOf looked for them at the mix entry’s id, its chain’s last transaction, which for a private session is the return, not the deposit; every box got a due time at the next pool read and would have come back by itself, unmixed. The entry now keeps its chain’s deposit (MixEntry.deposit, from its record where an older entry lacks it). Test: lovejoin-flows.test.ts’ private Bootstrap, through a pool read and past the record’s life; it fails without the fix. The release review found it too (STATE-1, MONEY-1).e2e/live/lib.mjs pressed “Send”, which no review says now; it reads the review’s own “Nothing is sent until you press …”.deposit was stripped in round one.{ grew } and the hub reads again on it.scheduleFound) and nothing armed it again: B2 sat four hours with 8 boxes due and made no request. scheduleFound now starts the alarm. 1.5.0’s was the same, but a classic restore’s first read could fall inside the unlock’s run. Test: lovejoin-merged-review.test.ts’ R12 block (a token pool, the classic pool, nothing found), the first two failing without the fix.Five independent reviewers, each a lens over git diff 63f87b8..e6b5dae (#308–#320): money, privacy, data layer, screens, state. Then five fixers in the shared tree by file ownership (FEED, RULES, DISCOVERY, SCREENS, RUST), each test first: every new test failed before its fix. The reports, with file:line, are in the scratchpad’s review/ (money.md, privacy.md, data.md, screens.md, state.md; FIXES.md the fixers’ brief; fixed-*.md what each did).
lovejoin/since, which lists the classic pool alone, so a token pool’s deposit and mixes were never seen and a chain past its window never moved on; preprod reads Koios, so no rehearsal could show it. Now each step is watched on its pool’s feed ("tokens", over lovejoin/tokens/since; watchOf), tx_status only for a pool the feed doesn’t cover, so no hash goes to the server while a feed can say. Tests: feed.test.ts (3), lovejoin-token-feed.test.ts.status().pools[].unusable for the page); Home never showed a Bootstrap’s boxes (MONEY-4, RULES); a launch’s asset_info went to Koios on mainnet (PRIV-2, RUST: the API answers select=total_supply, the wallet asks it first); a box back with the public account paying, or from a public deposit, wasn’t kept apart in coin selection (PRIV-3, RULES: box:<tx>+public:N); a pool once read could leave the read set, stranding the wallet’s boxes in it (STATE-2, DISCOVERY: handed-over pools stay, shown); a pool of a token a later release lists was never found on the Koios path (STATE-4, DISCOVERY: the look restarts from the head start when the list’s hash changes, listed); the API’s token list only moves with a deploy (DATA-2: development.md’s deploy step now names list.json).epoch_params whenever a token pool is read, not only for a holder of its boxes), PRIV-5, STATE-5, UI-5, MONEY-6/UI-10 (RULES), MONEY-5, DATA-3, DATA-4’s first half (RUST), the discovery throttle across Remove wallet and a restore, keep() serialized (DISCOVERY).LaunchRecord.account is never written; the swap approval’s total still counts tokens; STATE-2’s cost, a device that once read a pool reads it beside an earlier one of its values found later, so its read set can differ from other devices’ (rare: the data layer leaving the earliest out, or a Koios backend behind).verified-critical-*.json.Checks at the handoff: Rust 736 tests (both workspaces), fmt and clippy -D warnings clean; WebAssembly rebuilt by RUST, node --test 54; tsc clean; Vitest 2,349 on the preprod build, 2,348 + the one load timeout on the default build; i18n guards 88. Not run: e2e (either build), a full Vitest after the merged review’s fixes.
Also done: the version is 1.6.0 (package.json); npm run tokens (no change) and npm run dreps; the privacy policy’s Changes entry (18 October 2026) and its body, privacy.md (the start and the escape hatch as known links, the pools’ reads, STATE-2/4’s kept fields), architecture.md, flows.md, development.md (npm run lovejoin-pools in the release steps; the deploy when list.json changes).
The merged-fix review (review/merged.md in session 2’s scratchpad) found one medium and four lows, nothing high; MERGED-3 was done already. Two fixers in the shared tree by file ownership, WORKER and SCREENS, each test first, against a contract the lead put in rpc.ts first (LovejoinUnusable.why gains "superseded"; the look answers { grew }). Briefs and reports are in session 3’s scratchpad, fix2/ (BRIEF.md, WORKER.md, SCREENS.md, fixed-*.md). New tests: lovejoin-merged-review.test.ts (WORKER’s, and the lead’s R12 block), lovejoin-merged-screens.test.ts.
usableNow answers superseded first, so Mix, Bootstrap and mixing again refuse it in words (lj.unusable.warn.superseded), a return’s or a swap’s token never picks it (poolsOf, acrossOf), Start a pool never offers it to join, and status and the hub list it only while the wallet has something there. Every copy a device keeps is read once at the next pool read, and handed over (read-only) where the wallet’s boxes are (Stored.checked), so a restore finds them. Its limit, left open: on mainnet with our server up, a restored device keeps no copy (the server’s list and the head start name shown pools only), so this finds only copies a Koios look keeps: Settings’ Koios-only and opening the hub reaches them. Closing it needs the server’s lovejoin/pools to list copies, marked. Mainnet has no token pools yet.lovejoin.bootstrap.warn.allStuck), rather than promising they come back; the button stays, since the worker does bring them back once fees allow.landedDeposit). A Bootstrap no watch saw is still judged by reads alone.homeBalance + rewards would count spent rewards twice). Not on the classic pool’s: backward compatibility 7 keeps its screens byte-identical (an e2e checks the row isn’t there).swaps.step.throughLovejoin). This changes words a classic-only user sees on a swap’s page: a correction, kept.fix2/review.md): nothing high. R2-1, medium, left open: MERGED-1’s limit above, confirmed by test (and, aside, the hub’s look can race the status read’s lovejoin/pools call into a Koios scan on mainnet: pre-existing). R2-2, low, fixed (both): a copy refused mixing again too, leaving a not-mixed box there no private way out while the page pointed to one; now a copy refuses only what puts a new box in it (usableNow(…, again)), the page keeps Mix again on there and hides Bootstrap in a copy, and superseded no longer claims what’s false after a restore. R2-3, low, documented: after a restore, what made the wallet’s boxes in a copy is asked of Koios by transaction (privacy.md). R2-4, low, fixed (WORKER): which copy held the wallet’s boxes was written unsealed (shown ∩ checked); now it’s sealed (Schedule.copies), the unsealed record keeps checked alone, and this round’s earlier record shape migrates at the next read. A last review of these fixes followed (fix2/review2.md): nothing high. R3-1, medium, fixed: a copy holding the wallet’s boxes is read at every pool read, which names it to the Cardano server (ours on mainnet), while the policy and privacy.md said no read names anything of yours. The read now ends once a read finds nothing of the wallet’s left there (stillIn, WORKER), and both docs say what remains. R3-2, low, fixed (both): status sends a copy’s own reason mixing again is refused there (LovejoinUnusable.again), and the page turns Mix again off in its words. R3-3, low, fixed: architecture.md’s storage rows and discovery paragraph. Left open: below the floor, Mix again is refused with “Try again later” in any pool, and a copy may never fill; the page doesn’t check the floor first (it would change the classic pool’s page).lj.unusable.warn.superseded and lovejoin.bootstrap.warn.allStuck (critical) were back-translated blind, five rounds each, with the store listing’s new text; each round’s fixes were English ambiguities as often as translation ones (“an earlier pool … turned up after”, “once the fees allow” read as a promise, “its tokens” as Lovejoin’s).The owner, 2026-10-19: “review chunk 34g … fix any findings and commit and push”. Six independent reviewers over git diff e6b5dae..030fdcf, read-only, each a lens: WORKER (money and state), PRIVACY (what goes where, and the docs that say so), RUST (core, WebAssembly, the data layer), SCREENS, I18N-DOCS, CROSS (scenarios across areas, and whether each fix’s test fails without it). Their reports, with file:line and their throwaway tests, are in session 4’s scratchpad, review/ (WORKER.md, PRIVACY.md, RUST.md, SCREENS.md, I18N-DOCS.md, CROSS.md). Nothing high. Every earlier fix held on the final tree; CROSS reverted R0’s, R12’s, FEED’s, MERGED-1’s and MERGED-5’s in a copy and each one’s tests failed. The findings, all fixed by the lead, each code fix with a test that fails without it:
cantComeBack band), Bring one back now is hidden, and Bring one back anyway built a withdraw the box pays, which core refuses (CantPayBack, in core’s English). Now Bring one back anyway asks the public account to pay there (anywayRequest), and its question says so in the escape hatch’s words (AnywayQuestion); the hatch’s link shows only where it has a box to take. Tests: lovejoin-merged-screens.test.ts (the page) and lovejoin-merged-review.test.ts (the page’s request, through the worker, lands).found) still lost its hold when its chain’s record said sent: 0 (every send retry gave up, or a lock before chainSent): the older rule for a chain that sent nothing closed the entry, found or not, and without waiting for its pools to be read. Bootstraps are STATE-5’s rule’s alone now.chain() checks again (takesNewBoxes) and the session comes back directly, saying why. A public mix’s Send refuses a pool that turned into a copy since its review (asking nobody; the epoch’s other reasons wait for the next review, 10 minutes at most).againRefused now.lovejoin/pools is per running worker, as the throttle is in memory (PRIVACY-4; policy, privacy.md, architecture.md); the policy’s anonymity sentence says “that pool”, as the listing does (I18N-DOCS-8); the listing’s Koios justification names the pools’ discovery reads, the copies’ and a pool’s supply (PRIVACY-4, I18N-DOCS-9; the merged dashboard text is unchanged); the listing’s deploy step names list.json (I18N-DOCS-4); development.md’s part 2 read 1.5.0 and would have hashed 1.5.0’s zip (I18N-DOCS-1: it reads the version from package.json now), and npm run lovejoin-pools is among the refreshes never run on main (I18N-DOCS-2); architecture.md’s Seeding the pool was the seed’s, now Bootstrap’s (I18N-DOCS-6); flows.md’s swap return, Mix again and Bring them all back (I18N-DOCS-7); this section said “all uncommitted” (I18N-DOCS-5).npm run lovejoin-pools failed on the run that fixes a stale head start (the listed check ran before the writer): skipped while writing.Checks: Rust both workspaces, fmt, clippy -D warnings and tests clean on 030fdcf (736; the round touched no Rust); after the fixes, tsc clean, Vitest 2,400 + 4 skipped on both builds (the 9 new tests each failed before its fix), e2e 100 of 100 on the dev and the store build, and the data layer’s 3.
docs/store/README.md’s Lovejoin bullet and its “What it doesn’t hide” bullet, in all three languages, for token pools, starting a pool and putting boxes in for others; back-translated blind three rounds. Read it before the upload; the dashboard takes it by copy and paste. None of the five screenshots shows Lovejoin, so they needn’t be made again.dapps.lovejoin.what), where the hub now says “A mixer for ADA and tokens” once a token pool is read. The tile reads no pools, so it can’t switch as the hub does without a read of its own. Rewording it (“Mix ADA and tokens”) changes a classic-only user’s screen (backward compatibility 7), and mainnet has no token pool yet. Leave, reword, or switch it on what discovery has kept (no request)?SUPPLY’s timing: gone with call 35. (3) The listing’s per-host Koios row is one item shorter again (call 35).fixed-*.md: RULES refuses a new box in a pool that can’t take one, with the reason on the page (since call 34, only below the minimum or a copy); Bring them all back asks first; a held box’s Bring one back in a stuck pool named the public account on its button (since call 36, both payers, the private balance first).Superseded in part by design session 1: pools are permissionless and found live, so A, i and D below no longer hold. The costs and the threat still stand.
What spam costs an attacker
What it does, with no defence
The defences, every one the same for everyone:
| Defence | What it costs | |
|---|---|---|
| A | Listed tokens only: the vetted tokens/list.json decides whose pools exist by default |
An unlisted token’s pool stays invisible unless you ask for it, and asking shows interest |
| B | One pool per denomination: the earliest genuine pool for each (token, Q, box_lovelace). A squat is harmless: a pool has no owner or admin |
Still spammable across many Qs |
| C | Rank and cap: at most k pools per token, ranked by distinct deposits, and 75 credentials in all (one request) | An attacker buys activity, at about 0.18 ₳ a deposit transaction |
| D | A curated list each release (npm run lovejoin-pools; the owner reviews the diff, as for tokens and DReps) |
A new pool waits for a release |
| E | The data layer ranks; the wallet re-verifies; on Koios, the bundled list | Server work |
The owner’s direction (2026-10-13): A, listing by trading volume, with the pools page as the filter.
Still open: how many pools a listed token may have. A launch needs no token in hand, so anyone can launch any number of genuine NIGHT pools, each with a different Q.
(Q, 4 ₳), as ADA’s is 10 ₳.tokens/list.json, set when the token is listed, about 10 ₳ worth on a 1-2-5 series, never changed. Or the first launch for a listed token sets it.Either way: npm run lovejoin-pools writes the bundled list at release. It’s the Koios baseline, and the data layer can serve the same list faster.
The review’s point: the floor counts boxes, not owners.
b′ = x·a′ on every mix output, find their own, and so trace everyone else’s. That might be its launcher, or a token issuer minting freely.The ideas:
made_by or tx_info.The owner’s direction (2026-10-13): d, as Bootstrap a pool.
Session 1’s answer (7, 16 and 18):
The proposal (the owner, 2026-10-16): Settings → Lovejoin offers four boxes a mix beside three, with three the default. If four fails, the wallet goes back to three. It’s part of the upgrade path, decided here at the integration, not before.
What the measurements say (lovejoin-mix-width.md):
What it buys
What it needs, if taken (Claude’s list, 2026-10-16):
CHAIN_WINDOW keeps 4 mixes in the mempool on the assumption of three a block. Four four-box mixes are about 39.5 billion steps, all of what its comment says a node’s mempool holds: the limit behind chunk 16’s preprod submit timeouts. A four-wide chain wants 2.mixCost and MIX_FEE_ESTIMATE;3^depth leaves lines, which are critical strings, in es and ja too.mixes_per_box, fresh_for, fan_out and the funding sums in core; mixesPerBox in the worker; the screens’ 3 ** depth. lovejoin::mix already takes four. No record assumes three (34a′): a chain’s record keeps its mixes and leaves as built.cargo test -p seedelf-core --test lovejoin_width_test -- --ignored --nocapture), in case the limits or the cost model moved. Then four-wide on preprod in 34g. No four-box mix has landed on mainnet; mainnet’s evaluator agrees with the wallet’s to the step.Where it lands: 34e (the planner and the fallback), 34f (Settings, strings, privacy.md), 34g (the preprod rehearsal).
Session 1’s answer (8): offered, as a Settings option, with three the default.
On which pools: every one, the classic too (session 1, 25).
Still to decide (34e, 34f):
Each step ends with its tests green. The steps can land as parts, but they ship together as 1.6.0 (session 1, 19).
| Step | What | Waits on |
|---|---|---|
| S0 | Free spikes: (a) ✅ uplc 1.1.23 against the 1.1.24 artifacts, reproducing the hashes and running last-run.json’s token Mix and Owner (a failure means a coordinated Pallas/uplc bump); (b) ✅ a synthetic token Mix and Owner evaluated by mainnet’s Ogmios; (c) a preprod launch probe (a foreign inline mint, cert 0, reference outputs at the holder, giveme.my signing): its evaluation ✅, and its submit settled by the rehearsal’s MIN pool launch ✅ (The rehearsal: cert 0 registers mix_logic with no script witness, and giveme.my signs a launch); (d) ✅ the box ADA test below, measured, the figure the owner’s |
— |
| S1 | — | |
| 34a | ✅ Core: Pool, BoxValue, the templates (at the merge, 8131b1d), derive, verify_pool, the generalized ScriptSpend and builders; the classic path byte-identical |
S0a |
| 34a′ | ✅ Records: their shapes, migrating 1.5.0’s, and reading every shown pool. Each mix’s record lasts until its boxes are counted back, and Bootstrap is a kind of its own. Gated on backward compatibility 3–5 and 8: the plan-equality test and the mid-flight 1.5.0 vault (as built) | 34a; session 1 |
| 34b | ✅ The launch builder and its WebAssembly (cert 0, which the rehearsal’s launch confirmed: S0c) | S0c |
| 34c | ✅ Discovery and the data layer: the holder index, the shown-pool rule (standard, finished by its launch, earliest for its values), the bundled head start, the data layer’s own copy of the rules (32), the pool list and the combined box feed, and deposit counts as possible origins (as built; its live db-sync run is the owner’s) | session 1 (11, 12) |
| 34d | ✅ The tile’s flows per pool (private, public, again); Bootstrap a pool, which replaces the seed; the launch from either side (an account-paid builder); the withdraw and its escape hatch; Activity (as built) | 34a′, 34c |
| 34e | ✅ The planner, and returns through each token’s most used pool, with Change; D3’s four-wide option and its fallback; a swap’s token boxes funded (33) (as built) | 34a′ |
| 34f | ✅ Screens, strings, es and ja, and the docs (as built); the policy’s Changes entry is 34g’s, with the release PR (19) | 34d, 34e |
| Re-pin | ✅ Folded into 34a: the templates were pinned to the merge from the start | the merge |
| 34g | ✅ The preprod rehearsal, dual: Claude’s in dev mode, then the owner’s by hand (session 1, 29); the cross-area release review (✅, and the release review of #308–#323 with its fix rounds, Session 12); the policy’s Changes entry; npm run tokens, dreps and lovejoin-pools (✅); deploy 34c; then package and upload; the handoff note (done) |
all |
S0d, the box ADA test the owner asked for (✅ seedelf-core/tests/lovejoin_box_value_test.rs, results under The groundwork). A Rust test that proves the figure rather than estimating it.
box_lovelace at which they all do, and the margin left against a rise in coinsPerUTxOByte.box_lovelace (session 1, 14).The highest risks, taken first: S0a, the evaluator; then 34a′, about 9k lines of TypeScript state that live ADA users depend on.
Every step
cargo test --workspace --locked, and cargo clippy -p seedelf-core -p seedelf-wasm.wasm/build.sh, then wasm/tests.npm run typecheck && npm test && npm run e2e, with new specs stressed under taskset 2-CPU load.cd seedelf-data && cargo test.The classic pool’s regression tests pass unedited, every step. On preprod, one vault runs a classic mix and return before the update and after it.
Rust tests
verify_pool’s negatives: a fake policy; a wrong M, L or F; a stake credential; an extra asset; a 5-field datum on TokenV1; a 10 ₳ ADA pool on v2; a wrong seed; an unfinished pool (no references at the holder, or L unregistered); a later copy of a shown pool’s values.mix_logic.Extension tests
lovejoin-token-pool-preprod.json fixture.Preprod, for real (tADA, free):
cardano-cli, or LJTEST. A second wallet, on Koios alone, finds it live, though the bundled list predates it.c5852bb7…, is not shown: its scripts sit at a key address, not the holder (session 1, 22). It’s a negative test of the standard.Mainnet: only the free checks of §5. Launching on mainnet waits until every preprod step above has worked.