kith-coord 0.1.6 → 0.1.8

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.8 — 2026-11-15
4
+
5
+ - 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.
6
+ - `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.
7
+ - 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.
8
+ - 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.
9
+ - 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.
10
+ - 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.
11
+ - `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.
12
+ - 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.
13
+ - `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.
14
+ - `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`.
15
+ - 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.
16
+ - 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.
17
+ - 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.
18
+
19
+ ## 0.1.7 — 2026-10-24
20
+
21
+ - 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.
22
+ - Serialize MCP text replies as lossless compact JSON, retaining structured data, literal command output, warnings, capabilities and retry/recovery fields. No summarizer, extra calls or dependencies.
23
+ - Compact contract metadata without inferring read relevance from write scopes. Preserve all breaking contracts and linked exports, retain per-consumer alert relationships and lock lease records, and expose full history with optional `includeHistory` (protocol 1.5). Ordinary preview omissions are explicit and point to the existing full-registry call.
24
+ - Validate repository, branch, ownership, cleanliness and base before reusing a task worktree. Roll back queue/claim mutations when handoff fails; never remove partial or unfinished directories.
25
+ - Bound advisory cross-repository inspection, require tracked files in a distinct Git repository, omit source initializers, resolve concrete wildcard imports, and report partial/unavailable observations without failing successful claims. Unsupported inherited configuration and re-exports defer to normal project verification.
26
+ - Reject stale workspace scans, generate task prompts for selected Git checkouts, and retain only user-selected recent workspaces. Remove personal workspace defaults and automatic home-directory crawling. No new dependency or storage migration.
27
+
3
28
  ## 0.1.6 — 2026-10-23
4
29
 
5
30
  - Add optional MCP operation keys with a capability-bound durable result journal in the existing database. Lost replies replay without repeating mutations; concurrent duplicates report in-progress, and interrupted/unrecorded outcomes refuse automatic re-execution. Historical replies never revive expired/completed sessions or authorize a replacement generation.
@@ -106,7 +131,11 @@
106
131
  - Add an opt-in native Codex/Claude runner checking real editor/MCP workflows and resulting repository state, with redacted reports and bounded runs.
107
132
  - Add manually dispatched CI, retained JUnit evidence and installed-package/two-client demo validation across Linux/macOS and Node 22.13/22/24.
108
133
 
109
- ## Unreleased
134
+ ### Notes later released in 0.1.7
135
+
136
+ - 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.
137
+ - 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.
138
+
110
139
 
111
140
  ### Session ownership, supervision, and client validation
112
141
 
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.8:** 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. Databases already on schema 3 open without a version migration. The first open with 0.1.8 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. Hooks no longer block a process that has not joined a session, and integration refuses only dirty files the merge itself changes. 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.6** explicitly with an editor CLI already on your `PATH`:
53
+ To select release **0.1.8** explicitly with an editor CLI already on your `PATH`:
51
54
 
52
55
  ```sh
53
- code --install-extension kith-coord.kith@0.1.6
54
- cursor --install-extension kith-coord.kith@0.1.6
56
+ code --install-extension kith-coord.kith@0.1.8
57
+ cursor --install-extension kith-coord.kith@0.1.8
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.6 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.8 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,24 +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
- Install the release:
76
+ Published **0.1.7** configures detected clients and adds project instructions with:
74
77
 
75
78
  ```sh
76
- npm install --global kith-coord@0.1.6
79
+ npx --yes --package kith-coord@0.1.8 kith setup
77
80
  ```
78
81
 
79
- Choose the setup scope your client needs:
82
+ **`kith install`** is the one-command onboarding path. `kith setup` remains a compatible alias:
80
83
 
81
- - **Global desktop/CLI connection:** run `kith setup --dry-run`, then `kith setup`. Restart/reconnect the configured client. A desktop agent supplies the absolute Git `repository` on each tool call; no whole-Mac ownership database is created.
82
- - **Project configuration and agent instructions:** run the following inside the checkout. This is the default for project-scoped clients. Existing global connections need not be registered again; use `kith init --only agents` when only project guidance is needed.
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.
83
88
 
84
- ```sh
85
- cd /path/to/your/project
86
- kith init --dry-run
87
- kith init
88
- ```
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.
89
90
 
90
- Setup preserves peer configurations, hooks and permissions. A written configuration is not a confirmed connection: check Kith's server status in the client, then ask it to begin an isolated task. `kith doctor /absolute/checkout` checks global and project launcher files without starting clients or creating project state. See [client setup](docs/integrations.md#configure-detected-local-clients).
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.
91
94
 
92
95
  For source installation and the disposable demo, use the pinned **pnpm 10.20.0**:
93
96
 
@@ -120,29 +123,23 @@ Two real MCP clients completed work in separate worktrees. Disposable example pa
120
123
 
121
124
  The implementation is in [examples/two-agents.mjs](examples/two-agents.mjs). This demonstrates the coordination protocol; [native-client validation](docs/client-validation.md) separately exercises installed coding clients.
122
125
 
123
- ### Connect your client
124
-
125
- After the npm quick start above, restart your coding client in that project and approve its Kith MCP connection. Generated configuration uses the installed `kith` executable; no source checkout or `pnpm link` is needed. Review and commit the generated files before asking agents to integrate work.
126
+ ### Client support
126
127
 
127
- Default setup installs MCP configuration for Claude, Codex and Cursor plus agent instructions, without adding hooks or package-manager shims. Review and commit the generated configuration before starting work; integration requires a clean target checkout. Restart your client with `kith` on its `PATH`. To select clients, use `--mcp-only --only claude,codex,agents`. Existing hooks are preserved; review warnings if they require an inherited session. See [hook setup](docs/integrations.md) if you need them.
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.
128
129
 
129
- | Client | Setup and validation |
130
+ | Client | Setup and behavior |
130
131
  | --- | --- |
131
- | VS Code | Marketplace extension; signed-in Copilot parallel task completed on VS Code 1.143.0 |
132
- | Cursor | Marketplace extension and native MCP registration checked on 3.24.18; signed-in task's final retry pending after client usage limit; native CLI workflow separately validated |
133
- | Claude Code | MCP; optional edit hooks need shared session setup; recorded native CLI runs |
134
- | Codex | Project MCP configuration; recorded native CLI runs with configuration overrides |
135
- | 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 |
136
137
 
137
- The [editor extension](extensions/editor/README.md) offers a bundled MCP server and a small read-only status indicator. Existing custom Kith entries take precedence, so review their launcher if a connection fails. The editor retains control of server approval and tool permissions.
138
-
139
- Native checks are version-specific; the recorded GUI task used published extension 0.1.4. Later client or extension releases need their own checks. See [integration setup](docs/integrations.md), [recorded validation](docs/client-validation.md), and [session ownership](docs/sessions-and-mutexes.md) before mixing hooks, CLI commands, and MCP clients.
140
-
141
- The npm package is **`kith-coord`**, with the command name **`kith`**. For a pinned npx MCP launcher, see [registry setup](docs/integrations.md#registry-installation). The unrelated npm package `kith` is not this project.
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.
142
139
 
143
140
  ## Dev servers and shared config
144
141
 
145
- 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:
146
143
 
147
144
  ```sh
148
145
  kith dev --agent web-a -- npm run dev -- --port '{port}'
@@ -152,23 +149,29 @@ kith lock acquire --agent worker-1 --scope package.json --wait --wait-ms 30000
152
149
 
153
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.
154
151
 
155
- ## 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:
156
157
 
157
158
  ```sh
158
159
  kith watch /path/to/workspace --once --json
159
160
  kith menubar /path/to/workspace # macOS 12+, Intel or Apple Silicon
160
161
  ```
161
162
 
162
- The watcher compares uncommitted paths across linked worktrees of each repository; a workspace directory can contain several repositories. The editor and macOS menu show paths to review, checkout details and recorded active versus retained sessions. Retained work may still be unfinished: keep it until reviewed.
163
+ The menu and editor lead with recorded tasks, current file claims, shared-resource waits and integrations that need inspection. A registered session without a task is shown separately. Saved checkouts and path comparisons stay in details; nothing is automatically deleted. The menu's default view omits the file-timestamp feed.
163
164
 
164
- These are observations, not proof of a merge conflict or the identity of a process writing a file. Unavailable scans stay unavailable. Claims, resource coordination and verified integration remain the MCP/CLI workflow. See [observation limits](docs/usage.md#optional-read-only-worktree-observations).
165
+ **Watching only** means no active Kith task is recorded. Shared dirty paths are files to review before integration, not a proven merge conflict. **Status unavailable** remains explicit when state cannot be inspected safely. Reads use private snapshots without renewing owners or migrating the original database. See [observation limits](docs/usage.md#optional-read-only-worktree-observations).
165
166
 
166
167
  ## How a task moves through Kith
167
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.
168
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.
169
171
  2. **Claim a scope.** Cooperating clients receive a conflict when an exclusive claim overlaps another claim.
170
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.
171
- 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.
172
175
 
173
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.
174
177
 
package/bin/kith-menubar CHANGED
Binary file
@@ -0,0 +1,80 @@
1
+ ## undefined@undefined
2
+
3
+
4
+
5
+ ## picomatch@4.0.7
6
+ MIT
7
+ The MIT License (MIT)
8
+
9
+ Copyright (c) 2017-present, Jon Schlinkert.
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in
19
+ all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
+ THE SOFTWARE.
28
+
29
+
30
+ ## smol-toml@1.9.1
31
+ BSD-3-Clause
32
+ Copyright (c) Squirrel Chat et al., All rights reserved.
33
+
34
+ Redistribution and use in source and binary forms, with or without
35
+ modification, are permitted provided that the following conditions are met:
36
+
37
+ 1. Redistributions of source code must retain the above copyright notice, this
38
+ list of conditions and the following disclaimer.
39
+ 2. Redistributions in binary form must reproduce the above copyright notice,
40
+ this list of conditions and the following disclaimer in the
41
+ documentation and/or other materials provided with the distribution.
42
+ 3. Neither the name of the copyright holder nor the names of its contributors
43
+ may be used to endorse or promote products derived from this software without
44
+ specific prior written permission.
45
+
46
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
47
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
48
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
49
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
50
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
51
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
52
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
53
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
54
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
55
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56
+
57
+
58
+ ## zod@3.25.76
59
+ MIT
60
+ MIT License
61
+
62
+ Copyright (c) 2025 Colin McDonnell
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy
65
+ of this software and associated documentation files (the "Software"), to deal
66
+ in the Software without restriction, including without limitation the rights
67
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68
+ copies of the Software, and to permit persons to whom the Software is
69
+ furnished to do so, subject to the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be included in all
72
+ copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
80
+ SOFTWARE.