Skip to content

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 17:37
· 11 commits to main since this release

Changelog

Features

  • 6dc563d feat(switches): compression ships off; config input-compress on installs the hooks
  • 9435b82 feat(store): a source that skipped adapter scripts is never reused; seed rewrite tests
  • be6f065 feat(store): worktree module reuse by git proof (hardlink/copy) and store gc (#40 #41)
  • b199600 feat(store): linked worktrees get their own store key, one resolution for every verb, freshness per checkout (#39)
  • 64fb177 feat(spike-35): large write-heavy task tier (12 tasks, objective checks, selftests), analyze-large, small-tier rerun with fixed accounting
  • 7e7db00 feat(config): on/off switches for input compression, image compression, output delegation, all
  • 7b64ae2 feat(compress): image copies in status, the size cap and stats; Devin shrinks with Claude-only hooks (gap 4)
  • 9544bd8 feat(compress): pointer first in every preview, tight head budget when Claude spills (gap 3b)
  • 5ff606b feat(compress): JSON outline for pretty JSON and NDJSON, pointer first (gap 3)
  • 06e67e6 feat(image): shrink images the agent reads (ADR 55)
  • 6e17472 feat(hooks): compress every big tool result via a catch-all PostToolUse (ADR 54)
  • 2ce68ef feat(compress): error context and a 100-line preview budget (ADR 53)
  • 78574fc feat(stats): record command names only from a fixed list; other plain words become other
  • 6af624c feat(dashboard): compress block on /api/usage and a compression panel
  • bff1e60 feat(stats): per-session compression numbers — compress.ndjson, usage --compress
  • 9c9a202 feat(compress): smart previews by content shape, run collapsing (ADR 51)
  • 9bd4ff4 feat(cli): ctxo short alias — npm bin, install-created symlink/.cmd shim, compress bypass
  • 3bf82bd feat(hook): compress Devin exec PostToolUse output, install --devin --compress (#51)
  • a076a78 feat(verify): node and python test runners (ADR 47)
  • 0fcd21d feat(install): skill top-up for clients installed after first run (ADR 46)
  • a594ac6 feat(delegate): shrink large worker text in run status through compress (ADR 45)
  • 121b3f0 feat(delegate): verify and snapshot — independent, model-free check of a worker's result (issue #32, ADR 44)
  • 5fc3398 feat(delegate): bounded worker loop on the user's model — companion verb, guard, budgets, resumable sessions, 0600 transcripts (issue #31, ADR 43)
  • 7e411f0 feat(install): register Devin post-compaction pointer hooks in config.json under the settings.json safety rules; announce install for later clients (issue #28)
  • fe4fbca feat(install): one skill copy per detected client, first-run SessionStart hook, Devin post-compaction pointer (issue #28, ADR 42)
  • d4f837b feat(hooks): opt-in lifecycle hooks via install (post-tool compression, session-check); verified on Claude Code and Devin (issue #26)
  • 18f459b feat(cli): model status and model test verbs, docs and changelog
  • b56abf5 feat(model): global model config, secret resolution and ToolNexus calls in the companion
  • b4b3910 feat(compress): recoverable deterministic compression of large tool output; read-lines (issue #24)

Fixes

  • 0d38d70 fix(skills): a Claude host is detected by its resolved config dir (CLAUDE_CONFIG_DIR); test: hermetic PATH for host tests, one test per detection branch
  • db31fc0 fix(config): honour CLAUDE_CONFIG_DIR, echo input-compress words, per-repo tuning with --project
  • 15d683c fix(spike-35): correct output-token accounting (partial-message usage, thinking exact, reconciled to result event)
  • 13a2078 fix(spike-35): correct output-token accounting (partial-message usage, thinking exact, reconciled to result event)
  • 7ac9dfd fix(config): accept JSON booleans for switch keys in the global config; Save writes on|off
  • 6cb3305 fix(config): normalize hand-edited switch values; label disabled rows like live ones; cover every post-tool shape
  • 533773f fix(config): never print the opt-out sentinel; config instructions false --project sets it
  • c394d94 fix(instructions): own InstructionsChoice type keeps config key order; up honours effective NONE (flag, project, global)
  • cde5744 fix(code): a directive between a C# class name and its body no longer names the class (#16)
  • bae68c2 fix(instructions): same version never rewrites the card; up --instructions NONE skips it; instructions:false opts out (#19)
  • e903bb9 fix(hooks): Devin runs each ctx-optimize hook once when installed for Claude and Devin
  • e18acae fix(compress): review findings - exit status in JSON preview, own-session MCP pointer, pair-wise cap eviction
  • 3957da7 fix(image): review follow-ups (40MP cap, Lstat on cache hit)
  • 96bde1d fix(compress): keep collapsed runs within the 100-line ceiling; warning note covers its run (ADR 53 review)
  • 5873ae6 fix(stats): strict assignment and control-byte refusal; Record never creates the store root
  • 65244be fix(stats): command head is an allowlist — refuse on any risky character, never strip a word
  • 16074cd fix(stats): command head returns empty on any quote, flag value, or credential-bearing token
  • df59906 fix(stats): command head never returns a flag value or escaped-space continuation
  • 8a52253 fix(stats): review findings — no quoted-value fragments in command head, per-session recovery attribution, safe prune, degrading usage block
  • a36f54e fix(compress): smart preview never larger than ADR 39 (review findings)
  • d2fff9d fix(cli): ctxo review findings — off-PATH warning, Windows hint, no npx ctxo bypass, more tests
  • 08bb0a0 fix(hook): review findings — fstat SameFile on overflow, any error passes through, overflow needs Devin header (#51)
  • 45a1412 fix(hook): review findings — keep stderr, bounded read, tool-results only, utf8 (#36)
  • 3dfe19f fix(verify): node file-level rows, line-keyed names, expectedFailure is skip (review 2)
  • cc1f28a fix(verify): assertion canary, no env result path (review)
  • a2aa3a7 fix(install): top-up review findings — install/uninstall record seen, empty stamp, bad config
  • 928d6a8 fix(delegate): exact numbers and artifact round-trip test (review)
  • f4505c3 fix(verify): canary skips dirs go test ignores; strip go.mod comments
  • bafb691 fix(verify): canary test per replayed package — fake events from non-test code never verify
  • d6b8df0 fix(verify): independent-review findings — replay runs only the baseline's tests, min_tests>=1, missing protected paths are unknown, TestMain/init exit flagged, process-group timeout, symlinks+modes kept, scanner errors blocked
  • 60de001 fix(delegate): N8 — state-dir checks compare file identity (os.SameFile on ancestors) plus case-folded fallback; covers read/write/edit/apply_patch/grep/glob on case-insensitive disks
  • 058c6ab fix(delegate): N6/N7 — grep/glob output resolved against the search root (+ root-agnostic tail backstop), block -ldflags/-gcflags/-compiler/-gccgoflags/-asmflags/-args, fix stale comment
  • f6390fb fix(delegate): re-review N1-N5 — padded patch headers, grep filter judges every path candidate and the state dir, normalised flag dashes, worker HOME outside the state dir, cancel-at-finish wins
  • abf4c04 fix(delegate): apply security review — no parent segments, shell flag and path filters, GOPROXY off, recursion refused in the companion, wider secret deny list, budget-exhausted turns run no tools, state dir off limits, cancel/session hygiene
  • f8a3e2f fix(model): never echo values in YAML errors, test that server-echoed keys are scrubbed, document the env staging window
  • aae74ad fix(hooks): uninstall keeps a user's hook sharing our group, keep settings mode, no HTML escaping, fail open on panic and unknown flags
  • a4409db fix(compress): newline separates commands, skip binary output, size the preview before saving, always print the read-lines hint
  • 2a76981 fix(npm): add keywords to the published package manifest

Other

  • 9efbed1 Merge: compression ships off by default behind config input-compress (auto-installs hooks, --project/--global, tuning), CLAUDE_CONFIG_DIR honoured, v0.18.0 changelog and docs; real-host switches matrix 13/13 on Claude and Devin
  • 6bdec68 Merge: #40 #41 worktree module reuse (link at same commit, copy at another) + store gc; real-host e2e passed on Claude and Devin
  • 0c88ff2 perf(app): reuse view runs git status only over the gathered part of the tree
  • cc2a90c Merge: docs site covers input compression, image compression, switches and worktree stores
  • d62bd4b Merge: #39 worktree store identity (own key per linked worktree, one key resolution for every verb, freshness per checkout; fixes #49 #51) + regression matrix + ADR
  • be72ce9 Merge: #35 Devin free-model cells and PreToolUse rewrite probes (stronger parent follows the rule less; hooks can rewrite subagent calls on both hosts)
  • 37eef47 spike(35): Devin free-model delegation cells F0-F4 (F3, F4 partial) and PreToolUse rewrite probes for Devin and Claude
  • da5a10e Merge: #35 real-issue runs with premium parents (rule fires about 1 in 3 on patch-shaped work, hook fires 2 of 2, Fable to Opus loses money)
  • bb6f660 Merge: #35 external-writer arms (rule line + one command; GLM writer under an Opus parent saves 27%, Opus to Sonnet is even)
  • 52e23e5 spike(35): external-writer arms (X1 direct CLI, askx/opencode writers), results and derived rows
  • b3b7e90 Merge: #35 global-placement cells (global rule works on Claude, tool-description override is ignored, Devin premium parent ignores the global rule)
  • 28a66f9 spike(35): global-placement arms G1/T1/D1, tool.describe mod, Devin premium usage from sessions.db
  • 7e5d6f3 Merge: #35 trigger-arms pilot (rule line and rule-framed hook cause delegation; R1 saves 27% on the write-heavy tier)
  • fb34363 spike(35): arms pilot results, derived rows, merge main resolutions
  • d572a91 spike(35): arms kit (agents, rule lines, hooks), pilot tasks and arms harness additions
  • 8cb2d17 Merge: #35 output-token accounting fix, real-history output profile (aggregates), write-heavy task tier and its stock baseline
  • 77816d5 Merge: config switches proven on real Claude and Devin (e2e cells A-G, 30 of 30 runs), global-config booleans accepted
  • 65d118a Merge: #35 delegation-uptake test suite and arm 0 (stock Claude and Devin spawn 0 of 50 each)
  • 921af55 Merge: config on/off switches for input compression, image compression, output delegation and all
  • 8939bdf Merge: #19 follow-up, the opt-out prints as plain false and can be set from the CLI
  • 835a829 Merge: #19, up leaves an unchanged-version instructions card alone; NONE and instructions:false are honoured
  • f235d2a Merge: #16, a directive between a C# class name and its body no longer names the class
  • 2da37dd Merge: marketing (docs and evidence, kept for the record)
  • fd4134d Merge: spike/architecture-explainer (docs and evidence, kept for the record)
  • 6f4ead6 Merge: repowise (docs and evidence, kept for the record)
  • 87108ba Merge: spike/48-e2e-aos (docs and evidence, kept for the record)
  • 2bc2cc6 Merge: spike/34-benchmark (docs and evidence, kept for the record)
  • 9473e44 Merge: spike/33-delegation-skill (docs and evidence, kept for the record)
  • ca46b2c Merge: spike/32-verification (docs and evidence, kept for the record)
  • 8285321 Merge: spike/31-worker-loop (docs and evidence, kept for the record)
  • 3df583d Merge: spike/28-auto-install (docs and evidence, kept for the record)
  • f318842 Merge: gap 4, image status, cap and stats
  • 257d402 Merge: gap 3b, pointer first + 1,800 B budget when Claude spills
  • 15e9106 Merge: gap 3, JSON outline for pretty JSON and NDJSON
  • f5ef5dd Merge: gap 2, Claude Grep/Glob/Read proven live
  • fe0560b Merge: gap 1, Devin double hook dedupe
  • dce57f9 Merge: compress every big tool result (ADR 54)
  • c251605 Merge: image shrink on reads (ADR 55)
  • 87a2a7b Merge: spike image hooks (findings + e2e/images/run.sh)
  • e2ae8e0 spike: Devin/Claude image hook interception matrix and e2e/images harness
  • 77ee326 Merge: spike compress-all-tools (findings only)
  • 3fa4977 Merge: error context + 100-line budget + IDF fill (ADR 53)
  • 7878280 Merge: smart-preview perf + final-output test (ADR 51 follow-ups)
  • 67f8cfa perf(compress): classify each line once and reuse it across smart-preview candidates
  • fb47fd6 Merge: session stats (compress analytics, usage --compress)
  • 5485118 Merge: feat/smart-preview
  • 85a28a2 Merge: test/51-edge-cases
  • 4763ac2 Merge: ctxo short alias (ADR ctxo-alias)
  • ace1f9e spike(hook): compress from Claude Code's persisted full output instead of rewriting commands (#36, ADR 49)
  • 730cc8b spike(hook): PreToolUse tee keeps the full Bash output for compression (#36, ADR 49)
  • 68ddb98 Merge: delegate verify for Node and Python (ADR 47)
  • cad1366 Merge: install top-up (ADR 46)
  • 42d46b6 Merge: delegate report through compression (ADR 45)
  • 7647a6b spike(arch-explain): ADR 36 — the architecture explainer is a second skill