https://github.com/bnema/pi-project-memory
Keep project-scoped local memory for Pi outside the repository.
https://github.com/bnema/pi-project-memory
pi pi-extension project-memory
Last synced: 29 days ago
JSON representation
Keep project-scoped local memory for Pi outside the repository.
- Host: GitHub
- URL: https://github.com/bnema/pi-project-memory
- Owner: bnema
- License: mit
- Created: 2026-06-07T15:54:56.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-15T09:55:23.000Z (about 1 month ago)
- Last Synced: 2026-06-15T11:56:53.150Z (about 1 month ago)
- Topics: pi, pi-extension, project-memory
- Language: TypeScript
- Size: 313 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pi-project-memory
Keep project-scoped local memory for Pi outside the repository.
## What it does
- Stores structured memory records (extraction results and manual notes) per Git project, deterministically rendered into MEMORY.md and memory_summary.md.
- Keys memory by canonical Git source when possible.
- Adds commands for status, open, checkpointing, updating, enable/disable auto mode, and reset.
- Adds tools for reading, searching, and adding approved notes.
- Keeps stored text size-capped, secret-redacted, and framed as untrusted project data.
## Install
```bash
pi install git:github.com/bnema/pi-project-memory
```
## Commands
```text
/project-memory status
/project-memory open
/project-memory checkpoint
/project-memory update
/project-memory enable-auto
/project-memory disable-auto
/project-memory reset
```
## Tools
- `project_memory_status`
- `project_memory_read`
- `project_memory_search`
- `project_memory_note`
## Storage and safety
Default storage lives outside repositories:
```text
~/.pi/agent/project-memory/by-remote//
```
Set `PI_PROJECT_MEMORY_ROOT` to use another location. Captured evidence is size-capped and secret-redacted. Generated memory is escaped and framed as untrusted project data. Automatic updates are enabled by default and can be disabled.
## Develop
```bash
npm install
npm run verify
pi -e .
```