Changes touching this path
- a signed-in machine keeps its forge account's key once, at <config>/loot/account/id, and loot init and loot clone give a new repo that key instead of minting one; loot login outside a repo signs the machine in, inside one it installs the key in both; LOOT_NO_MACHINE_KEY (set for everything cargo runs) turns it off; ADR 0014 amended; red with init passing no key (moowksxl, step 1)
402bdf78 ·dbf3dbe6… - the login token: an unlocked browser stores the seed under a paste line's secret in login_token (migration 0045, identity role alone, the session's own live key, ten minutes), loot login --token redeems it once with DELETE … RETURNING and installs it in the repo and on the machine, the installers take --token/--init/--clone (sh) or LOOT_TOKEN/LOOT_INIT/LOOT_CLONE (ps1) after dist's install, and a signed-in loot init sets origin; red without the live-key or key-match checks (moowksxl)
a148f72f ·diffdbf3dbe6… - loot init says on stderr when a signed-in machine gave the repo the account key, whatever --identity named, and --new-key mints a key of the repo own instead, and loot keygen --replace mints a new key in a repo that holds one: the warning names whose key it took and both ways to a key of the repo own, every output mode, with the JSON unchanged; --new-key gives account_key false, no forge and no remote; keygen without --replace refuses with keypair_exists as id import and recover do, and with it keeps the held key at .loot/id.rotated-<time> as an op barrier and names in remotes_naming_old_key each remote under the replaced key namespace, where the new key may not push; the keypair_exists and custody refusals from id import read as one sentence where a lost continuation left runs of spaces; the CLI page lists both flags; the binary test went red with --new-key ignored (2 passed, 1 failed); cargo test -p loot-cli 599, 17, 206 and 10 passed (ntnsnxrx)
cbb71acd ·diffdbf3dbe6…
Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.