Skip to content

chore(agent-memory): upgrade 4.42.0 → 4.42.1 — declare a fact consulted to make a decision; check for declaration gaps before archiving one - #107

Merged
acn-ericlaw merged 1 commit into
mainfrom
agent-memory-v4.42.1
Oct 4, 2026
Merged

acn-ericlaw merged 1 commit into
mainfrom
agent-memory-v4.42.1

Conversation

@acn-ericlaw

Copy link
Copy Markdown
Contributor

What

agent-memory Mode B upgrade 4.42.0 → 4.42.1 (PATCH, guidance only). Reconcile re-copied DECAY.md, REVIEW.md and .agent/schema.md — each was stock 4.42.0, so staleness only; the protocol semantic step re-copied memory/PROTOCOL.md (byte-identical to the 4.42.0 template). Hooks, the CI floor and the built-ins are unchanged. Stamped 4.42.1; every re-copied file byte-identical to its MANIFEST source; memory-lint: 0 errors, 0 warning(s) (Python/Node identical); memory-lint --staged on this change → ok. Ran in a throwaway git worktree of origin/main; the checkout was not touched.

What changes for this repo's sessions. The protocol's Maintain memory while working rule now tracks every fact id relied on — a fact is relied on when it shaped a decision, i.e. you would have decided differently without it. An edit or a closure is always a use; a read that shaped nothing is not. Nothing can catch an undeclared consultation, so declare it when writing the log. At review time, REVIEW.md step 6 adds declaration gaps (facts): before archiving a fact as faded, search the window's logs for its subject (not its id) and read the hits; a fact whose subject a session exercised without declaring it is kept and declared, not archived. A mention is not an exercise.

Why

Archival is the costliest memory error, and this one was invisible to tooling: a fact consulted to make a decision leaves no diff, so [undeclared-reference] cannot see it, refresh-metadata reads the reliance as non-use, and a review archives a fact that is in use while memory-lint reports clean. The field report from mercury-composable and mercury documented three such archivals in five weeks, each caught only by a human-guided read of the logs; the tool's own repo had a fourth. Upstream release: https://github.com/Accenture/mercury-go/releases/tag/v4.42.1

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

🤖 Generated with Claude Code

…ed to make a decision; check for declaration gaps before archiving one

Mode B upgrade (PATCH, guidance only). Reconcile re-copied DECAY.md, REVIEW.md and .agent/schema.md (stock 4.42.0 before); the protocol semantic step re-copied memory/PROTOCOL.md (byte-identical to the 4.42.0 template). Stamped 4.42.1. Ran in a throwaway worktree of origin/main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@acn-ericlaw
acn-ericlaw merged commit a5ad87b into main Oct 4, 2026
5 checks passed
@acn-ericlaw
acn-ericlaw deleted the agent-memory-v4.42.1 branch October 4, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant