test-before-push.md
Small changes.
Real tests.
Run the project's tests before pushing a change. Keep unrelated edits out of the patch.
- Source
- docs/contributing.md
- State
- Accepted · pinned
LOCAL MEMORY FOR YOUR AI AGENT
Keep the decisions, context and little details that make a project yours. Pick up the next session where the last one left off.
Plain Markdown. No model. No cloud. Yours.
test-before-push.md
Run the project's tests before pushing a change. Keep unrelated edits out of the patch.
Illustrative notes. Your real memories stay on your machine.
Different agents.
The same memory.
01 / A LITTLE CONTINUITY GOES A LONG WAY
Not another chat history. A small, deliberate memory of what matters to the work.
A fact, preference, decision or task, with where it came from. Agent, tool and web notes enter a review queue.
Read the proposal, check its source, accept or reject it. Pending proposals stay out of search.
Recall relevant memories, keep key rules pinned, and leave a handoff for whatever comes next.
“Use a queue for background jobs, because a request should not wait for a long-running task.”
Not searchable until a person accepts it. Nothing is written by this demo.
02 / YOUR NOTES. YOUR FILES.
One Markdown file per memory, with a source and dates. Read it, edit it, keep it in git. End an old fact without erasing its history.
Explore the file format---
id: background-jobs
kind: decision
source_type: user
source_ref: design review
---
# Background jobs
Keep slow work in a queue.
A request should not wait for it.Excerpt from an example note. Full memories also carry dates and provenance.
03 / SMALL TOOL. THOUGHTFUL DETAILS.
Made for real projects, changing code and agents that need a little help remembering.
Pinned rules and the latest handoff return in a brief. Claude Code hooks can bring them back after compaction, too.
Word search with BM25 and synonyms. Recall selects relevant notes; a log shows which memories the agent was given.
Anchor a memory to files. Recall flags changed files, follows renames and skips notes whose anchored files are gone.
Capture what's done, what's open and what comes next. Claim a handoff once and carry on with the work.
Agent proposals wait for review. Secret and hidden-text checks help filter unsafe input; recalled content is labelled as data.
Snapshots, a write lock for parallel clients and optional encryption. A project store, plus a separate global store for personal preferences.
04 / LESS EXPLAINING. MORE DOING.
The CLI and MCP server work from the same files. No language model or embeddings are needed to run Stashpad.

05 / PICK UP WHERE YOU LEFT OFF
Node.js 20 or newer. No other dependencies.
Free, open source and MIT licensed.
npm install -g stashpad
stashpad setup
stashpad doctor --clientRun in your terminal, then use the settings for your client.
A FEW GOOD QUESTIONS
Stashpad makes no network calls, calls no model and has no telemetry. Its review page listens only on your computer. If a cloud AI agent reads a memory, that agent's own provider and configuration determine what it sends.
No. Stashpad uses word search (BM25) and synonyms, without embeddings or a language model. It can miss reworded questions. It also does not automatically extract memories from chats, sync machines or run a shared team server. You can use git for your plain files.
Yes. Use the CLI directly or run stashpad sync-agents AGENTS.md to put a brief in a file your agent already reads. The Claude Code plugin also adds session and compaction hooks.
Run stashpad review for the queue, or stashpad ui --open for the local review page at 127.0.0.1:4317. Accept a proposal only when you have checked it. This project website does not access your store.
Supersede it with a new memory or end it, rather than silently overwriting the history. Sources, dates, feedback and file anchors help you assess whether a memory is still useful. They do not guarantee every note is correct.
Built by laaielichter. Try Stashpad, report a rough edge or make a contribution.