akm docs

Migration notes for akm v0.6.0

This release ships the v1 architecture refactor on top of the earlier 0.6 terminology cut (kit → stash in the registry wire format). The CLI command surface is unchanged. Most users have nothing to do.

Workflows: schema-driven indexing

Workflows are now compiled into a validated WorkflowDocument JSON shape with line-anchored SourceRefs back into the source markdown, cached in a new workflow_documents table in index.db. akm workflow next reads from the cache instead of re-parsing markdown each step.

A new akm workflow validate <ref|path> subcommand surfaces every error in one pass (without running a full reindex), formatted as path:line — message.

DB_VERSION is bumped 8 → 9 to introduce the table; first run after upgrade drops + recreates all index.db tables (preserving usage_events). The next akm index rebuilds. Run-state in workflow.db is untouched.

Feedback expanded to any indexed ref

akm feedback <ref> now accepts any indexed ref — memory:, vault:, workflow:, wiki: etc. The ref must be present in the local index. Vault feedback never echoes vault values. Telemetry persists both entry_ref and entry_id so signals survive a reindex, and feedback events now feed into utility recomputation alongside search/show signals.

Locked v1 decisions:

Manual actions required:

Automatic (no action required):

What changed under the hood (no user impact):

Earlier-in-cycle terminology cut (still applies):

CLI command surface (unchanged in 0.6.0): add | remove | list | update | search | show | clone | index | setup | remember | import | feedback | registry * | info | curate | workflow | vault | wiki | enable | disable | completions | upgrade | save | help | hints

Full migration guides: