Repository navigation
v0.1.7
Changed
-
The MCP server's instructions open with what to do. Their first 250 characters now say to call
record_decision
when a choice is settled that someone could later question, then what mnema is. A host may show a server by no more
than its opening: Codex 0.167 lists each server it defers by its first 250 characters. The rest of the text says what
it said, a little shorter, and stays under 2,048 characters. -
The
mnemacommand starts in about half the time. Thebinof@mnema/codeis nowdist/bundle/cli.js, one
bundle of the command and of the code it reaches, its dependencies included (all butstring-width), split into
chunks so the Node version check still runs before anything else is loaded. Median of 20 starts on one machine,
before and after:mnema --version179 to 91 ms,verify197 to 110 ms,decision record246 to 153 ms,brief
(what the session hook runs) 208 to 119 ms, and the MCP server's reply toinitialize308 to 164 ms. -
The dependencies the command runs are inside the package. They are covered by the provenance of
@mnema/code,
not each by its own: npm still installs the declared dependencies andnpm audit signaturesstill checks them, but
the command does not load them. The package now carriesTHIRD-PARTY-NOTICES.md, with the version and the license
of each package the bundle carries, and Install says it. -
A stack trace names a chunk of the bundle (a file of
dist/bundle/and a line in it), not a file of the
compiled output. The bundle is not minified, so the line reads as the code it came from. -
From source, the binary is
packages/code/dist/bundle/cli.js. Build from source and
the site page name it; the compileddist/cli.jsis still built and still runs. -
The text a session opens with carries this machine's private rules, marked as such. After the committed
record's rules, the copy the plugin hands a session and a subagent (mnema brief --hook) ends with a section,
Recorded privately on this machine, that lists by name the decisions in force and the adopted patterns of this
machine's private tree and says they are not committed. Each private decision is labelledprivate ADR-<n>with
its id, never the bare label, since the private tree numbers its own and itsADR-1is not the committedADR-1.
It is the first part cut at the hook's ceiling, and says what it left out. A new switch,private-rules, on to
begin with, turns it off:mnema switch off private-rulesgives back the line that only counts them. The file
mnema briefprints is unchanged, and the machine's global tree reaches neither. -
The host contract holds Codex 0.167.0, Claude Code 2.1.311 and Copilot CLI 1.0.108. Codex 0.167 lists a server in a
developer message,<tools> Deferred tool namespaces:, and no longer in the description of its search entry (699
bytes, 151 tokens), so the cases read both. Claude Code 2.1.311 asks again for a summary when a reply carries no
summary block, so the compaction case answers with one.
Fixed
- A private rule's refusals and askings stay private. A rule recorded with
--scope privatethat refused a write
or asked for a person used to leave itschannel.refusedorchannel.askedin the public tree, with the rule's id,
and so in the repository's git. The fact is now written to the tree that holds the rule, by the hook command and by
the MCP tool alike; a public rule at the same path keeps its fact in the public tree. Facts already written stay as
they are. - Rejecting the successor of a supersede says what it leaves. The reject move, from the command line
(decision move) and fromdecision_transition, now names the decisions the rejected one had replaced: they stay
superseded, so nothing is in force on that subject. showandread_recordname every decision a successor replaced. A decision that superseded two or more
printed only the last; it now prints asupersedesline for each, and the JSON carries the others in
alsoSupersedes.- A line the record cannot read is named when a command meets it, a switch included. Switching a channel off with
an unreadable stored line in a tail is still refused, like every write, and now says so in words: the line and its
position in its tail, which record it closes, the ways out (update mnema, restore the line from history or the file
from a copy), and thatmnema verifylists every such line. There is no command that repairs a line. rulesandwhysay when the rules are not pushed. Withedit-rules-pushswitched off, a path that a
rule governs gets a line on the second stream: those rules are not handed to an agent when it edits there.mnema record commitcarries the record's README when mnema itself rewrote it. A project founded with an older
.mnema/README.mdhas it replaced by the current page at the next write, and the commit thatrecord commitcut
left that file out, so the rewrite never reached git through it. The commit now carries theREADME.mdand the
.editorconfigof.mnema/when their bytes are exactly the text this mnema writes; a page you edited stays out
and is still named as left out.