{"file":"scripts/autosettle/STORIES.md","version":318,"total":51,"from":1,"to":51,"lines":[{"n":1,"text":"# Auto-settle: stories","atom":"a2318","author":"autosettle","version":211},{"n":2,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":3,"text":"Christopher, 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.\"","atom":"a2318","author":"autosettle","version":211},{"n":4,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":5,"text":"What exists (abso-core 204, issue 19):","atom":"a2318","author":"autosettle","version":211},{"n":6,"text":"- 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.","atom":"a2318","author":"autosettle","version":211},{"n":7,"text":"- Under advice, the held push's answer carries that advice, and the agent still settles.","atom":"a2318","author":"autosettle","version":211},{"n":8,"text":"- Under settle, the client pulls, settles the collisions advised a side, and pushes again, with \"Settled automatically\" in the message.","atom":"a2318","author":"autosettle","version":211},{"n":9,"text":"- Today one server-wide variable, `AUTOSETTLE`, picks off, `on` (advice) or `act` (settle).","atom":"a2318","author":"autosettle","version":211},{"n":10,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":11,"text":"Words: hold (a push refused for colliding), settle, advice, confidence, auto-settle.","atom":"a2318","author":"autosettle","version":211},{"n":12,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":13,"text":"## Gate (environment-wide)","atom":"a2318","author":"autosettle","version":211},{"n":14,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":15,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":16,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":17,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":18,"text":"## Project setting","atom":"a2318","author":"autosettle","version":211},{"n":19,"text":"- **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.)*","atom":"a2318","author":"autosettle","version":211},{"n":20,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":21,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":22,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":23,"text":"- **P5** · Writer, Reader · I see the setting read-only, and who set it.","atom":"a2318","author":"autosettle","version":211},{"n":24,"text":"- **P6** · Owner · A change to the setting is a line on the project's Now: \"Christopher set auto-settle to Settle at 0.6\".","atom":"a2318","author":"autosettle","version":211},{"n":25,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":26,"text":"## Agent","atom":"a2318","author":"autosettle","version":211},{"n":27,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":28,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":29,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":30,"text":"- **A4** · Agent · `ABSO_AUTOSETTLE=off` on my machine means I always settle by hand, whatever the project says.","atom":"a2318","author":"autosettle","version":211},{"n":31,"text":"- **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)\".","atom":"a2318","author":"autosettle","version":211},{"n":32,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":33,"text":"## Record and undo","atom":"a2318","author":"autosettle","version":211},{"n":34,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":35,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":36,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":37,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":38,"text":"## Cost","atom":"a2318","author":"autosettle","version":211},{"n":39,"text":"- **C1** · Anyone · Auto-settle is free on every project, public or private. It runs on abso's Workers AI.","atom":"a2318","author":"autosettle","version":211},{"n":40,"text":"- **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.","atom":"a2318","author":"autosettle","version":211},{"n":41,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":42,"text":"## Tonight","atom":"a2318","author":"autosettle","version":211},{"n":43,"text":"In order, cut-first:","atom":"a2318","author":"autosettle","version":211},{"n":44,"text":"1. 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.","atom":"a2318","author":"autosettle","version":211},{"n":45,"text":"2. Website Settings section: the three choices and the slider (P1, P2, P5), plus the \"Stopped by abso\" line (G2).","atom":"a2318","author":"autosettle","version":211},{"n":46,"text":"3. \"Settled automatically\" on Activity and the version page (R1), and news to the other agent (A5).","atom":"a2318","author":"autosettle","version":211},{"n":47,"text":"4. Later: the slider preview (P3), Undo (R2), the 30-day figures (R3), the call ceiling (C2), and the CLI command (P4).","atom":"a2318","author":"autosettle","version":211},{"n":48,"text":"","atom":"a2318","author":"autosettle","version":211},{"n":49,"text":"## Open","atom":"a2318","author":"autosettle","version":211},{"n":50,"text":"- 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.","atom":"a2318","author":"autosettle","version":211},{"n":51,"text":"- Default for new projects: Advise (pitched above), or Settle?","atom":"a2318","author":"autosettle","version":211}],"atoms":[{"atom":"a2318","author":"autosettle","message":"","time":1792032077214,"timeIso":"2026-10-15T02:41:17.214Z","publish":{"draft":null,"version":211,"agent":"autosettle","message":"Settled automatically, on the record and in the other agent's news (abso-core 23)\n\nThe client's re-push after settling by itself now ends its message with a fixed trailer, one line per file: 'Settled automatically (abso 19):' then '- <file>: kept <side>, confidence 0.81. <reason>' (or 'by a check in code'). autoTrailer writes it and autoSettledOf reads it back, both in worker/project/autosettle.ts. Publish and the merge queue put it on each settle record as settled[].auto {pick, by, confidence, reason}, so the website can mark the version. The other agent's news says 'X settled its collision with your version N in <file> automatically, as abso's model advised (confidence 0.81), pushing version V: ...' and still outlasts a sync.\n\nTests: autosettle.test.ts 9 (trailer round trip, news words), the client's settle/held tests 21, held-push, markers, project, same-line. Typecheck and server typecheck clean. Local open server under act: the trailer is written as above.","time":1792036574787,"timeIso":"2026-10-15T03:56:14.787Z"}}]}