aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ark/custody-foreign-test.js
Commit message (Collapse)AuthorAgeFilesLines
* On a server that does not honor expired coins the custody tier in force is ↵Adam Soltys17 hours1-0/+102
"self": renewal stays automatic there, in the app and the worker "Coinos holds my coins" was meant to exist only on servers that keep cosigning a coin past its timelock (the presets carry honorsExpired), and the custody card hid it elsewhere and showed "self". But the tier the renewal pass and the worker mirror read came from the stored choice or the custodial default regardless of server, so a wallet on Second or a custom captaind (where an expired coin is gone) renewed nothing and warned of nothing since 648a550 (2026-10-22): no backstop orders, no renewal in the last hours, and the worker registering nothing while closed. getCustody() now returns "self" in place of "custodial" whenever the active server does not honor expired coins ("exit" stays "exit"); the mirror carries the same, so the worker follows. The stored choice is left alone for a later switch back to a coinos server, and choosing a tier always writes it. tools/ark/custody-foreign-test.js: a custom server with no honorsExpired, nothing stored or "custodial" stored, reads as "self", the card offers only self/exit, and the renewal pass registers backstops and renews the coin at its timelock. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4