Trust-the-CLI patch. Three bugs that surfaced in real testing of v0.9.0: the dashboard viewer showed zeros for half its cards, import-jsonl crashed on anything but a perfect response, and upgrade hard-aborted on a cargo registry that never had the crate.
Fixed
- Viewer dashboard list endpoints (#172).
GET /agentmemory/semanticandGET /agentmemory/proceduralwere never registered, andGET /agentmemory/relationsreturned 405 because only the POST trigger existed. The dashboard'sPromise.allfan-out silently received null for those cards even when semantic, procedural, or relation data was present. Addedapi::semantic-list,api::procedural-list, andapi::relations-listhandlers next toapi::memoriesinsrc/triggers/api.ts, each returning the shape the viewer already parses. - CLI version drift (#173). The viewer brand badge hardcoded
v0.7.0and the README "New in" banner still saidv0.8.2. Replaced the viewer string with a__AGENTMEMORY_VERSION__placeholder substituted at render time bydocument.ts(same mechanism as the CSP nonce). Collapsedsrc/version.tsfrom a literal union of every historical release back to a singleVERSIONconstant — the import-compat contract is thesupportedVersionsSet inexport-import.ts, not the type. import-jsonlcrashed withUnexpected end of JSON input(#174). The livez probe used fetch throws as the only failure signal — any stray service on port 3111 passed silently, thenres.json()blew up when the real POST returned an empty body or HTML error. Probe now capturesprobe.status+ body snippet on non-OK responses and the exception message on network failure, so the error distinguishesunreachable (...)fromreachable but unhealthy (HTTP 503: ...). The POST reads body as text, parses only if non-empty, requiresjson.success === true, and maps 401 → "set AGENTMEMORY_SECRET" and 404 → "upgrade server to v0.8.13+".upgradeaborted oncargo install iii-engine(#174). The crate was never published — the old flow calledrequireSuccess, which exited before the Docker pull ran. Swapped to the official installer used throughout the README and demo command:curl -fsSL https://install.iii.dev/iii/main/install.sh | sh. Installer failure is optional; a warn points atiiidev/iii:latestand the releases page atiii-hq/iii.
Infrastructure
- Three integration tests cover the new list endpoints.
VERSION/ExportData.versionunion /supportedVersions/test/export-import.test.tsall bumped in lockstep.
Full Changelog: v0.9.0...v0.9.1