Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 23:26
· 8 commits to main since this release
255b0ba

0.6.0 (2026-11-29)

Upgrading. Re-run mem-harness install and merge the hooks it prints: it now wires a PostToolUse hook (mem-harness hook post-tool). Upgrade the tools to the versions that answer ready --json and the new forms: Stele 2.6.0, Wikifier 5.7.0, Chisel 0.26.0, Trammel 4.6.0, Probatio 0.10.0, CoordinationHub 1.4.0, Relatum 1.5.0, Adsertio 1.6.0, Libellus 1.5.0. Older tools still work; the brief says "too old to report readiness", and an older Libellus is not fed spend (doctor says so). The stop check now asks only about configuration, rules and decisions; set brief.nudge_when: "edits" for the 0.5 rule.

The hooks and the brief:

  • The brief says which backends can answer. Session start runs the readiness check beside the brief's sections: one ready: line for the ready ones, one line for each that is not (state, summary, the call that fixes it), one line for tools too old to answer. A store the first write makes is no longer sent to harness_init. The check is saved for sub-agent briefs and harness_brief (6 hours).
  • Where working files go. The Setup section says: working files go in .swarmwork/, never in .swarmnotes/; and that hub locks matter only when several agents share one working tree.
  • Relatum's damage has a cause. The native reader follows Relatum 1.5's store format: .relatumignore patterns and .not-notes folders are skipped, title stands in for a missing summary, and a log is not a rule (the brief names a log and its newest heading). The damaged-notes line gives causes by class with counts, the folders that hold most, and what to do ("642 files have no header: list their folders in .relatumignore").
  • Finished jobs and last session's use reach the agent. Session start prints the jobs that ended (failed first) and "Last session's calls: 0 calls: probatio, adsertio; stele 41". The main agent's next prompt, tool call (PostToolUse) or Stop says the same, once, even with two sessions in one project; Stop keeps the agent going once to hear it.
  • Context figures, enforced by the harness. After each tool call every agent, sub-agents included, is told once when its context (input + cache read + cache write tokens of its latest request, from the end of its own session record) passes templates.plan_tokens (300,000) and again at templates.handback_tokens (350,000). It reads at most 256 KB and starts no command (7.6 ms median on Windows). Off with brief.context_check: false.
  • Spend is fed. At Stop and SubagentStop the requests written since the last feed go to libellus spend --stdin, one line each with the agent's name, model, token counts, context and the request id as key; only where the project's Libellus store exists. Off with brief.feed_spend: false.
  • Role cards. SubagentStart gives the card for the agent's role (builder, reviewer, finisher, checker) chosen by templates.roles (agent type -> card), then by words in the type, else a short general card; each states the context figures. Template filling moved to mh-core, shared with harness_template.
  • A sharper stop check. It asks to save after a turn that edited a file matching brief.nudge_paths (.claude/, AGENTS.md, CLAUDE.md, .mem-harness/, .swarmnotes/, CI workflows, ...) or whose last message states a decision (a whole-word match of brief.decision_words); plain code edits stay quiet. At SubagentStop a builder that edited files and handed back with neither a Claims: nor an Untested: line is asked once for them (brief.ask_handback). The report's "nudge arrived twice" is the host showing one block twice (the session record holds one hook run, written as both feedback and a blocking-error attachment); the harness emits it once.
  • Protected files. brief.protected (path patterns; a project file may set it) is listed in the brief as files a lead must never brief an edit to.
  • doctor no longer calls .swarmwork, .probatio or .wikifier_staging an old store. Wikifier keeps its map in the project and builds it on first use, so the advice to delete that folder was wrong.
  • A tool's version is read from its --version JSON version field when it prints JSON (Trammel 4.6.0 was read as its schema_version 4.0.0 and called too old); a never-built or empty index that builds on its first call reads "builds on first use".
  • Templates: the hand-back and review texts name hub_hand_back and adsertio_view tag=<lane>; the route "hand back so it survives a restart" is hub_hand_back.

From the field report on Specula (HARNESS_LOG_REPORT.md). The MCP server, its native tools and the config:

  • Readiness, not liveness. harness_status now says per backend whether it can answer for this project: ready, state, summary and the fix to call, from each tool's <cli> ready --json (new backends[].ready setting), run at once, in the project, with the server's environment. A tool too old for ready is unknown: upgrade <tool> to <version> or later; it is asked --version first and never sent ready (Trammel 4.5.1 runs ready as a plan goal). mem-harness doctor shows the same.
  • Tools learn they run behind the harness. Every server and command gets MEM_HARNESS=1 and MEM_HARNESS_TOOL_PREFIX, so a tool can name its tools as the agent sees them and leave out standalone advice.
  • A reviewer's allow-list. harness_status lists read_only_tools (tools marked readOnlyHint: true) and the allow_list line to paste into an agent definition; mem-harness read-only-tools prints it. Backends without annotations are named with the version to get.
  • Evidence still resolves. Every server, Adsertio's included, gets every backend's store variable, so trammel: and chisel: evidence finds the stores kept outside the project. git_exclude adds .probatio and .swarmwork.
  • A finished job reaches the agent. A reply with a job_id still queued or running is waited on by the harness through the backend's job_status; when the job ends, one record goes into the project's inbox (_harness/inbox), failed and lost jobs marked. A job the agent read or cancelled itself is not announced; a backend exit or the session's end records its jobs as lost.
  • Use is counted. Calls per backend and per tool, saved per session in _harness/usage, so the next brief can say which tools went unused. Counts are per session: MCP does not say which agent called.
  • New tools. harness_ask (which tool answers this question, schema included), harness_template (role cards for builder, reviewer, finisher and checker, a hand-back, a review brief and the lead's loop, with this session's tool names; text from the user's config only), harness_lint_brief (how much reading a brief asks for, as bytes / 4).
  • Routes in the agents' words. "seeded faults", "does a test hold this fix", "take nothing on its word", "who breaks if I change this file", "what is waiting, running, blocked", "check the commit before a push", "hand back so it survives a restart", "which agent has gone quiet"; routes[].also and routes[].phrases. The instructions say when the hub's locks apply.
  • Set-up on first use. harness_init's text says the stores are made by their first write; a store tool that still fails for want of its store gets the line naming harness_init.
  • Proxy tests wait up to 30 s (a loaded machine needed more than 10 s for the 64 MB line test).