ochakai 0.10.3
Knowledge gains an address change (design doc 0021, #93): move rewrites an entry's id everywhere it is recorded, in one transaction — the follow-through on design doc 0017, which made the path the address and left renaming it unanswered.
Move (design doc 0021)
Because the id is the address (0017), moving it cannot be an update to one column. POST /api/v1/move rewrites every place the id is recorded, in a single transaction:
- The entry travels whole. Body, revision history, attachments (metadata and bytes), usage records, and embeddings follow the new id. History reads back under the entry's one address: a
moverevision is appended, and the old id is gone — aGETon it is a 404. - Inbound references are rewritten, each keeping the spelling it was written in:
links[].targetin both the bare andochakai://forms, andattrs.model. Referrers get anupdaterevision, so the rewrite is visible in their history rather than silently applied. - The destination must be free. A live or soft-deleted entry at the target id is a 409; a missing source is a 404.
ochakai move <from> <to>in the CLI; a Move action and tree drag-and-drop in the Web UI.
Not on the agent surface. move is absent from MCP tools/list by the agent-surface policy in 0021 — reorganizing the knowledge base is a human editorial act, not something an agent should reach for mid-conversation.
Scope note: the rewrite covers links[].target and attrs.model. An ochakai:// reference written inline in body prose is content, not a link, and stays as written.
Web UI
- Directory rows carry a + that opens the new-entry form with the id prefixed to that directory.
- Sidebar rows compress to title plus a status dot; ☰ toggles the sidebar and the choice persists.
- Search filters become a horizontal chip bar, and search cards drop their meta row.
- Breadcrumbs read
/ <id>; Review loses its redundant Refresh; button-style links no longer underline on hover.
Container image
docker pull ghcr.io/na0fu3y/ochakai:0.10.3
gh attestation verify oci://ghcr.io/na0fu3y/ochakai:0.10.3 -R na0fu3y/ochakai