oy-cli 0.11.16

OpenCode launcher and deterministic MCP helpers for repository audit and review workflows
Documentation
# Repeatable repository audits and reviews for opencode

`oy` gives [opencode](https://opencode.ai/) users a bounded path from deterministic repository inputs to security audits, code-quality reviews, and focused remediation.

## Why oy

### Visible coverage

Gitignore-aware manifests and ordered chunks replace silent, model-selected sampling. Oversized runs fail closed.

### Restricted review

Audit and review agents receive oy evidence tools, not generic shell, edit, search, or web tools.

### Reports that survive chat

Markdown and SARIF reports carry stable finding IDs and statuses into reruns and one-finding remediation.

## Quick start

```bash
curl -fsSL https://oy.adonm.dev/install.sh | sh
# Restart or activate your shell as instructed, then:
oy doctor
oy audit
```

The full installer uses [mise](https://mise.jdx.dev/) to install oy, opencode, and optional local evidence helpers, then runs global setup. [Review the installer](install.sh) before piping it to a shell.

For a minimal manual install:

```bash
mise use --global cargo-binstall cargo:oy-cli opencode
oy setup
oy audit
```

Continue with [Getting started](getting-started.md) or go directly to the [workflow guide](workflows.md).

## One focused loop

1. **Audit:** `oy audit` writes `ISSUES.md` or SARIF.
2. **Review:** `oy review main` writes `REVIEW.md` for a target diff.
3. **Remediate:** `oy enhance <finding-id>` fixes and verifies one finding.
4. **Confirm:** rerun the originating audit or review to update its status.

## A precise claim

> **Deterministic inputs, not deterministic conclusions.**

oy owns collection, ordering, limits, and report rendering. opencode owns model execution, and model findings vary by model and prompt. “Every chunk” means every collected chunk; [documented exclusions](workflows.md#coverage-and-failure-limits) still apply.

## Where to go next

- [Install and configure oy]getting-started.md
- [Understand audit, review, and remediation]workflows.md
- [See representative reports and CI integration]examples.md
- [Look up commands, MCP tools, and environment variables]reference.md
- [Check supported and tested environments]compatibility.md
- [Read the project direction]project.md
- [Browse the Rust API]https://docs.rs/oy-cli