Skip to content

ahto v0.1.5

Choose a tag to compare

@github-actions github-actions released this 03 Dec 08:37
· 215 commits to main since this release
acb4047

Highlights

147 commits since v0.1.4. The five changes that matter most:

  1. The Debugger can record a call and step through it. A record probe follows one call and keeps every step it ran, with the values in scope, and a recording page lets you step back and forth (#316, #318). A crash or probe hit now says what changed since the last build that ran clean (#265), and you can set watches on a snapshot hit (#267). Probes capture errors, struct fields, pointers, interfaces and funcs (#469, #480, #496), the code view marks the lines you can probe (#475), and a build wrapper places the probe sites in a normal Go build (#402, #438).
  2. Code search and the MCP tools answer faster and say more. source_search answers from an in-memory index of each head, for code, files, symbols, commits and people (#454, #466, #484), with the memory it may use bounded in bytes (#349, #492). New questions: explain_change, relevant_tests, shared_authors and changes_since (#332, #490), and explain_symbol shows co-change and security (#320). Tool answers are smaller (#354), and every tool schema lists required fields, short enum names and an output schema (#365, #389, #445).
  3. Peer networks start faster and are harder to misuse. An invite admits one node (#412), and for a pre-shared key network the key is wrapped to the joiner after the admin admits it (#370, #483). A CA-signed checkpoint lets a new or restarted node skip replaying the whole membership log (#407, #427, #444, #451, #460), and a revoked member is cut off at once, including a connection that was already open (#351, #411, #446). ahto p2p status shows each network and its peers (#323), and the Networks page can create, invite and join (#481).
  4. Work from other peers and client SQL are held to what you allowed. A run another peer sends to your node is refused unless the repository is shared with that network for running (#307, #417, #448). Each client SQL query runs in its own process under an operating system cap, so a query that gets past the check ends its own process and not the gateway (#376). Checks and dependency tools start with an allow-listed environment (#477).
  5. One command sets up your coding agents. ahto setup finds Claude Code, Codex, Gemini CLI, Cursor and VS Code, registers the gateway with its write token and installs the ahto skill where each agent reads it (#324). ahto write-token prints the token (#266). The gateway also serves the skill itself, so a client can read it over MCP (#324).

Also in this release: a decide call can ask the agent first and then a person, and the person's reply is recorded as the outcome (#369, #410). ahto query sql --gateway sends SQL to a running gateway so the run views can be queried from the CLI (#328). ahto node stats reads and verifies a node's signed stats (#262). The run list can be filtered by peer (#401, #473). Frames on WebSocket and MQTT carry idempotency keys (#325).

Breaking change (REST): refusal details and Conflict.current in task error bodies use snake_case keys, for example task_ids and due_on in place of taskIds and dueOn. Over MCP, answers leave out empty fields (#330).

What's Changed

  • docs(atlas): record the v0.1.4 release in study 0007 by @0x19 in #261
  • docs(atlas): record the v0.1.4 highlights and the stale site labels by @0x19 in #263
  • feat(cli): ahto node stats and verify (RFC 0037 chunk 2) by @0x19 in #262
  • fix(decide): agent confidence from its probabilities, default threshold for every provider by @0x19 in #264
  • feat(debug): what changed since the last good build (PRD 0005) by @0x19 in #265
  • feat(cli): add ahto write-token and register MCP clients with it by @0x19 in #266
  • feat(ui): watches on a debugger snapshot hit by @0x19 in #267
  • docs(atlas): record the 0eba4c0 and 1b9f243 demo deploys in study 0007 by @0x19 in #268
  • fix(bench): cap cross_repo bench spend and fix its harness, with the rerun in Study 0040 by @0x19 in #269
  • feat(debug): log each agent's MCP calls per session and show them in the debugger by @0x19 in #271
  • docs: proof, not-proven-live and follow-up sections in every pull request by @0x19 in #272
  • refactor(scripts): read the load average from one place in the speed scripts by @0x19 in #308
  • ci: run the Firecracker root tests on a hosted runner by @0x19 in #273
  • docs(study): record the f99774c demo deploy in study 0007 by @0x19 in #310
  • refactor(test): one eventually helper for the tests by @0x19 in #309
  • fix(mcp): honour max_bytes in task_export and function_list by @0x19 in #311
  • feat(specs): GuardianQuorum, guardian quorums and epoch certificates (RFC 0036) by @0x19 in #314
  • docs(atlas): plan agent tools for general coding work in study 0031 by @0x19 in #317
  • fix(mcp): name the field in unknown-field and oneof errors by @0x19 in #313
  • fix(function): resolve Type.Method in explain_symbol by @0x19 in #312
  • fix(p2p): enforce share lists on dispatched work by @0x19 in #307
  • feat(debug): record probes and stepping through a recording by @0x19 in #316
  • fix(identity): match scoped roles on the resolved repo by @0x19 in #315
  • docs(rfc): peer capacity and placement by @0x19 in #254
  • feat(agents): one skill for every coding agent: ahto setup and MCP skills by @0x19 in #324
  • docs(atlas): record the 97b0b5e demo deploy by @0x19 in #331
  • fix(depwatch): skip +incompatible versions for a Go module not on one by @0x19 in #321
  • feat(p2p): ahto p2p status by @0x19 in #323
  • ci: run the TLA+ spec check in CI and start release notes with a highlights file by @0x19 in #322
  • feat(source): explain_symbol co_change and security sections, faster than git (RFC 0042 chunk 1) by @0x19 in #320
  • feat(source): explain_change, relevant_tests, shared_authors; impact by name or path (RFC 0042 chunk 2) by @0x19 in #332
  • docs: one install guide and the MCP write-header registration by @0x19 in #337
  • docs(readme): say what problem ahto solves, add a social preview image by @0x19 in #339
  • fix(gateway): never log the write token; put --header last in the refusal hint by @0x19 in #338
  • fix(function): time every call, name the commit read, rank direct tests in impact by @0x19 in #340
  • docs(rfc): 0043 fast answers on a laptop by @0x19 in #345
  • fix(query): author key drops empty emails (lost from #332) by @0x19 in #346
  • feat(cli): send SQL to the gateway with ahto query sql --gateway by @0x19 in #328
  • test(source): end-to-end MCP benchmark that checks the payload by @0x19 in #347
  • perf(source): key the GetFile entry cache by commit and path, not by line range by @0x19 in #344
  • perf(cache): bound every answer cache by bytes with lake.limits.answer_memory by @0x19 in #349
  • feat(protocol): idempotency keys on WebSocket and MQTT frames by @0x19 in #325
  • fix(p2p): close a revoked member's late connection at once by @0x19 in #351
  • feat(debug): callers on every hit and the recording laid out as the canvas by @0x19 in #318
  • fix(task)!: answer an empty next list, sparse MCP tasks, snake_case details by @0x19 in #330
  • feat(source): log slow source calls with repo, snapshot and phase timings by @0x19 in #350
  • docs(readme): show an agent's one-call answer on the first screen and shorten the sections by @0x19 in #353
  • fix(scripts): dev-all.sh no longer prints the generated write token by @0x19 in #352
  • fix(function): repo_summary and shared_authors answer a named repository by @0x19 in #355
  • perf(inproc): call local unary handlers directly, without the bufconn transport by @0x19 in #356
  • docs: issue labels in CONTRIBUTING and the 0ab08ce demo deploy record by @0x19 in #357
  • perf(debug): bench what a live probe costs a busy service by @0x19 in #358
  • docs(spec): model invite and join in TLA+ by @0x19 in #360
  • refactor: one glob matcher, one stop-aware ticker and one memory reader by @0x19 in #327
  • fix(source): declaration line for function tools, manifest column descriptions by @0x19 in #326
  • docs(atlas): record the stale Mac speed file in RFC 0010 by @0x19 in #366
  • perf(source): refuse a past-end start_line early and keep file answers across manifests by @0x19 in #367
  • feat(mcp): required, short enum names and outputSchema in tool schemas by @0x19 in #365
  • perf(mcp): smaller tool answers by @0x19 in #354
  • feat(p2p): verify checks the key was a live member at measured_at by @0x19 in #364
  • docs(readme): Quick start shows setup and real engineer commands, add CLI table by @0x19 in #371
  • test(agent): refuse a peer certificate that does not match by @0x19 in #368
  • feat(p2p): invites for a psk network by @0x19 in #370
  • fix(cli): put setup first and order help groups by workflow by @0x19 in #380
  • feat(p2p): add WatchPeers and ListMembers to P2PService by @0x19 in #335
  • fix(source): list_authors text, name_source for committed names, mailmap-aware author counts by @0x19 in #329
  • refactor(test): one shared test-certificate helper by @0x19 in #382
  • fix(p2p): finish a half join and pin the genesis fingerprint by @0x19 in #384
  • refactor(test): one MCP gateway and session helper for the source tests by @0x19 in #386
  • feat(specs): model dispatch with its share and revoke windows by @0x19 in #392
  • feat(decide): add the human provider by @0x19 in #369
  • fix(p2p): save the genesis fingerprint when finishing an old half join by @0x19 in #394
  • feat(debug): rewrite Go source with guarded probe sites by @0x19 in #402
  • perf(source): time source_search by kind and cut the symbol phase by @0x19 in #359
  • perf(p2p): a state checkpoint so a restart skips applying entries by @0x19 in #407
  • feat(agent): filter the run list by peer (Refs #277) by @0x19 in #401
  • refactor(test): one streamable HTTP MCP client helper for the tests by @0x19 in #406
  • fix(p2p): a revoke taken in by a log save cuts the peer at once by @0x19 in #411
  • test(p2p): rename the mesh testCA to testMeshCA by @0x19 in #393
  • test(agent): dispatch to an https peer on a second machine by @0x19 in #414
  • feat(decide): escalate from the agent to the human provider and record the answer as an outcome by @0x19 in #410
  • docs(atlas): give the duplicate ADR 0039 files their own numbers by @0x19 in #419
  • test(p2p): wait with testwait.Eventually instead of hand-rolled sleep loops by @0x19 in #420
  • docs(source): measure the commit and code phases of source_search by @0x19 in #422
  • perf(p2p): keep the log's raw entries on disk by @0x19 in #424
  • feat(p2p): start from a CA-signed checkpoint entry by @0x19 in #427
  • feat(mcp): output schema for every tool in the full list by @0x19 in #389
  • feat(p2p): spend an invite on its first admit by @0x19 in #412
  • feat(p2p): issue the signed checkpoint on a schedule and carry it in snapshots by @0x19 in #444
  • docs(decide): proto provider comments state the escalation order by @0x19 in #428
  • docs(atlas): renumber the time-bar ADR from 0013 to 0044 by @0x19 in #429
  • feat(query): run each client SQL query in its own process with an OS cap by @0x19 in #376
  • feat(mcp): outputSchema on the brief list with ?tools=schema, typed rows and run by @0x19 in #445
  • perf(p2p): a smaller derived state by @0x19 in #440
  • feat(specs): model data out and the v2 log by @0x19 in #430
  • fix(agent): recheck the share at the fetch and the caller before the patch by @0x19 in #417
  • fix(agent): stop text and tool-call events after a revoke, not only the patch by @0x19 in #448
  • feat(p2p): ahto p2p ca checkpoint and a CA-holder run mode by @0x19 in #451
  • docs(readme): shorten the CLI section and tidy the top by @0x19 in #452
  • perf(source): answer code search from an in-memory index of each head by @0x19 in #454
  • docs(rfc): mark revoke events as covered in RFC 0030 by @0x19 in #455
  • chore(sdk): regenerate the python, rust and ts SDKs for identity CheckpointLog by @0x19 in #457
  • perf(p2p): a leaner derived state, packed keys and inline bindings by @0x19 in #459
  • feat(p2p): sign a checkpoint draft offline so the CA key stays off the gateway by @0x19 in #460
  • fix(p2p): check access per sync stream and on voter changes by @0x19 in #446
  • fix(cli): name the gateway URL only when setup added a server at it by @0x19 in #462
  • feat(agent): tool calls and failed tool calls on the run row by @0x19 in #437
  • fix(p2p): refuse guardian sets recovery cannot use by @0x19 in #456
  • feat(debug): probe build wrapper, site table and typed capture by @0x19 in #438
  • fix(source): keep a code index larger than an eighth of search_memory by @0x19 in #465
  • perf(source): answer the file, symbol, commit and person kinds of source_search from memory by @0x19 in #466
  • fix(sdk): regenerate python, rust and ts and fail CI on SDK drift by @0x19 in #467
  • feat(debug): capture errors and struct fields in probe sites by @0x19 in #469
  • feat(ui): the Agent session page reads each call in a few words and shows nothing of the machine by @0x19 in #333
  • feat(ui): mark probeable lines in the code view by @0x19 in #475
  • fix(p2p): classify forks the same way in both membership logs by @0x19 in #453
  • feat(ui): tool calls and a Peer filter in the Debugger Runs tab by @0x19 in #473
  • feat(ui): run page shows the prompt, answer and changes by @0x19 in #334
  • fix(debug): SDK source in the wrapped compile key and a persistent export cache by @0x19 in #472
  • perf(debug): one atomic load decides a site is off by @0x19 in #470
  • feat(ui): task plan view and order inside a column by @0x19 in #476
  • fix(source): key the search index per repository so other repositories' syncs keep it by @0x19 in #484
  • perf(p2p): 4-byte entry offsets and the 10 MB analysis by @0x19 in #486
  • fix(check): start checks and dependency tools with an allow-listed environment by @0x19 in #477
  • docs(rfc): design a guardian-quorum CA rekey by @0x19 in #461
  • fix(ui): send the Ahto-Write header in every API reference write sample by @0x19 in #474
  • test: remove wall-clock and ordering flakes from diff and workbench tests by @0x19 in #487
  • feat(source): changes_since, a commit or tag as since, and commit bodies in history (RFC 0042 chunk 3) by @0x19 in #490
  • feat(debug): capture pointers, interfaces and funcs in probe sites by @0x19 in #480
  • perf(p2p): sorted-slice base for node and credential layers (#485) by @0x19 in #489
  • docs(atlas): record the demo deploy at f7fa413 by @0x19 in #491
  • fix(source): size search_memory for the code and search indexes together and log when they do not fit by @0x19 in #492
  • test(agent): prove a real sandbox VM run and its run rows on Linux by @0x19 in #478
  • feat(debug): capture struct fields that hold pointers, slices, maps or interfaces in probe sites by @0x19 in #496
  • fix(identity): say a node outside authority.voters holds no lease by @0x19 in #498
  • feat(p2p): wrap the psk to the joiner's node key after admit by @0x19 in #483
  • test(agent): dispatch to a sandbox on a second machine over https by @0x19 in #493
  • docs(atlas): remove a stray merge marker in PRD 0005 by @0x19 in #503
  • fix(identity): authority status says NOT_VOTER for a node outside authority.voters by @0x19 in #500
  • perf(p2p): share the identity state with snapshots copy on write by @0x19 in #506
  • ci: fail the check gate on a leftover merge marker by @0x19 in #507
  • perf(p2p): slab records with one key table for the identity state by @0x19 in #509
  • fix(source): stop the log-line index test racing the warm goroutine by @0x19 in #508
  • docs(atlas): Study 0050 measured on main with the per-repository key and the 1GiB default by @0x19 in #510
  • docs(atlas): record the demo deploy at 1274f1b by @0x19 in #512
  • fix(speed): keep the load wait alive when only its sleep is killed by @0x19 in #511
  • feat(ui): network screens with invite and join by @0x19 in #481
  • docs(release): v0.1.5 highlights by @0x19 in #516
  • fix(deps): count go.mod requires replaced by a local folder by @0x19 in #515

Full Changelog: v0.1.4...v0.1.5