Repository navigation
v0.5.1
213 commits since v0.5.0, 6 contributors. 373 files changed, +27,981 / -2,729 lines.
A hardening window: per-job cron sessions, a config write guard derived from the Config struct itself, a skill-globs gate that refuses tool calls until the skill is read, malformed plan designs refused at write time, temporal grounding in the brain, a Telegram edit governor that obeys the real 429s, a two-part whatsapp send-path rewrite, and two security fixes: a2a auth now binds to the gateway, and config files are owner-only with secrets scrubbed from the logs.
✨ Features
70c94b75brain: temporal grounding via turn ingress dual-time markers and user timezone resolution (#1516)c42b5edbskills: cursor-style globs frontmatter gate for skills (#1515)9d9f5bb6compaction: report the fallback walk on manual compact and every failure to the user (#1521)8a0538e4projects: identify a project by its repository remote, not its name28f7e1a3whatsapp: outbound rate limiter with pacing, rolling daily cap, queue and owner alert (#1407)bd82198atui: theme catalog, converter + 31-theme curated pack (#1461)c401fbb3memory: structural truncation visibility + offset pagination (#89)c34e9ec6memory: depth-2 impact chains over call_edges (#89)8daad249memory: external hits render repo-relative paths (#89)e0a0af98memory: tag corpus provenance on every scope=all hit (#89)b66a6a66brain/tools: add optional background parameter to bash tool (#152)16aa0b9atargets: oc:// target URL scheme + central target resolver7a31d350subagents: add include_brain parameter and context gap disclosure80aac1d4prompt: exclude interactive-only tools from headless tool roster (leshchenko1979#129)ab8c240fprompt: strip FOLLOW-UP SUGGESTIONS from headless brains (leshchenko1979#129)b11b4d9cagent: headless backstop flag — ToolExecutionContext.headless + hard ToolError in session_notify/suggest_options187c191csubagent: children headless by law — strip notify/options from child surface + preamble on spawn/resume prompts48aef302cli,daemon: wire headless flag + preamble at all four registry call sites4972285ctools: headless gate on register_core_agent_tools + HEADLESS_PREAMBLE const31b97ee4cron: session: deliver_to target — cron results into session notify queuesf4aba6facron: session: deliver_to target — cron results into session notify queues1382f8bfnotify: one shared delivery policy for tool, A2A and CLI surfaces9a1de684notify: persist parked pushes at chokepoints, clear on delivery, boot redelivery (#111)9f8d8145db: notify_queue table + repository — durable parking for undelivered pushes (#111)7a4108ddskills: load_brain_file slug form + seen-skills registry for compaction stamp (issue #131)d7e19ae4scheduler: opt-in forum-thread delivery for telegram deliver_to (#104)d557f5f1channels: persist origin thread id for topic-aware cron delivery2464ed7cproviders: rename zhipu to zai with full back-compat3b03ab70sessions: link a session to its project on the first turn32cf143fcompaction: advisory skill-inventory stamp on post-compaction continuation promptse712c193telegram: fold mid-turn session-notify lines into the live flow roll (#61)680af24btelegram: merge table-bearing answers via the rich markdown planeb1b8fe8etelegram: markdown-plane host persistence for merged suggest controls
🔧 Fixes
201b0d03agent: bound output token reserve by context window (#1518)a9afecc9targets: sync profile override, channel secrets, and fire-time refusal for upstream main base2c864801118: clippy — drop unused SendMessageSetters import, needless &token borrowd7cd1a0dplan: preflight mermaid fences in plan task descriptions at creation (#1524)6ab5b91dtelegram: pace G2/G4 governor defaults below group rate limit and route interactive UI edits through EditClass::Interactive (#1523)3c08bb03config: derive write guard and typo warnings from the Config struct (#1508)39a73861cron: per-job cron sessions to prevent concurrent context and provider bleed (#1511)1e9c1b15context: clean persisted ledgers and reasoning from loaded rows for CLI providers too (#1522)14e838f6compaction: ask HTTP providers through the stream path and fold it into one response (#1519)a9f65d9bprovider: record non-streaming retries as RetryAttempt notices (#1520)25bd663btui: keep the tail of long messages in unfocused panes280c5b8fphantom: anchor work-announcement colon marker at end of line (#1513)b44d29e6whatsapp: chunk over-long quote-replies like the send path (#1490-C)0cd1630dwhatsapp: account for delivered chunks when a chunked send fails partway (#1490-B)9f292521whatsapp: stop the channel preamble denying whatsapp_send exists (#1489)0606f645whatsapp: unify persisted format across send and reply paths (#1490-E)40a56e9etui: display surfaces report the session's provider, not the global (#1464)c6a25e4ctests: re-anchor unbacked-facts detection sentinel to fired_branches (#1506)2ffe8535agent: exempt structured reports from phantom-kill regeneration (#1506)147f434bagent: stop reading signature algorithm names as sha claims (#1501)10f07400telegram: thread-scoped tmp photo and voice file pickup (#124)647e1c21tui: keep the background-task manager across a provider-switch rebuildbfe9e032plan: receipt binding resolves repo from plan working_directory (#1452)15727f1amemory: restore MemorySearchTool import beside the Tool-trait schema pin (#89)d0eec7f9memory: use the imported Tool trait path for the schema pin (#89)943462fememory: drop unused symbol-graph re-export, import Tool trait in parity pins (#89)5774ab38memory: structural graph listings get n-floor and deterministic order5089be5dbrain/tools: convert error string slices to String for ToolResult::error in bash tool80857867tests: retry flock reacquire under CI load (#cron_scheduler_lock)a2c0bfe9telegram: tolerant fence pairing in mermaid detection78592938tests: collapse nested match — clippy collapsible_matche4463309tests: count only ToolUse block starts in empty-finish guard testc0a1f350tests: collapse ContentBlockDelta match into outer pattern8713aaedtests: clippy - drop unused port param, collapse nested match7eb1753eprovider: ignore empty finish_reason chunks in SSE streaming5a1cedb2cron: remove unharvested validate_delivery_target from target resolver PR8a09fc92129: live_eval example passes headless flag to tool_access_prompt37ab5dbcheadless: shared atomic headless flag + stable str deref in roster filter50fbe9e7headless: clippy gate r2 fixes for leshchenko1979#129 — pub ALWAYS_EXCLUDED, &self execute receivers, headless ctx field in tests9d1d21e1cron: session target resolution — async loader, pure testable corea5362f0ecron: session arm — re-exported type paths + return None (E0603/E0308)b146298dcron: session target resolution — async loader, pure testable core337dc335cron: session arm — re-exported type paths + return None (E0603/E0308)31c6ce37notify: resolve delivery policy before the session-existence gate1487da0bnotify: turn-end test takes guard after the await, not across it90e5538anotify: drop MutexGuard across await in a2a turn-end testd0f9e036notify: dead cap const dropped, test guard after first awaitc1d1eb44notify: import CONFIRM_CAP in A2A handler + carrier fmt joind76577c5notify: wire A2A handler imports to shared policy layere814a5e7notify: compile fixes on the policy extraction1241891fsubagents: persist output_full, remove dead output_summary8ea46427telegram: auto-evict deleted forum topics on thread-not-found 400456c0adfconfig: read_config renders every known section (#86)06e9f647channels: deny-by-default allowlists on Discord, Slack, and WhatsApp (OC-02)ab39bfd8tools: deny read_file on confidential paths at the harness, not by prompt (OC-08)b9816f6btools: route execute_code and dynamic shell through the bash blocklist, reserve core tool names (OC-06)fb19870dtools: one SSRF guard for every fetch tool, DNS-resolved and redirect-checked (OC-04)f88890a2119: drop fork-only #91 cross-turn glue from the upstream port15888234evolve: verify the release SHA256SUMS before swapping the binary, pin the download host (OC-03)fd914abftelegram: restore fold-tier numbering — numbered Go: body lines + numbered buttons (#119)b784bca8119: owner render corrections — bold Go lines, ? dedup, paragraph breake6ad5f31telegram: single-option suggest rides a full-width button, not the numbered fold (#119)bfd764abchannels: owner-gate every tool-approval and YOLO button on all four channels (OC-01)686b84fdtelegram: off-by-one in ensure_blank_line_before_tables1ec29585config: write_key recursive JSON→toml_edit — objects/nested arrays survive, null+mixed arrays error (#87)2ba57e14telegram: resolve harvest clippy — test-only re-export path + collapsible if (#132)5b9807dbtui: keep the visible completion when Esc-Esc cancels a turn (#1468)93b82f18telegram: detach glued prose label from collapsed table on reflow (#132)002eec97telegram: make rich::table crate-visible for direct test imports (#132)0aa93a3ctelegram: normalize collapsed tables on the rich plane — single canonical entry (#132)b0e36592rich: insert blank line before abutting tables so Telegram rich renders them657b2512telegram: replace labeled block with try_html_style_tag helper479e094ctelegram: parse standard HTML style tags in rich inline parser (#106)a040fdf4telegram: topics_for_chat LEFT JOIN keeps nameless threads; test rename row carries topic_edited type7e5c9d12#143: restore FROM clause and dedupe ORDER BY in topics_for_chatba1439c9#143: topics_for_chat returns one row per thread3ea0db19telegram: stay current on forum topic renames (#143)12ca4509telegram: bg-resume receipt cards re-land on the HTML rich wire (#85)54f56c1ddb: stamp past a migration that already ran under an older list orderd93d3cfbprojects: linking a session to a project no longer restamps recency (#1460)88835016tui: session list shows last activity, not creation datedcc620b1agent: keep the recovery row when shutdown cancels a turn (#1462)858ff3ebclaude-cli: surface silent turns instead of faking success (#1441)107b5ccfdb: keep the #111 migration in name order and heal databases past it9c190334skills: make the #131 slug form build and match main's miss contract024449f4111-port: restore serde derives on BgTaskMeta (r1 clippy E0277)d0874041notify: gate r1 findings — public import paths, QueuedItem non-Clone, spawn arm type36e166bascheduler: clippy unnecessary_unwrap in thread-missing error arm — if let Some24e91930scheduler: rebase 104 thread delivery onto current main — Requester import + closure var renamea154b346telegram: normalize mermaid render-cache key across delivery surfaces (#100)2680452b118: send_buttons wire-payload evidence + refuse empty keyboards8424bda3telegram: send_buttons rides raw Bot API JSON — markup no longer dropped (#118)e46ae065telegram_send: same-origin-only thread inheritance + landing echo in success output (#127)d845be3btui: session picker cursor follows the session, not the slot (#1465)5a8903d9config: rotate same-day backups instead of skipping (#1459)5e27a960config: never wipe keys on unreadable config.toml (#1458)fb5c4d31telegram: stop asking Telegram to replace a rich message with itself26535f4cconfig: never promote a template placeholder to bot_ownerede71c93tui: persist the theme name itself, not a name wrapped in quotes6c3e4f23config: seed the shipped example from whatever first needs config.toml to existbd02f800config: stop materialising an enabled xiaomi section in configs that never named it59d755ebmemory: load the embedding model on CPU so a Metal assert cannot abort us (#1432)03637828telegram: plan-card restick on interrupt-delivered turns (#69)d2001192brain: catch fabricated facts in post-success wrap-ups (#1423)85a8f907port: adapt #61 live-flow registry to upstream v0.5.0 field set71fc026ctelegram: fold-first button ladder — total-row budget, 20-unit fold cap46c076ebtelegram: #61 fold-dedupe — one fold per notify per sessionfd4485a1telegram: #61 roll line strips a leading notify self-echo04b4aee2telegram: restore #38 empty-body guards on receipt-card builders (A3 guard-only)3d44f2b5telegram: #92 demoted-host guard — re-run the #58 promotion guard on the displaced host96fa7704session: persist a live turn before switching away from it (#1421)1828f03ftui: keep a running session marked processing when it regains focus (#1420)ad7ac358#108: blank-line-separate button rows and trailer on the md plane57566b08telegram: fence-safe rich-md edits — mermaid diagrams survive merge/pick/strip redraws (#98)72f745aatelegram: redraw rich-md pick in the markdown plane (#96)a90bad95carry message_id on rich multipart edits557919bfonboarding: xiaomi model list falls back to binary baseline when /models fails25f2ba35brain: log backup-prune failures instead of printing them (#1413)
🔒 Security
afec08ffa2a: refuse an unauthenticated non-loopback bind, and compare the token in constant timeadfe2a85config: write config files owner-only, move daemon logs off /tmp, scrub all secrets from logs (OC-05)
📖 Documentation
45a7677astate the measured ratio rather than a rounded onee2a6da4eClaude Code CLI refuses its headless mode as root on a VPSba4e0bc7place v0.5.0 against v0.3.9 rather than calling it the largest release7cea1d57reconcile test counts against the tree8dd0d483refresh test counts for phantom_unbacked_facts_test950d5beareconcile test counts against the tree (8,036 across 808 modules)d2b8dbfdstate that OpenCrabs manages the context window, not the CLI (#1450)52cbcbb1align row counts with the merged pr-1466/1467/1470 stackd7d3a1ecupdate test count to 8,055 across 875 modulesc8288198row for config_write_types_test from #14727fcf430btest count 8095 from gate4 suite492995f1add a Security Controls section and correct two now-inaccurate claims617fd7b5reconcile TESTING.md with tree — 8 drift fixes, 26 new rows5030e23freconcile rows missed by the batch pass — 27 rows, counts cfg-aware8b1e1928rows for the 1500/1502/1503/1505 merge batch test files1cf65d96cover theme pack generator + import path in the Theme Switching row (#1461)6b25fee9align schema description with mobile display budgets (#1517)
🧹 Miscellaneous
d51b485atest(onboarding): pin the #1419 xiaomi baseline fallback with tests20523b28refactor(test): move #1422's inline TelegramState tests under src/tests/c214f9f7work_status: bind sub-agent status to its spawning session (#110)a6436486spawn: bind sub-agent status file to the spawning session (#110)2580bbadrestart_recovery: route sub-agent reports by parent session, deliver revived outcomes (#110)00a3b06cui: route a revived sub-agent's resume outcome to its parent (#110)8eed3ee6fix compile: legacy migration literal + moved msg in revived delivery8907e485refactor(compaction): single continuation_prompt() helper for all five compaction sites83d49a52style: apply rustfmt to the merged sub-agent parent-binding work815016eatest(compaction): pin the single continuation path the skill stamp rides6da322c2style(tests): apply rustfmt to rotation test, fix mod registration orderb26b16dcstyle: rustfmt the cherry-picked PR work against current main4c4b4778refactor(test): move the #131 seen_skills unit tests under src/tests/614a660dtest(telegram): retarget receipt fence test to post-swap shapes (#85)b893585ftest(telegram): add missing msg helper for #143 rename-precedence pinsd0898888test(telegram): listing rename row carries topic_edited typed8e5b943style(telegram): type alias StyleNodeFactory for HTML_STYLE_TAGSfff3f888test(telegram): fix unmatched_openers_stay_literal — empty HTML pair is ONE literal span8d71aa36style(tests): rustfmt reflows on the merged pr-1466 test files2a4ac541chore(telegram): trace text extraction and /cowork dispatch in handle_message5ec50acbstyle(telegram): rustfmt reflows on the merged pr-1469/pr-1470 filesb9005c38test(config): coverage for recursive write_key — array-of-tables, object, scalar, null + mixed-type hard errors (#87)4997f847style(telegram): if/else for n=1 tier per clippy obfuscated_if_elsee7283951Session-Id: 1a63f103-b899-4ad2-a5b3-c89f2902bf97 Issue-Ref: #119d4374650Session-Id: 1a63f103-b899-4ad2-a5b3-c89f2902bf97 Issue-Ref: #119ddd684dbSession-Id: 1a63f103-b899-4ad2-a5b3-c89f2902bf97 Issue-Ref: #119ec371608test(119): update fold-tier expectations to bold Go render (owner correction)9fee1bdestyle(119): rustfmt line wraps in merge testf1051b19test(config): drop non-empty assert from renders-every-section (#86)bb8dc6fftest(cron): pin the resolver's real prefix contract (#144)a300af64test(cron): pin the resolver's real prefix contract (leshchenko1979#144)9040d062test(headless): pins for leshchenko1979#129 — registry gates, hard-error backstop, preamble, child-strip6e27926btest(129): fix unsatisfiable interactive-roster pin362f35d2style(tests): rustfmt mod.rs alphabetical ordering (leshchenko1979#129)d470fd46style: rustfmt reflows across oc:// resolver, channels and tests0c554fd1test(brain/tools): assert error on result.error in bash background tests (#152)5b91ea6atest(memory): pin the #89 P1 parity contract61d6ec09test(memory): fix definition-ordering pin to the actual sorted contract (#89)6cebb673test(tui): move presets_test.rs under src/tests/ (#1453)769f0259test(tui): make auto_title_e2e deterministic via virtual time (#1455)49a9cab0test(whatsapp): restore the rate-limit test registration dropped in a9f65d90936fa02style: rustfmt the merged PR stacka08a8911test(brain): isolate time-marker tests from live home recall
👥 Contributors
6 contributors this release:
- @adolfousier (Adolfo Usier)
- @leshchenko1979 (Alexey Leshchenko)
- @moneyacademyKE (Moe)
- @adi805 (Syafriadi)
- @loonix (Daniel Carneiro)
- @technologicalsingularity (Andy)
📊 Stats
- 213 commits since v0.5.0
- 6 contributors
- 373 files changed, +27,981 / -2,729 lines
- 8,397 tests (8,367 passed, 0 failed, 30 ignored)
===== COMMIT MESSAGE =====
release: v0.5.1 - per-job cron sessions, config write guard, skill-globs gate, temporal grounding, Telegram edit governor, whatsapp send-path rewrite, two security fixes
✨ FEATURES
- feat(memory): tag corpus provenance on every scope=all hit (#89)
- feat(memory): external hits render repo-relative paths (#89)
- feat(memory): depth-2 impact chains over call_edges (#89)
- feat(memory): structural truncation visibility + offset pagination (#89)
- feat(tui): theme catalog, converter + 31-theme curated pack (#1461)
- feat(whatsapp): outbound rate limiter with pacing, rolling daily cap, queue and owner alert (#1407)
- feat(projects): identify a project by its repository remote, not its name
- feat(compaction): report the fallback walk on manual compact and every failure to the user (#1521)
- feat(skills): cursor-style globs frontmatter gate for skills (#1515)
- feat(brain): temporal grounding via turn ingress dual-time markers and user timezone resolution (#1516)
🔧 FIXES
- fix(whatsapp): unify persisted format across send and reply paths (#1490-E)
- fix(whatsapp): account for delivered chunks when a chunked send fails partway (#1490-B)
- fix(agent): stop reading signature algorithm names as sha claims (#1501)
- fix(compaction): ask HTTP providers through the stream path and fold it into one response (#1519)
- fix(tui): keep a running session marked processing when it regains focus (#1420)
- fix(context): clean persisted ledgers and reasoning from loaded rows for CLI providers too (#1522)
- fix(agent): bound output token reserve by context window (#1518)
- fix(brain): log backup-prune failures instead of printing them (#1413)
- fix(phantom): anchor work-announcement colon marker at end of line (#1513)
🔒 SECURITY
- fix(a2a): refuse an unauthenticated non-loopback bind, and compare the token in constant time
- fix(config): write config files owner-only, move daemon logs off /tmp, scrub all secrets from logs (OC-05)
📖 DOCS
- docs(changelog): state the measured ratio rather than a rounded one
- docs(readme): Claude Code CLI refuses its headless mode as root on a VPS
- docs(changelog): place v0.5.0 against v0.3.9 rather than calling it the largest release
🧹 MISC
- test(onboarding): pin the #1419 xiaomi baseline fallback with tests
- refactor(test): move #1422's inline TelegramState tests under src/tests/
- style: apply rustfmt to the merged sub-agent parent-binding work
- style(tests): apply rustfmt to rotation test, fix mod registration order
- style: rustfmt the cherry-picked PR work against current main
📊 STATS
- 213 commits since v0.5.0
- 6 contributors
- 373 files changed, +27,981 / -2,729 lines
- 8,397 tests (8,367 passed, 0 failed, 30 ignored)
README drift audit
- README.md:4588 "Run tests (8,227 tests across 833 modules: 8,207 of them under
src/tests/, ... plus 20 inline in src/tui/render/presets_test.rs and
src/channels/telegram/rich/inline.rs" -> STALE, three ways:- count is now 8,397 (8,367 passed, 30 ignored)
- module file count is 863, not 833
- src/tui/render/presets_test.rs no longer exists; the only inline remainder is
4 tests in src/channels/telegram/rich/inline.rs
Suggested: "Run tests (8,412 tests across 863 modules: all but 4 under
src/tests/, where tests belong; 4 inline in
src/channels/telegram/rich/inline.rs;"
- No other version or backend refs are stale: QMD is still a live backend in
src/memory/*, no v0.5.0 strings elsewhere in README. - Cargo.toml version "0.5.0" -> "0.5.1" (release commit, not README).
Full Changelog: adolfousier/opencrabs@v0.5.0...v0.5.1