connor / loot

connor/loot

Changes touching this path

  • an account claims a handle on /account, once, and forge.loot.build/<handle>/<repo> resolves to the newest live key of the account, ADR 0103 decision 3: migration 0040 adds account_handle, keyed on the account and written by the site identity module, which may insert a claim and never change or release one, and forge_read_handle, the read tier half of the seam 0008 gives a retired key; the forge role reads account_handle and writes none of it. the forge rewrites /<handle>/<repo>/<endpoint> onto the /k/ mount of that key ahead of its router (loot-forge handle.rs), so a clone, pull or push through a handle is the /k/ request, the write rule included, and a handle nobody claimed is handed to the web as before; the site route /$handle/$ answers a 307 to the same path under /k/<key>, or the 404, on either host. a claim refuses a handle equal to any first path segment the host serves, read off the site route tree, the forge router through a copy a forge test holds equal to handle::served_first_segments, and the client asset directory. every answer to a request the forge rewrote and every answer of the /$handle/$ route carries X-Loot-Log-Path, the path with the handle and repo as :handle and :repo, a remainder of lowercase words kept and any other as /:path, never the query, so the edge can log it in place of a repo name. the ADR 0103 amendment and CONTEXT.md Handle say so. red under named mutations, each restored: the served-segment guard removed (1 failed and 1 passed of the handle unit pins, 1 failed and 2 passed over http), the rewrite layer removed (3 failed), a handle let match a literal in the overlap matcher (1 failed), the site copy short a segment (1 failed), a handle route sent to the forge from the brochure (2 failed and 17 passed), the reserved set without the forge segments (1 failed and 10 passed), handleHref matching inside a longer segment (1 failed and 10 passed), a 301 for the 307 (1 failed and 2 passed), the forge logging any remainder (1 failed and 2 passed), a rewritten answer untagged (1 failed and 2 passed), the site logging any remainder (1 failed and 12 passed), the route without its log-path middleware (1 failed and 3 passed); on Postgres 18, the forge handle read keeping retired keys (1 failed and 2 passed) and a second claim answering the old handle (1 failed of 27). cargo test green before the log header, 5104 passed over 148 test result lines with 15 ignored, and loot-forge green after it, 851 passed over 14 with 2 ignored; ci/local.sh green on Postgres 18 with the site live suites at 136 passed; site gate green at 1257 passed, every surface under its ceiling. owes a forge release and deploy, which applies migration 0040, and a site deploy (pkwrxnly) 6aa831db · dbf3dbe6…
  • site and sdk production comments cut by 71% to the docs/agents/writing.md standard: history, ticket numbers, rosters and ADR retellings removed, security reasoning, browser quirks and directives kept; comment-only, the TypeScript AST without comments identical, built bundles unchanged but for the build stamp (yrkykmsn) d8c01375 · dbf3dbe6…diff
  • docs/agents/writing.md is the standard for comments and docs: a comment says only the why the code cannot, rg and loot log answer who-calls, which-members and when-changed better than a cached comment, and history, ticket numbers, rosters and emphasis are deleted on sight. AGENTS.md links it. CONTEXT.md, AGENTS.md, docs/agents, the skills, specs, READMEs, research and evidence are cut by about 65% to it, every cited heading, § number and test-pinned string kept; files the yrkykmsn ticket (yrkykmsn) 8e3c7b83 · dbf3dbe6…diff
  • the ADRs are cut by 71% to the docs/agents/writing.md shape: Context, Decision and Consequences in about a page each, amendments folded into the decision they amend, function tours, test counts, sweeps and ticket archaeology removed; every title, Status section, cited § and numbered decision kept. ADR 0103 folds in the vmusyoxz, snmzospn and xrqwmovz amendments and restores the operator rulings of 3e1a10ce that the loot-core comment land reverted (yrkykmsn) 0fc947d9 · dbf3dbe6…diff
  • a handle may be renamed or released on /account, its old name retired forever in retired_handle and still resolving to the account, and handle/repo resolves to the newest live key holding the repo, else an older live key holding a public one, in the forge's rewrite and the read tier alike; migration 0043; a restore withholds a released handle; forge and site live suites green against Postgres 18, red with the retired-name refusal removed (rzzzklmz) 767ac89f · dbf3dbe6…diff
  • an account act a live key may do is a request it signs, and an account an invite opens has no Clerk user (ADR 0120, migration 0075): the forge app takes Authorization: Loot-Key over a statement of one method, origin, path, body hash and signing millisecond as the session of the account the key is live on, only on routes that name the lane (identity me, handle, label and notifications, billing plan, private me, repos, repo, members and watch), refusing a statement five minutes from its clock, one signed for another forge, and a changing request signed no later than the key last one (account_key.last_request_ms); a key the door admits by a row of its own opens a keyed account for itself with no sign-up, whose live keys add and retire keys, while an account with a Clerk user keeps adding and retiring signed in; loot account show, open, handle, add-key and retire-key, loot member list, add and remove, and loot plan drive it with porcelain and JSON and refusals coded by status; the plan resync, the notification sender and loot-forge --delete-account skip a keyed account Clerk does not know; with the origin unchecked, the body unchecked, the clock taking an equal time, the door not asked, a key adding keys to a signed-up account, and every lane taking keys the lane tests went red (10 passed, 1 failed each); cargo test 2634 passed, the site gate 413 passed and ci/local.sh green against Postgres 18 (zoovvovz) 92fe8a10 · dbf3dbe6…diff

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.