v2.5.0, minor releaseAI Rulebook

AI Rulebook 2.5.0: opencode support and test-command detection

AI Rulebook 2.5.0 adds opencode as a target and makes the rules fit the project they are installed in.

What's new

  • Rules mirrored to opencode

    When a workspace shows signs of opencode, the extension mirrors the rules into .opencode/rules/ai-rules/ and registers them in the opencode config, keeping JSONC comments and leaving an unparseable config untouched with a warning. Disabled rules are skipped, toggles update the copy immediately, and Sync rule pack to opencode runs it on demand.

  • Your real test command

    The Tests rule now names the project's own test command, detected from package.json (with npm, pnpm, yarn, or bun from the lockfile), Cargo.toml, go.mod, pytest config, or a Makefile test target. Previously it told agents to run the literal placeholder <your test command>.

  • Lint and type checks

    The Tests rule now has agents run a project's existing lint and type checks and fix what their change introduced, without adding a linter the project doesn't use.

  • Lighter Markdown rule

    The Markdown rule loads only while editing Markdown files, so it no longer takes up context on every other turn.

Also in this release

  • Disabled rules now show in red in both the sidebar and the Explorer.
  • The Scope rule states that tests and docs for a change are part of the task.
  • New setting aiRules.autoSyncOpencodeWhenInstalled (on by default).
Release on GitHubAll releases

Latest release