omk 0.5.0

A Rust runtime for Kimi CLI. Turns prompts into proof-backed engineering runs with gates, worktrees, and replay.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# kimi_native — Agent Guide

## Editing Rules

1. **Install is append-only by default.** `install_project_assets` and
   `install_user_assets` create backups before overwriting existing files.
   Backups are named `<file>.omk-backup.<timestamp>`.
2. **Manifest is the source of truth.** `KimiNativeManifest` tracks ownership
   of installed files. Do not mutate `.kimi/` contents without updating the
   manifest and emitting an `asset_changed` event.
3. **No destructive ops without confirmation.** `--force` is required to delete
   existing user modifications. Default behavior refuses destructive changes.
4. **Assets are versioned.** The manifest records `schema_version`. Migration
   logic lives in `migrate.rs` and must handle one-version-at-a-time upgrades.
5. **Test through temp dirs.** Integration tests use `tempfile::TempDir` as the
   project root. All assertions verify both filesystem state and manifest state.