feat: agent-memory v0.1.0 — cross-session memory for coding agents - #1
Merged
Conversation
First release of the agent-memory-cli distribution, which installs the agent-memory command. Python 3.10+, no runtime dependencies. Creates and operates a two-tier memory home. `init` and `org init` scaffold it from bundled templates and bind a repository; `setup claude|codex` installs a coding agent's session-start hook and memory workflow file; `startup` prints the session-start read manifest; `capture` and `recall` carry decisions across sessions; `debrief write` publishes session records; `archive` and `restore` move supplementary files; `status` and `doctor` report where the home resolved and whether its layout and sync are sound. Optional git sync operates the home as its own repository behind an explicit publication allowlist that refuses never-synced names at any depth. Adds the tag-triggered release workflow: a `v*` tag runs preflight, checks the tag against the packaged distribution version, and publishes to PyPI with build attestations from the `pypi` environment. Every action is pinned to a full commit SHA. Fills in the Apache copyright line, which was still the unedited template placeholder. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GeBdcy43H9CZkcjk4Jvt8n
haoranc
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First release of
agent-memory-cli— cross-session memory for coding agents, as plain files in git, with no server and no runtime dependencies.What lands
The
agent-memorycommand, operating a two-tier memory home:init,org initsetup claude|codexstartupcapture,recalldebrief writearchive,restorestatus,doctorenable/clone/pull/push/disableGit sync is optional and sits behind an explicit publication allowlist: a memory commit carries only the paths the allowlist selects, and a never-synced name such as
keys/is refused at any depth.The release workflow
.github/workflows/release.yml— av*tag runsmake preflight, checks the tag against the packaged version, and publishes to PyPI with build attestations from thepypienvironment.actions/checkout3d3c42e5aac5ba805825da76410c181273ba90b1actions/setup-python5fda3b95a4ea91299a34e894583c3862153e4b97actions/upload-artifactb7c566a772e6b6bfb58ed0dc250532a479d7789factions/download-artifact37930b1c2abaa49bbe596cd826c3c89aef350131pypa/gh-action-pypi-publishdc37677b2e1c63e2034f94d8a5b11f265b73ba33All five pinned to full commit SHAs, each verified against the GitHub API.
id-token: writeis scoped to the publish job alone; the build job and the workflow default arecontents: read.The version assert reads the distribution name —
importlib.metadata.version("agent-memory-cli")— not the console script. The two differ, and asserting on the command would raisePackageNotFoundError.Verified
Run from this tree, not from where it was authored:
make preflight— ruff clean, 654 passed / 46 skipped, both artifacts built,twine checkPASSED on eachagent_memory_cli-0.1.0.tar.gzand-0.1.0-py3-none-any.whl; wheel and sdist carry an identical set of 8 template resourcesAlso in this diff
LICENSEhad the unedited Apache template lineCopyright [yyyy] [name of copyright owner]; it now names the year and holder. That is the only change to a file that already existed here besides the README.After this merges
Tag
v0.1.0onmainat the merge commit to fire the release workflow, and approve thepypienvironment if it gates the publish job. The Trusted Publisher is bound to this repository, workflowrelease.yml, environmentpypi.🤖 Generated with Claude Code
https://claude.ai/code/session_01GeBdcy43H9CZkcjk4Jvt8n