Skip to content

ochakai 0.10.3

Choose a tag to compare

@na0fu3y na0fu3y released this 20 Jul 10:37
Immutable release. Only release title and notes can be modified.
048e2b2

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 move revision is appended, and the old id is gone — a GET on it is a 404.
  • Inbound references are rewritten, each keeping the spelling it was written in: links[].target in both the bare and ochakai:// forms, and attrs.model. Referrers get an update revision, 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