|
|
|
@@ -49,6 +49,25 @@ The Swagger UI at http://localhost:8801/api/docs lists every generated API spec |
|
|
|
- **ErrorController**: 404 page |
|
|
|
- **DocsController**: Swagger UI at `/api/docs` |
|
|
|
|
|
|
|
## Agent memory platform (status) |
|
|
|
|
|
|
|
Implements [Universal-Agent-Memory-Specification.md](Universal-Agent-Memory-Specification.md) on top of this starter. API base `/api/v1`, spec in `public/api/memory-v1.openapi.json` (Swagger at `/api/docs`). Auth is `Authorization: Bearer <key>`; the tenant comes from the key. A caller without permission on a namespace gets 404. |
|
|
|
|
|
|
|
**Done** |
|
|
|
- Phase 1: tenants, principals, hashed API keys, namespaces, grants (read/write/delete/verify/admin); memories with revisions, correction (If-Match), retire/forget, idempotency keys, duplicate detection, audit events; sessions with checkpoints; health. |
|
|
|
- Phase 2: Markdown/text ingestion with chunking and source locators (`core/lib.Search.asp`), documents/chunks/jobs, lexical search over chunks (FTS5), `POST /recall` over memories, verification (`POST /memories/:id/verifications`), `content_trust` labelling. |
|
|
|
|
|
|
|
**Tooling** |
|
|
|
- `scripts\provision.cmd` (tenant, principal, key, namespace, grant, revoke, list, purge); see AGENTS.md section 1. Quote permission lists in PowerShell: `'"read,write"'`. |
|
|
|
- `scripts\export-memories.ps1` / `scripts/export-memories.sh`: dump every readable memory (set `AMK_KEY`). |
|
|
|
- Tests (container must be running): `bash tests/phase1-api.sh` (71 checks), `bash tests/phase2-api.sh` (45 checks). Both create and purge their own tenants. |
|
|
|
|
|
|
|
**Next (not started)** |
|
|
|
1. Context assembly (`/context`): budgeted, deduplicated, trust-labelled bundle for an agent. |
|
|
|
2. Embeddings and hybrid retrieval (needs a decision on the embedding provider). |
|
|
|
3. Experiences, candidates and review; feedback (AC-18). |
|
|
|
4. Import/export API, and management endpoints for namespaces, principals and grants (today only via `provision.cmd`). |
|
|
|
|
|
|
|
## Configuration |
|
|
|
|
|
|
|
- `public/web.config`: `ConnectionString` (`sqlite:/opt/axonasp/site/db/app.sqlite`), environment and UI settings. |
|
|
|
|