All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased (next-minor or 4.3.0)
default_modeconfig auto-activates ultrawork and ralph loop without typing commands. Set it once in your plugin config and every new session starts in high-agency mode. (PR #4190)- Toast i18n with English and Chinese locales, backed by plugin config. UI messages now respect your language setting. (PR #3884)
disabled_providersconfig schema and helper. Block providers you do not use from appearing in model resolution and fallback chains. (PR #4031)plan-format-validatorhook warns when task labels in.omo/plans/*.mdare malformed, catching plan syntax errors before execution. (PR #4221)- Prometheus gains spec-driven development framework awareness (OpenSpec, .specify). The planner now reads specification files and factors them into interview questions and task breakdowns. (PR #2307)
- Per-agent skill filtering. Skills can declare
restrictedAgentsso only eligible agents see them in prompts and tool descriptions. (PR #2827) look_atasync refactor. Image analysis dispatches non-blocking and returns when ready, keeping the session responsive during multimodal work. (PR #4098)keyword-detector.enabled_expansionsconfig gives allowlist control over which keyword expansions fire. (PR #4084)doctorCLI now warns whenoh-my-openagent/tuiis missing fromtui.json, catching incomplete installs. (PR #4048)taskCleanupDelayMsconfigurable for background tasks. Tune how long finished background task artifacts linger before cleanup. (PR #3241)- Per-agent
displayNamefor i18n. Agents can present localized names in UI and logs. (PR #4081) - Grok family models registered with
reasoningEffortsupport. (PR #4186) - CLI
setupalias forinstall. Either command runs the interactive setup wizard. (PR #4174) - Codex CLI Light edition (
omo-codex): one-command install viabunx oh-my-openagent install --platform=codexor the newlazycodexbin entry. Vendored Codex plugin namespaceomowith rules, comment-checker, LSP, ultrawork, and ulw-loop components. Plugin lands in~/.codex/plugins/cache/sisyphuslabs/omo/and is enabled in~/.codex/config.toml. Idempotent installer (re-running is safe). - New
--platform <opencode|codex|both>install flag (defaultopencode). Replaces the previous Codex-as-optional-addon model —--platform=codexinstalls only the Codex Light edition,--platform=bothinstalls both editions in one run. - Three new bin entries:
omo(short alias) andlazycodex(auto-defaults--platform=codex). Existingoh-my-opencodeandoh-my-openagentcontinue to work unchanged. - New PostHog telemetry stream
omo_codex_daily_activedistinguishing omo-codex installations from omo-opencode. Independent opt-out viaOMO_CODEX_DISABLE_POSTHOG=1orOMO_CODEX_SEND_ANONYMOUS_TELEMETRY=0; globalOMO_DISABLE_POSTHOGandOMO_SEND_ANONYMOUS_TELEMETRYstill suppress both products. - omo-codex now reports true daily-active usage (DAU/WAU/MAU). A new Codex plugin component
telemetry(packages/omo-codex/plugin/components/telemetry/) fires a singleomo_codex_daily_activeevent withreason: "session_start"from every CodexSessionStarthook, with the same UTC-day deduplication, hashed installation identifier, and opt-out env vars as the install-time event. Identity constants stay byte-equivalent across the CLI installer and the plugin runtime viapackages/omo-codex/src/telemetry/cross-package-equivalence.test.ts. - Triple-publish to npm:
oh-my-opencode,oh-my-openagent, and the newlazycodexpackage with the same compiled CLI and four bin commands. Seedocs/reference/lazycodex-npm-reservation.mdfor the first-publish playbook.
- Massive package layering refactor. Eight workspace packages extracted:
utils,hashline-core,model-core,rules-engine(renamed fromrules-core),agents-md-core,ast-grep-core,comment-checker-core, andboulder-state. This is the foundation for the multi-harness roadmap. model-corenow uses dependency injection, eliminating allsrc/back-imports from core packages. The host harness injects its snapshot fetcher, suggestion parser, and context-limit resolver.prompt-async-gatesplit from a 779-line monolith into six focused sub-modules: reservations, queue, message state, dispatch runner, and a thin facade.- Additive OpenCode config directory discovery. The plugin now loads global agents and walks configs from both default and custom OpenCode config roots. (PR #3875)
delegate_tasknow supplies sensible defaults forrun_in_backgroundandload_skillsinstead of throwing when they are omitted. (PR #4121)
- Background-agent session activity tracking and stale timeout. Missed polls are preserved on lookup errors, session stream activity is forwarded, and stale cancellation is deferred when activity is detected. (PR #4226, #4228, #4235)
- Team-mode hard-rejects coordinator agents as subagent targets, preventing invalid team composition. (PR #4027)
- Team-mode member errors now surface to the main agent instead of being swallowed. (PR #3923)
- Team-mode port-0 fallback and silent layout skip resolved. (PR #3963)
- Team-mode base directory initialization no longer crashes on Windows with
EPERM/ENOTSUP/EINVALfromchmod. (PR #4023) - Team-mode config writes are now atomic through writable handles. (PR #3838)
- Team-mode preserves team membership across model fallback switches. (PR #3898)
- Team-mode
team_createnow validates hard-reject agents before accepting the request. (PR #3987) - Runtime-fallback synthetic continuation when session messages are empty, preventing silent failure on Git operations and other empty-history retries. (PR #3645)
- Runtime-fallback recognizes more provider quota error names and patterns. (PR #3937)
- Runtime-fallback marks OpenAI
server_errorpatterns as retryable. (PR #3799) - Windows Git Bash / MSYS2 shell detection now runs before
PSModulePathchecks. (PR #3370) - Windows interceptor auth injection binding fixed. (PR #3499)
- Windows powershell syntax fallback for non-interactive environments regardless of
SHELL/MSYSTEM. (PR #3607) - WSL opencode binary detection in
doctornow resolves the correct path. (PR #2991) - Tmux-subagent drains terminal probe replies during delegated pane startup. (PR #2887)
- Tmux-subagent waits for session readiness before spawning the attach pane. (PR #0465)
- Tmux-subagent skips layout enforcement when closing an isolated container pane. (PR #4100)
- Skill-mcp-manager survives MCP reloads and disconnections. (PR #4099)
- Skill-mcp-manager trusts explicit skill MCP environment variables. (PR #3995)
- Slash-commands inject command content exactly once, removing duplicate injection. (PR #3724)
- Hyperplan no longer fires on
.hppC++ header paths. (PR #4215) - Todo-continuation-enforcer stops looping after all todos are complete. (PR #4013)
tool.definitionhandler is now wired sotodo-description-overrideactually fires. (PR #3705)- Model parsers guard against non-string input, preventing crashes on malformed capability data. (PR #4145)
mcp_prefix stripped from tool names before dispatch, fixing namespaced tool routing.prometheus-md-onlyreplaced theSYSTEM DIRECTIVEmarker with an XML tag in external prompts. (PR #4036)- Shell
globandgreptolerate broken symlinks and non-fatal I/O warnings. chat-messagerefreshes stale session-agent cache from explicitinput.agent.delegate-taskdefaultsrun_in_backgroundandload_skillswhen omitted. (PR #4119)- Skill-loader supports unambiguous short skill names. (PR #4146)
- Process-cleanup calls
process.exit()afterSIGTERMcleanup, ensuring graceful shutdown. (PR #4026)
- Notepad-write-guard wired and extended to
.omo/notepads, preventing accidental overwrites in the new workspace layout. - i18n
initI18n()is now called in production startup, so locale settings actually take effect. start-worksession-plan-affinity now matches.omo/plans/correctly.default_modeultrawork + ralph loop initial turn now receives the ultrawork system prompt.- Multimodal-looker prompt tool allowlist is now consistent with the runtime tool allowlist.
delegate-taskenforces per-agent skill restrictions declared by skills.model-corerestored OpenAIserver_errorretryable patterns, fixing a regression introduced during package extraction.
4.2.3 - 2026-05-20
packages/rules-core: new workspace package extracting rule discovery, matching, caching, and nested AGENTS.md context utilities. Part of the ROADMAP multi-harness package layering refactor.packages/ast-grep-mcp: nativesrc/tools/ast-grepremoved and replaced with a package-backed MCP server. User-facing tool namesast_grep_search/ast_grep_replaceare preserved via MCP namespacing (serverast_grep+ toolssearch/replace).disabled_toolscontinues to honor the legacy names.- Rules-injector transcript hydration: dedup cache is now seeded from the session transcript on context-recovery, preventing duplicate rule injections after compaction.
- Comment-checker now parses
apply_patchtool payloads, detecting AI slop comments in patch-style edits (not just plain file writes). setSisyphusRuleDeprecationLoggerexport from@oh-my-opencode/rules-enginelets the host inject its logger so the core package stays free of harness-source imports.ROADMAP.mddocuments the multi-harness package layering refactor and contribution flow (ROADMAPlabel).
prompt-async-gate:DEFAULT_PROMPT_ASYNC_POST_DISPATCH_HOLD_MSdefault raised from 250 ms to 2_000 ms (8x) to absorb slower-providersession.errorarrivals before reservation release. The constant remains a public export; callers can still override viapostDispatchHoldMsper dispatch.docs/reference/prompt-async-gate-rfc.mdupdated accordingly.team-mode:team_send_messageambiguous-failure path now releases the reservation, commits on success-path mark failures, preserves live delivery holds, and decouples resume history from session routing (BUG-A / BUG-B).runtime-fallback: recognises every OpenCode progress event shape (message.part.updated,message.part.delta,message.updated) and boolean/completed finish markers, preserves accepted pending retries, and detects finish-only tool waits (BUG-C / BUG-D).background-agent: parent-wake on same-source reservation now re-enqueues instead of dropping the wake (BUG-E).rules-core:findRuleFilesfalls back toworkspaceDirectorywhen no project root marker is found (BUG-F).cli doctor: lists all built-in MCP servers (websearch,context7,grep_app,lsp,ast_grep) and bootstraps the LSP MCP fallback script when no CLI binary is present.
rules-coresecurity: project rule files and directories can no longer escape the workspace via symlinks.findRuleFilesRecursiveand the project-single-file path now require every realpath to remain within the scan boundary, blocking attacks where a hostile repo points.github/copilot-instructions.md(or any.omo/rulesentry) at host secrets such as~/.ssh/id_rsa. Tests track the boundary contract inpackages/rules-core/src/index.test.ts.test-isolation: rules-injector storage and fixture home isolated per-test; cross-suite leak diagnostic regression test added.ast-grep-mcp: absolute paths whoserealpathstays inside the workspace are now accepted (covered by red test);pathentries are normalized viaresolve+realpathand rejected for null bytes, leading-, and out-of-workspace traversal.runtime-fallback: completion progress events (message.part.updated, deltas, finished markers) now correctly recognized, preventing false-negative retry triggers on sessions that are actually making progress.context-recovery: idle sessions are now handled during context recovery, avoiding stale state when compaction fires on an already-idle session.rules-injector: storage writes now retry after cleanup races, preventing transient ENOENT failures during concurrent compaction + rule injection.plugin: syntheticstatus: idleevents now correctly trigger idle hooks, ensuring continuation and recovery hooks fire even when OpenCode emits synthetic idle after tool completion.rules-coresecurity (additional): package fully isolated from harness imports; symlink escape blocking extended to cover rule directory scanning (not just individual files).
- Restored
.sisyphus/rulesand~/.sisyphus/rulesrule-source discovery that was silently removed in v4.2.2..HEAD. They now load with LOWEST priority among project rule sources and emit a deprecation warning. Planned removal in v4.3.0: migrate to.omo/rulesand~/.omo/rules.
packages/rules-coreno longer imports../../../src/shared/logger. ROADMAP's "core has no harness dependencies" invariant is now upheld; the host injects its logger fromsrc/hooks/rules-injector/rule-file-finder.tsas a module-level side effect.README.ru.mdgains the OmO logo to matchREADME.md/README.ja.md/README.ko.md/README.zh-cn.md.- CLA signatures added for PR #4176, #4180, #4181, #4186.
src/shared/prompt-async-gate.tsis 885 LOC, well past the 250-LOC architectural ceiling. Splitting it intoprompt-reservations,prompt-queue,prompt-message-state,prompt-dispatch-runner, and a thin facade is queued with the broader multi-harness refactor.- Root
package.jsonstill declares@ast-grep/napiand the doctor still checks the NAPI dependency even though the native tool is gone. Cleanup ships with the next ast-grep harness pass.
- Landing page decomposed from 832 LOC into 10 section components; manifesto page from 358 LOC into 9 section components.
- Design system tokens extracted into
DESIGN.mdwith consistent spacing, color, and typography variables. - Dynamic OG + Twitter card images via
next/og, later switched to static PNG file convention for reliability. - Hero "Get Started" CTA now links to
/docs#installation(closes #3848). - Nested
<main>on manifesto page removed for WCAG 1.3.1 compliance. - UX/accessibility polish pass + middleware metadata route fix.
- Responsive test matrix added: 6 viewports x 4 locales x 2 pages.
- CI/build pipeline optimized; dead dependencies removed.
- Added
ROADMAP.mddescribing the package layering refactor and multi-harness direction. - Added OmO logo to
README.ru.mdfor parity with the other localized READMEs. - PR merge policy documented: merge commits required, squash/rebase forbidden.
prompt-async-gate-rfc.mdupdated withDEFAULT_PROMPT_ASYNC_POST_DISPATCH_HOLD_MS250 -> 2000 rationale.
4.2.0 - 2026-05-15
createPluginModuletest seam moved out of public API surface tosrc/testing/create-plugin-module.ts. New public exports for the prompt-async-gate primitives:dispatchInternalPrompt,releasePromptAsyncReservation,DEFAULT_PROMPT_ASYNC_POST_DISPATCH_HOLD_MS,DEFAULT_PROMPT_DISPATCH_TIMEOUT_MS.ParentWakeNotifiermodule (src/features/background-agent/parent-wake-notifier.ts) extracted fromBackgroundManager. Background-agent parent-wake state now lives in its own narrow class with dependency-injected client, directory, and notification enqueue callback.
prompt-async-gatenow uses a shared internal runner for both sync (prompt) and async (promptAsync) dispatch wrappers, deduplicating the reserve/settle/check/dispatch/hold/release flow.releasePromptAsyncReservationacceptsreservedByPrefixonly when the prefix ends in:(e.g.,model-fallback:), preventing accidental release of sibling reservations whose source merely starts with the same identifier characters.- Version bump from 4.1.2 to 4.2.0. Reason: added public exports for the gate primitives qualify as MINOR per semver. No removals or breaking signature changes.
prompt-async-gate: dispatch timeout viaPromise.racewith a default 30s window. Previously a hungpromptAsyncdeadlocked the gate for that sessionID until process restart. (BLOCKER-1)prompt-async-gate: post-dispatch failure now keeps the reservation hold regardless of whetherpromptAsyncresolved or threw. AGENTS.md's documented race window ("returns before durably accepted, later failures arrive assession.error") is now covered. (BLOCKER-2)prompt-async-gate.test.ts: replacedsetTimeout-based synchronization with event-driven patterns to comply with the new.omo/rules/test-discipline.mdrule. (BLOCKER-3)model-suggestion-retry: releases the reservation before the suggested-model retry so the second attempt can dispatch immediately. Without this, BLOCKER-2's post-dispatch hold trapped the retry path.
prompt-async-route-audit.test.tsmigrated to TypeScript compiler API for AST-based detection. Catches destructuring, bracket access, optional chaining, and type-cast aliasing bypass patterns. Two existing production callers are documented inRAW_PROMPT_ALLOWLISTwith justifications:src/plugin/event.ts(team-idle-wake-hint client facade) andsrc/hooks/session-recovery/recover-unavailable-tool.ts(capability check before gate-routed dispatch). (HIGH-5)- New
mock-module-lifecycle-audit.test.tsenforces cleanup pairing formock.module(...)calls in test files; existing offenders allowlisted with TODO references. (HIGH-10) .omo/rules/test-discipline.mdadded in this release window forbiddingsetTimeout(resolve, N)andawait sleep(N)in test bodies unless time is the SUT. Several CI sharding commits earlier in the window were superseded by removing the sharded runner in favor of the rule.
- Delegated child-session early-failure fallback (BLOCKER-4): PR #3825's
fac90d69fwas reverted by PR #4044 because its own regression test failed on clean rootbun test. The delegate-task fallback bug for empty session history remains unaddressed in v4.2.0. Reland targets v4.2.1 once the regression test is stabilized against post-#4032 schema and the new gate semantics. Seedocs/reference/known-issues.mdfor details and workaround. - First-prompt watchdog supersession history (L16): PR #3952 was superseded by PR #4051 (rebased over #4007/factory refactor with
internallyAbortedSessionsthreading). The supersession represents conflict resolution, not a feature pivot. The final watchdog logic shipped via #4051 +a130fa70dcovers subagent first-prompt silence past 90 seconds with cleanup via session.deleted.