Skip to content

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 29 Oct 14:45
cebc4e8

Added

  • mnema init asks, at a terminal, which files an agent host reads the mnema instructions are written into. The question
    comes before the founding and lists AGENTS.md and the three rule files of mnema's own (Claude Code, the .github/instructions
    file for VS Code and Copilot CLI, and Cursor) with the hosts that read each, as docs/cli-reference.md names them: Enter
    writes all four, numbers write those, an answer not on the list is asked once more and then refused (HOST_FILES_NOT_UNDERSTOOD)
    with nothing written, and Ctrl-C or Ctrl-D founds nothing, writes nothing and exits 0 (the project and the home are byte for
    byte as they were). With no terminal (a script, a pipe, an agent's shell), with --all-hosts, and in a project already
    founded, nothing is asked: the output of a founding without a terminal is the one it always was. A CLAUDE.md,
    .claude/CLAUDE.md or GEMINI.md that already exists still gets the block whichever files were chosen.
    The files on disk are the choice. mnema doctor, mnema instructions --check and --remove look at the offered files
    that hold the instructions, and say the others are missing only when none of the four does; mnema instructions updates
    those, and where none holds them it asks the same question at a terminal and writes all four without one.
    mnema instructions --all-hosts writes all four whichever are there. What this costs: a file of yours with no block does not
    count as chosen, so with two or more chosen, taking the block out of one of them is not reported by doctor (the others
    still hold it); with only one chosen, taking it out is reported, and doctor names all four. A pseudo-terminal counts as
    a terminal.
    init asks when standard input and standard error are one, and no host leaves a variable in the shell of its
    agent that this project has measured (the environment read is the MCP server's, and Codex and OpenCode leave none of the
    marks looked for), so an agent whose shell is a real pty (an editor's integrated terminal, a node-pty) would wait at the
    question: an agent that runs mnema init there passes --all-hosts. The instructions block, versioned, says nothing
    of it. Measured on the built binary under a pseudo-terminal: Ctrl-C and Ctrl-D at a question reject the read with
    ABORT_ERR at once, and the shared ask gained one line, process.stdin.ref(): the menu the bare name draws leaves
    standard input unreferenced, and the question asked after it (mnema, then "establish a project here") ended the process
    with exit 0 in the middle of the question. The verbs that already ask (decision review) still end with "Aborted with
    Ctrl+C" and exit 1.

  • The record says when no client announced the agent's name. A client that never sends initialize, as the MCP
    2026-07-28 revision allows, or whose handshake names nobody (no name, a blank one) is written under the server's default,
    unknown-agent, and until now that read exactly like a name a client announced, and like a client announcing that very
    word. The run such a connection opens now carries a new kind, run.unannounced (payload.handshake: whether a handshake ran
    at all), appended in the same append as its run.started, with the run as its subject; it marks the run for
    the key that signed it and no other, and only where that key's run.started opened the run; the run's facts are its own
    facts, its run.ended included, and two marks of one run mark it once whatever their handshake says
    (FORMAT.md §6.9). A name a client announced, the word
    unknown-agent included, writes no mark and no new bytes, and neither does a write an agent key signs. mnema show, the
    opening document, mnema audit accountability (and the audit_accountability tool, as unannounced beside each agent's
    count) and the record page say no name announced in an MCP handshake beside such a name; mnema verify counts those facts
    apart from the declared names, as unannounced-which, with a clause in its verdict line, and the second reader says the same
    counts under §6.9. The published vectors are 39. The cost, for a binary from before this kind: mnema 0.1.3 refuses a
    record that holds a mark by naming the kind, and that refusal is not a note: its mnema verify says local integrity FAILED and exits 1, the whole tail that holds the mark UNREADABLE to it, in the public tree or the private one, wherever
    the run was written; its mnema brief fails in a clone that holds one, and a GitHub Action pinned to 0.1.3 goes red on
    every pull request of that repository. Upgrading the binary is the way out. The mark is born only of a client that sends no
    handshake or announces a blank name in it, and none of the hosts whose handshake is measured (Claude Code, Codex, the
    Copilot CLI, Gemini CLI, OpenCode) does that today: each sends initialize with a name, so a repository whose agents run
    in them writes no mark, and 0.1.3 keeps reading it. VS Code's agent and Cursor are not measured.

  • A recording of verify catching a changed word. recordings/a-tamper-caught.sh records a decision, accepts it, runs
    mnema verify (green), changes one word of the decision in the record's own file with sed, and runs verify again: the
    verdict is local integrity FAILED, the issue is entry hash mismatch at the event, and the exit code is 1. The README's
    "Watch it" shows it beside the first record, the proof on the site's landing now shows it instead of the write refused, and
    docs/what-it-proves.md shows it under what holds, with the caption that a cut taking the newest events together with their
    checkpoint is not caught. The site carries every GIF of recordings/, so a page of docs/ can show one. The suite runs the
    script again against the built binary and holds its screen to the cast, and holds that this one shows the failure.

  • A recorded decision offers its address and its replacement, and does neither. In the comparison of 27 October the 40
    decisions an agent recorded carried no governs address, and one session left a draft and its refinement in force together.
    After "Recorded decision ADR-n (id)", the reply of record_decision now lists the paths of the project this connection was
    asked about (governing_rules, and the edits rules_before_an_edit was handed; at most ten, the latest first, kept in memory
    only) with the link_knowledge call that would address the decision at the latest, and mnema decision record <title> <rationale> and the tool
    both name each decision the new one cites (a full id or an ADR-<n> label) that a supersede could replace, with the call that
    would replace it: decision_transition in the tool, mnema decision supersede <old> <new> --reason "..." on the command
    line. One function reads the citations for both doors; a decision is offered only the decisions of the tree it landed in (the
    gate finds a successor in the tree of the decision replaced, so a call across trees would be refused, and a public decision
    is offered no title out of a private one); at most five are named and the rest counted. Every value the tool's call quotes is
    written as JSON, so a path with a quote or a line break is linked as exactly that path when the call is made as offered.
    Nothing is linked and nothing is moved by recording, and the command line, which has no connection, offers no address.
    What it costs: after one consultation of one path, the reply of record_decision grows from 240 to 436 bytes (the offer is
    196), and each further path adds its own length and a comma. No kind, field or event changes, and no tool description.

  • read_record, show and the opening name the decision a decision replaced. They handed back supersedes as a bare id,
    and in the comparison of 27 October the sessions that read the record through the MCP tools did not tell the story of a
    replacement in 2 of 2, while those that opened both ids by hand told it in 2 of 2. The link is now named, by one reading shared
    by every door, with the label, the title and the state the other decision is in now: read_record and show --json add
    supersedes and supersededBy as { found, id, adr, title, state } beside the raw ids in record (found: false with the id
    alone when no tree read holds it, said and not left out), show prints supersedes ADR-<n>: <title> (<state>) · <id> and
    its twin, and a decision in force that replaced another carries supersedes in the opening's JSON and ends its line in the
    committed brief document with supersedes ADR-<n>: <title> (<state>): one more field of the same line, so a rule is still one line.
    Only the immediate decision is named, never the chain behind it and never its rationale. Nothing about the record changes: no
    kind, field or event, and no tool description.

  • governing_rules, the rules pushed at an edit and the record page name the decision a rule replaced. The previous entry
    named it in read_record, show and the opening, and left three doors that tell the same rule without it. A rule that
    replaced another now carries supersedes as { found, id, adr, title, state } in each rule governing_rules lists, and ends
    the line the rules pushed beside an edit (and the rules file written for another host) with supersedes ADR-<n>: <title> (<state>), in the same words and the same reading as the opening, still one line per rule. In the record page mnema site
    writes, the two links of a decision that replaced or was replaced by another now carry the other decision's title and state
    after the label, and say (not in the trees read) where the page does not hold it. What it costs where bytes are counted: a
    rule that replaced nothing adds nothing; a rule that replaced one adds about 36 bytes plus the replaced title, 89 to 252 bytes for
    the six replacements this project's own record holds (a mean of 199). The title named on those lines is cut at 120 characters
    and ends in an ellipsis, so a replaced decision with a very long title (the field takes 64 KB) cannot make the line that
    replaced it stop fitting and be left out of the text; show and read_record carry the title whole. No kind, field or
    event changes, and no tool description.

  • The rules of the record reach the model at an edit in Codex, Qwen Code and OpenCode. Until now only Claude Code was handed
    the rules addressed at a path beside a write that goes through; the other hosts got the opening and the refusal, and the
    arrival measurement read not arrived at an edit for all of them. mnema before-a-write --host codex|qwen|opencode now answers,
    where no rule refuses the write, with the rules addressed at the paths it touches as the reply's additionalContext: the notice
    the MCP tool composes for Claude Code, from one reading and one composition shared by both doors, cut at the host's own ceiling
    (Codex counts bytes) a whole rule at a time, with the paths a long patch could not fit counted in one sentence. In OpenCode the
    plugin module keeps what the gate answered for the call and appends it to the call's result. The fact that the push was live
    (channel.served) is recorded the first time a session of the host is handed the rules and not again for it, remembered in a
    small file beside the session's journal on this machine (outside the record, 0600, pruned with the journals, made with an
    exclusive create so that parallel hooks of one session leave one fact); a payload without a session id is handed no rules, and the
    verb says so on its second stream. mnema switch off edit-rules-push stops it. The host table has a new column, pushes, which
    is not a rung: yes in Claude Code, Codex, Qwen Code and OpenCode, held by a test of each; Copilot CLI and Gemini CLI have it too, by the hook after the write (below), and VS Code and Cursor do not. The cells of
    docs/rule-arrival.md for the three hosts at an edit are now arrived, read from what the host put in the conversation from the
    call on (never from the whole request, which already carried the rule from the opening), and the same read with the push
    switched off finds nothing. VS Code and Cursor are not handed the rules at an edit yet.

  • The rules of the record reach the model at an edit in Copilot CLI and Gemini CLI too. Their hook before a write answers a
    decision and has no field for text, so the rules ride in the hook that runs after the write: PostToolUse in Copilot CLI (a
    top-level additionalContext, with the command ending in exit 0 as its gate does) and AfterTool in Gemini CLI
    (hookSpecificOutput.additionalContext). Both run a new verb, mnema beside-a-write --host copilot|gemini, which composes
    the text with the same functions as before-a-write and the MCP tool, under the same switch (mnema switch off edit-rules-push) and the host's ceiling, and records channel.served once for each session of the host, remembered the same
    way. It is a verb of its own because before-a-write run after a write would record a second channel.refused or
    channel.asked for a write already refused or asked about: this one never refuses or asks and records no such fact. A payload
    with no session id is handed no rules; a mnema too old to know the verb leaves the write and the session as they were. Copilot
    CLI's hook starts no mnema where no rule of any tree has an address (the same pre-filter the gate before a write uses), and
    Gemini CLI's script reads the stored lines itself before either of its two processes (--identify and the verb), counting the
    governs links as well, and starts neither where no rule in force is addressed at the path (in a project with a record and no
    address, a write cost 76 ms more with the hook than without it, median of 6 rounds alternating the orders, where it cost 480 ms
    before). Both give the verb 6 seconds, where the host's own kill would stall the session for 15 (a mnema that never answers: the write goes through,
    no fact is left). Where a rule does have an address, the second process costs about 250 ms per write (median of 25 rounds
    alternating the two orders, 247 ms for the gate alone and 503 ms for the gate and the hook after it, one machine). The
    host table's pushes cell is now yes for both, held by the arrival cases, and the cells of docs/rule-arrival.md for the two
    hosts at an edit are arrived, read from the result of the write alone, with the same read finding nothing when the push is
    switched off. VS Code and Cursor are not handed the rules at an edit yet.

  • The host contract measures whether a rule reaches the model, by where it is kept and by moment. One rule carries a
    sentinel, and each of the six hosts the contract starts without an account (Claude Code, Codex, OpenCode, the Copilot CLI,
    Gemini CLI and Qwen Code) is asked whether the sentinel is in a request it sends its model, with the rule kept in AGENTS.md,
    in the host's own instructions file, behind an @ import, behind a mention in prose, and in the mnema record, and with a
    control that keeps it nowhere. The moments are the start, late in a session of three calls (each host's own history is read,
    not supposed), after a compaction the stand-in provokes and answers with a summary that does not hold the rule, and at a
    permitted edit. A cell that could not be measured says why: the Copilot CLI ends its run at the summary. Gemini CLI asks for no
    summary in a one-prompt run, so its compaction is read in a second run that resumes the session (--resume). The cases take files in each host's spec to build the arms, and a script of several turns in
    the stand-in of each protocol. The result is docs/rule-arrival.md, generated from the table the cases hold and held to it by
    a test of the main suite; the control must never arrive. The cases run in each host's job, on the pinned version on every
    pull request and on the newest every week.

  • The page that says where a rule arrives has its sentence per host generated from the same cells as its table. What each host did
    (where the rule arrived, at which moments, where it did not) is drawn by renderTheProse from the table the cases hold, between marks of
    its own, and held to it by the test that holds the table; what a person writes per host is only the mechanism, which a test refuses to let
    say whether a rule arrived. In Gemini CLI the cells after a compaction are now readings, from a second run that resumes the session
    (--resume latest): the host compacts the restored conversation, and the request after the summary carries the rule where it is kept in
    the instructions file, behind an @ import and in the record, and not where it is in AGENTS.md or only mentioned, as at the start. The
    reading is of a resumed session: the plugin's start runs again and its text is in the turn the compaction keeps.

  • FORMAT.md section 4 lists locks/. The directory a writer creates at the first append (the lock of each tail, the note of which
    heads a tail last cited, the projection a reader keeps) was in the tree's .gitignore and nowhere in the layout of the document. It is
    there now, as not part of the proof and never read by a reader, and a test founds a tree, writes to it and reads it, and requires every
    entry at its root and in locks/ to be named by the listing. Nothing about what a reader reads changes.

  • docs/cli-reference.md has a table of the exit codes. 0, 1, 2 (the SubagentStop hook only), 70 (an internal error) and 127
    (the plugin's launcher could not start mnema), each with who ends with it, held by a test that reads 70 from INTERNAL_ERROR_EXIT,
    1 from what fail() sets, and the others from the files that set them, and that refuses a literal exit in the source that the table omits.

  • The VS Code extension has a "What To Do" pick, a "Why Is This File Like This?" command and a mark on the .mnema folder.
    mnema: What To Do (the Command Palette, the ... menu of the awaiting view, a link in the status bar's tooltip) is a quick pick
    made of one mnema status --json read when it opens: a line per decision awaiting a judgment, in the order mnema gave, each
    opening that decision whole, and a line N more await a judgment when mnema counted more than it listed (it serves 20, and its
    count also holds skills and tasks); with no record it offers a terminal, with no command it offers the setting, and it has no line
    that judges and recommends nothing. mnema: Why Is This File Like This? (the Explorer's and the editor's context menu, the
    palette), over a file of the open folder, runs mnema why -- <path> and shows what it printed in a read-only document under a
    header that says what was asked and when. In the Explorer the .mnema folder wears the badge M and the accent of the front page
    (the colour mnema.recordFolder, which a theme can override) with a tooltip that says what the folder is; no file is marked,
    because the command line does not list the addresses its rules cover and an unmarked file would look as if no rule reached it. The
    mark is a comparison of two paths: it starts no process. The check in a real editor opens the why document over a committed file.

  • mnema site writes under the record by default, and git leaves it out. With no --out the page is written to
    .mnema/site/index.html (the folder is the record's own, found by discovery, even from a folder below the project), and
    the record's .gitignore gains /site/: a new record has it, an older one is given the line when mnema site or
    mnema init runs (init in a project that exists now says it added it), and mnema site adds it before the page is
    written. Before, --out was required, and a git add .mnema after writing the page to the obvious place staged it. An
    --out inside the record and outside site/ is refused (OUT_IN_THE_RECORD), resolved through links, with nothing
    written; one under site/ is taken. mnema doctor asks git whether .mnema/site/index.html would be ignored (it says
    to run mnema init where the /site/ line is missing, and that a rule re-includes the page where it is there) and whether git tracks files under .mnema/site/ (it names the count and git rm -r --cached .mnema/site, and never runs it); it says nothing outside a repository or with no git. Both readers of the record skip
    site/, as they skip anything else at its root, and the format page lists it.

  • A site on GitHub Pages, built from the pages that already exist. site/ is a Starlight site in a tree of its own, with
    its own lockfile and pinned versions, outside the workspace and outside every published package. It holds no page of
    its own: the build copies the pages of docs/ (title moved to the frontmatter, relative links sent to the site's page
    or to the file on GitHub at the commit) and the landing is made of the README's Why, Quick start, What it is not and
    What it proves sections and of the description of @mnema/code. The sidebar is the README's own Docs groups. The
    accent, the pictures and the favicon are read from accent.mjs, docs/assets/ and the icon the extension draws; no
    colour or picture is written in site/. /record/ is what mnema site writes of the committed record, from the binary
    built at the same commit, and the build stops when mnema verify does not pass. The footer names the version and the
    commit the site was built from, and llms.txt and robots.txt are generated beside the sitemap. Two cases hold the
    built site to its sources: no link goes nowhere, no sentence, colour or picture is the site's own, the footer is the
    checkout's version and commit, and /record/ is byte for byte the page the command writes with --back-link. The
    sentence that the pages describe the next version is true on GitHub and npm and false on the site, which describes the
    published version: the source wraps it in <!-- not-on-the-site --> lines, the build takes out that stretch and nothing
    else, a marker that does not pair stops the build, and the built site is held not to say it. The theme reads at
    WCAG AA in both themes: the ground and the greys are the front page's PAGE and a ramp between its two ends, and
    the accent as text is the smallest mix of the other ground into ACCENT that reads at 4.5:1 on the ground and on
    every ground Starlight maps to a grey (the light accent was 3.48:1 on white as a link and as the button's fill). A
    case measures the pairs with a ratio of its own, and another reads the built style for a rule outside any layer. The
    footer reads "commit" and its sha with a space, and its link takes the accent. The landing shows the proof under its
    title: the output of mnema verify on this repository's record, produced by the binary at build time on the .mnema/
    of the commit (extracted outside the checkout, so an uncommitted change and the builder's private tree are not in it),
    and a recording copied from recordings/; the button labels come from the README's Docs. A
    fourth source of text, site/copy.md, holds the few words only the site needs (a caption), one line of at most twenty
    words each, and the case that holds the landing to its sources now reads every element of the <main> and every alt,
    title and aria-label, and finds nothing left over. No stylesheet of the site may draw text (a content with a sentence, or an attr()), and the verdict
    on the landing is one, with the first twelve characters of the commit as the text of its link. The hero then carries the line the Quick start opens
    with (npm i -g @mnema/code, as a code block whose copy button copies exactly it), the README's three cards (Remember,
    Enforce, Prove) and, after the proof, the four steps of How it works, each read from the README and stopping the build when
    its shape changes (a table of other than three columns, a step with a link, other than four steps). The title in the
    head of the site is the wordmark of the banner, the same letters drawn from the same rows without the chain of cubes,
    in the accent of each theme. One social card serves every page: socialCard in .github/the-front-page/draw.mjs draws
    the banner's wordmark and cubes on the dark page with the README's line and paragraph as its only words, and the build
    rasterizes it to og.png (1200 by 630) with sharp, which astro already installs and site/package.json now names
    at the version the lockfile holds, so the set of packages in the lockfile is the same. Every page declares it in
    og:image and twitter:image at its address on the published site, with its size and the README's line as the alt;
    the landing is og:type website and the others stay articles. The 404 is a page of the site's own
    (site/not-found.md): a line of site/copy.md and links, with the labels of the README's Docs, to the install page, to
    how each claim is held, to the page that verifies itself and to /record/. The record page is an item of the sidebar's
    Verify group, after the page that describes it, under a label that site/copy.md holds, and the build stops when that
    group or item is not in the README.

  • A Site workflow. On a pull request that touches what the site is made of it builds the site and runs those two cases
    (it is not a required check, and the path filter is inside the job). After a release it builds the commit the release tagged
    and deploys it to GitHub Pages from a job that holds pages: write and id-token: write and no secret; the site
    describes the published version, and a deploy that fails touches no publication. site/ has a weekly Dependabot entry and
    is read by the advisory scan beside the workspace lockfile.

  • --back-link on mnema site. Puts one link back to the address at the top of the page it writes, for a page that
    sits inside a site, labelled "Back" (the label is fixed): an http:// or https:// address, or a path on the same site,
    with the address escaped. A protocol-relative //host, a backslash, an https: with no //, any other scheme
    (javascript:, data:) and an address with white space are refused before anything is written. Without the option the page is byte for
    byte the one the command wrote before. The site's /record/ is built with it, pointing at the site's root.

Fixed

  • The Action fails a pull request that edits a file a rule in force refuses a write to, until a person other than the author
    approves.
    require-approval-for-asks failed the check only where an asks-for-a-person rule addressed a changed file: a file
    an accepted refuses-a-write rule addressed showed in the comment ("a write is refused by ...") and the check passed. It now
    fails the same way, on the same reading of the base and the head (a rename under both paths, a removal, a rule the pull request
    supersedes), with its own reason in the log and the comment ("a rule refuses a write to a changed file and no one but the author
    has approved"); a pull request that touches a file of each kind gets both reasons. The input keeps its name. Held by a case on a
    real record, run against the edit, the rename, the move with an edit and the removal, and by the cases of the judge.

  • The opening of a session lists a task blocked by the sweep of a session that stopped with no end only for 14 days. bootstrap
    (MCP and the plugin's opening) and mnema status left such a task on the live list for as long as it stayed blocked, so old ones
    crowded the freshest work. A task blocked by the sweep (its reason is the sweep's own sentence, shared by the writer and the
    reader) and last seen more than 14 days before the read is now left out of work and workTotal, and workSweptLeftOut counts
    them; mnema status prints one line saying so. Nothing new is written, each stays whole to read_record, show and search, and
    a task a person blocked, or one whose block was lifted, is never cut. The age is counted from when the session was last seen, not
    from when the sweep ran.

  • The pages say who accepts a decision, and what was measured of each host's rules file. The README and the two skills of
    the plugin said a person accepts a decision; with the switch agent-accepts on, which is the default, an agent may too, and
    its acceptance is recorded as its own. And the host tables (the README, docs/install.md, docs/evidence.md) called the
    rules file of Codex, Copilot CLI, OpenCode, Gemini CLI and Qwen Code "documented, not measured" after
    docs/rule-arrival.md had measured it: those cells now say it is held by the arrival case of the host, and the rung
    of those hosts no longer carries the caveat. Cursor, Antigravity, Factory Droid and Goose, which the arrival table does not
    measure, keep it.

  • The mnema instructions block survives a Markdown formatter that re-wraps it. With prettier's proseWrap: "always" the block is
    broken at the print width, and every check read it as somebody's edit and refused to touch it. The text between the markers (and the whole of a file that is wholly mnema's) is now compared by its blocks: the lines of a paragraph
    or of one list item are one, and runs of white space are one space; a word changed, a list item taken out or two blocks run into one is still an edit and still refused. Checked against the real prettier with always, never and preserve.

  • Recording the same memory or observation twice answers with the one on the record. A capture_memory or a record_observation repeated after a reply that never arrived wrote a second note with another id, as a decision did until it was fixed. A memory whose text is exactly the one being captured, or an observation with the same text, topic and about, in the same tree and not retracted (compared on the text a write stores, after the replacement of secrets), is now the note already there: nothing is written, and the tools and the memory and observe commands answer Memory <id> is already recorded in the <scope> tree with this text. Nothing was written. (or Observation <id> about <about> is already recorded ... with this topic and text.) instead of Captured memory or Recorded observation. The rule is in the core operations, so both doors and the copy of a host's memory note ask it, and a twin another session wrote meanwhile is seen under the tail's lock. The brief of a handoff is not looked for: each handoff writes its own, so the newest brief stays the newest handoff's. A memory written now keeps the projection of its tree up to date, as recording a decision does. A retracted note is not a twin, and a task is not looked for: two tasks with one title are two tasks. No kind, field or event changes, and no tool description.

  • The Action reads the rules of a pull request's files in one process, not one process per file. It asked the rules command of the
    head and of the base for each changed file, which started the binary twice per file: about 0.8 s a file, some 160 s for a
    pull request of two hundred. It now calls the function the command is made of, once per path, inside its own process; the
    answer is the value the command prints (a test sets the two side by side at the head and at the base), and the rules are
    still the base's. Measured over this repository's record, 20 files took 16.4 s before, and 200 take 4.5 s after.

  • Gemini CLI's hook no longer falls silent when mnema answers before it has read the whole payload. After a write and after a question to the person, the hook took any error from the child it started as "no answer", including a closed input (EPIPE), so a mnema that replied and exited 0 before the hook finished writing was heard as nothing, on a loaded machine and with a large payload. A closed input is now read as the Copilot handler and the hook's gate already read it: by the status and the output the program left.

  • OpenCode's plugin reads what mnema said after a question even when mnema left before reading the payload, and the "rules served" marker of a session is kept per host. The plugin's reading after a question to the person took any error from the child it started as "no answer", including a closed input (EPIPE), which is how the Gemini CLI hook read it before; it now reads that by the status and the output the program left. Two hosts that hand the same session id shared one marker of the push having been live, so the second was told its session had been served and recorded no channel.served of its own; the marker now includes the host. A marker made by an earlier version is not found by the new name, so a session in flight records its channel.served once more.

  • Recording the same decision twice answers with the one on the record. A record_decision repeated after a reply that never arrived wrote a second decision, with another id and another ADR-<n>, and nothing in the reply let the caller notice. A decision whose title, rationale and alternatives are exactly the ones being recorded (compared on the text a write stores, after the replacement of secrets, against the text the decision holds), and that is still proposed or accepted, is now the one already there: nothing is written, and record_decision and the decision record command answer Decision ADR-n (id) is already recorded in the <scope> tree with this title, rationale and alternatives. Nothing was written. instead of Recorded decision ..., with no address or replacement offered (the tool's answer says "already recorded" in its text). The rule is in the core operation, so both doors and every command that records a decision ask it once. A rejected or superseded decision is not a twin, and a differing alternatives text is a different decision. decision import --write reports a file whose words the record already holds as already in the record, instead of counting it as recorded and linking it to the existing decision (two identical files in one directory used to print "Recorded 2" and draw a derived-from from the second); promote of a decision the global tree came to hold meanwhile says so and draws no edge. No kind, field or event changes, and no tool description.

  • A task whose session nobody saw end is no longer closed as done. A session that died with no SessionEnd and stayed idle for a day had its dispatch task completed with the same note a clean end writes, so a reader of the record could not tell "finished" from "vanished". The sweep now blocks the task instead, with a reason that says the session stopped with no end, when it was last seen and how many handoffs it recorded; unblock costs nothing if the session turns out to be alive, a swept session that dispatches again unblocks its own task, and one that comes back and ends with a SessionEnd has it completed.

  • The Action judges a pull request by the rules of its base. It asked which rules address each changed file in the checkout of the pull request's head, so a pull request that superseded the asks-for-a-person rule on a file and edited that file passed the approval check, while the same edit alone failed it. The rules now come from the record as the base commit holds it, read from a temporary copy of its .mnema/ (removed at the end) with the same binary, together with the rules the pull request adds, since a pull request can add protection and not take it away; a base with no record has none to read. A file the pull request renames is asked about under both of its paths, the one it left and the one it took, and the comment names it as src/auth2.ts (renamed from src/auth.ts); a file it removes is asked about under the path it removed. The comment says where the rules were read. The workflow does not change: the base commit is already required in the clone.

  • The host contract holds the Copilot CLI 1.0.104. The weekly run against the newest Copilot CLI failed on the weight of the 27 definitions: from 1.0.103 the host marks each one defer_loading (21 bytes each) and drops a cache_control from one, so they weigh 51,540 bytes and 11,942 tokens instead of 51,010 and 11,762. The pinned version is now 1.0.104 and the figure on the evidence page is the new one.

  • The check of the links after a merge no longer accuses a page the server did not answer for. An address that ended on HTTP 408, 502, 503 or 504 after three attempts was counted as broken, as five badges were once when the badge host timed out; it is now listed as unreachable and opens no issue, like a rate limit (429) or no answer at all. A 404, a 410 or a 500 still count as broken.

  • A decision is the text its acceptance was made on, in every reader. A second decision.recorded of an accepted
    decision's id, signed by any key (one of another identity its writer had founded itself included), replaced the
    decision's title, rationale, alternatives and author in show, brief, search, the rules a path is governed by, the
    record page and the Action's comment, while the decision stayed accepted on the note its first text was accepted with,
    and mnema verify --require=signed and the second reader passed and named nothing. The text of a decision is now the
    first writing in the merged order that the writer of its first accept, rejection or supersede had read, by its own tail
    and the tails it cites, and the first writing in the merged order while nothing has judged it (FORMAT.md §6.8): a
    writing dated back on a tail the accept never cited does not become the accepted text. Every other writing is not
    applied, whoever signed it, and both verifiers name it in the census (decision-rewrite), informational, exit
    unchanged. The product mints a decision's id when it records it, so no record it wrote holds a second writing; a binary
    from before this serves the last one, and an accept it made may have seen that last writing: if a writing dated back that
    it read precedes the honest one, this version serves the dated back one and names the honest one.

  • A note is the identity that wrote it first, in every reader. The read and the write took a note's author from its LAST
    writing in the merged order, and mnema verify and the second reader from its last writing in the order of the tail ids. A
    key of another identity that wrote the same id again with a later clock took the note: its content and its author were
    served, and its retraction took the note out, while the census either said nothing or said that retraction was not applied.
    Every reader now takes the author from the first writing in the merged order (FORMAT.md §6.4): a later writing by another
    identity is not applied, the write refuses that identity's retraction (NOT_THE_AUTHOR), and both verifiers name the
    writing in the census (foreign-rewrite), informational, exit unchanged. The product mints a note's id at its capture,
    so no record it wrote holds such a writing.

  • FORMAT.md says what a waiver is. §3 said the document did not describe the waiver, and that nothing in it told an authorized cut from tampering. It now says what a tail.pruned holds, that the writer checks it against the disk before the cut and a reader only by its declared fields, that it is an account of a WHOLE tail which this product's verify names beside a committed key with no tail, that it never cures a break or a seq gap on a tail still present, and that it is not permission. What authorizes a cut of PART of a tail is still not specified, and the second reader still reports such a gap and stops. The second reader's list of gaps and its page say the same.

  • FORMAT.md says which facts of §6.2 wait for a signature. It said "two of the three" facts that change the set take effect only when signature-covered. Both readers gate seven kinds: a key.revoked, a checker.retired, an agent.retired and a backup.declared always, and an identity.founded, a key.enrolled and an agent.enrolled when it would restore a key a covered revocation removed. The paragraph names all seven.

  • FORMAT.md says that a move repeated byte for byte is not a divergence, which is what this product's reading already did: it is a duplicated entry, which both readers refuse at the repeated seq.

  • FORMAT.md says that a published vector for an old v is an intention. The table of vectors is held total by kind, not by (kind, v), so nothing yet makes a new v bring its vector with it.

  • The second reader's page says what it does with the rest of a tail whose line it refused. It folds every line it read, so the causes it lists can differ from the product's, which leaves the whole tail out of the folds; both refuse the record.

  • The counts the format pages spell are held to the artifacts. The 39 vectors, the four aggregate digests and the twenty-seven points the second reader's writing found, as FORMAT.md, the verifier's page, @mnema/chain's page and docs/verify-without-installing.md spell them, are read off canonical-vectors.json and the second reader's gaps by a test, so a vector or a gap added reddens the sentence that counts them.

Changed

  • The install page is the install; each host is in docs/hosts.md, and Windows and macOS are in docs/platforms.md.
    docs/install.md kept the binary, the check, the pinned version and where the package came from, and gained a table with one
    row per host: its rung and the line that installs it, with a link to the rest. The table is generated from the host table
    (packages/code/src/host-names.ts, whose every host now has an install that does not compile away), as the README's
    summary is, so the line cannot drift from the table, and a case holds that each command of a row is written, letter for
    letter, in a fenced block of the section it links to. The sections of the hosts moved, with their titles, to docs/hosts.md
    (#claude-code, #codex and the others now live there; a link to install.md#codex lands on the top of the install page,
    whose table leads to it), and the section on what the Windows and macOS jobs run moved, whole, to docs/platforms.md. The
    Qwen Code row of the README's summary now links its own section and says Plugin, not MCP server, as the page always said
    of it.

  • The block of instructions mnema init writes is now version v3: already formatted, with an example that runs, and with the
    supersede.
    The files agent hosts read (AGENTS.md, CLAUDE.md, GEMINI.md, the rule files) used to fail the
    repository's own Markdown format:check the moment init wrote them: prettier wants a blank line after the begin marker and
    before the end marker. The block now has both, and its examples are indented code (a fence of ours would be closed by, or would
    close, an unclosed fence of yours, and a second run would write a second block). Measured with prettier 3 over a project init founded: the
    five files that failed with the default configuration and with tabWidth: 4, printWidth: 100 now pass. One file still fails
    under a singleQuote: true configuration: prettier rewrites the applyTo: "**" of .github/instructions/mnema-instructions.instructions.md to single quotes. The
    shell line where the tools are not connected is no longer a template with <title> placeholders but a command that runs as
    written, with --alternatives (a test runs it against the built binary and reads the decision back), and the block now says
    that a decision is not edited once recorded: a new one that replaces it is recorded and the earlier one superseded
    (decision_transition with action supersede, or mnema decision supersede <old-id> <new-id> --reason "<why>"), and the new one is then read as replacing the earlier one, which it names. mnema instructions replaces a v2 block by this one in every file, and still refuses a block whose words you edited (a formatter
    that only re-wraps it is not an edit, as Fixed says). The text is 2,390 characters, 570 tokens, against 1,721 and 409:
    every host file that carries it carries 669 characters more. The Gemini extension's context file is generated from it.

  • The top ok of mnema verify --json is the verdict on the record. It said that the command ran and found a project, and it was
    true over a record that was tampered with, so a script that read the first field took a broken record for a sound one. It is now the same
    as record.ok: false over a broken record, and false where a set of paths covered no record. requirementMet still says whether
    --require was reached, and the exit code is the one it always was. docs/cli-reference.md describes both fields in the section of verify.

  • A build of the site sends no telemetry. site/package.json sets ASTRO_TELEMETRY_DISABLED=1 in front of astro build and the site
    workflow's build step sets it in its env; a test refuses a script or a step that builds the site without it, and a workflow of any other
    name that builds it.

  • The README opens on the questions a record answers, and its Quick start reaches a rule in force and a green verify with no
    agent.
    Under the headline, three questions (who decided this and why, what was turned down, has it changed since) come
    before the sentence about what mnema is. The Quick start's first block is the binary, the founding of the record, a decision recorded and
    accepted as ADR-1, the rule addressed at a path, and a check that the record is intact; the plugin is a second step, with the
    other hosts on the install page. A new test runs that block as written, through the built binary, in a sandbox.

  • docs/first-record.md is five steps, and the third ties the rule to a path. The page founds the record, records a decision and
    accepts it, addresses it at src/billing with link and asks why about a file under it, hands the record to Claude
    Code, and checks it with mnema verify; what init leaves in the repository follows. Under each mnema command is every line it
    prints, and the test that held the old block to the binary now runs the commands of all five steps in one repository, in order. The
    mnema search of the old block is gone, because why shows the rule as well.

  • The install page says how to check the install and the package, and pins a version. mnema --version and mnema doctor
    come first, then npm i -g @mnema/code@x.y.z with the number of the published version (pnpm release:prepare writes it, in
    that line and in the one below), then how to check the package: in an empty folder, npm i --ignore-scripts @mnema/code@x.y.z
    and npm audit signatures, which reads the packages installed in a project and fails with EAUDITGLOBAL on a global
    install. The long paragraph on doctor moved to the reference, which now also says it reports an own key left unprotected
    while an agent key exists. The VS Code extension's walkthrough, its empty views and its mnema.command setting said to
    install @mnema/code "from its source"; they say npm i -g @mnema/code, and the guard that kept that phrase out of the pages
    reads those two files too.

  • The VS Code extension shows the mnema M in the status bar. Wherever mnema verify was read, the item wears the M of the
    console's wordmark instead of a book or an info mark (the level, strong or weak, stays in the word beside it); a failed
    check keeps the editor's error icon and an unreadable answer its question mark, so a record that does not verify never wears the
    mark as if it were ordinary. The M is a glyph of an icon font (contributes.icons, mnema-m) that package writes from the
    wordmark's blocks with no new dependency, as it writes the side bar's SVG; the check on the packed file refuses a font without the
    tables the editor's sanitizer asks for, and the check in a real editor finds the installed font and a bar whose text names it.

  • The page mnema site writes checks its own lists against the events it verified. The decisions, notes and timeline were
    written by the command and nothing in the browser looked at them, so a green verdict stood beside lists it did not cover. Now,
    once the verdict is verified, the page derives the lists again in the browser from the files it verified, with the same
    TypeScript the command writes them with (the page's script now bundles the model and the projections it reads, and the build
    refuses a bundle that names a node: module or calls require(), and says match or names each difference by its item: a
    state word, a data-state, a card taken away or made up (also one without the class a card carries, and a paragraph put inside a list), a counts line added beside the real one, the text of a note, a badge, the counts, an entry of the timeline in
    another place, a move missing from a history, a sentence added outside every field. Over a record that did not verify it says the
    lists were not checked. It is not a second, independent reader (the Python reader verifies the chain and does not derive
    decisions), it reads no style, it does not read text outside the lists or an attribute or a wrapper added to a field, it holds the
    main thread for about one to two seconds after the verdict on a large record, and a page handed over by the party it checks
    carries the script that checks it. What it holds to the events is every element directly inside the decision list, the list of
    notes apart and the timeline (each must be an item the events give, with no text between), and each part of the page's body.

  • The VS Code extension starts far fewer mnema processes per reading. The decisions awaiting a judgment come from one
    mnema status --json (with the ADR-n of each), and mnema search is asked too only when status served fewer than it counted,
    so the view still lists up to 200; the one mnema show per new proposal is gone, and with it the justification in an item's
    tooltip (which is now the ADR and the title: the whole text is in the document a click opens). mnema --version is asked at the
    start, on Refresh, when mnema.command changes, and in the reading in which a call came back with no exit code (which is how a
    command that vanished mid-session is told), no longer at each change of the record. mnema verify, mnema verify --json and
    mnema switch run at the start, on Refresh and after an act of the person's, and after a change of the record at most once in
    ten seconds with a last run at the end of a burst, so the bar is at most about ten seconds behind the record and its tooltip says
    when it read; they are not run while the item is switched off. mnema stack list --json runs only while the Stacks view is on
    screen, or on Refresh. Measured against a recorder in place of the command line: 8 processes to start with two proposals became
    5 (6 with the Stacks view shown), a change of the record 6 became 1, and twenty changes 1.6 seconds apart 120 became 32. The badge
    and the bar count decisions (what status also counts, skills and tasks, is not a decision to judge here, and What To Do says
    it exists). The path of mnema rules and mnema why goes after -- (mnema rules --json -- <path>), so a file named -x
    gets its lens: before, the path came first and mnema read a file named -x as an option it does not have, so that file never had one.

  • The page mnema site writes reads like a page. Each decision is a card (state, reasons, what was turned down, who
    recorded and who accepted it, supersedes and superseded-by as links, the history, the paths it is addressed at), with an
    anchor by its number (#ADR-12, only where no other decision on the page carries it) and a permanent link, and under it the
    public observations and memories that belong to it (a note taken back stays whole, with when, by whom and why; one that
    belongs to no decision is listed apart); a timeline lists each act in the record's order. Each act carries a badge worded as
    the show verb words it, a person or agent <name>, beside the identity. The page has a main, a link that skips to the
    decisions, a verdict announced as a status, keyboard focus that shows, a layout that reads at 360 px, and a light and a dark
    palette at WCAG AA (the dark verified green was 3.59:1 and the broken red 2.90:1) taken from the banner's accent and ground,
    with the accent darkened for small text by the rule the site's theme uses. With JavaScript, a filter opens on the decisions
    in force and narrows them by state, identity, agent or person, the day recorded, text and path (by segment: packages/code
    covers packages/code/src/x.ts and packages, not packages/codex), and says how many of how many it shows; without
    JavaScript every decision, note and timeline entry is listed, where a checkbox and a rule of style used to hide the rest. The
    A link to a decision the filter hides opens it by giving the filter way, a path typed with spaces around it is trimmed
    before it is matched, and every field of the record is drawn the way the show verb words it (an override, a bell or an escape
    is shown as an escape, a title is one line); the stored lines of a tail stay as stored.
    The verification now starts after the first paint. The stored events are no longer written into the page a second time: opening
    a tail draws its lines from the files the page already carries for the verification (the same text, a byte that is not UTF-8
    as U+FFFD), so without JavaScript they are not drawn. At this repository's own record the page went from 1,328,541 to
    1,042,443 bytes (321 KB to 261 KB gzipped), and a record of 2,112 events made by the product's own writers from 6,002,316 to 4,889,518 bytes.

  • The VS Code extension has a container of its own in the activity bar, with the M, and a badge. The two views, now
    "Awaiting Judgment" and "Stacks", left the Explorer (below Outline and Timeline, collapsed) for a container titled mnema whose
    icon is the first letter of the console's wordmark, drawn into a monochrome SVG when the extension is packed from the same
    function that draws the store icon (the PNG is byte for byte what it was), and the container carries a badge with the number of
    decisions awaiting a judgment, as many as mnema says exist, nothing at zero or when the list was not read. Every command is in
    the category mnema and its title no longer repeats it (the palette still shows mnema: Accept Decision), Add from Index
    moved to the stacks view's ... menu, and no welcome text has a link alone on its line, so no blue button. The container is in
    every folder and opening a view of it starts the extension (measured in VS Code 1.143.1), so the extension has one door to the
    command line, which starts no mnema process unless the folder holds a .mnema on the disk at that call: in a folder with no
    record the status bar item is hidden, no lens is drawn, the context key mnema.cliMissing stays false and a command says once
    that the folder holds no record. A new context key, mnema.proposedRead, lets the decisions view say that nothing awaits a
    judgment only when the list was read and understood: an answer with exit code 0 that is not the JSON the view expects (or the stacks view's, with mnema.stacksRead, which had the same gap) counts as not read, with no badge. The check that starts the packaged file in a real editor has a fourth scenario, which opens
    the container in a folder with no .mnema, and the file check reads the container's icon in the .vsix and refuses any fill or stroke in it that is not currentColor or none.

  • The VS Code extension's icon is the banner's M. It was a cube; it is now the first letter of the console's wordmark, in the banner's accent and block style on its dark page, in a rounded square with a thin lilac border, with the same letter behind it in a darker lilac, shifted down and to the right, as a solid shadow. It is drawn from the rows the console draws (THE_BLOCKS), so the icon and the banner cannot drift apart. It reaches the stores with the next published version.

  • The VS Code extension's status bar item is short, and its tooltip is markdown. The text is the level and, when decisions
    await a judgment, how many (fully-signed · 2 to judge, the same number as the container's badge); the count of channels
    left it, and a missing command reads "mnema not found". The tooltip has the level, a link to the container with the number
    awaiting, the lines mnema verify printed in a code block (for a failure also the first issues it listed), the channels off
    by name with a link to the page that says what they carry, when it was read, and links to Refresh and to the setting. What
    came from the command line or the record is escaped, so it cannot become a link, and the commands a link may run are the
    container, Refresh and the settings editor, never a verdict. A click opens the container in every state, the missing command
    included, and the item wears the theme's warning background when mnema verify fails. The new setting
    mnema.statusBar.enabled hides it; it is machine-scoped, like mnema.command, so a repository cannot hide the item that says
    when verify fails.

  • A decision opens whole in the VS Code extension, and is judged from the title of its editor. Clicking a proposal (or
    picking a rule from a file's lens) opens a read-only plain text document, ADR-n, with what the command line's show verb answered
    (title, state, scope, who recorded and accepted it, when, the justification, the alternatives and the moves), the command and
    the time it was read at the top, read again at each opening and each reading of the record; its address carries the id, never
    the ADR number. What the record wrote is laid out by the rule the command line's show applies (one line for a title or a field, control bytes
    written as visible escapes), and the hour it was read is in UTC with the Z. While it is proposed its editor's title carries accept and reject, which go through the same note box and the
    same decision move as the buttons beside the items, one decision at a time; the context menu keeps them in separate
    groups. The note stays required in the format, the gate, the command line and the MCP server. In the extension the accept box
    starts with a true stamp, <the day>, accepted in the VS Code extension, no reason typed, selected, so Enter records it and
    typing replaces it by a reason; the reject box starts empty and needs a reason typed, and the stamp never carries what the
    record says. Each item has an icon for its state (a neutral one for a proposal, never a check mark; package, warning or
    error for a stack by what stack list reported) and a spoken name; tooltips are short, boxes and picks lose the mnema:
    prefix and the step counts, a scope is picked by a codicon and its name, and the toast after a verdict reads ADR-2 accepted.
    from the command line's own line (a line of another shape is shown as it came). The check in a real editor opens the
    proposed decision and reads the document.

Removed

  • The VS Code extension no longer shows a message when a decision is proposed. The badge on the container's icon and the
    count in the status bar carry the notice, with no interruption and no setting to bring it back.

Security

  • The extension reaches the Visual Studio Marketplace by trusted publishing, with no token. The release workflow's Marketplace job holds id-token: write and no secret and runs vsce publish --oidc (@vscode/vsce 4.1.0, the first version the Marketplace accepts it with; the @azure/msal-node override stays), after a Trusted Publishing policy on the publisher names this repository, release.yml and the extension-stores environment. Open VSX moves to a job of its own that keeps OVSX_PAT and cannot ask for the OIDC token, so no code of a third party runs in a job that can. The workflow no longer names VSCE_PAT; the guards refuse it back, an OIDC token in the Open VSX job, --oidc anywhere but the one job, and the two jobs joined (ADR-100).

  • @azure/msal-node is lifted to 7.1 by an override, closing GHSA-xcx6-jx8p-x3h5. It reached the tree only through the VS Code extension's packing tool (@vscode/vsce -> @azure/identity, which still asks for 6.x), a development dependency that no published package ships. The workspace and the release job's own tool folder now resolve it to 7.1.1, the extension still packs the same twelve files, and the advisory scan no longer ignores the advisory.

  • qs resolves to 6.16.1 everywhere, closing GHSA-6pq8-jhm2-2vcw. The advisory is a denial of service: qs.stringify with arrayFormat: 'comma' throws an uncaught TypeError on an array element that carries a non-callable own toString. The published package already received the fixed version through body-parser (the body-parser override and the 6.16.1 entry for express), and mnema's MCP server speaks stdio and never starts express, so the path was not reachable from @mnema/code. The one copy left at 6.16.0 came from the VS Code extension's packing tool (@vscode/vsce -> typed-rest-client), a development dependency that no published package ships; the lockfile now points it at 6.16.1, a version its range already accepts.

npm: https://www.npmjs.com/package/@mnema/code/v/0.1.4