Repository navigation
Shellboy v0.10.0
Shellboy v0.10.0
This release contains changes after v0.9.0.
Breaking changes
One behaviour change that existing callers can observe, and one protocol-reply change; no command, flag or setting is removed.
- Stop, retry and shell operations no longer check the caller (#256).
run stop,run retryandshell write|eof|stopused to refuse a model caller that did not own the Run (invalid_state: "Only a human or an owning Run may change this execution", and a direct-owner-only rule for retry). That check is deleted. Any caller, model or human, now succeeds on any Run or shell, so a script or model that relied on the refusal to protect another Run's work is no longer protected. Ownership is unchanged for notices (the owner still gets recovery and child-end notices), for stopping an owner stopping its descendants, and for the rule that a Run cannot wait synchronously on itself or an ancestor. The caller is kept in the operation receipt. Decision: user, 2026-11-07 (personal use; the Origin was never a security boundary). - An owner now answers an unknown command, unknown field or wrong argument type with
invalid_argument(#244 A1).details.reasonisunknown_command,unknown_fieldorunknown_request_field,details.namenames it andrequest_may_have_been_appliedis false; nothing is run. Before, the owner closed the connection and the client could not tell whether a mutation happened.PROTOCOL_VERSIONstays 2. A client that treated a closed connection as "unsupported" must now read the typed error. Run the CLI and owner from the same release.
Not breaking but visible: thread list hides archived Threads by default (none exist before an upgrade); automatic compaction no longer repeats a failed summary stage within one Turn (see the table); embeddings are normalized to unit length before storage and comparison (see the table).
Before upgrading
- Stop the owner, back up the complete data directory, update the owner and CLI together, and restart the owner.
- Conversation schema upgrades from 31 to 32 through migration
0032_thread_archive.sql(one nullablethread.archived_atcolumn and two partial list indexes; existing rows stay unarchived). Standalone RAG schema remains 4. - Verify with
python3 scripts/check-release-upgrade.py --old OLD_BINARY --new NEW_BINARY --root EMPTY_TEMP_DIR --old-version 0.9.0 --start-schema 31 --expected-version 0.10.0 --expected-new-schema 32. - A newer
shellboy chatfollows withevents wait, which an older owner does not know; update the owner and CLI together. - A vector index built at a reduced dimension by an earlier version holds unnormalized vectors. Rebuild it (
index rebuild) to get the new ranking; a 3,072-dimension index is already unit length and needs no rebuild.
Changes since v0.9.0
| Change | User-visible effect | Breaking | Schema migration | Evidence |
|---|---|---|---|---|
| No stop/retry authority check (#256) | Any caller may stop or retry any Run and write to, EOF or stop any shell. Concurrent retry is safe: one resumes the Turn, the other fails with invalid_state. Guides (CLI reference, delegation, shell, Agent Guide) now tell models to check the ID first. |
Behaviour change (see above) | None | Commit 5e140d3011; default CI 42305137118, all-OS CI 42305141054. Not tested end to end: the child-end notification after a non-owner stop (ownership data is asserted unchanged) |
| Thread archive, stage 1 of #222 | `thread archive | unarchive [--thread ID]... [--descendants]hide Threads from the defaultthread listwithout deleting anything;thread list --archived exclude |
include | only; archived_atappears inthread listandthread get. Allowed while a Run is live; a new Run on an archived Thread unarchives it. Up to 200 IDs and 256 Threads per call. updated_at` does not change. TUI: Ctrl+A archives or unarchives the selected conversation and its descendants, Ctrl+G switches to the archived list. |
events wait and chat without polling (#243 stages B and C) |
shellboy events wait [--after CURSOR] [--thread T ...] [--timeout-ms N] long-polls an in-memory change clock; nothing is persisted and a client that falls behind is told to re-read. shellboy chat follows by these hints instead of one-second polling and reads again after every result including timeout. Archive, unarchive and auto-unarchive are announced. |
No | None | Commits 84cf8abcbc, 9af5429dd3, b74ee6852d, fa7bec02c0; CI 42261926395 / 42261931307 (stage B), 42274750344 / 42274756132 (stage C). Measured on macOS, release build, local mock, one run: 60 s idle during a tool, 180 to 6 requests, owner CPU 0.71 to 0.04 s, tool-start line p50 617 to 12 ms. Not verified: resync after the 4096-Thread floor end to end, clock memory, many concurrent long-polls, Windows named-pipe latency, owner restart during a follow, Linux and Windows timings. The issue stays open |
| Typed rejection of unknown requests (#244 A1) | See Breaking changes. The JSON Schema export and protocol document of the issue are not in this release. | Reply change | None | Commit fbc9a96999 (the issue comment cites e16c2fe2, the later status commit); issue comment reports 3-OS CI green on 80e1982b, run IDs not named |
| One-key rewind in the TUI (#246) | r on a selected request in the history opens a confirmation (what leaves the path, what is not undone, how to undo) and, on Y, rewinds like /rewind; Alt+U right after opens the removed branch (empty draft only, once). thread rewind --dry-run returns the same facts without writing (it runs the rewind in a savepoint and rolls back; only the operation record remains). |
No | None | Commits f6f13865c3, 886c0d049c; 3-OS CI reported green in the issue, run IDs not named. Not verified: a real terminal with Option as the meta key on macOS |
| Embedding normalization (#250) | Every provider embedding, for indexed text and queries, is scaled to unit L2 length before storage and comparison, so L2 ranking holds at reduced dimensions (for example Gemini gemini-embedding-001 at 768 or 1,536). Zero-length or non-finite vectors still fail. |
Ranking change only for reduced-dimension indexes (see Before upgrading) | None | Commit 2db7233664; default and all-OS CI green on that tip per the issue, run IDs not named. Synthetic vectors only; no real provider |
| Failed summary stage not repeated in a Turn (#248) | After a non-cancelled summary failure under unknown coverage, that stage is blocked for the rest of the Turn until it adopts; compact list shows blocked_by_earlier_rejection. A rejected closed-range summary is frozen while the current Turn only grows. Fixes one Turn that repeated the same rejection 200 times. |
No | None | Commits 35c2fe2c93, 7b070db2a3, 1ee2ac1185; default CI 42299179173, all-OS CI 42299183198. Synthetic: 1 rejected closed and 1 rejected active over 19 rounds; a provider 400 on every summary gives at most 1 per stage. Not measured: real-Turn cost after the fix. Known repeats stay in #252, small-range rejection in #251. Local check.sh did not finish under load |
| Confirmations no longer go stale (#257) | In the TUI, changes in other Threads no longer invalidate an open delete or index confirmation, so Y works while other Threads run; the owner's marker and live-Run check still guards a wrong delete. Cancelling a queued (waiting) message acts at once without a Y step; its text stays in /restore list, but an expected reply obligation is not restored (documented). Counts and estimates shown in a confirmation can be slightly stale. |
Behaviour change in TUI keys (cancel no longer asks) | None | CI 42322008450 and 42322018299 on dce65f47; landed as b3f87e2e. Not driven in a real TUI. |
Name owned shells in a timed-out thread_settled wait (#255) |
A parent's wait thread_settled that times out now lists owned_shells (execution ID, Run, elapsed ms, bounded), so a never-ending background shell is visible as the reason a Run does not finish. Agent Guide, shell, CLI and delegation guides tell models to wait with shell_ended rather than hand-written until ...; sleep loops and to stop unneeded owned shells before ending a Turn. No automatic time limit. Reproduced on a temporary data directory: run get, thread get, status, shell list, the TUI panel and run stop already named or reclaimed the shell; only the timeout lacked the reason. |
No (additive field) | None | Reproduced on a temporary data dir with a mock; CI 42314002285 and 42314008004 on b5825a4d. Watch not painted from the live fixture. |
Startup app_meta prefix scans (#219) |
The three startup LIKE 'prefix%' statements (compaction queue select/delete, wait.pending delete) use primary-key ranges with the same results. Of the 1,207 ms interrupted_work seen on v0.9.0, 660 ms was one of them. |
No | None | Commit cbd4c76edf; 3-OS CI reported green. Effect on a real startup not yet measured; the issue stays open |
| CI skips cargo for docs-only main pushes (#245) | Development only, no product change: docs-only pushes run the documentation tests and language audit instead of the three-OS cargo checks. | No | None | Commits a5c20a9d86, 5be41970b4; confirmed on real pushes (docs-only push skipped check, code pushes ran everything) |
Documentation-only commits (study of event subscription and external RPC, thread organization study, embedding note) carry no behaviour.
Verification
Synthetic compaction measurements do not establish real-provider latency, retention quality, or physical terminal behavior. The release tip passed CI on Linux, macOS and Windows; the published archives, installer scripts and SHA256SUMS were downloaded anonymously and verified. The synthetic v0.9.0-to-v0.9.0 upgrade check (schema 29 to 31, migrations 0030 and 0031) passed on macOS Apple Silicon only; Windows and Linux archives were built and checked by CI but not exercised on physical hardware.
The #243 timings are one macOS run; Linux and Windows are not measured. No real-terminal check was made of the new TUI keys (Ctrl+A, Ctrl+G, r, Alt+U). The v0.9.0-to-v0.10.0 upgrade check (schema 31 to 32) passed on the candidate.
Fixed test dates and two flawed tests were corrected (#260 tracks other load-sensitive tests, which remain unexplained).