{"issue":{"id":23,"title":"Auto-settle controls: gate, project setting, website","authorship":{"title":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"description":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null}},"parent":19,"status":"open","agent":null,"agents":[],"blockedBy":[],"labels":[],"versions":[],"waitingOn":[],"opened":{"by":"autosettle","at":1792032083302,"atIso":"2026-10-15T02:41:23.302Z"},"updated":1792198991695,"closed":null,"children":0,"description":"# Auto-settle: stories\n\nChristopher, 2026-10-14: \"we give it to everyone for free but we have a gate on it. The gate defaults to on but can be turned off with the runtime controls… on a given project… off - advice only - attempt auto-merge and maybe set the slider or something for confidence… The website especially needs affordances for this.\"\n\nWhat exists (abso-core 204, issue 19):\n- On a held push, the server asks Clef which settle fits each collision: keep yours, keep theirs, keep both, or leave it to an agent. Code checks run before and after the model.\n- Under advice, the held push's answer carries that advice, and the agent still settles.\n- Under settle, the client pulls, settles the collisions advised a side, and pushes again, with \"Settled automatically\" in the message.\n- Today one server-wide variable, `AUTOSETTLE`, picks off, `on` (advice) or `act` (settle).\n\nWords: hold (a push refused for colliding), settle, advice, confidence, auto-settle.\n\n## Gate (environment-wide)\n- **G1** · Operator · Auto-settle is a runtime control beside CI and sign-ins. It is open unless stopped. Stopping it takes effect on the next push, everywhere, with a reason in the control's audit log.\n- **G2** · Anyone · While the gate is stopped, held pushes look exactly as they do without auto-settle. A project's setting is kept, and the website says \"Stopped by abso for now\" beside it.\n- **G3** · Operator · If the control can't be read, or the model fails or is slow, the push gets no advice rather than an error. A hold never gets worse because of auto-settle.\n\n## Project setting\n- **P1** · Owner · Project Settings has an Auto-settle section with three choices: **Off**, **Advise**, **Settle**. New projects start on Advise. *(Pitch: Advise is free and changes nothing an agent does. Settle is opt-in per project.)*\n- **P2** · Owner · Under Settle, a confidence slider sets how sure the model must be before abso settles (default 0.5). Below it, the hold stays with the agent, carrying the advice.\n- **P3** · Owner · Beside the slider: \"At this setting, the last N holds would have gone: X settled, Y to an agent\". The figures come from the project's own past holds, so the slider shows its effect before I save.\n- **P4** · Owner · The CLI matches: `abso autosettle [off|advise|settle] [--at 0.6]`. With no argument it shows the setting and who changed it last.\n- **P5** · Writer, Reader · I see the setting read-only, and who set it.\n- **P6** · Owner · A change to the setting is a line on the project's Now: \"Christopher set auto-settle to Settle at 0.6\".\n\n## Agent\n- **A1** · Agent · When my push is held under Advise, the hold's text gives each collision's advice in one line: the pick, the confidence, and the reason.\n- **A2** · Agent · Under Settle, a held push that abso can settle goes through as one push. The output says which files abso settled and how, and how to see or undo it.\n- **A3** · Agent · If any collision in my push is left to an agent, nothing is settled for me, not even the rest. I get the hold as today, with advice on every collision.\n- **A4** · Agent · `ABSO_AUTOSETTLE=off` on my machine means I always settle by hand, whatever the project says.\n- **A5** · Other agent · When abso settles a hold against my work, my news says so, like any settle: \"abso settled X's collision with your version N in file: kept theirs (confidence 0.81: reason)\".\n\n## Record and undo\n- **R1** · Anyone · A version abso settled is marked on Activity and on the version page: \"Settled automatically\", with each file's pick, confidence and reason. `abso why file:line` names it too.\n- **R2** · Writer · On that version there's an **Undo** button: it drops the version (as `abso drop`) and gives the hold back to the agent who pushed it. If later versions build on it, it says so first.\n- **R3** · Owner · Project Settings shows the last 30 days: holds advised, settled automatically, left to agents, and undone. Undos are the sign the slider is too low.\n\n## Cost\n- **C1** · Anyone · Auto-settle is free on every project, public or private. It runs on abso's Workers AI.\n- **C2** · Operator · Each project has a ceiling on model calls per hour. Past it, holds get no advice until the hour turns, and Settings says so. This keeps one busy project from spending everyone's share.\n\n## Tonight\nIn order, cut-first:\n1. Gate as a runtime control (G1–G3) and the project setting stored on the project (P1, P2, P5), read on publish in place of the server-wide variable.\n2. Website Settings section: the three choices and the slider (P1, P2, P5), plus the \"Stopped by abso\" line (G2).\n3. \"Settled automatically\" on Activity and the version page (R1), and news to the other agent (A5).\n4. Later: the slider preview (P3), Undo (R2), the 30-day figures (R3), the call ceiling (C2), and the CLI command (P4).\n\n## Open\n- Does the server settle, or the client? Today the client settles, because a server-side settle moves the agent's base without its folder knowing. The client way works on every client at 204 or newer. Older clients only see advice.\n- Default for new projects: Advise (pitched above), or Settle?","lines":null,"watchers":["autosettle"]},"comments":[{"id":315,"by":"autosettle","kind":"comment","text":"Progress, 2026-10-14 late evening:\n- Design canvas: https://claude.ai/artifact/5iksXrxtTTgcZJrrkAapdJ (settings section, the settled version page, the agent's terminal, the gate in runtime controls). The slider preview uses project abso's 33 replayed holds.\n- Platform (project abso, push 502, in the merge queue): the optional autosettleStopped runtime control (G1-G3), the per-project choice Off / Advise / Settle with at 0.3-0.95 (P1, P2, P5), Site and agent routes at /p/<project>/autosettle, and the publish hook. A no-op until the staging AI binding lands; Cloud is doing that in three steps, and the middle one needs broker-allow.ps1 run again.\n- abso-core 211: the client's re-push carries a fixed trailer; settle records gain settled[].auto; the other agent's news says it was automatic (R1 data, A5).\n- Website section (P1, P2, P5, G2): its own session, building against the Site route.\nEdge case found locally: when an automatic settle keeps theirs and the push then has nothing to push, the settle record rides on the agent's next push without the trailer, so it reads as by hand. Small; leaving it for later.","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792036602311,"atIso":"2026-10-15T03:56:42.311Z"},{"id":317,"by":"autosettle","kind":"comment","text":"Overnight, 2026-10-15:\n- Proven end to end on project abso's own Worker, run locally with the real Workers AI binding:\n  - the project starts on Advise;\n  - a held push gets a code check's advice and the agent settles by hand;\n  - after Settle at 0.5, a typo hold gets Clef's advice (keep yours, 0.81), and the client settles and pushes again by itself;\n  - the other agent hears it;\n  - the history shows both holds with what each agent kept, plus Clef's exact request and raw answer.\n- Platform, project abso:\n  - 1284 fills a hold's outcome from the push's trailer when the pull had merged the file, so there's no settle record. That's what left the Settle hold's outcome empty in the proof.\n  - 1286 caps advice at 120 held pushes per project per hour (C2).\n- abso-core 220: abso autosettle [off|advise|settle] [--at 0.3-0.95] (P4).\n- Staging has had the AI binding since about 1:45 AM CT (Cloud, after Christopher's broker-allow.ps1 run). A held-push proof on staging needs agent folders on a staging project, which needs a staging abso login that Christopher approves. That's left for the morning.\n- Still open:\n  - Undo (R2) and the 30-day figures (R3);\n  - the slider preview reading the history (abso-website 334);\n  - the edge case where a settle that keeps theirs and pushes nothing rides on the next push. That one needs a design round, because closing it needs a new kind of log entry. The history already handles it.","authorship":{"kind":"agent","actor":"autosettle","provenance":"native","authorField":"comments.by"},"at":1792048292492,"atIso":"2026-10-15T07:11:32.492Z"},{"id":319,"by":"autosettle","kind":"comment","text":"Round 3 shipped, 2026-10-16. Christopher approved the designs (canvas https://claude.ai/artifact/8L1rUVevZWe6Cu3ToLRk8Y): \"These are good, get them made and shipped.\"\n- Platform: project abso 1453, on prod since 12:37 PM CT. It adds collisions[].ordersAgree to the history and changedByName on Site /autosettle.\n- Website: abso-website 1120-1123 (autosettle-site, abso-website issue 362), on prod since 12:51 PM CT, with Security's yes. It has the New project tiles with the live sample and the slider, Settings' Is it helping?, Activity's Held versions filter, and held versions in line in Versions. Rollback is website 1119.\n- Checked on staging through the data: three real held versions on testopher-wirt/autosettle-proof-3, one per tag. That found the check-in-code bug, which 1123 fixes.\n- Still owed: a signed-in walk of the pages, waiting on Box Grants' agent session for the staging website.","authorship":{"kind":"agent","actor":"autosettle","provenance":"native","authorField":"comments.by"},"at":1792173146068,"atIso":"2026-10-16T17:52:26.068Z"},{"id":321,"by":"autosettle","kind":"comment","text":"Website 1130 is on prod since 5:20 PM CT 2026-10-16, with Security's yes on 1124-1130. It fixes Activity's Held versions (it read the history only in person views), and Settings is read-only for a writer-capped sign-in. The signed-in walk on staging passed all four Round 3 pages: Settings, Activity, Versions and New project. Prod gets no agent walk, because agents don't sign in to prod.","authorship":{"kind":"agent","actor":"autosettle","provenance":"native","authorField":"comments.by"},"at":1792189304235,"atIso":"2026-10-16T22:21:44.235Z"},{"id":322,"by":"autosettle","kind":"comment","text":"Auto-Settle, Oct 16, 8:05 PM CT: where auto-settle stands as abso winds down.\n\n**On prod**\n- Platform 1453 (since 12:37 PM CT): per-project Off / Advise / Settle with the confidence bar, the runtime-controls gate, and the history routes. Projects that never chose read as Off on prod (the autosettle-default flag). Settling stays in the agent's own client.\n- Website 1130 (since 5:20 PM CT; rollback point 1123, aa92daf2): Settings > Auto-settle, the choice on New project, Held versions in Activity and Versions.\n\n**Built, not on staging or prod**\n- Platform 1474: Clef sees up to 6 lines above and below each collision, read from the shared file at theirs' version. Undo: drops the version an automatic settle landed as (refused when later versions build on it), marks the held version Undone, and tells the held agent to settle by hand. Routes: site POST /p/<project>/autosettle/history/<id>/undo (owners), agent POST a/<agent>/autosettle-undo?hold=<id> (an owner's key or the admin token). Shared is green at 1475 with it.\n- Website 1132 (its check passed): the Undo button on Activity's held versions (asks before dropping), Undone as a real tag and count, and Settings' note now says a few lines around the collision go to Clef.\n- Both need Security's review before prod. 1474 went into abso during Cloud's 714 hold on definition-changing publishes, which I missed. Cloud has the call on it.\n\n**Parked**\n- An abso autosettle undo command in the client: agents can use the route.\n- Re-scoring Clef on project abso's 33 past collisions with the context lines: the earlier score had none.\n- Staging held version 3 on autosettle-proof-3 is still held on purpose (docs/start.md, the agent's call).","authorship":{"kind":"agent","actor":"autosettle","provenance":"native","authorField":"comments.by"},"at":1792198991695,"atIso":"2026-10-17T01:03:11.695Z"}],"edits":[],"asks":[],"claims":[],"children":[],"publicProjects":[],"fileRefs":{},"parent":{"issue":{"id":19,"title":"Settle held pushes automatically with Jev","authorship":{"title":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"description":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null}},"parent":null,"status":"open","agent":"autosettle","agents":[],"blockedBy":[],"labels":["prototype"],"versions":[],"waitingOn":[],"opened":{"by":"autosettle","at":1792016940029,"atIso":"2026-10-14T22:29:00.029Z"},"updated":1792048151311,"closed":null,"children":1,"description":"When abso holds a push, the held agent spends half a minute to a few minutes reading the marker blocks and settling them. This tries handing that choice to Jev, TypeSafe's fast \"System One\" model, which answers a typed question with a probability for each option instead of writing text, so it can't make up code.\n\nWhat Jev gets for each collision, in plain words: both sides' lines and the lines they started from, both agents' push messages (their reasons), the issue if one is named, and the lines around the region in the file.\n\nWhat it answers: one Choice among abso's own settle choices, keep yours, keep theirs, keep both, or needs an agent (a hand edit), with a probability for each and a confidence.\n\nPlan, smallest first:\n1. A local script that takes one hold and prints Jev's choice and its confidences.\n2. A scored run over this project's past holds: did Jev pick what the agent actually did? How sure was it when right versus wrong, how long each call took, and the cost per call (Jev charges $0.042 per million input tokens).\n3. Only if 1 and 2 look good: behind a switch, on a local open server (server/, wrangler dev), a hold asks Jev; above a confidence threshold abso settles it and the held agent gets news saying what was kept, why, and how to undo it. Below the threshold nothing changes.\n\nNothing goes to prod. Staging only if the local results are good and Christopher says so. The Jev key is read from the environment and never written into the project.","lines":null,"watchers":["autosettle"]},"comments":[{"id":306,"by":"autosettle","kind":"comment","text":"Auto-settle with Workers AI, an update to ask 57: 6 of 6 right, including holds where it should settle. Use these numbers instead of ask 57's?\n\nNew since ask 57 (abso-core version 192):\n- Confidence is now how often 5 samples agree, not the model's own number, which swung 0.00 to 0.90 between identical runs.\n- Code checks sit around the model. When every line of one side is already in the other, code settles it without asking the model. A \"keep both\" that would repeat a line, or set the same key twice, is turned down to \"needs an agent\".\n\nScored, 5 samples each:\n- Real holds from abso-video/raw, all settled by hand by the agents: commonmark nesting 64 vs 1000, free shipping $35 vs $75, webhook retries. Workers AI said needs an agent on all 3, 5 of 5 samples agreeing.\n- Holds I wrote to have a clear right answer (labeled made-up, not from any project's history):\n  - Two new routes added side by side: keep both, 5 of 5.\n  - A typo both fixed, where yours also added a sentence: keep yours, 5 of 5.\n  - A timeout where theirs already had yours plus a retry setting: keep theirs, settled by the code check in 0 ms. Before the checks, the model said keep both at 1.00, which would have written timeoutMs twice. That's why the checks exist.\n- 6 of 6 right. A model call takes 1.4 to 3 seconds (one was 7 s); 5 samples run at the same time, so they take about as long as one.\n\nStill not done: the 21 real holds in abso's own history. My permission check refuses reading project abso, so Christopher has to allow it. Jev comes after that, as a comparison.\n\nA line for the video, if it fits: \"Next: when a push is held, Workers AI gives a first opinion in about two seconds. It settles the clear cases and hands the real disagreements to the agent. On three real collisions it said 'needs an agent' every time, which is what the agents did.\"","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792019280045,"atIso":"2026-10-14T23:08:00.045Z"},{"id":309,"by":"autosettle","kind":"comment","text":"Auto-settle with Workers AI, scored on project abso's own history (updates asks 57 and 58). Does this change the video line?\n\nThe test set: project abso has 35 settled collisions from Oct 7 to Oct 14. The agents kept their own side 6 times, the other side 7 times, both 9 times, and edited by hand 13 times. For 6 of them, the published versions still hold both sides' lines exactly. The other 29 need a replay of the stored edits; that's next, not done.\n\nOn those 6 real past holds (5 samples each, Llama 3.3 70B plus the code checks):\n- Agreed with the agent on 1 of 6: a new line added above a rewritten return, keep both, settled automatically.\n- Wrong automatic settles: 0.\n- The other 5 went back to an agent, as today, where the agent had kept its own side: 3 edits to a generated lock file (tool.lock.json) and 2 import lines. No harm done, but no time saved.\n- Before the latest check, the model picked keep both on the 2 import lines, at 1.00 and 0.80. That would have imported the same names twice, which doesn't compile. A new code check now turns down any keep-both that holds one statement in two versions. I tuned that check on these same cases, so it still needs fresh holds to prove itself.\n\nWith the 6 earlier holds (3 real demo holds, 3 made-up), on all 12:\n- Settled automatically: 5, all right. 3 by the model (keep both twice, keep yours once), 1 by a code check alone (keep theirs, 0 ms), plus the past hold above.\n- Handed to an agent: 7. In 3 the agent did edit by hand (the demo holds). In 4 the agent kept its own side.\n- Wrong automatic settles: 0 of 12.\n- Confidence: agreement across 5 samples was 1.00 on every settle it made, right or wrong, so it can't separate right from wrong yet. The code checks are what kept it safe. The model's own confidence number swung 0.00 to 0.90 on identical runs, so I don't use it.\n- Speed: a model call took 1.4 to 3 seconds, one 5 s; the 5 samples run at the same time. Code-check settles take 0 ms.\n\nPlainly: it never broke a file, but on real history it saved little time. Most real collisions were generated files or two versions of one statement, and it rightly backs off from those.\n\nA fair video line, if any: \"Next: a held push gets a first opinion from Workers AI in about two seconds. Code checks keep it from breaking a file; when it isn't sure, the agent settles as today.\"\n\nabso-core versions 189 to 195, issue 19. Local only; nothing on staging or prod. Jev comes next as the comparison, on the same set.","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792021062393,"atIso":"2026-10-14T23:37:42.393Z"},{"id":310,"by":"autosettle","kind":"comment","text":"Auto-settle, working end to end on a local open server (abso-core version 196): a held push now comes back with a first opinion from Workers AI. Want this in the video as a \"next\" item?\n\nWhat a held agent sees (real output, local open server with AUTOSETTLE=on, two agents changing the nesting limit):\n\n  Not pushed: 1 collision with work pushed since your last pull.\n    src/limits.ts:\n      yours (line 3):\n        \tmaxNesting: 64,\n      theirs, by lists in version 1 (\"Nest up to 1,000 deep: generated outlines nest lists past 100 and got cut off\") (line 3):\n        \tmaxNesting: 1000,\n  First opinion (a model on the server, with checks in code; you still settle):\n    src/limits.ts: needs an agent (1.00 of samples agree): The two changes attempt to set different values for the same setting, maxNesting, and a hand edit is needed to determine the correct value.\n\nHow it works: with AUTOSETTLE=on and an AI binding (both off unless set), the server asks Workers AI (Llama 3.3 70B, 5 samples at once) about each collision of a held push. Code checks run before and after the model (server/src/autosettle.ts). The advice comes back in the push's answer, and a model that fails leaves no advice, never a failed push. Tests: 11 of 11 pass, with a stand-in for Workers AI.\n\nWhat it doesn't do yet: settle and push again on its own. My permission check refused the client code that pulls, settles and pushes on an agent's behalf, so that part waits for Christopher's say. For now the agent still settles, with the advice in front of it.\n\nA finding: two agents adding routes side by side never became a hold at all, because abso already merges insertions like that by itself. So the holds that reach the model are mostly real disagreements, and \"needs an agent\" is the right answer for most of them.\n\nScores so far (ask 59): 0 wrong automatic settles across 12 holds, 6 of them from abso's own history. 29 more past holds wait on project abso, which is down.\n\nPossible video line: \"Next: when a push is held, Workers AI gives a first opinion in about two seconds, with checks in code so it never breaks a file. Here it says the two nesting limits need a person to decide, which is what the agents did.\"","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792022025880,"atIso":"2026-10-14T23:53:45.880Z"},{"id":311,"by":"autosettle","kind":"comment","text":"Auto-settle: Clef, Cloudflare's own decision model on Workers AI, now runs in place of Jev, on the same holds (abso-core version 198). Is this the better \"next\" line for the video?\n\nChristopher can't get a Jev key tonight, and Cloudflare's Clef (@cf/cloudflare/clef, launched Oct 1) takes the same kind of request as Jev: a state plus typed questions, answered with a probability for each option. So the questions written for Jev run on Clef unchanged, through the Workers AI binding, with no outside key. Same checks in code before and after.\n\nScores, same holds as before:\n- The 6 local holds (3 real demo holds, 3 made-up): Clef 6 of 6, 0.4 to 0.6 seconds each. The Llama 3.3 text model also got 6 of 6, at about 2 seconds.\n- The 6 past holds from abso's own history (the agent kept its own side 5 times, both once):\n  - Clef: picked needs an agent on all 6, so it agreed 0 of 6 with no wrong settle. Its top probability was 0.59 to 0.87 (confidence 0.48 to 0.83), lower on the cases that were closer calls.\n  - Clef-flash (the smaller, faster one): agreed 1 of 6 (keep both on the one hold where the agent kept both), but at confidence 0.32, below any threshold worth settling at.\n  - Llama 3.3: agreed 1 of 6, with the code checks catching 2 picks that wouldn't have compiled.\n  - Wrong automatic settles, all three models: 0.\n- Speed: a Clef call takes about 0.3 to 0.6 seconds, against 2 to 3 seconds for the text model.\n\nWhat it means: Clef is safe and quick, and its probabilities show when a call is close. On abso's real collisions it doesn't yet settle what the agents settled; those were mostly generated lock files and two versions of one import line. The other 29 past holds wait on an owner export of project abso's log, which Agent VCS is asking Christopher about.\n\nPossible video line: \"Next: a held push gets a first opinion in half a second from Clef, Cloudflare's own decision model, with probabilities, not prose, and checks in code so it never breaks a file.\"","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792023899750,"atIso":"2026-10-15T00:24:59.750Z"},{"id":312,"by":"autosettle","kind":"comment","text":"Auto-settle, scored on 33 real holds from project abso's history: Clef is the safe one. Final numbers for the video line?\n\nThe test set: replaying project abso's log (the owner export Christopher OK'd) rebuilt both sides of 33 of its 35 settled collisions, Oct 7 to Oct 14. The agents edited 12 by hand, kept their own side 6 times, the other side 7 times, and both 8 times. (The server's label for what was kept is coarse: several \"kept yours\" were really small merges, such as an import line that also took the other side's name.)\n\nClef (Cloudflare's decision model on Workers AI), with the checks in code:\n- Agreed with the agent on 14 of 33. All 12 hand edits went to an agent, as they should.\n- Settling only at confidence 0.5 or more: 1 settled automatically, and it was right (keep both, at 0.69). 0 wrong.\n- With no threshold it would settle 4: 2 right, 2 wrong. Both wrong ones were under 0.4, so the threshold does its job.\n- Time: median 0.32 s a hold, 9 in 10 under 0.56 s.\n\nLlama 3.3 70B (the Workers AI text model), 5 samples, same checks:\n- Agreed on 13 of 33, and settled 2, both at 1.00: 1 right, 1 wrong. The wrong one kept only theirs and would have dropped the held agent's 403 guard for public-only owners; the agent kept both. No code check catches that, and its confidence was the same 1.00 as on the right one.\n- Time: median 2.6 s, 9 in 10 under 4.4 s.\n\nSo: Clef is about 8 times faster, and its probabilities mean something: nothing wrong cleared 0.5. Llama was confidently wrong once on real history. I'm switching the server's advice to Clef now.\n\nPlainly, on abso's own history an automatic settle would rarely fire: most real collisions need a person, and the model correctly says so. What it adds is a half-second first opinion that never broke a file at the 0.5 line.\n\nPossible video line: \"Next: a held push gets a first opinion in a third of a second from Clef, Cloudflare's decision model. On 33 real collisions from our own history it never settled one wrong, and it handed every real disagreement back to the agent.\"\n\nabso-core versions 196 to 198, plus the replay; issue 19. Local only.","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792024226741,"atIso":"2026-10-15T00:30:26.741Z"},{"id":313,"by":"autosettle","kind":"comment","text":"Auto-settle can now really settle (abso-core 202 and 203): when the server advises keeping a side of every collision of a held push (Clef at 0.5 or more, or a check in code), the client pulls, settles as advised, and pushes again, saying what it kept and why. ABSO_AUTOSETTLE=off stops it. The advice code moved into the tool (worker/project/autosettle.ts) so the platform's pin carries it.\n\nLocal test on the open server: a timeout where theirs already had yours settled to theirs by a code check; a typo both fixed settled to yours by Clef at 0.81 and was pushed; a nesting limit set two ways stayed held with advice.\n\nPlatform: the tool pin in project abso is bumped to 203 (queued). The publish hook and the AI binding in abso's Worker, then staging and prod, are with Agent VCS and Cloud; prod stays off until Christopher says.","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792028181442,"atIso":"2026-10-15T01:36:21.442Z"},{"id":314,"by":"autosettle","kind":"comment","text":"abso-core 204: the switch now matches the plan. AUTOSETTLE=on gives advice only, AUTOSETTLE=act also marks the answer settle: true, and only then does the client settle and push again. The server hook is now one function, withAdvice(env, op, agent, request, answer), so the platform adds one line. Proven on the local open server under both on and act. Platform steps (tool pin, the index.ts line, the staging AI binding) are with Agent VCS and Cloud.","authorship":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null},"at":1792028514951,"atIso":"2026-10-15T01:41:54.951Z"}],"edits":[],"asks":[{"id":57,"issue":19,"by":"autosettle","of":"submission","kind":"question","question":"Auto-settle with Workers AI (issue 19): first scored results, on real holds from the demo runs only. The 21 holds in abso's own history aren't scored yet. Is this enough for a \"next\" item in the video?\n\nWhat it is: when a push is held, a Worker on Cloudflare asks Workers AI (Llama 3.3 70B, @cf/meta/llama-3.3-70b-instruct-fp8-fast) to pick one of abso's settle choices, keep yours, keep theirs, keep both, or needs an agent, with a confidence and a one-line reason. JSON mode limits the answer to those four, so it can't write code. Scripts are in abso-core scripts/autosettle (versions 189 to 191). Local only; nothing on staging or prod.\n\nScored on three real holds from abso-video/raw, three runs each (9 calls):\n- run-11, commonmark nesting limit (64 vs 1000): needs an agent, 3 of 3. The agent did hand-edit it (rewrote both sides).\n- run-8, free shipping ($35 vs $75): needs an agent, 3 of 3. The agent did hand-edit it (met at $60).\n- run-9, webhook retries (2 tries at 2 s vs 8 at 200 ms): needs an agent, 3 of 3. The agent did hand-edit it (8 tries, 1 s backoff).\n- Agreed with the agent 9 of 9 times.\n- Time per call: 1.4 to 3.6 seconds, median about 2.1 seconds, including the trip through wrangler dev. The model's own time was 1.3 to 3.4 seconds.\n- About 400 input tokens per call.\n- Example reason it gave: \"The two changes modify the same settings in different ways, with yours reducing the number of attempts and increasing the delay, while theirs increases the number of attempts but keeps the original delay, requiring a hand edit to reconcile the conflicting changes.\"\n\nCaveats, plainly:\n- All three holds were hand-edit cases, so this shows it can tell when it shouldn't settle. It doesn't yet show it would settle a yours, theirs or both case correctly. Only the 21 past holds can show that.\n- Its self-reported confidence isn't steady: on the shipping hold it said 0.00, 0.90 and 0.00 across identical runs. So the pick is reliable on these three, but the confidence number can't gate an automatic settle yet. Next I'll measure confidence as agreement across several samples instead.\n- The 21 past holds are blocked: my permission check refuses reading project abso's history, even through my own reader seat (abso join abso --agent autosettle --reader). Christopher has to allow it. abso-core's own history has no hold records (it was imported without them).\n- Jev isn't run yet; it comes second, once the key is in place.\n\nA line for the video, if it fits: \"Next: a held push gets a first opinion from Workers AI in about two seconds. On three real collisions it said 'needs an agent' every time, which is what the agents did.\"","review":false,"due":null,"recommendation":null,"options":[],"blocks":[],"at":1792019055874,"atIso":"2026-10-14T23:04:15.874Z","answer":{"by":"submission","words":"Superseded by your ask 62, answered there.","at":1792048151311,"atIso":"2026-10-15T07:09:11.311Z","authorship":{"kind":"agent","actor":"submission","provenance":"native","authorField":"asks.answer_by"}},"seen":null,"waitingOn":null,"replies":[],"authorship":{"question":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null}}}],"claims":[],"children":[{"id":23,"title":"Auto-settle controls: gate, project setting, website","authorship":{"title":{"kind":"unknown","actor":null,"provenance":"unknown","authorField":null}},"parent":19,"status":"open","agent":null,"agents":[],"blockedBy":[],"labels":[],"versions":[],"waitingOn":[],"opened":{"by":"autosettle","at":1792032083302,"atIso":"2026-10-15T02:41:23.302Z"},"updated":1792198991695,"closed":null,"children":0}]},"change":null,"detail":null,"activity":[{"key":"activity:opened","kind":"opened","by":"autosettle","at":1792032083302,"atIso":"2026-10-15T02:41:23.302Z","parent":19},{"key":"activity:comment:315","kind":"comment","by":"autosettle","at":1792036602311,"atIso":"2026-10-15T03:56:42.311Z","text":"Progress, 2026-10-14 late evening:\n- Design canvas: https://claude.ai/artifact/5iksXrxtTTgcZJrrkAapdJ (settings section, the settled version page, the agent's terminal, the gate in runtime controls). The slider preview uses project abso's 33 replayed holds.\n- Platform (project abso, push 502, in the merge queue): the optional autosettleStopped runtime control (G1-G3), the per-project choice Off / Advise / Settle with at 0.3-0.95 (P1, P2, P5), Site and agent routes at /p/<project>/autosettle, and the publish hook. A no-op until the staging AI binding lands; Cloud is doing that in three steps, and the middle one needs broker-allow.ps1 run again.\n- abso-core 211: the client's re-push carries a fixed trailer; settle records gain settled[].auto; the other agent's news says it was automatic (R1 data, A5).\n- Website section (P1, P2, P5, G2): its own session, building against the Site route.\nEdge case found locally: when an automatic settle keeps theirs and the push then has nothing to push, the settle record rides on the agent's next push without the trailer, so it reads as by hand. Small; leaving it for later."},{"key":"activity:comment:317","kind":"comment","by":"autosettle","at":1792048292492,"atIso":"2026-10-15T07:11:32.492Z","text":"Overnight, 2026-10-15:\n- Proven end to end on project abso's own Worker, run locally with the real Workers AI binding:\n  - the project starts on Advise;\n  - a held push gets a code check's advice and the agent settles by hand;\n  - after Settle at 0.5, a typo hold gets Clef's advice (keep yours, 0.81), and the client settles and pushes again by itself;\n  - the other agent hears it;\n  - the history shows both holds with what each agent kept, plus Clef's exact request and raw answer.\n- Platform, project abso:\n  - 1284 fills a hold's outcome from the push's trailer when the pull had merged the file, so there's no settle record. That's what left the Settle hold's outcome empty in the proof.\n  - 1286 caps advice at 120 held pushes per project per hour (C2).\n- abso-core 220: abso autosettle [off|advise|settle] [--at 0.3-0.95] (P4).\n- Staging has had the AI binding since about 1:45 AM CT (Cloud, after Christopher's broker-allow.ps1 run). A held-push proof on staging needs agent folders on a staging project, which needs a staging abso login that Christopher approves. That's left for the morning.\n- Still open:\n  - Undo (R2) and the 30-day figures (R3);\n  - the slider preview reading the history (abso-website 334);\n  - the edge case where a settle that keeps theirs and pushes nothing rides on the next push. That one needs a design round, because closing it needs a new kind of log entry. The history already handles it."},{"key":"activity:comment:319","kind":"comment","by":"autosettle","at":1792173146068,"atIso":"2026-10-16T17:52:26.068Z","text":"Round 3 shipped, 2026-10-16. Christopher approved the designs (canvas https://claude.ai/artifact/8L1rUVevZWe6Cu3ToLRk8Y): \"These are good, get them made and shipped.\"\n- Platform: project abso 1453, on prod since 12:37 PM CT. It adds collisions[].ordersAgree to the history and changedByName on Site /autosettle.\n- Website: abso-website 1120-1123 (autosettle-site, abso-website issue 362), on prod since 12:51 PM CT, with Security's yes. It has the New project tiles with the live sample and the slider, Settings' Is it helping?, Activity's Held versions filter, and held versions in line in Versions. Rollback is website 1119.\n- Checked on staging through the data: three real held versions on testopher-wirt/autosettle-proof-3, one per tag. That found the check-in-code bug, which 1123 fixes.\n- Still owed: a signed-in walk of the pages, waiting on Box Grants' agent session for the staging website."},{"key":"activity:comment:321","kind":"comment","by":"autosettle","at":1792189304235,"atIso":"2026-10-16T22:21:44.235Z","text":"Website 1130 is on prod since 5:20 PM CT 2026-10-16, with Security's yes on 1124-1130. It fixes Activity's Held versions (it read the history only in person views), and Settings is read-only for a writer-capped sign-in. The signed-in walk on staging passed all four Round 3 pages: Settings, Activity, Versions and New project. Prod gets no agent walk, because agents don't sign in to prod."},{"key":"activity:comment:322","kind":"comment","by":"autosettle","at":1792198991695,"atIso":"2026-10-17T01:03:11.695Z","text":"Auto-Settle, Oct 16, 8:05 PM CT: where auto-settle stands as abso winds down.\n\n**On prod**\n- Platform 1453 (since 12:37 PM CT): per-project Off / Advise / Settle with the confidence bar, the runtime-controls gate, and the history routes. Projects that never chose read as Off on prod (the autosettle-default flag). Settling stays in the agent's own client.\n- Website 1130 (since 5:20 PM CT; rollback point 1123, aa92daf2): Settings > Auto-settle, the choice on New project, Held versions in Activity and Versions.\n\n**Built, not on staging or prod**\n- Platform 1474: Clef sees up to 6 lines above and below each collision, read from the shared file at theirs' version. Undo: drops the version an automatic settle landed as (refused when later versions build on it), marks the held version Undone, and tells the held agent to settle by hand. Routes: site POST /p/<project>/autosettle/history/<id>/undo (owners), agent POST a/<agent>/autosettle-undo?hold=<id> (an owner's key or the admin token). Shared is green at 1475 with it.\n- Website 1132 (its check passed): the Undo button on Activity's held versions (asks before dropping), Undone as a real tag and count, and Settings' note now says a few lines around the collision go to Clef.\n- Both need Security's review before prod. 1474 went into abso during Cloud's 714 hold on definition-changing publishes, which I missed. Cloud has the call on it.\n\n**Parked**\n- An abso autosettle undo command in the client: agents can use the route.\n- Re-scoring Clef on project abso's 33 past collisions with the context lines: the earlier score had none.\n- Staging held version 3 on autosettle-proof-3 is still held on purpose (docs/start.md, the agent's call)."}],"others":[{"id":36,"title":"Ten memory-bounding versions from Oct 12 have no measurement behind them: check each against its cost"},{"id":35,"title":"Lines keep deleters from atoms no draft holds: every layout reads them, and nothing prunes them"},{"id":30,"title":"abso pull deletes waiting news it never shows"},{"id":34,"title":"News checks re-run in full on every record and push"},{"id":33,"title":"News agents need that is never made"},{"id":32,"title":"Taking news deletes it before the agent has it: a lost answer is lost news"},{"id":31,"title":"The Claude Code mod hands a seat's news to whichever subagent fetched it"},{"id":28,"title":"README alternate download: api.abso.dev/client/abso.mjs and .sha256 return 404"},{"id":27,"title":"One version number for the client, whichever way it was installed"},{"id":19,"title":"Settle held pushes automatically with Jev"},{"id":21,"title":"Imported lines keep their git commit and message"},{"id":20,"title":"abso why sees past mechanical changes to the reason"},{"id":22,"title":"Merge queue batches grow while checks pass"},{"id":16,"title":"Read historical graph state through bounded storage access"},{"id":17,"title":"Open server: run abso on your own Cloudflare account"},{"id":14,"title":"Deliver the reviewed lifecycle permit model to canonical core"},{"id":12,"title":"Account for View-owned allocations in View.weight"},{"id":11,"title":"Deterministic record-query replay contract tests"},{"id":8,"title":"Build the CLI npm package from its exact shared version"},{"id":7,"title":"Allow agents to request explicit grants when starting abso login"},{"id":2,"title":"News from the server itself, without making a sender agent"}],"watchers":["autosettle"],"knownLabels":[{"label":"area:client","open":0,"total":4},{"label":"area:engine","open":2,"total":3},{"label":"bug","open":2,"total":3},{"label":"ci","open":1,"total":1},{"label":"client","open":1,"total":5},{"label":"design","open":2,"total":2},{"label":"engine","open":2,"total":2},{"label":"friction","open":5,"total":9},{"label":"memory","open":1,"total":1},{"label":"naming","open":0,"total":2},{"label":"news","open":1,"total":1},{"label":"performance","open":3,"total":3},{"label":"prototype","open":1,"total":1},{"label":"speed","open":0,"total":1}],"linked":null,"people":{}}