All notable changes to this project are documented in this file.
- Added ecosystem extension guidance for
opencode.nvim(Neovim integration) andOpenChamber(desktop/web UI). - Added install and verification commands for both optional integrations.
- Added
scripts/install_wizard.pyfor guided install/reconfigure flows across plugin, MCP, policy, telemetry, post-session, and optional ecosystem integrations. - Added installer flags
--wizardand--reconfigurefor guided setup and repeatable reconfiguration. - Added
/nvimcommand suite with installable Neovim keymap profiles (minimal,power) plus status/doctor/uninstall flows. - Added autocomplete shortcuts for Neovim integration workflows and JSON diagnostics.
- Added
/devtoolscommand suite for external productivity tooling status, doctor, install, and hook bootstrap flows. - Added
.pre-commit-config.yaml,lefthook.yml, and.envrc.exampleto standardize local productivity setup. - Added
scripts/config_layering.pywith shared layered config discovery and JSONC parsing support. - Added
/config layers(and--json) to inspect layered config precedence and effective write path. - Added
instructions/background_task_model.mddefining lifecycle, storage schema, retention, concurrency, and stale-timeout defaults for Epic 2 background orchestration. - Added
scripts/background_task_manager.pywith enqueue/run/read/list/cancel/cleanup operations, log+metadata capture, and stale/retention cleanup controls. - Added
/bgcommand suite (start|status|list|read|cancel|cleanup|doctor) and autocomplete shortcuts (/bg-help,/bg-list,/bg-running,/bg-doctor-json). - Added optional background completion/error notifications that honor existing
/notifyevent/channel settings, withMY_OPENCODE_BG_NOTIFICATIONS_ENABLEDoverride support. - Added
/bg-status-jsonshortcut and richer background diagnostics payloads (/bg status --json,/bg doctor --json). - Added
instructions/refactor_lite_contract.mddefining/refactor-litesyntax, guardrails, and success/failure output contract for Epic 3. - Added
scripts/refactor_lite_command.pybackend with preflight target analysis, structured plan output, and verification hooks (make validate, optionalmake selftest). - Added
/refactor-litecommand templates and shortcuts inopencode.json, plus installer hints for dry-run/self-check usage. - Added
instructions/keyword_execution_modes.mddefining reserved keywords, deterministic precedence rules, and request-level opt-out syntax for Epic 8 Task 8.1. - Added
scripts/keyword_mode_schema.pyandscripts/keyword_mode_command.pyto parse prompt keywords, resolve precedence-aware mode flags, and persist keyword mode runtime context. - Added
/keyword-modealiases (status|detect|apply) to inspect and apply keyword-triggered execution modes. - Added keyword mode controls for global enable/disable and per-keyword toggles (
disable-keyword/enable-keyword) with persisted config state. - Added
instructions/conditional_rules_schema.mddefining rule frontmatter schema, discovery precedence, conflict resolution, and validation requirements for Epic 9 Task 9.1. - Added
scripts/rules_engine.pyimplementing frontmatter parsing, layered rule discovery, path-based matching, deterministic precedence sorting, and duplicate-id conflict reporting. - Added
scripts/rules_command.pywith/rules status,/rules explain, per-rule disable/enable controls, and/rules doctordiagnostics. - Added
instructions/rules_team_pack_examples.mdwith practical team rule-pack layout and sample rule files. - Added
instructions/context_resilience_policy_schema.mddefining truncation modes, protected artifacts, and resilience notification levels for Epic 11 Task 11.1. - Added
scripts/context_resilience.pyimplementing resilience policy resolution and deterministic context pruning primitives. - Added recovery workflow planning in
scripts/context_resilience.pywith resume hints, safe fallback steps, and diagnostics payloads. - Added
scripts/context_resilience_command.pywith/resilience statusand/resilience doctorstress diagnostics. - Added
instructions/context_resilience_tuning.mdwith practical tuning guidance and operating playbook. - Added
instructions/model_fallback_explanation_model.mddefining provider/model fallback trace structure, output levels, and redaction rules for Epic 12 Task 12.1. - Added persistent model-routing trace runtime support with
/model-routing trace --jsonfor latest requested/attempted/selected fallback diagnostics. - Added
/routingcommand surface (status,explain) viascripts/routing_command.pyfor compact fallback visibility workflows. - Added
instructions/browser_profile_model.mddefining Browser Automation profile providers, defaults, migration behavior, and validation rules for Epic 13 Task 13.1. - Added
scripts/browser_command.pywith/browser status,/browser profile <provider>, and/browser doctorfor provider switching and dependency diagnostics. - Added
/browser,/browser-status,/browser-profile, and/browser-doctor-jsonaliases inopencode.json. - Added browser profile selection support to
scripts/install_wizard.pyvia--browser-profile <playwright|agent-browser>. - Added
instructions/plan_artifact_contract.mddefining/start-workplan metadata/checklist format, validation rules, step transitions, and deviation capture requirements. - Added
scripts/start_work_command.pywith/start-work <plan>execution, persisted checkpoint status, and deviation reporting (status,deviations). - Added
/start-work,/start-work-status, and/start-work-deviationsaliases inopencode.json. - Added
/start-work-bgand/start-work-doctor-jsonaliases for background-safe queueing and execution health diagnostics.
- Documented extension evaluation outcomes and when each tool is the better fit.
- Expanded install smoke and self-tests to cover non-interactive wizard execution paths.
- Expanded install smoke and selftest coverage for Neovim integration provisioning.
- Expanded installer and README guidance for direnv, gh-dash, ripgrep-all, and pre-commit + lefthook workflows.
- Updated
/mcpand/pluginto resolve layered project/user config with runtime override support. - Added selftest coverage for layered config precedence (
project > user > base) and JSONC parsing. - Expanded installer/readme/install-test coverage for layered config diagnostics.
- Migrated
/notify,/telemetry,/post-session,/policy, and/stackstate to layered config sections with legacy file fallback and env-var compatibility overrides. - Expanded selftest coverage to validate layered command-state writes for telemetry/policy/post-session flows.
- Expanded selftest and installer smoke coverage for the background task manager backend.
- Integrated background task diagnostics into
/doctorsummary output. - Expanded README async workflow examples for
/bgincluding failure/recovery troubleshooting. - Expanded selftest and install smoke coverage for
/refactor-litebackend preflight and verification behavior. - Added optional
/doctorintegration check forrefactor-litewhen backend script is present. - Expanded
/refactor-litetests/docs for argument parsing, safe-vs-aggressive strategy guidance, and install smoke coverage. - Added hook framework baseline module with
PreToolUse/PostToolUse/Stopevents, config normalization (hooks.enabled,hooks.disabled,hooks.order), and deterministic execution planning. - Added initial safety hook implementations for continuation reminders, output truncation, and common error recovery hints with a new
/hookscommand wrapper. - Added hook governance controls with global/per-hook toggles in config and telemetry-safe hook audit logging (
~/.config/opencode/hooks/actions.jsonl). - Added hook health diagnostics via
/hooks doctor --jsonand wired hook checks into unified/doctordiagnostics. - Added category-routing schema baseline (
quick,deep,visual,writing) with deterministic fallback behavior and validation helpers. - Added model-routing resolution engine with deterministic precedence/fallback tracing and integration points in stack profiles and install wizard model profile selection.
- Added
/model-profilecommand aliases, practical routing guidance, and unified doctor visibility for model-routing health. - Tightened model-routing verification coverage with deterministic fallback-reason assertions and expanded install smoke resolve scenarios.
- Expanded keyword mode docs with examples and anti-pattern guidance, plus stronger selftest/install smoke coverage for keyword toggle behavior.
- Added
/keyword-mode doctor --jsondiagnostics and integrated keyword subsystem health into unified/doctorchecks. - Expanded keyword mode verification for false-positive resistance (partial words and code-literal contexts) and opt-out/toggle smoke scenarios.
- Expanded selftest coverage for conditional rule discovery and effective-stack resolution behavior.
- Added
/doctorrules subsystem integration and expanded install/selftest coverage for rules command workflows. - Expanded rules verification to cover always-apply behavior, equal-priority lexical ordering, and richer discovery scenarios.
- Expanded selftest coverage for context resilience policy validation and pruning behavior (dedupe, superseded writes, stale error purge, protected evidence retention).
- Expanded selftest coverage for context recovery outcomes, including resume hints and fallback-path diagnostics.
- Expanded doctor summary coverage to include context resilience subsystem health checks.
- Expanded selftest coverage for model-routing trace persistence and runtime fallback-chain reporting.
- Expanded README guidance with category-driven routing examples and troubleshooting steps for unexpected model selection.
- Expanded routing verification coverage for deterministic trace stability and explicit fallback/no-fallback explain outcomes, and added
/routingsmoke hints in install output. - Marked Epic 13 as in progress in the roadmap and completed Task 13.1 definition notes.
- Expanded install and selftest coverage for browser provider profile switching and missing dependency guidance.
- Expanded README wizard/browser guidance with provider trade-offs, stable-first defaults, and
/browserusage examples. - Expanded browser verification coverage to assert provider reset readiness and added install smoke checks that run browser status/doctor after switching across providers.
- Expanded install/selftest coverage for
/start-workplan validation, execution state persistence, and deviation diagnostics. - Expanded
/start-workintegrations with background queue handoff, digest recap payloads, and unified/doctorvisibility.
- Added
/notifycommand with granular controls (global, channel, event, and per-event channel), plus shortcut commands and presets. - Added
/digestcommand enhancements including--run-post, plus a session wrapper script for digest on exit/Ctrl+C. - Added
/telemetrycommand for LangGraph/local endpoint forwarding with endpoint, timeout, per-event toggles, and diagnostics. - Added
/post-sessioncommand to configure and run post-session test/lint hooks with timeout and run-on policies. - Added
/policycommand withstrict,balanced, andfastpermission-risk presets. - Added
/notify doctorand/digest doctordiagnostics with JSON output for automation.
- Expanded installer self-check and command hints to include notify, digest, telemetry, post-session, and policy workflows.
- Expanded deterministic self-tests and
make install-testcoverage across notify, digest, telemetry, post-session, and policy flows. - Updated README with complete usage, shortcuts, and configuration guidance for new command groups.
- Hardened notification config parsing to safely handle invalid/non-boolean values.
- Added
/plugin doctor --jsonoutput for automation and CI integrations. - Added plugin command next-step suggestions and
/plugin helpguidance output. - Added autocomplete-friendly shortcut commands like
/plugin-enable-supermemoryand/plugin-profile-stable. - Added GitHub Actions CI workflow for script/config validation and installer smoke tests.
- Added
Makefilewithhelp,validate,doctor,doctor-json,install-test, andreleasetargets.
- Expanded README with maintenance commands and machine-readable diagnostics usage.
- Added
.gitignoreentries for Python cache artifacts.
- Added portable OpenCode config with global symlink-based install flow.
- Added
/mcpcommand with internal toggles forcontext7andgh_grep. - Added
/plugincommand with stable/experimental plugin management. - Added
/plugin doctordiagnostics for plugin prerequisites. - Added
/setup-keyscommand for copy-paste API key setup snippets. - Added installer self-check and
--non-interactivemode for CI/bootstrap. - Added MIT license and expanded setup/usage documentation.
- Set stable plugin defaults to
notifier,supermemory,wakatime. - Kept
morphandworktreeas opt-in experimental plugins.
- Removed external helper binaries in favor of internal OpenCode commands.
- Improved plugin management safety so
/plugin enable allonly targets stable plugins. - Added clearer troubleshooting guidance for missing API key prerequisites.