connor / loot

connor/loot

Changes touching this path

  • the plan page at /private/plan shows the account's plan, its referenced footprint against the bound with where it stands and the grace's end, every plan's limits per repo, and a Change plan link to Clerk's Account Portal; its numbers come from a new signed forge read, POST /plan, answering the signing key's account from plan::usage so no role gains a grant; the account menu links it; ADR 0103 amended, CONTEXT.md Plan amended; forge test pins the contract and the caller's own account, red under a mutated standing; site gate green, 70 B per budgeted page (xrqwmovz) 7441522a · dbf3dbe6…
  • 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
  • the forge sign-in is drawn in the house tokens through one shared Clerk appearance handed to every ClerkProvider (site/src/lib/clerk-appearance.ts), where it was the stock light card on the dark site: the card takes --color-surface-overlay, text --color-text-primary, the primary button --color-primary, inputs --color-surface, the Geist face and the house type scale, so its inputs compute to 16 px instead of 13 px on every target and iOS no longer zooms; the sign-in and sign-up card titles and subtitles are hidden, keeping the rest of the header (a later step names the account there with its edit control), and the plan page title moves inside its gate, so /, /grants and /private/plan carry one h1 where they carried 2, 2 and 3, and the /account and /device sign-in modals one where they carried 2; shot on every target from a local build given the forge public publishable key, overflowX stays 0 and the small-target count goes from 10 to 10 or 9; a UI change is off the must-test list, so no test was owed; npm run gate passes at 363 passed, 88 skipped with every surface under its ceiling, and the suite is green at 2268 passed, 0 failed, 6 ignored (qokqrvnn) 2d326d74 · dbf3dbe6…diff
  • the forge repo, tree, file, history and diff pages take the owner and repo name in their repo bar as the page h1, laid out as the bar was, where they had no h1: with production markup rewritten and the lane stylesheet swapped in, all 284 frames of 10 routes on six targets are byte-identical to before and the bar items keep their boxes; PrivateGate takes the page title and draws it over each gate state with no h1 of its own, so /private/plan carries Plan and usage while loading, when Clerk or the gate chunk fails and in the signed-in notices (0 h1 on main in those states, 1 now, from review sweep 7), and /grants moves its hero there, so it is server-rendered; the account sections, the unlock card title, the grants card titles and the repo 404 sign-in heading become h2s under their h1, drawn as the h3s they were (h1 to h3 before), and ui.md names the h2 card title; overflowX and the small-target count are unchanged on every target, a UI change is off the must-test list so no test was added, every surface stays under its ceiling, the site gate is green at 364 passed, 88 skipped, and the suite is green at 2268 passed, 0 failed, 6 ignored (vxkkptos) 2acf916c · dbf3dbe6…diff
  • tables on signed-in pages stack on phones: the /private/plan Plans table and the console home owner card repo table take StackTable, so below 40rem a plan row is a block with Storage, Collaborators, Runners and Pipelines labelled under its name (Runners and Pipelines sat scrolled out of view on narrow) and a repo row puts its name, generation and metadata pill on their own lines (ingress-smoke split at its hyphen and the pill wrapped on phone), and a README table wider than two columns takes StackTable in markdown.tsx and stacks below 40rem of the README column through a container query in repo-page.css, since that column is narrower than the screen: on the scripts repo page the Need, Mechanism, Example table went from 7 to 14 of 21 cells past its box on every target, desktop included, to 0 on all six; ui.md Table says how a README table stacks; overflowX and the small-target count are no worse on the 18 signed-in shot pairs, a UI change is off the must-test list so no test was owed, eager bytes move by under 6 B per surface, the site gate passes at 392 passed, 93 skipped, and the suite is green at 2567 passed, 0 failed, 7 ignored (nwvoltvt) 8b23e4c1 · dbf3dbe6…diff
  • error states on signed-in pages give a next step: a failed read on the forge home (the repo list and the activity), the plan page (the plan and the storage), the account page (the account and the email choices) and the workbench repo header ends its sentence with Try again, a button that reads again in place; the grants page mailbox note ends with a Try again link that reloads, since the mailbox pull runs once per unlock; the workbench No such repo notes, in the shell and the history, path history and roster views, end with Go to the forge home; .next-step in styles.css draws the step as a prose link across a 44 px target, and a .wb-link in a workbench note takes the same target; ui.md Empty, loading and error states says which step and how it is drawn; the words saying what failed stay, and try again shortly leaves the account notes; drawn signed in with mocked failed reads on six targets, each state shows its step where none was, each new step measures 44 px tall, the workbench Try again in the history and roster notes grows from 22 to 44 px, and overflowX stays 0 with small targets no worse on the 78 pairs; with the mock answering a second read, Try again on the home re-reads the repos and the activity once each and draws them; a UI change is off the must-test list so no test was added; site gate green at 392 passed, 93 skipped, and the suite green at 2567 passed, 0 failed, 7 ignored (sqkqqwvv) 55e9a13f · dbf3dbe6…diff
  • the hosted-agent consent page and the plan row, ADR 0119 §3 and §4: /private/connect reads the pending connection from the agent host by an opaque id (never from its query), refuses a repo not under the account or a forge whose /info lacks hosted_agents, lets the owner name the agent and pick its scopes (read . and write nothing by default, .lootattributes added for a writer as loot agent add does), names loot, Cloudflare and the model provider, signs the hosted registration with the new Identity.agentAdd and posts it to /agents/add, shows a 402 in the forge words with Pro offered, and returns only to the agent host own /consent/<id>/done; the private CSP adds the agent host to connect-src only when VITE_LOOT_AGENT_HOST_ORIGIN is set (ADR 0096 §2); loot_codec::agent_wire owns the /agents/add payload, its hosted byte and the scope and name refusals the CLI, forge and wasm share; the plan page gains Hosted agents, N per account, read through to_jsonb so it stays off before 0072; one vector file pins the envelope bytes, the 200 and the 402 for the forge test and the site test; ADR 0119 §3 gains the handoff contract as built; shot signed in on desktop and 320 px over eleven states with every write mocked, one h1, no small targets and no overflow (przzsrpt) 4b4c662d · dbf3dbe6…diff
  • the plan page's Hosted agents column waits on the launch switch, ADR 0119 §4: it draws only when the build names an agent host (VITE_LOOT_AGENT_HOST_ORIGIN, the value that opens the consent page and the private CSP's connect-src) and the forge's plans carry the count, so a site deployed after migration 0072 offers no hosted agents before an owner can connect one; plan.ts offersHostedAgents takes the decision and a site test pins it unset, empty, set and set before 0072; ADR 0119 §3 and §4 name the switch; scripts 6506a67 bakes it from LOOT_AGENT_HOST_ORIGIN only when set (ruvxzmst) d625fa08 · dbf3dbe6…diff
  • a forge operator grants an account a plan with no purchase, by a row its key signs (ADR 0118 decision 9, migration 0077): loot plan grant <key> <plan> [--days <n>] [--note <text>] puts the account that key is on onto the plan until a stated time, 30 days by default and 366 at most, loot plan revoke ends it and loot plan grants lists them, over /plan/grant, /plan/grant/revoke and /plan/grants behind the operator door, which a key the deploy lists passes and a key a row admits does not; each act carries its signing millisecond, and the forge refuses one outside its clock window, a grant signed no later than the key last grant or revocation, and a revocation of a later grant, so a captured request sent again changes nothing; the grant is kept in plan_grant, apart from the account_plan mirror a read of the merchant of record rewrites, and both plan readers, the Rust forge where a push, a runner and a hosted agent are judged and the site planOf behind the collaborator cap and the plan page, read one view, account_plan_in_effect, which gives the mirrored plan or a standing grant where that is the larger, by the database clock, with a purchase of the same plan read as the purchase; loot plan --json gains a trailing granted_until and the plan page says granted, so a grant is never shown as a subscription and a granted account can still be handed a checkout address; forge_identity reads the view and no new base table; test-accounts.md says how a test account is put on Pro, and CONTEXT.md gains Plan grant; with a merely admitted key allowed to grant, the view taking an ended or a revoked grant or reading a purchase as a grant, either store taking a stale grant, and the clock window off, the tests went red (0 passed, 1 failed each, the Postgres conformance pair 1 passed, 2 failed); ci/local.sh green against Postgres 18 with the site live suites 106 passed, and the site gate 421 passed (wzkvkkor) ea3e12b1 · 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.