Repository navigation
v1.3.0
Same claim format as 1.2.2. This release cuts agent turns: each MCP call is
one turn, and each turn reads the whole context again, so claims and attaches
now go in one call. It also adds a session hook and a doctor for set-up
problems, with Windows in mind.
Added:
- Batch claims.
adsertio_claimtakesclaims, a list of up to 50 objects
with the fields of one claim. Every item is checked first (fields, ids,
repeated ids in the batch, ids already on disk, pointers, sizes); one bad
item writes nothing and the error names it. Items are then written with
overwrite = false; if a write fails part way, the error lists exactly
which ids were written and which items were not. The reply is
{ids, count}. CLI:adsertio claim --claims '<json array>'or
--claims-file PATH(a byte order mark from Windows PowerShell is
ignored). - Batch attach.
adsertio_attachtakesitems, a list of{id, evidence},
with the same all-or-nothing check. Each claim is updated under its own
lock. CLI:--itemsor--items-file. - The tool descriptions, the server instructions, and
adsertio_guidetell
an agent to record all claims in one call. adsertio hook --host claude|cursor|genericprints a hook that runs
adsertio view --compact --states unverified --states refuted --limit 50
at session start and after compaction, so the agent sees the claims that are not
verified instead of repeating verdicts from memory. The Claude Code
snippet uses the exec form (commandplusargs, no shell), so it runs
the same on Windows, and adds aSubagentStartentry for sub-agents.adsertio view --wrap cursor|claude-subagent(CLI only) prints the view
inside the JSON those hooks read.adsertio doctor [--fix]and theadsertio_doctortool: read-only checks
of the version and platform, the store andADSERTIO_DIR, a writable
claims folder, damaged claims, files left by a dead writer, git and HEAD,
the Trammel, Chisel and Probatio files (present, size, readable), the
adsertio-mcpbinary next toadsertio, and on Windows the path length
and network drives. Each failing check has afix. Exit 1 when a check
fails.--fixremoves only whatcheckalready removes.- A Chisel or Trammel pass that is stale only because its commit is not
HEAD now ends its detail with a fix: rerun the tests at HEAD (for example
chisel run -- <test command>). This happens when an agent tests
uncommitted work and then commits.
Fixed:
- On Windows, two attaches racing on one claim could fail with "cannot lock
the claim: Access is denied". Windows reports that while another process
is deleting the lock file. It now counts as a held lock and is retried.
Breaking changes (there were no users yet):
- The
adsertio_claimschema no longer markssummaryas required, and the
adsertio_attachschema no longer marksidandevidenceas required,
because a batch call has none of them at the top level. A call with
neither form is still an error, with a message naming both. tools/listhas a seventh tool,adsertio_doctor, in thecoregroup.- The stale detail for a commit that is not HEAD has a new suffix,
; fix: rerun the tests at HEAD (...). adsertio_guidehas new fields (stale_after_commit,problems), and its
after_compactionandwritestext changed.- A single
adsertio_claimwith no arguments now says to passsummaryor
claims, instead of onlymissing required argument: summary.