opencode-rgr-loop (0.1.0)

Published 2026-05-20 21:01:52 -07:00 by release-plz-bot

Installation

registry=
npm install opencode-rgr-loop@0.1.0
"opencode-rgr-loop": "0.1.0"

About this package

opencode-rgr-loop

Deterministic red-green-refactor orchestration for opencode.

This plugin is being built around an event-sourced control plane. Agents generate and review work, but deterministic plugin code owns state transitions.

Planned Usage

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": [
    [
      "opencode-rgr-loop",
      {
        "classification": {
          "test": { "paths": ["**/*.test.ts", "**/*.spec.ts", "tests/**"] },
          "production": { "paths": ["src/**"], "exclude": ["**/*.test.ts", "**/*.spec.ts"] },
          "nonBehavioral": { "paths": ["README.md", "docs/**", "*.config.ts"] },
          "protected": { "paths": [".env", ".env.*", "**/*.key", "**/*.pem"] },
          "allowUnknown": false
        }
      }
    ]
  ]
}

The plugin will expose an rgr_loop tool that accepts a BDD-style behavioral specification and optional final review agent names.

Event logs are local artifacts and should be ignored by consuming projects:

.opencode/rgr-loop/

Status

Initial scaffold. The reducer, schemas, event store, and plugin tool are under active development.

Dependencies

Dependencies

ID Version
zod latest

Peer dependencies

ID Version
@opencode-ai/plugin 1.15.6
Details
npm
2026-05-20 21:01:52 -07:00
3
MIT
6.8 KiB
Assets (1)
Versions (5) View all
0.2.3 2026-05-25
0.2.2 2026-05-21
0.2.1 2026-05-21
0.2.0 2026-05-21
0.1.0 2026-05-20