Repository navigation
Tell old self-hosted servers to upgrade instead of deleting files by hand - #13
Conversation
…hand forget_session answered a bare 404/405 by telling the user to remove Markdown files under ~/.everos/ on the server. Self-hosted EverOS 1.6.0 adds POST /api/v2/memory/delete, which forget_session already calls, so the reply now says to upgrade the server to 1.6.0 or later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gloryfromca
left a comment
There was a problem hiding this comment.
Blocking: the upgrade instruction names a release that does not contain the delete endpoint.
I found one user-visible versioning error, marked inline. The fallback behavior and error-envelope distinction otherwise remain intact, and the focused test change does not weaken unrelated coverage.
Covered: the full origin/main...HEAD diff; surrounding forget_session, Conversation.delete_all, HTTP error mapping, and delete client call; relevant file and upstream EverOS release history; backward compatibility of the 404/405 fallback; test-strength changes; and architecture impact (none—the change stays in the existing response path). No AGENTS.md, CLAUDE.md, or CONTEXT*.md files are present in this worktree.
Checks: uv run ruff check . passed; uv run pytest -q passed (93 tests); the minimum-MCP isolated suite passed (93 tests, one third-party Pydantic warning); git diff --check passed.
EverOS 1.6.0's changelog section predates the delete endpoint, which is still under Unreleased, and no 1.6.x has been published, so the release that ships it is not yet known. Tell the user to upgrade to a release that includes POST /api/v2/memory/delete instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gloryfromca
left a comment
There was a problem hiding this comment.
No blockers; this can merge as far as I am concerned.
The revision removes the unsupported 1.6.0 claim and directs old self-hosted servers to a release containing the exact delete endpoint. The existing bare-404/405 fallback, enveloped-error behavior, and architecture remain unchanged. The test now pins the actionable endpoint name and the “Nothing was deleted” safety statement; it was not weakened to pass.
Covered this round: the delta from the reviewed head, the full origin/main...HEAD diff, surrounding delete/error callers, backward compatibility, test strength, relevant release history, and architecture impact. Project guidance remains absent from this worktree.
Checks: uv run ruff check . passed; uv run pytest -q passed (93 tests); the minimum-MCP isolated suite passed (93 tests, one third-party Pydantic warning); git diff --check passed. The earlier thread is resolved.
What
forget_sessionanswers a bare 404/405 from the delete route (the route is missing) with a reply the model relays to the user. That reply said self-hosted servers cannot delete through the API and told the user to remove Markdown files under~/.everos/by hand.Self-hosted EverOS is gaining
POST /api/v2/memory/delete(EverOS#483), the same routeforget_sessionalready calls; it is merged on EverOSmainunder Unreleased. The reply now says the server is too old, names that endpoint, and tells the user to upgrade to a release that includes it, then callforget_sessionagain. It names no version: the release that ships the endpoint is not assigned yet. Removing the files by hand is no longer suggested.No behaviour change otherwise: the 404/405 detection and the enveloped not-found path are untouched, and 0.1.1 already deletes against a server that has the endpoint.
Checks
uv run ruff check .,uv run ruff format --check .: clean.uv run pytest -q: 93 passed.server.pyfrommain).🤖 Generated with Claude Code