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 0 to 318

Compare

+149 −81 in 11 places
Lines 1–93 at 318 (were 1–37 at 0)
11# abso: the client
22
3−The command-line client and the Claude Code hook for the agent-first version
4−control server. The contract it follows is
5−[docs/v2-slice1.md](../docs/v2-slice1.md); the issue is #21.
3+The command-line client and the Claude Code hook for abso, version control
4+for agents. [README.md](../README.md) at the top says what abso is and how to
5+install 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
11−node client/avcs.ts help
12+node 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.
27+### Running it from a git checkout
29+`client/launch.mjs` runs the client from a git checkout of abso and keeps the
30+checkout current. Point your `abso` command at it:
32+```bash
33+node /path/to/abso/client/launch.mjs help
34+```
36+It runs a bundle of the client when one matches the checkout's commit, which
37+starts several times faster than the TypeScript, and `client/abso.ts`
38+otherwise. Every few minutes it fast-forwards the checkout (on `main` only)
39+and builds the bundle in the background, with esbuild if the checkout has it.
40+It never changes the command's output or exit code, and writes its own notices
41+to `~/.abso/launcher.log`.
43+Point it at a clone or worktree that nobody edits in. The bundle is keyed on
44+the commit, so changes that aren't committed don't run until the next commit.
1446## Setting up a folder
1547
16−The token comes from the `AVCS_TOKEN` environment variable, or else from
17−`~/.avcs/token`, outside every repo. It is never written into the folder.
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.
65+Folders and machines set up before abso had its name keep working: the older
66+`.avcs/` folder, `~/.avcs/` files, `AVCS_` environment names and `.avcsignore` are
67+read when the new ones are not there. New things are written under the new names.
69+The token comes from the `ABSO_TOKEN` environment variable, or else from
70+`~/.abso/token`, outside every repo. It is never written into the folder.
1871It goes only to abso's server (`https://api.abso.dev`) and its Issues Worker
1972(`https://issues.abso.dev`), to servers this
20−machine names, and to this machine itself, since any `.avcs/config.json` can
73+machine names, and to this machine itself, since any `.abso/config.json` can
2174name a server and anyone can write one. A folder naming another server is
2275refused before any call. To use a server you run, or a test one, name it in
23−`~/.avcs/servers.json`, beside the token, with its Issues Worker if it has one:
76+`~/.abso/servers.json`, beside the token, with its Issues Worker if it has one:
2477
2578```json
2679{ "servers": { "https://abso.example.com": { "issues": "https://issues.example.com" } } }
2780```
2881
29−`AVCS_TRUSTED_SERVERS` (comma-separated) adds servers for one shell, and
30−`AVCS_ISSUES_SERVER` names the Issues Worker. The mods follow the same rule.
82+`ABSO_TRUSTED_SERVERS` (comma-separated) adds servers for one shell, and
83+`ABSO_ISSUES_SERVER` names the Issues Worker. The mods follow the same rule.
84+Off this machine only `https://` servers count. A server you trust gets your
85+token: the same token goes to every server named, so name only servers you
86+would hand it to.
3187
32−Every path a sync, switch, join or restore answer names is checked before
88+Every path a pull, switch, join or restore answer names is checked before
3389the client touches the disk: nothing is written outside the folder, into
34−`.git`, `.claude` or `.avcs` (in any case), onto a Windows device name, or
90+`.git`, `.claude` or `.abso` (in any case), onto a Windows device name, or
3591through a folder that is a link. A refused path is named in the output
3692("REFUSED ... paths from the server").
3793
Lines 99–164 at 318 (were 43–107 at 0)
4399abso join regex --agent backtracker --server https://<worker> --dir ./backtracker
44100```
45101
46−Here `abso` means `node <repo>/client/abso.ts` (`client/avcs.ts` is the same client under its old name, which installed hooks still run).
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.
47103
48104## Working
49105
50106| Command | What it does |
51107| --- | --- |
52108| `abso record [--all]` | Sends every file that changed since the server last heard about it. Edits by Claude Code go through the hook; this catches everything else (shell commands, other editors, a hook that failed). |
53−| `abso publish -m "why" [--as-is]` | Records, then adds the draft to shared. Refused (exit 2) when it collides with work published since the last sync, each collision showing both sides; or while a file still holds collision markers from a sync. Settle them first (`abso settle`, or edit them away); `--as-is` keeps both sides in every marked file and publishes. The output names what each settled collision kept, and the other author hears it. |
54−| `abso publish -m "why" --check "<command>"` | Syncs, runs the command in your box on your draft with newest shared, and publishes only if it exits 0, so two changes that each pass alone can't turn shared red. Use the project's own script (`--check "npm run typecheck"`), and give the box its dependencies once first with `abso prep 'npm ci --ignore-scripts'`: without a prep the box has no `node_modules`, and when the folder has a `package-lock.json`, `--check` refuses rather than trust that run. It says when shared moved during the check, and `abso bisect -- <command>` finds the first version where a check fails. |
55−| `abso settle <file...> --yours\|--theirs\|--both` | Settles the collisions a sync marked in these files (#11). Where lines changed on both sides, sync writes a marker block: `<<<<<<< yours (unpublished)`, your lines, `\|\|\|\|\|\|\| before (version N)`, the lines you both started from, `=======`, theirs, `>>>>>>> theirs: <agent>, version N "<message>"`. Settle turns each block into your lines, theirs, or both (yours first), then records. Editing the markers away by hand works too. `abso status` lists the files with markers; box runs fail while they're in the folder. |
56−| `abso sync` | Records, then brings shared's new work into the folder. A file that collides is left alone and listed; editing it settles both sides. A renamed file is listed as renamed. Up to 8 file names per line; `--verbose` lists every file. `--full` also writes any file of your view the folder is missing, not only what changed since your last sync (`abso join` always does this). A file new in your draft that your ignore rules leave out (an edit mod older than nested ignore files sends them) leaves the draft and stays on disk; publish does the same. |
109+| `abso push -m "why" [--as-is]` | Records, then adds the draft to shared. Refused (exit 2) when it collides with work pushed since the last pull, each collision showing both sides; or while a file still holds collision markers from a pull. Settle them first (`abso settle`, or edit them away); `--as-is` keeps both sides in every marked file and pushes. The output names what each settled collision kept, and the other author hears it. |
110+| `abso push -m "why" --check "<command>"` | Pulls, runs the command in your box on your draft with newest shared, and pushes only if it exits 0, so two changes that each pass alone can't turn shared red. Use the project's own script (`--check "npm run typecheck"`), and give the box its dependencies once first with `abso prep 'npm ci --ignore-scripts'`: without a prep the box has no `node_modules`, and when the folder has a `package-lock.json`, `--check` refuses rather than trust that run. It says when shared moved during the check, and `abso bisect -- <command>` finds the first version where a check fails. |
111+| `abso settle <file...> --yours\|--theirs\|--both` | Settles the collisions a pull marked in these files. Where lines changed on both sides, pull writes a marker block: `<<<<<<< yours (unpublished)`, your lines, `\|\|\|\|\|\|\| before (version N)`, the lines you both started from, `=======`, theirs, `>>>>>>> theirs: <agent>, version N "<message>"`. Settle turns each block into your lines, theirs, or both (yours first), then records. Editing the markers away by hand works too. `abso status` lists the files with markers; box runs fail while they're in the folder. |
112+| `abso pull` | Records, then brings shared's new work into the folder. A file that collides is left alone and listed; editing it settles both sides. A renamed file is listed as renamed. Up to 8 file names per line; `--verbose` lists every file. `--full` also writes any file of your view the folder is missing, not only what changed since your last pull (`abso join` always does this). A file new in your draft that your ignore rules leave out (an edit mod older than nested ignore files sends them) leaves the draft and stays on disk; push does the same. |
57113| `abso run <command>` | Sends the folder to the agent's box, runs the command there, streams the output, and exits with the command's code. The words are one shell command, run by the box's `sh`. The box's stdout comes out on stdout and its stderr on stderr, so `abso run "node gen.mjs" > out.ts` keeps progress lines out of the file. abso's own notices (a fresh box, files sent with LF, and the like) and any news go to stderr, so piped output holds only the command's; `--quiet` drops the notices. |
58114| `abso run --detach ...` | Starts the run and prints its id without waiting; the job goes on in the box. A later `abso run` from the folder replaces the box's files, even while it runs. |
59115| `abso run --parallel "<command>" "<command>"...` | One upload, then the commands run at once in the box. Each line a command prints starts with its label (`[1]`, `[2]`, ...; the labels are listed first), stdout and stderr kept apart; at the end, each command's exit code, and `abso run` exits with the worst (highest) of them. |
60116| `abso run --at <version> [--files <glob>] ...` | Runs a past version of the folder's space in the box instead of the folder (for bisecting), or, with `--files`, the folder with only the matching files as they were at that version (`*` within a folder, `**` across folders, comma-separated; a plain path takes a file or a whole folder). The folder is never touched, so nothing old gets recorded. The run sees `AVCS_AT`. |
61117| `abso run --with <box path>=<local path>[,...] ...` | Adds files, or every file under a local folder, to this run only: they go to the box (text with LF line endings) and are never written to your folder or recorded, so an A/B run leaves the project alone. A path already in the folder is replaced for this run. |
62−| `abso fetch <glob...>` / `abso run --fetch <glob>[,<glob>...] ...` | Files a run left in the box's `/w` (bash globs: `out/*.png`, `**/*.log`; `fetch` takes them space-separated, `run --fetch` comma-separated in one argument), written into the folder, but only where abso ignores them (add `out/` to `.avcsignore`, say), so a fetched file never becomes an edit; the rest are named and left alone, and every path is screened as a sync's are. `run --fetch` fetches when the run ends. The box's `/w` is replaced by your folder on every run; the rest of the box (`/tmp`, `~/.cache`, `/w/node_modules`) lasts between runs until the box stops (idle 30 minutes, or restarted). |
118+| `abso fetch <glob...>` / `abso run --fetch <glob>[,<glob>...] ...` | Files a run left in the box's `/w` (bash globs: `out/*.png`, `**/*.log`; `fetch` takes them space-separated, `run --fetch` comma-separated in one argument), written into the folder, but only where abso ignores them (add `out/` to `.absoignore`, say), so a fetched file never becomes an edit; the rest are named and left alone, and every path is screened as a pull's are. `run --fetch` fetches when the run ends. The box's `/w` is replaced by your folder on every run; the rest of the box (`/tmp`, `~/.cache`, `/w/node_modules`) lasts between runs until the box stops (idle 30 minutes, or restarted). |
63119| `abso pause` / `abso resume` | While paused, nothing from the folder is sent: the edit hook skips, `abso record` refuses, and other commands don't record first. For swapping files in by hand; `abso run --at` usually does it better. |
64120| `abso logs <run id>` | A run's output from its start (stdout and stderr apart), for as long as the box keeps it, waiting until it ends; exits with its code. For a detached run, or one whose connection was lost. |
65121| `abso run -- <program> <arg...>` | The same, but each word reaches the program exactly as typed: the client quotes it for the box's shell, so quotes, backslashes and regex text (`'a(b)'`, `'\w+'`) need no second layer of quoting. |
66−| `abso status` | Shared's version, each agent's base and draft, what in this folder is not yet recorded, any file of your view the folder is missing, and files that differ from what abso recorded only in line endings (CRLF on disk; abso records them, and `abso run` sends them, with LF). `--short` prints one word to stamp a build with: the version the folder is on (`214`), with a named draft (`coast@3`), and `+unpublished` when it holds changes not yet published. |
67−| `abso who <file...>` | For each file: who last changed it, who has unpublished changes in it (and at which lines), and whose `abso start` note names it. For asking before you work in someone's file. |
122+| `abso status` | Shared's version, each agent's base and draft, what in this folder is not yet recorded, any file of your view the folder is missing, and files that differ from what abso recorded only in line endings (CRLF on disk; abso records them, and `abso run` sends them, with LF). `--short` prints one word to stamp a build with: the version the folder is on (`214`), with a named draft (`coast@3`), and `+unpushed` when it holds changes not yet pushed. |
123+| `abso who <file...>` | For each file: who last changed it, who has unpushed changes in it (and at which lines), and whose `abso start` note names it. For asking before you work in someone's file. |
68124| `abso fix-eol` | Rewrites the files that differ from what abso recorded only in line endings (CRLF here) with LF, as recorded. Their text is unchanged, so nothing is recorded; `abso status` stops counting them. |
69−| `abso export <dir> [--version <N>]` | Writes one published version of this folder's space (the newest unless `--version`) into a folder of its own, for a build that doesn't move while shared does. The folder must be empty, an earlier export (which it replaces, keeping its `node_modules` and whatever `--keep <glob>` names), or inside the abso folder only where `.avcsignore` leaves it out. `.avcs-export.json` there names the version. Your folder and your base are untouched. |
70−| `abso files [glob...]` | The files your folder should hold (your view), marking any it's missing. `--draft <name>` (or `--draft shared`) and `--version <N>` list a space's files as published. |
71−| `abso switch <draft>` / `abso switch shared` | Records, then moves the folder to a named draft (made on shared's newest version if it's new) or back to shared. Your unpublished changes are parked on the server where you leave, and come back when you return. Then it syncs, so the folder shows the space as it is now; collisions are listed as sync lists them. |
72−| `abso switch -c <draft>` | Starts a new named draft that carries your current unpublished changes. |
125+| `abso export <dir> [--version <N>]` | Writes one pushed version of this folder's space (the newest unless `--version`) into a folder of its own, for a build that doesn't move while shared does. The folder must be empty, an earlier export (which it replaces, keeping its `node_modules` and whatever `--keep <glob>` names), or inside the abso folder only where `.absoignore` leaves it out. `.avcs-export.json` there names the version. Your folder and your base are untouched. |
126+| `abso files [glob...]` | The files your folder should hold (your view), marking any it's missing. `--draft <name>` (or `--draft shared`) and `--version <N>` list a space's files as pushed. |
127+| `abso switch <draft>` / `abso switch shared` | Records, then moves the folder to a named draft (made on shared's newest version if it's new) or back to shared. Your unpushed changes are parked on the server where you leave, and come back when you return. Then it pulls, so the folder shows the space as it is now; collisions are listed as pull lists them. |
128+| `abso switch -c <draft>` | Starts a new named draft that carries your current unpushed changes. |
73129| `abso land -m "why"` | Lands your named draft in shared as one unit. Refused only on a collision with work that landed in shared since the draft began. |
74−| `abso draft-sync` | Moves your named draft onto shared's newest version, then brings that into the folder. |
75−| `abso diff [path...]` | Records, then shows your unpublished changes line by line, in git's unified format. A path may be a file or a folder (`.` is the folder you're in); a path that matches nothing is named. A file deleted and another added with at least half the same lines show as one rename, as git shows them (`similarity index`, `rename from`, `rename to`). |
130+| `abso draft-pull` | Moves your named draft onto shared's newest version, then brings that into the folder. |
131+| `abso diff [path...]` | Records, then shows your unpushed changes line by line, in git's unified format. A path may be a file or a folder (`.` is the folder you're in); a path that matches nothing is named. A file deleted and another added with at least half the same lines show as one rename, as git shows them (`similarity index`, `rename from`, `rename to`). |
76132| `abso diff <from> <to> [path...]` | What changed between two versions of this folder's space (`--draft <name>` or `--draft shared` for another). |
77−| `abso restore <file...>` / `--all` | Discards your unpublished changes to those files, like `git restore`. A file that is new in your draft is deleted. |
133+| `abso restore <file...>` / `--all` | Discards your unpushed changes to those files, like `git restore`. A file that is new in your draft is deleted. |
78134| `abso restore <file>:<line>[-<line>]` | Puts back only your changes that touch those lines (numbered as `abso diff` shows the file now), keeping your other changes to the file: to drop your copy of what a teammate already did, say. |
79−| `abso log [path] [-n <count>]` | The published versions of this folder's space, newest first: who, when, why and which files, plus any labels, what a drop took out (or which drop took it out), and the first message of an amended version. With a file or folder, only the versions that changed it; a file's log follows it back through renames, like `git log --follow`. Takes `--draft`. `--since <version|30m|2h|1d|20:00|date>` and `--by <agent,...>` filter it; `--count` prints versions and files per agent instead, for progress reports. |
80−| `abso show <version>` | One version: who published it, why, and its diff. `abso show <version>:<file>` prints that file as it was then. Takes `--draft`. |
135+| `abso log [path] [-n <count>]` | The pushed versions of this folder's space, newest first: who, when, why and which files, plus any labels, what a drop took out (or which drop took it out), and the first message of an amended version. With a file or folder, only the versions that changed it; a file's log follows it back through renames, like `git log --follow`. Takes `--draft`. `--since <version|30m|2h|1d|20:00|date>` and `--by <agent,...>` filter it; `--count` prints versions and files per agent instead, for progress reports. |
136+| `abso show <version>` | One version: who pushed it, why, and its diff. `abso show <version>:<file>` prints that file as it was then. Takes `--draft`. |
81137| `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. |
82138| `abso news` | The news waiting for you (collisions, changed definitions, moved lines, announcements), each item once. |
83−| `abso where` | Who is working where: each file with unpublished changes, whose they are, and which lines. |
84−| `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 publish that brought it in. `--draft <name>` reads a named draft; `--mine` reads your own view and marks your unpublished lines with `*`. |
85−| `abso why <file>:<line>` | Why one line of shared is the way it is: its change, its publish, its reasons, and any collision it settled. Takes `--draft` and `--mine` as blame does. |
86−| `abso drop <version...> -m "why" [--with-dependents]` | Takes published 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 unpublished work builds on them. |
139+| `abso where` | Who is working where: each file with unpushed changes, whose they are, and which lines. |
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. |
142+| `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. |
87143| `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. |
88−| `abso amend -m "new message"` | Corrects the message of your newest publish in this space. The log keeps the first message. |
144+| `abso amend -m "new message"` | Corrects the message of your newest push in this space. The log keeps the first message. |
89145| `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. |
90−| `abso follow <label>` / `abso follow --none` | Makes this folder follow a label: every sync takes it to the newest version of shared with that label. `--none` goes back to shared's newest. Saved in `.avcs/config.json`. |
146+| `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`. |
91147| `abso check-ignore <path...>` | Whether abso leaves each path out, and which line of which ignore file decided (see "What is left out"). |
92−| `abso pipeline check [file]` | 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. Reads only the file. The shape is still a draft (abso issue 138). |
93−| `abso issues [--open] [--status <s>] [--agent <a>] [--parent <N>] [--label <l,l>]` | The project's issues (#54), 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 `publish --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. |
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. |
149+| `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. |
94150| `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`. |
95151| `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. |
96−| `abso issue <N>` / `abso issue new "<title>"` | One issue: its description, Agent, Blocked by, asks, comments, edits, sub-issues and watchers. `--comment`, `--object` and `--drop` act on it; its agents hear them. `--reopen` opens a dropped issue again. `--done` marks it done by hand, and `--done-by <version>` names the published version that did the work (abso issues 104 and 38). `--title`, `--description`, `--parent`, `--agent` and `--blocked-by` edit it (`none` clears one), and the edit tells its watchers: who opened it, its Agent and agents, its Reviewer, whoever was named in Notify, and whoever commented. `--notify a,b` tells more people; `--quiet` tells nobody. An issue is Blocked until each issue it's blocked by is Done. `new` opens one (`--description`, `--parent`, `--lines <file>:<from>-<to>@<version>`, `--agent`, `--blocked-by`, `--notify`). |
152+| `abso issue <N>` / `abso issue new "<title>"` | One issue: its description, Agent, Blocked by, asks, comments, edits, sub-issues and watchers. `--comment`, `--object` and `--drop` act on it; its agents hear them. `--reopen` opens a dropped issue again. `--done` marks it done by hand, and `--done-by <version>` names the pushed version that did the work. `--title`, `--description`, `--parent`, `--agent` and `--blocked-by` edit it (`none` clears one), and the edit tells its watchers: who opened it, its Agent and agents, its Reviewer, whoever was named in Notify, and whoever commented. `--notify a,b` tells more people; `--quiet` tells nobody. An issue is Blocked until each issue it's blocked by is Done. `new` opens one (`--description`, `--parent`, `--lines <file>:<from>-<to>@<version>`, `--agent`, `--blocked-by`, `--notify`). |
97153| `abso ask <who> "<question>" [--issue <N>]` | Asks an agent, or a person (`person:<id>`), something; they hear it. `--review`, `--task`, `--due`, `--blocks` and `--options "A\|B"` shape it. |
154+| `abso ask --withdraw <ask> [--note "why"]` | Takes back an ask you made that no longer needs an answer. It leaves their waiting list and stops holding the issue at Blocked. The ask stays in the issue's history, marked withdrawn, with your note, and they hear it. Only the asker can withdraw an ask, and only while it's unanswered. |
98155| `abso waiting [--of <who>] [--mine]` / `abso answer <ask> "<words>"` | The open asks, soonest due first, and the answer to one asked of you (in your own words, `--option <N>`, or `--done` for a task). |
99156
100157Every command takes `--json`.
101158
102159The Issues commands talk to the Issues Worker beside the folder's server,
103−with the same token: the one `~/.avcs/servers.json` names for that server, or
104−`AVCS_ISSUES_SERVER`. The token goes there only where it would go as a
160+with the same token: the one `~/.abso/servers.json` names for that server, or
161+`ABSO_ISSUES_SERVER`. The token goes there only where it would go as a
105162folder's server: abso's, one this machine names, or this machine itself.
106163
107164### Text with several lines: `--comment-file`, `--file`
Lines 166–172 at 318 (were 109–115 at 0)
109166Windows PowerShell 5.1 passes a quoted argument to a native command badly:
110167text with several lines can reach abso cut at its first new line, with
111168nothing said. So every text flag also reads a file: `--comment-file`,
112−`--description-file`, `--object-file`, `--note-file` and `publish
169+`--description-file`, `--object-file`, `--note-file` and `push
113170--message-file`. For `ask`, `answer` and `announce`, whose text is their
114171words, use `--file`. A path of `-` reads stdin. One trailing new line is
115172dropped, and an empty file is refused.
Lines 196–241 at 318 (were 139–172 at 0)
139196## The MCP server
140197
141198`abso mcp` serves the reading commands, and the writing ones an agent uses every
142−day, as MCP tools on stdin and stdout (#44). Each tool is the command of the same
199+day, as MCP tools on stdin and stdout. Each tool is the command of the same
143200name (`check-ignore` is `check_ignore`), runs the same code, and answers with the
144201same text, so the tools and the command line can't drift apart. `json: true` on
145202a call answers with the command's JSON instead. The folder and the token come from
146203where the server runs, as for the command line; `folder` on a call points it at
147−another abso folder. Add it to Claude Code with:
204+an abso folder inside that one. A call's `folder`, the files the `issue`
205+tool's `attach` and `clean` name, and the folder its `save-attachments` writes
206+to, must be in the folder the server started in or below it: anything outside is
207+refused. Add it to Claude Code with:
148208
149209```
150−claude mcp add avcs -- node <repo>/client/avcs.ts mcp
210+claude mcp add abso -- node <repo>/client/abso.ts mcp
151211```
152212
153213The box commands (`run`, `shot`, `bisect`, `prep`, `logs`, `fetch`) stream for
154214minutes and stay in the shell, as do `init` and `join`, and the commands that
155215rewrite history or move between drafts.
156216
217+## The skill
219+`abso skill install` writes the abso skill for Claude Code to
220+`~/.claude/skills/abso/SKILL.md` (`--dir` names another skills folder). The skill
221+says how to work in an abso folder and what never to share. It's instructions
222+only: it names no tools to allow, and installing it changes no settings. Its
223+source is [skills/abso/SKILL.md](skills/abso/SKILL.md). `abso skill show` prints
224+it. Run `abso skill install` again after updating abso.
157226## The hook
158227
159228After each Edit, MultiEdit, Write or NotebookEdit, the hook:
160229
1612301. finds the abso folder above the edited file (and does nothing outside one);
162−2. replays the edit on `.avcs/known/<file>`, the client's copy of what the
231+2. replays the edit on `.abso/known/<file>`, the client's copy of what the
163232 server has. If the replay gives exactly the file on disk, it sends the edit
164233 (old and new text, with the session and subagent ids). If not, it sends the
165234 whole file with `record`. That happens after a shell command changed the
166235 file, for `replace_all`, or when the server answers "out of step";
1672363. hands any news back to the agent as extra context.
168237
169−It never stops the agent. On any error it writes a line to `.avcs/hook.log`
238+It never stops the agent. On any error it writes a line to `.abso/hook.log`
170239and forgets the file's known copy, so the next `abso record` sends it whole.
171240Every call is logged with its timing. The decisions live in `src/core.ts`,
172241shared by both forms below.
Lines 255–267 at 318 (were 186–198 at 0)
186255 `node client/install-mod.ts`, which puts its five files in
187256 `~/.claude/skills/avcs`. A chat loads the mod when it starts and keeps that
188257 one: open chats don't pick up a new install, so restart them (or the app) to
189− load it (#37: a chat started before an install still ran the older mod).
258+ load it.
190259 `abso status` says when the last edit in a folder came from an older mod
191260 than the one installed. Or load it
192261 for one session with `claude --plugin-dir <repo>/client`. Function hooks are
193262 an early-access Claude Code API; a headless `claude -p` loads them only with
194263 `CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1`. While the mod is installed, the command
195− hook below stands down (`AVCS_HOOK_FORCE=1` overrides), so no edit is sent
264+ hook below stands down (`ABSO_HOOK_FORCE=1` overrides), so no edit is sent
196265 twice.
197266- **The command hook (about 320 ms per edit), for anything else.** `abso hook`
198267 reads Claude Code's PostToolUse JSON on stdin, always exits 0, and prints the
Lines 273–286 at 318 (were 204–217 at 0)
204273 "PostToolUse": [
205274 {
206275 "matcher": "Edit|MultiEdit|Write|NotebookEdit",
207− "hooks": [{ "type": "command", "command": "node <path-to-abso>/client/avcs.ts hook", "timeout": 10 }]
276+ "hooks": [{ "type": "command", "command": "node <path-to-abso>/client/abso.ts hook", "timeout": 10 }]
208277 }
209278 ]
210279 }
211280 }
212281 ```
213282
214−Measured in real sessions against the live Worker (#21): the plugin takes a
283+Measured in real sessions against the live server: the plugin takes a
215284median of 73 ms per edit, and the command hook 319 ms (342 ms when Git Bash
216285starts it, as Claude Code does on Windows). The difference is a new process
217286and a new HTTPS connection for every edit.
Lines 288–299 at 318 (were 219–230 at 0)
219288### Updating the mods, and taking an update back
220289
221290Every session on the machine runs the installed mods, so an install never
222−leaves them half-written (#29). `install-mod.ts` and `install-view.ts`:
291+leaves them half-written. `install-mod.ts` and `install-view.ts`:
223292
224293- stamp the mod with the last commit that changed its files: plugin.json's
225294 version becomes `0.1.0+702c616` (`.dirty` when the files differ from that
226295 commit), and the mod sends it with each call to the server as
227− `X-Avcs-Client`. A commit that changes none of them leaves nothing to
296+ `X-Abso-Client`. A commit that changes none of them leaves nothing to
228297 install, and nothing to restart for;
229298- check a staged copy first, with `claude plugin validate` and the mod's own
230299 tests in the plugin test kit, and change nothing if either fails
Lines 306–325 at 318 (were 237–257 at 0)
237306folder in place of the skills folder. `abso --version` prints this client's
238307version and the mods installed on this machine, and says when this client
239308has a newer mod to install. The command-line client sends its own version
240−with each call too (`X-Avcs-Client: avcs-cli/0.1.0+<commit checked out>`).
309+with each call too (`X-Abso-Client: avcs-cli/0.1.0+<commit checked out>`).
241310
242311## The view (avcs-view)
243312
244−A second mod, in `client/view`, shows a chat what abso knows about its folder
245−(#12):
313+A second mod, in `client/view`, shows a chat what abso knows about its folder:
246314
247315- **A status line**, for example
248− `avcs: shared · 2 files unpublished · shared is 2 ahead (abso sync) · bob also on your files · 1 news item (/avcs-view)`.
316+ `avcs: shared · 2 files unpushed · shared is 2 ahead (abso pull) · bob also on your files · 1 news item (/avcs-view)`.
249317 It shows the space, the files your draft changes, how far shared (or your
250− draft) has moved past your base, other agents with unpublished changes in
318+ draft) has moved past your base, other agents with unpushed changes in
251319 the same files, and news you haven't looked at.
252320- **`/avcs-view`** opens a pane with the whole picture: the space and version,
253321 your draft's files, work parked in other spaces, who else is on which of
254− your files, and the latest news (from `.avcs/news.log`, which the hooks and
322+ your files, and the latest news (from `.abso/news.log`, which the hooks and
255323 commands write).
256324
257325Outside an abso folder it costs one folder lookup when the chat starts. In one,
Lines 329–367 at 318 (were 261–299 at 0)
261329
262330## What the folder holds
263331
264−- `.avcs/config.json`: `{server, project, agent}`. When the folder is a git
265− repo, `/.avcs/` goes into `.git/info/exclude`. Nothing under `.avcs/` is
266− ever recorded, published or sent to a box.
267−- `.avcs/known/`: the known copy described above.
268−- `.avcs/modes.json`: the executable files and links the server has, as far
332+- `.abso/config.json`: `{server, project, agent}`. When the folder is a git
333+ repo, `/.abso/` goes into `.git/info/exclude`. Nothing under `.abso/` is
334+ ever recorded, pushed or sent to a box.
335+- `.abso/known/`: the known copy described above.
336+- `.abso/modes.json`: the executable files and links the server has, as far
269337 as the client knows. It is to modes what the known copy is to text.
270−- `.avcs/hook.log`: one line per hook call.
271−- `.avcs/news.log`: the news the agent was given, one dated line each.
272−- `.avcs/run.log`: when `abso run` reconnected to a run, or started it again because the connection failed before the server answered (up to 3 more tries, 0.5 to 3 seconds apart; never once the server has answered), and why.
338+- `.abso/hook.log`: one line per hook call.
339+- `.abso/news.log`: the news the agent was given, one dated line each.
340+- `.abso/run.log`: when `abso run` reconnected to a run, or started it again because the connection failed before the server answered (up to 3 more tries, 0.5 to 3 seconds apart; never once the server has answered), and why.
273341
274342## Empty files, the executable bit and links
275343
276344An empty file is a file like any other; only a deleted file is gone. The
277−server keeps each file's executable bit and whether it is a symbolic link
278−(#27). The client sends only the changes, after the files' text:
345+server keeps each file's executable bit and whether it is a symbolic link.
346+The client sends only the changes, after the files' text:
279347
280348- **The executable bit** is read from disk and set on disk, except on Windows,
281349 which has no such bit. There, like git's `core.fileMode=false`, a file keeps
282350 the bit the server has, and `abso run` sends it to the box.
283351- **A link** is never followed. Its text is "" and its target is its mode. Where
284− links can't be made (Windows without Developer Mode), sync writes a plain
352+ links can't be made (Windows without Developer Mode), pull writes a plain
285353 file that holds the target, as git does with `core.symlinks=false`. That
286354 file counts as the link, and editing it changes the target. The hooks leave
287355 links to `abso record`.
288356
289357## What is left out
290358
291−Always: `.git`, `.avcs`, `.claude` and `node_modules`, in any case. Beyond
292−those, abso follows git's ignore rules, for `.gitignore` and `.avcsignore`
359+Always: `.git`, `.abso`, `.claude` and `node_modules`, in any case. Beyond
360+those, abso follows git's ignore rules, for `.gitignore` and `.absoignore`
293361alike, except for case:
294362
295363- Any folder may have either file. Its patterns are relative to its folder,
296− and a deeper file beats a shallower one. In one folder, `.avcsignore` beats
364+ and a deeper file beats a shallower one. In one folder, `.absoignore` beats
297365 `.gitignore`, so it can bring back what `.gitignore` leaves out (`!dist/`).
298366- Below those come `.git/info/exclude`, then git's global excludes file
299367 (`core.excludesFile`, or `~/.config/git/ignore`).
Lines 369–398 at 318 (were 301–330 at 0)
301369 only), `\` escapes and trailing spaces all work as in git. The last matching
302370 line wins.
303371- Nothing inside an ignored folder can be brought back with `!`, as in git.
304−- Case: every pattern, from `.avcsignore`, `.gitignore` or git's own exclude
305− files, matches by the same rule as abso's paths, on every platform (#49):
372+- Case: every pattern, from `.absoignore`, `.gitignore` or git's own exclude
373+ files, matches by the same rule as abso's paths, on every platform:
306374 any case, and either Unicode form of an accented letter. So `.env` also
307375 leaves out `.ENV`. This ignores case and Unicode form even where
308376 `git status` doesn't: in a git repository with `core.ignorecase` off (git
309377 init leaves it off on Linux), abso can leave out a file git shows.
310378
311379Binary files (a NUL byte or invalid UTF-8), and text over 2 MB, go up as
312−blobs (#27): the client uploads the bytes under their SHA-256, records the
313−hash, and keeps the hashes it knows in `.avcs/blobs.json`. Sync, switch and
380+blobs: the client uploads the bytes under their SHA-256, records the
381+hash, and keeps the hashes it knows in `.abso/blobs.json`. Pull, switch and
314382restore fetch the bytes, and never overwrite a binary file the agent changed
315383and hasn't recorded. `diff` says `Binary file x changed: <hash> -> <hash>`.
316384Files over the server's 20 MB limit are left out; `init`, `record` and
317385`status` name them (`leftOut` in `--json`), and what the server has of them
318386stays. `abso run` still sends every file to the box.
319387
320−`abso init` writes a starting `.avcsignore` (Claude Code state and operating
388+`abso init` writes a starting `.absoignore` (Claude Code state and operating
321389system files) when the folder has none. `abso check-ignore <path...>` says
322390whether each path is left out and which line of which file decided.
323391`client/test/ignore.test.ts` checks the rules against `git check-ignore`.
324392
325393## Line endings
326394
327−The server keeps text with LF endings and a final newline. When sync, join or
395+The server keeps text with LF endings and a final newline. When pull, join or
328396restore rewrites a file that's already in the folder, the file keeps its own
329397style: CRLF if it uses CRLF, and no final newline if it has none. In a file with
330398mixed endings (or a lone CR), each unchanged line keeps its own ending and a
Lines 414–417 at 318 (were 346–349 at 0)
346414```
347415
348416To point a real folder at it, run `node client/test/fake-server.ts 47811`.
349−It takes the token from `AVCS_TOKEN` (default `fake-token`).
417+It takes the token from `ABSO_TOKEN` (default `fake-token`).
MCP
compare on this site's /mcp
CLI
abso diff 0 318 client/README.md --json
JSON
/christopher/abso-core/compare/0..318?file=client%2FREADME.md&format=json