Add Makefile targets to install and verify phase-memory with warden.

install-all uses uv tool install --with-editable for sibling phase-memory.
check-memory and verify-memory confirm warden can load experiential memory.
This commit is contained in:
2026-07-03 00:54:21 +02:00
parent 120de64bcb
commit 210f7eab68
4 changed files with 76 additions and 7 deletions

View File

@@ -11,9 +11,24 @@ Latest gap analysis: `history/2026-06-17-post-wp0007-reassessment.md`.
## Install
**Recommended** (warden + experiential memory for route/worker/agent sessions):
```bash
make install-all
make verify-memory
```
SSH-only install (no phase-memory):
```bash
make install
```
Manual equivalent:
```bash
uv sync
uv tool install .
uv tool install . --with-editable ../phase-memory --force
```
Or run without installing:
@@ -22,6 +37,10 @@ Or run without installing:
uv run warden --help
```
phase-memory must be a sibling checkout at `../phase-memory` by default, or set
`PHASE_MEMORY_REPO` when running make. Opt out of memory at runtime with
`WARDEN_MEMORY=0`.
## Quick start (local backend)
```bash
@@ -58,10 +77,10 @@ Full role and examples: `wiki/AccessRouting.md`.
## Development
```bash
uv sync
uv run pytest # unit tests (integration excluded)
make install-all
make test
make lint
uv run pytest -m integration # requires ssh-keygen in PATH
uv run ruff check .
```
## Key paths