kith-coord 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.9 — 2026-11-16
4
+
5
+ - Hook messages sent back to the model are capped at 2,000 characters. That includes notices, warnings, shared-checkout refusals, and revert warnings, both before and after a tool call. The text is cut on a line boundary. The ready-to-run `kith commit` line in a refusal or revert is kept whole; other text is dropped first so the total stays within 2,000 whenever that line fits. A command longer than the budget is returned intact rather than cut into a command that would not run. The shorter conflict footer from 0.1.8 stays separately bounded and counts toward that total.
6
+ - False conflicts from temporary-index commits are pruned. A stored conflict is dropped when one side is already the current commit, when both sides are the same content, or when the recorded changes merge cleanly. Cleanup runs when HEAD changes, including after `kith commit`, and is cached so a later status read does not re-check every conflict. Probe files are created outside the repository and removed immediately. A real overlap stays reported, including between Claude Code subagents that share a process. A missing process id is not treated as the same agent.
7
+ - Temporary-index commits are allowed in a shared checkout and in your own worktree while other agents are active, under the new firewall rules. In a shared checkout, `git update-ref` of `HEAD` or the branch checked out there is allowed only as a compare-and-swap of exactly one commit, and only when every changed file is one you have claimed, locked, or recorded the way `kith commit` records files. Literal commit ids are checked before the command runs. When that same command uses shell variables or a command substitution, Kith does not run them ahead of time: after the commit lands it checks the result and moves the ref back if a path belongs to another agent, the commit is a merge, or it jumps more than one commit. In your own worktree, the same commit is allowed on `HEAD` or your own branch while a peer is active elsewhere. Updates to the integration branch, another agent's branch, or a `HEAD` move in a shared checkout that does not meet those rules stay blocked, as do deleting a ref you do not own, `--stdin` batches, and ref commands Kith cannot classify. `symbolic-ref` stays blocked except for a read or for pointing your own `HEAD` at your own branch. A refusal names the reason and includes `kith commit -m "<message>" <recorded files>` when you have recorded files.
8
+ - `kith doctor` detects hooks and client entries pinned to a stale runtime. It fails when a Claude hook config, Cursor `hooks.json`, Codex config, Claude Desktop config, or another client MCP entry points at a different Kith than the CLI you just ran, and the failure tells you to run `kith install`. A hook whose retained runtime is older than the `kith` binary on `PATH` says so once per process.
9
+ - `kith install` prunes old runtimes. It deletes retained copies under `~/.local/share/kith/runtimes/` that no live hook, MCP entry, or login agent still names, and keeps a runtime any of those configs still point at. A damaged selected runtime is still refused rather than overwritten.
10
+ - After upgrading, run `kith install` so hooks and client entries use this runtime. Protocol stays 1.6.0. The storage schema stays 3. There is no database migration. Stop existing Kith connections first, and upgrade every coordinator that shares a repository together.
11
+
12
+ ## 0.1.8 — 2026-11-15
13
+
14
+ - Handoffs. Coordination state used to lose everything an agent learned when its session ended: claims were released and the task requeued as if untouched. `kith_write_handoff` (and `kith handoff write`) leaves a note with what is done, what remains, what failed and what was learned, plus the files changed from Git and a pointer to the full transcript; `releaseTask` hands the task back to the queue. Kith records an `abandoned` note itself when a session dies or disconnects mid-task (claimed files, last failed integration, quarantined changes) and a completion note when none was written. `kith_begin_work` and `kith_claim_next_task` return relevant notes by task and exact scope overlap, `kith_get_status` lists open ones, `kith_read_handoffs` returns full text, and siblings see new notes in their live delta. Notes are labelled untrusted, stripped of control characters and bounded. A note is superseded only by a later completion that exists. Abandoned notes point at the branch, and its worktree when that still exists.
15
+ - `kith brief` and `kith_brief`: a read-only summary of who is active on what, claims that overlap a scope, queued work, open handoff notes and conflicts. It needs no session, reads a private snapshot (creates no state, migrates nothing), never fails its caller, and is silent with `--quiet` when there is nothing to report. `kith init --only brief` adds a Claude Code `SessionStart` hook that runs it. Queued tasks untouched for two weeks, with no open note, are counted rather than listed. Exited auto-sessions leave the brief immediately; entries show activity age.
16
+ - Workflow mode. `kith mode main` (or `kith init --mode main`) makes a repository work in the main checkout: no worktrees are created, `isolateWorktree` is ignored with a note, and completing work releases claims. Generated guidance describes the recorded mode. `worktrees` stays the default. `kith_begin_work`, `kith_claim_next_task` and status report `workflowMode`. `kith mode`, `kith status --human` and `kith doctor --human` say whether `worktrees` is the unpinned default or an explicit choice. Interactive `kith init` asks for the mode when `--mode` is omitted.
17
+ - Hooks govern only sessions that joined. A process with no Kith identity no longer has its tool calls and `git commit` rejected: `kith hook pre|post|pre-commit` allows immediately, prints nothing, and never opens the coordination database. A named agent without a valid capability is still refused; `--require-session` or `KITH_REQUIRE_SESSION=1` restores fail-closed hooks. Generated guidance is replaced only while its digest still matches what Kith wrote; hand-edited blocks are kept, and `--refresh-guidance` opts in to replacing them. `kith setup` does not refresh guidance. Doctor reports a shell with no session as not participating, and a removed worktree of an ended session as retired history.
18
+ - Integration no longer requires a clean target. Preview and integration refuse only when the target has uncommitted or untracked changes to a file the merge itself changes, name those files, and leave unrelated local work untouched.
19
+ - Git-ignored paths are no longer locked or reported as conflicts, and conflicts or claims already recorded on them are cleared on the next reap. A hook session whose saved capability was lost, but whose owning process is still the caller, re-registers instead of failing with `Auto-session capability conflict`. Registering through MCP binds that capability to the parent client's auto-session and transfers its file locks. Auto-sessions stay alive across turns and long commands while the operating-system process lives. `kith session clear [<agent-id|session-key>] [--conflicts]` releases a stuck auto-session by hand.
20
+ - `kith commit -m "<msg>" [files...]` (and `commitMessage`/`commitFiles` on finish) commits only the caller session's recorded or specified files through a temporary Git index and a compare-and-swap `git update-ref`, then syncs those paths in `.git/index`. A commit made that way is not reported as a conflict against a stale main snapshot: untouched shadow-index files follow HEAD, and a side equal to HEAD is discarded. Quarantine checks skip read-only commands and concurrent edits to files another live agent holds, unless the command targeted that file for write.
21
+ - Conflict notices in the hook footer list only conflicts on files the agent edited or locks, plus a count of the rest, and only when that notice changed. The footer stays under about 1,500 characters. Conflicts held by sessions idle for over an hour, or past their lease, are dropped when dead agents are reaped.
22
+ - `kith install [workspace]` configures global MCP with the compact tool profile by default, installs silent-solo `--auto` hooks for Claude Code and Cursor, and on macOS registers a login LaunchAgent (`dev.kith.radar`) when the menu-bar helper is present. `--no-radar` and `--no-autostart` skip that login item. `kith setup` remains a compatible alias and also opens read-only Radar on macOS. `kith uninstall` removes the LaunchAgent, global hooks, global MCP entries, retained runtimes and launcher symlinks. `--auto` hooks stay zero-write for an uninitialised or single-writer repository and open coordination only when concurrent activity overlaps. Repeat setup keeps the existing Radar workspace. Linux and Windows do not launch the menu-bar view.
23
+ - `kith mcp --compact` exposes the shorter tool profile; `--full` keeps the complete surface. `kith run`, `kith gc`, `kith task done`, `kith task clear` and `kith watch` cover everyday supervision. `kith gc` compacts idle repositories and preserves active sessions, open handoffs, dirty worktrees and unmerged branches. A parent directory of several Git repositories is handled per checkout, with a presence key per repository. The index is resynced after `update-ref`. Recent session files are kept across turns. External IDE presence scanning stays behind `kith watch --include-presence`.
24
+ - The editor adds `kith.mcp.profile` (compact by default), a read-only background-hooks line, and **Kith: Install Global Hooks & Autostart** in a trusted workspace. The VSIX does not bundle the macOS menu-bar helper; Radar login autostart still needs `kith install` from the package.
25
+ - Reduce repeated MCP discovery instructions while preserving repository, capability and retry boundaries. Owned replies add `session.leaseExpiresAt` (Unix milliseconds) for the existing lease. Guidance uses direct begin/claim, an idle-only heartbeat, automatic edit publication and a single integration verification. Default status omits successful integration logs and reports `completedIntegrationCount`; `includeHistory:true` restores them. Failed and current integration diagnostics stay visible. No background renewal and no event suppression.
26
+ - Advance the additive protocol to 1.6. New optional tools are `kith_write_handoff`, `kith_read_handoffs` and `kith_brief`. Additive result fields include handoffs, `workflowMode`, `session.leaseExpiresAt` and `completedIntegrationCount`. The full tool snapshot has 17 tools. The storage schema stays 3. Opening the database creates an optional `handoffs` table; older binaries ignore it and keep working. There is no schema-version migration. `node:sqlite` loads on first use, so pass-through hooks and `kith help` do not print Node's experimental-feature notice.
27
+
3
28
  ## 0.1.7 — 2026-10-24
4
29
 
5
30
  - Retain the bundled setup runtime outside temporary npx caches, verify MCP discovery, and preserve existing client settings, custom launchers and original-byte recovery backups. Clarify actual tasks, claims, resource waits and verification results in the read-only coordination view.
@@ -115,7 +140,7 @@
115
140
  - Add an opt-in native Codex/Claude runner checking real editor/MCP workflows and resulting repository state, with redacted reports and bounded runs.
116
141
  - Add manually dispatched CI, retained JUnit evidence and installed-package/two-client demo validation across Linux/macOS and Node 22.13/22/24.
117
142
 
118
- ## Unreleased
143
+ ### Notes later released in 0.1.7
119
144
 
120
145
  - One-command setup retains a self-contained runtime outside transient npx caches, checks MCP discovery and installs marked project guidance alongside detected client configuration. Repeat/interrupted setup retains recovery material and existing custom launchers; older live project schemas require the stopped-upgrade procedure.
121
146
  - Read-only menu and editor views show current recorded tasks/claims, resource waits and failed integrations with next steps. Saved work and review paths move into details; the default menu omits file timestamps. Missing/partial state stays explicit. No new coordination database, model calls or automatic cleanup.
package/CONTRIBUTING.md CHANGED
@@ -44,4 +44,10 @@ The public entrypoint is `src/index.ts`. `KithEngine` assembles storage, agent l
44
44
 
45
45
  `pnpm test:package` builds and packs the distribution, installs it in an empty consumer project, and checks the CLI, packaged supervised worker, and library API. It needs registry access for runtime dependencies.
46
46
 
47
- Native client checks are opt-in: see [client validation](docs/client-validation.md). They require installed authenticated clients and consume model usage. CI uses no model credentials. Establish monitored security contacts before public launch or configuring a release workflow.
47
+ Native client checks are opt-in: see [client validation](docs/client-validation.md). They require installed authenticated clients and consume model usage. CI uses no model credentials.
48
+
49
+ ## Releasing
50
+
51
+ Publish by pushing a `vX.Y.Z` tag after the release commit is on `main`. The release workflow checks that the tag, `package.json`, `src/version.ts`, and `server.json` agree, runs the same Linux, macOS, and Windows checks as pull requests, then publishes. It uses npm trusted publishing, so there is no `NPM_TOKEN`. The one-time npmjs.com values, the GitHub `release` environment, and the optional editor-marketplace secrets are in [RELEASING.md](RELEASING.md).
52
+
53
+ Run `pnpm release:check` before tagging. Report security issues through [private vulnerability reporting](https://github.com/connorhriley/kith/security/advisories/new), as described in [SECURITY.md](SECURITY.md).
package/README.md CHANGED
@@ -29,6 +29,9 @@ Kith gives cooperating agents shared local state: who owns a task, which files a
29
29
  | Give agents separate working files | Git worktrees with an explicit integration step |
30
30
  | Check work before integration | Your project's verification command |
31
31
  | Share local tools | Port reservations and supervised command mutexes |
32
+ | Know what is going on before you start | `kith brief`: who is active on what, overlapping claims, open handoffs and conflicts. Read-only, no session needed |
33
+ | Work the way you do | Worktree isolation, or one shared checkout with scope claims (`kith mode main`) |
34
+ | Keep what an agent learned | Handoff notes that survive a session boundary and reach whoever works the same scope next |
32
35
  | See what is happening | Session/task state through CLI/MCP; optional read-only editor and worktree views |
33
36
 
34
37
  Kith fits workflows where you already launch multiple coding agents and want them to coordinate. It does not choose models, write prompts, or launch a fleet for you. Worktrees separate files; Kith adds shared ownership and resource coordination.
@@ -41,22 +44,22 @@ Requires **Git 2.38+** and **Node.js 22.13+ on 22.x or Node.js 24+**. Full workf
41
44
 
42
45
  Git recording and integration require a commit identity configured for the repository (`user.name` and `user.email`). Kith does not change your global Git identity.
43
46
 
44
- **Upgrading to 0.1.6:** Stop existing Kith connections first. Back up stopped coordination state (including SQLite sidecars) and retain worktrees; upgrade all coordinators sharing a repository together. This release migrates storage schema 2 to 3, which older binaries refuse. Existing custom launchers are preserved; review their pinned version before reconnecting. See [recovery guidance](docs/reliability.md#recovery).
47
+ **Upgrading to 0.1.9:** Stop existing Kith connections first. Back up stopped coordination state (including SQLite sidecars) and retain worktrees; upgrade all coordinators sharing a repository together. The storage schema stays 3 and the protocol stays 1.6.0. Databases already on schema 3 open without a version migration. The first open on 0.1.8 or later creates an optional `handoffs` table; binaries from 0.1.6 and 0.1.7 ignore that table and keep working, but they do not read or write handoff notes. An upgrade from schema 2 still applies the 0.1.6 migration to schema 3, which older binaries refuse. After upgrading, run `kith install` so hooks and client entries use this runtime. `kith doctor` reports a hook or MCP entry still pinned to an older runtime. Existing custom launchers are preserved; review their pinned version before reconnecting. On macOS, `kith install` and `kith setup` register a login LaunchAgent unless `--no-autostart` or `--no-radar` is passed. See [recovery guidance](docs/reliability.md#recovery).
45
48
 
46
49
  ### VS Code or Cursor
47
50
 
48
51
  Install **Kith** (`kith-coord.kith`) from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=kith-coord.kith) or [Cursor / Open VSX](https://open-vsx.org/extension/kith-coord/kith). You can also search for `kith-coord.kith` in the editor's Extensions view.
49
52
 
50
- To select release **0.1.7** explicitly with an editor CLI already on your `PATH`:
53
+ To select release **0.1.9** explicitly with an editor CLI already on your `PATH`:
51
54
 
52
55
  ```sh
53
- code --install-extension kith-coord.kith@0.1.7
54
- cursor --install-extension kith-coord.kith@0.1.7
56
+ code --install-extension kith-coord.kith@0.1.9
57
+ cursor --install-extension kith-coord.kith@0.1.9
55
58
  ```
56
59
 
57
- Use the command for your editor. A marketplace lookup can temporarily select an older version; the [extension guide](extensions/editor/README.md#install) also links the published 0.1.7 VSIX.
60
+ Use the command for your editor. A marketplace lookup can temporarily select an older version; the [extension guide](extensions/editor/README.md#install) also links the published 0.1.9 VSIX.
58
61
 
59
- Open a trusted local Git checkout and approve Kith's MCP server through the editor. The extension bundles the coordination server, detects Node, and preserves existing MCP entries, hooks and tool permissions. **No global npm install is needed.** Each agent still needs to use Kith's tools; installing the extension does not enforce claims on other writers.
62
+ Open a trusted local Git checkout and approve Kith's MCP server through the editor. The extension bundles the coordination server, detects Node, and preserves existing MCP entries, hooks and tool permissions. **No global npm install is needed.** It registers the compact tool profile (`kith.mcp.profile`, `compact` by default, or `full`), shows a read-only global hook status note in Output, and adds **Kith: Install Global Hooks & Autostart** (`kith.installGlobal`). The bundled extension does not include the macOS menu-bar helper; run `kith install` from the CLI on macOS for Radar login autostart. Each agent still needs to use Kith's tools; installing the extension alone does not enforce claims on other writers.
60
63
 
61
64
  Start with a scoped task:
62
65
 
@@ -70,17 +73,24 @@ The [extension guide](extensions/editor/README.md) covers settings and existing
70
73
 
71
74
  ### CLI and other MCP clients
72
75
 
73
- One command from your Git checkout configures supported detected clients and adds project instructions:
76
+ Configure detected clients and add project instructions with:
74
77
 
75
78
  ```sh
76
- npx --yes --package kith-coord@0.1.7 kith setup
79
+ npx --yes --package kith-coord@0.1.9 kith setup
77
80
  ```
78
81
 
79
- Durable setup starts with **0.1.7**. Earlier versions need a persistent global npm installation before setup. [Client setup](docs/integrations.md#configure-detected-local-clients) covers configuration scope and advanced options.
82
+ **`kith install`** is the one-command onboarding path. `kith setup` remains a compatible alias:
80
83
 
81
- Setup retains an exact self-contained runtime outside npx's cache, checks its MCP discovery, and backs up changes before writing them. Existing custom Kith launchers, peer servers, hooks and permissions are preserved. From outside a Git checkout it configures global connections; pass a project path to add that project's guidance. Reconnect the client and approve its MCP server through the client's normal controls.
84
+ - Configures global MCP servers with the concise **`--compact`** tool profile by default (`kith mcp --compact`, or `--full` for the complete surface).
85
+ - Installs global silent-solo `--auto` hooks for **Claude Code** (`~/.claude/settings.json`) and **Cursor** (`~/.cursor/hooks.json`). Solo work stays zero-write (`Watching only`); when concurrent activity overlaps, hooks auto-join Kith and isolate writers into worktrees or leases.
86
+ - On **macOS**, installs and starts a login `LaunchAgent` (`dev.kith.radar`) for background menu-bar Radar, and opens the read-only view. `--no-autostart` or `--no-radar` skips the login item. Repeat setup keeps the existing workspace.
87
+ - **`kith uninstall`** removes the macOS `LaunchAgent`, global Kith hooks, global MCP entries, retained runtimes and launcher symlinks.
82
88
 
83
- Ask your agent to do the task using Kith. The view says **Watching only** until a task is actually recorded. A configured server is not a running task. `kith setup --dry-run` previews without writes; `kith doctor /absolute/checkout` diagnoses configuration.
89
+ Note the platform and client boundaries: **Codex CLI** does not expose native pre/post tool hooks, so it coordinates through `--compact` MCP tools and Radar/watcher observations rather than automatic hook interception. **Linux and Windows** skip macOS menu-bar autostart and use `kith watch` for passive supervision.
90
+
91
+ Durable setup starts with **0.1.7** (retaining an exact self-contained runtime outside npx's cache, verifying MCP discovery, and backing up modified files). Existing custom Kith launchers, peer servers, hooks and permissions are preserved. Reconnect the client and approve its MCP server through the client's normal controls.
92
+
93
+ Day to day, run `kith` (a read-only status overview in a terminal), `kith status`, `kith brief`, `kith run`, `kith gc`, `kith doctor [path]`, or `kith help --all`. The view says **Watching only** until a task or concurrent overlap is recorded. `kith install --dry-run` and `kith setup --dry-run` preview without writes.
84
94
 
85
95
  For source installation and the disposable demo, use the pinned **pnpm 10.20.0**:
86
96
 
@@ -115,19 +125,21 @@ The implementation is in [examples/two-agents.mjs](examples/two-agents.mjs). Thi
115
125
 
116
126
  ### Client support
117
127
 
118
- The editor extension bundles the server and offers it through native MCP registration; no global npm install is needed. Installing an extension or writing configuration does not enforce claims on writers that do not use Kith. Existing custom Kith entries retain precedence.
128
+ The editor extension bundles the server and offers it through native MCP registration; no global npm install is needed. Installing an extension or writing MCP configuration alone does not enforce claims on writers that do not call Kith tools unless global `--auto` hooks are installed for that client. Existing custom Kith entries retain precedence.
119
129
 
120
- | Client | Setup and validation |
130
+ | Client | Setup and behavior |
121
131
  | --- | --- |
122
- | VS Code / Cursor | One-click marketplace extension; native MCP controls retain approval and trust |
123
- | Claude Code / Claude Desktop / Codex | Detected client configuration through `kith setup` |
124
- | Other MCP clients | stdio server via `kith mcp`; client-specific validation required |
132
+ | VS Code / Cursor | Marketplace extension with `kith.mcp.profile` set to `compact` by default; **Kith: Install Global Hooks & Autostart** runs `kith install` |
133
+ | Claude Code and Cursor | Detected client configuration through `kith install` or `kith setup`; silent-solo `--auto` hooks join when work overlaps |
134
+ | Codex CLI | Detected global MCP configuration (`--compact` by default). Codex CLI has no native tool hooks, so coordination uses MCP tools and Radar or `kith watch` |
135
+ | Claude Desktop | Detected MCP configuration via `kith install` / `kith setup` |
136
+ | Other MCP clients | stdio server via `kith mcp` (`--compact` or `--full`); client-specific validation required |
125
137
 
126
138
  Native evidence is version-specific. See [client validation](docs/client-validation.md), [advanced integration setup](docs/integrations.md) and [session ownership](docs/sessions-and-mutexes.md). The npm package is **`kith-coord`** and the command is **`kith`**; the unrelated npm package `kith` is not this project.
127
139
 
128
140
  ## Dev servers and shared config
129
141
 
130
- In version 0.1.4, `kith dev` runs a server with its allocated `PORT` and supports explicit `{port}` arguments. File claims also accept an optional bounded wait:
142
+ `kith dev` runs a server with its allocated `PORT` and supports explicit `{port}` arguments. File claims also accept an optional bounded wait:
131
143
 
132
144
  ```sh
133
145
  kith dev --agent web-a -- npm run dev -- --port '{port}'
@@ -137,7 +149,11 @@ kith lock acquire --agent worker-1 --scope package.json --wait --wait-ms 30000
137
149
 
138
150
  See [dev-server launch and waiting claims](docs/usage.md#launch-a-dev-server-on-its-allocated-port) for framework flags, session setup, cancellation, and MCP usage.
139
151
 
140
- ## Optional read-only monitoring
152
+ ## Read-only Radar
153
+
154
+ From 0.1.8, macOS `kith install` and `kith setup` load a `LaunchAgent` (`dev.kith.radar`) so menu-bar Radar runs in the background and restarts across logins for the selected checkout or workspace. It uses the retained installation, so clearing the npx cache does not break it. Repeat runs keep an existing Radar workspace selected. Use **Switch Workspace** in its menu to change it.
155
+
156
+ `kith install --no-autostart` (or `--no-radar`) configures MCP and hooks without loading the macOS login agent (useful on headless machines); `--dry-run` never writes or launches anything. Linux and Windows skip the macOS menu-bar app and `LaunchAgent`, using `kith watch` for passive monitoring instead (external IDE `presence.db` discovery is opt-in via `--include-presence`). Remove the login item anytime with `kith uninstall`, or inspect manually with:
141
157
 
142
158
  ```sh
143
159
  kith watch /path/to/workspace --once --json
@@ -150,10 +166,12 @@ The menu and editor lead with recorded tasks, current file claims, shared-resour
150
166
 
151
167
  ## How a task moves through Kith
152
168
 
169
+ 0. **Look first.** `kith brief` (or `kith_brief`) shows who is active on what, claims that overlap your scope, open handoffs and conflicts. It is read-only and needs no session.
153
170
  1. **Begin through MCP.** Call `kith_begin_work` with a unique `agentId`, explicit `scopeGlobs`, and `isolateWorktree: true`. The connection retains session ownership; no shell exports are needed for this MCP-only workflow.
154
171
  2. **Claim a scope.** Cooperating clients receive a conflict when an exclusive claim overlaps another claim.
155
172
  3. **Do the work.** Edit the returned `worktree.worktreePath`, report edits with `kith_record_file_edit`, and use `kith_run_with_mutex` for serialized commands. Heartbeat before expiry and keep the owning connection open.
156
- 4. **Verify and complete.** For a worktree, Kith checkpoints changes and integrates through a separate staging worktree. The target must be clean. Supply a verification command to check more than Git mergeability.
173
+ 4. **Leave a handoff.** When you finish, get blocked or must stop, call `kith_write_handoff` with what is done, what remains, what failed and what you learned. `releaseTask` hands the task back to the queue. If a session ends without a note, Kith records what it observed. The next agent on the same scope receives these notes from `kith_begin_work` or `kith_claim_next_task`, labelled as untrusted information to verify.
174
+ 5. **Verify and complete.** For a worktree, Kith checkpoints changes and integrates through a separate staging worktree. The target may hold unrelated uncommitted work, but not edits to files the integration changes. Supply a verification command to check more than Git mergeability.
157
175
 
158
176
  Failed verification leaves the target unchanged and keeps the worktree for repair. Successful integration also retains the worktree until explicit cleanup. External Git writers must still coordinate.
159
177
 
package/bin/kith-menubar CHANGED
Binary file