Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 100 to 318

Compare

+36 −6 in 4 places
Lines 4–29 at 318 (were 4–16 at 100)
44for agents. [README.md](../README.md) at the top says what abso is and how to
55install the client as one file.
66
7−It is plain TypeScript that Node 24 runs directly, and it uses nothing outside
8−this folder, so the folder can be shipped as it is.
7+It is plain TypeScript that Node 24 runs directly. It also imports the
8+pipeline and project code from the rest of the repository, so what you ship
9+is the built bundle, `client/bin/abso.mjs`, one file.
1011```bash
1112node client/abso.ts help
1213```
1314
15+Node 20 can't run the `.ts` files (it has no type stripping). On Node 20 or
16+later, build the client into one plain-JS file and run that:
18+```bash
19+npm ci
20+npm run build
21+node client/bin/abso.mjs help
22+```
24+`client/bin/` isn't committed; build again after pulling. The npm package
25+(`npm run pack:npm -- <version>`) ships the same build.
1427### Running it from a git checkout
1528
1629`client/launch.mjs` runs the client from a git checkout of abso and keeps the
Lines 45–67 at 318 (were 32–37 at 100)
3245
3346## Setting up a folder
3447
48+### Requesting access at login
50+An agent can request the access it needs when starting a box login:
52+```bash
53+abso login --projects alpha,beta --role writer --days 30 --no-browser
54+```
56+The client sends a `requested_grant` with the device request: `projects`
57+(each with `project` and `role`) and `days`. Only supplied
58+fields are sent; project roles default to `writer`. The role option requires
59+projects. Durations range from 1 to 90 days. A box lets in any number of agents.
60+The person approving still chooses the actual grant and can narrow or reject
61+the request. Servers must support requested grants to prefill their approval
62+page; older servers may ignore the suggestions. Without these options, login
63+works as before. The request itself never authorizes access.
3565Folders and machines set up before abso had its name keep working: the older
3666`.avcs/` folder, `~/.avcs/` files, `AVCS_` environment names and `.avcsignore` are
3767read when the new ones are not there. New things are written under the new names.
Lines 99–105 at 318 (were 69–75 at 100)
6999abso join regex --agent backtracker --server https://<worker> --dir ./backtracker
70100```
71101
72−Here `abso` means `node <repo>/client/abso.ts`, or `node abso.mjs` for the one-file client.
102+Here `abso` means `node <repo>/client/bin/abso.mjs` (Node 20 or later), `node <repo>/client/abso.ts` (Node 24), or `node abso.mjs` for the one-file client.
73103
74104## Working
75105
Lines 137–151 at 318 (were 107–121 at 100)
107137| `abso announce [--to a,b] <text>` | Tells the project's other agents (or those named) something. Each gets "Announcement from you (as claimed): ..." once, as news on their next edit, or within 30 seconds where the mod runs. |
108138| `abso news` | The news waiting for you (collisions, changed definitions, moved lines, announcements), each item once. |
109139| `abso where` | Who is working where: each file with unpushed changes, whose they are, and which lines. |
110−| `abso blame <file> [--from n] [--to n] [--version n]` | Who wrote each line of the file as shared has it (or had it at a version), and the push that brought it in. `--draft <name>` reads a named draft; `--mine` reads your own view and marks your unpushed lines with `*`. |
111−| `abso why <file>:<line>` | Why one line of shared is the way it is: its change, its push, its reasons, and any collision it settled. Takes `--draft` and `--mine` as blame does. |
140+| `abso blame <file> [--from n] [--to n] [--version n]` | Who wrote each line of the file as shared has it (or had it at a version), and the push that brought it in. A push imported from git names its commit and author. `--draft <name>` reads a named draft; `--mine` reads your own view and marks your unpushed lines with `*`. |
141+| `abso why <file>:<line> [--at n] [--all]` | Why one line of shared is the way it is: the newest change to what it does, its push, its reasons, and any collision it settled, then the line's earlier changes, newest first, with what it read before each. A change that only touched formatting (whitespace, line wrapping, quotes, trailing commas, line-end semicolons) is skipped, and why names it; `--all` shows those too. A line imported from git names its commit and author, and `#39` in it names the old repository's issue when the import recorded where those are, or when abso.json says so with `"gitIssues": "https://github.com/owner/repo/issues"`. `--at <version>` reads the line as it was at that version, as blame's `--version` does. Takes `--draft` and `--mine` as blame does. |
112142| `abso drop <version...> -m "why" [--with-dependents]` | Takes pushed versions back out of shared as a new version, like `git revert`; history keeps them. Refused (exit 2) when later versions build on them (`--with-dependents` drops those too) or when anyone's unpushed work builds on them. |
113143| `abso pluck <draft> <version...> -m "why" [--with-dependencies]` | Takes some versions of a named draft into shared as one version, like `git cherry-pick`. The draft stays as it is. |
114144| `abso amend -m "new message"` | Corrects the message of your newest push in this space. The log keeps the first message. |
115145| `abso label <name> [--version n] [--remove]` / `abso labels` | Puts a label on a version of shared (the newest by default) or takes it off, like a git tag; `labels` lists them all. |
116146| `abso follow <label>` / `abso follow --none` | Makes this folder follow a label: every pull takes it to the newest version of shared with that label. `--none` goes back to shared's newest. Saved in `.abso/config.json`. |
117147| `abso check-ignore <path...>` | Whether abso leaves each path out, and which line of which ignore file decided (see "What is left out"). |
118−| `abso pipeline check [file] [--on <event>]` | Reads the folder's pipeline file (abso.yml, abso.yaml or avcs.json, or the file named) and lists each problem as `<path>: <message>`: a cycle in needs, a job or pipeline that doesn't exist, secrets in a pipeline a draft can start, keys it doesn't know. Exits 1 on problems; otherwise lists each pipeline's jobs in the order they run. With `--on publish|draft|green|land|hand|schedule` (and `--space`, `--pipeline` or `--every`), says which pipelines that event starts, with their jobs in waves that can run side by side, and why the others don't. Reads only the file. The shape is still a draft. |
148+| `abso pipeline check [file] [--on <event>]` | Reads the folder's pipeline file (abso.yml, abso.yaml or avcs.json, or the file named) and lists each problem as `<path>: <message>`: a cycle in needs, a job or pipeline that doesn't exist, secrets in a pipeline a draft can start, keys it doesn't know. Exits 1 on problems; otherwise lists each pipeline's jobs in the order they run. With `--on push|draft|green|land|hand|schedule` (and `--space`, `--pipeline` or `--every`), says which pipelines that event starts, with their jobs in waves that can run side by side, and why the others don't. Reads only the file. The shape is still a draft. |
119149| `abso issues [--open] [--status <s>] [--agent <a>] [--parent <N>] [--label <l,l>]` | The project's issues, most recently updated first. Statuses come from the work: `abso start --issue N` puts an issue In progress, an open ask makes it Blocked (In review for a review), and `push --done` closes it. `--label friction` keeps the issues with every label named: a ready list of work to pick up. `abso issues --labels` lists the labels in use, with how many issues are open under each. |
120150| `abso issue new "<title>" --label <l,l>` / `abso issue <N> --label <l,l> --unlabel <l,l>` | Labels an issue, or changes its labels. A label is 1-40 lower-case letters, digits and `- _ . :` (`friction`, `area:client`); what you type is lower-cased. An edit that only changes labels tells nobody unless `--notify` names people. Tool friction goes in its own issue, labeled `friction`. |
121151| `abso issue draft "<title>"` / `abso issues --drafts` | A draft of an issue: yours alone, with no number and no news. Takes the same fields as `issue new`. `abso issue draft <D> [fields]` changes one, `--open` opens it as an issue (with any fields given over the draft's), `--delete` deletes it. |
MCP
compare on this site's /mcp
CLI
abso diff 100 318 client/README.md --json
JSON
/christopher/abso-core/compare/100..318?file=client%2FREADME.md&format=json