Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
docs(api): correct /api/v1 500 body and log the redaction changes
AkitaOnRails9ea19dabef44
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 91c97dd9..0d1a0e97 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -17,6 +17,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0requests. Intentional insecure LAN use requires `--allow-insecure-no-auth`;authenticated non-loopback HTTP remains available with its TLS warning(#396).+- `/api/v1` internal failures now return the fixed body+ `{"error":"internal server error"}` instead of the source error chain, which+ could expose data-directory paths and configuration to a browser. The+ detailed cause is logged server-side (#396).+- The `/web` browser authentication cookie is now `SameSite=Strict` rather than+ `SameSite=Lax`, so it no longer rides top-level cross-site navigations into+ the UI. Existing sessions stay valid (#396).### Fixed- Hook session UUIDs now reject cross-owner reuse atomically before ingest-key,diff --git a/docs/frontend-api.md b/docs/frontend-api.mdindex 40b8c0de..13d91192 100644--- a/docs/frontend-api.md+++ b/docs/frontend-api.md@@ -71,7 +71,7 @@ with one of these statuses:| `401 Unauthorized` | bearer missing or wrong. || `403 Forbidden` | Host header not in allowlist; or a non-root caller requests `all_owners=true`. || `404 Not Found` | workspace, project, or page doesn't exist; or page file missing on disk. |-| `500 Internal Server Error` | reader pool / SQLite failure. Body is `{"error":"<context>"}` with the source error chain. |+| `500 Internal Server Error` | reader pool / SQLite failure. Body is always the fixed `{"error":"internal server error"}`; the underlying cause is logged server-side rather than returned, so it cannot leak paths or configuration to a browser. |## 4. Endpoint reference