Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ a decision with visible consequences.

## Unreleased

## 0.8.0

- **Refused request bodies are never echoed back.** A 422 lists only `loc`, `msg` and `type` for
each error. FastAPI's default repeated the input, so a malformed `POST /auth/change-key` or
`PUT /system/ai-runtime` sent the current admin key, or a provider API key, back in the error.
- **Writes that cannot half-happen.** Ingest commits the evidence and its processing job
together, so evidence can no longer sit `pending` with no job; a backup is written to a
temporary file and moved into place, so a partial file is never listed; a retried job reuses
the analysis rows it already wrote; two concurrent writes of the same memory no longer both get
in (a Postgres advisory lock on agent and text); an episode's end time only moves forward.
- **Dashboard and MCP.** A path with an encoded `../` cannot serve files outside the dashboard
build; unknown MCP methods answer "Method not found" and batch requests get an error; the
context tool's `query` is bounded to 2,000 characters; deleting a vector from a collection that
was never created returns early.

- Retrying a job that a worker is still running (its lease has not expired) is refused with a 409.
It used to be queued again and cleared the lease, so a second worker could process the same
evidence while the first was still on it.
Expand Down
2 changes: 1 addition & 1 deletion services/api/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

log = logging.getLogger("memorygate")

SERVICE_VERSION = "0.7.0"
SERVICE_VERSION = "0.8.0"

app = FastAPI(title="MemoryGate", version=SERVICE_VERSION)

Expand Down
Loading