Skip to content
Project context · abso-core

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
MCP
issue on this site's /mcp
CLI
none: the JSON below is the answer
JSON
/christopher/abso-core/issues/5?format=json

New folders keep their state in .abso/ and ~/.abso/; older ones keep working on .avcs/

DonereviewOpened

The product is abso, but a folder's state lived in .avcs/ and the machine's in ~/.avcs/. New folders (abso init, abso join) now keep it in .abso/, and the machine's sign-in, servers and admin token are read from ~/.abso/ first.

A folder made before, with only .avcs/, is left exactly as it is: it keeps working, is never half-moved, and no older client or installed mod loses it. abso login writes only to ~/.abso/ and leaves an old ~/.avcs/ file alone; logout removes both. The edit and view mods read either.

Not in this change: the project file avcs.json (the server reads it by that name, so abso.json needs the server to learn it first), .avcsignore, environment variable names and wire headers. A later abso migrate will move an old folder.

Version 17

review+277 −165Open version

New folders keep their state in .abso/, and the machine's sign-in, servers and admin token are read from ~/.abso/ first, then ~/.avcs/. A folder made before, with only .avcs/, is untouched: it keeps working, is never half-moved, and no older client or mod loses it. stateDir(root) and homeFile/homeWritePath are in the new client/src/state-dir.ts and replace the old AVCS_DIR constant everywhere. abso login writes only to ~/.abso/ and leaves ~/.avcs/ alone; logout removes both copies. The edit mod and the view mod read either folder. .abso is skipped like .avcs (including its odd spellings), the git exclude names whichever folder is in use, and the messages name .abso. Not changed: avcs.json (the server reads that name, so abso.json needs the server to learn it first), .avcsignore, env var names and wire headers. Tests: 709 run, 708 pass (one is skipped), including new ones for the folder choice, the home-file order and box sign-in; biome ci has no errors.

client/hooks/register.test.ts+5 −5
client/hooks/register.ts+24 −14
client/src/blobs.ts+3 −3
client/src/box-commands.ts+5 −4
client/src/box.ts+13 −16
client/src/check-ignore.ts+1 −1
client/src/command-env.ts+1 −1
client/src/commands.ts+4 −3
and 24 more

Activity

1 version · last
review

You can read this issue. Commenting is for the project's members.

  1. review closed this as done in 17
  2. review pushed 17
  3. review opened this issue