An omp plugin marketplace: deterministic quality gates for agent-written code.
omp plugin marketplace add lukavtz/assay
omp plugin install omp-assay@assayOr install the plugin directly, without the catalog:
omp plugin install github:lukavtz/assay#v0.1.0| Plugin | What it adds |
|---|---|
omp-assay |
assay tool, assay skill, commit guard. CRAP < 10, structural duplication review, mutation testing |
A skill alone is advice. A model that is told to keep functions simple agrees and moves on. The plugin ships measurements: cyclomatic complexity and coverage per function, structural similarity between functions, and mutation survival. The tool returns pass/fail, and a hook stops git commit while the result is missing, failed, or stale.
.omp-plugin/marketplace.json catalog read by `omp plugin marketplace add`
plugins/assay/ the installable plugin
skills/assay/SKILL.md the method
extensions/assay.ts registers the assay tool
lib/tool.ts checks, record, remediation
lib/engine/ parsing, complexity, coverage, duplication, mutation
assets/ tree-sitter runtime + six grammars (MIT)
tests/ bun tests
hooks/pre/commit-gate.ts blocks a commit on a missing, failed or stale gate
- Specification — surfaces, contracts, acceptance criteria
- ADR 0001 — superseded: the vendored Python tools
- ADR 0002 — why pass/fail is a persisted record
- ADR 0003 — own TypeScript engine, vendored tree-sitter, no Python
omp plugin link plugins/assay
omp plugin doctor
omp plugin listA linked plugin tracks source edits. Tools, hooks and extension modules need a new session, not /reload-plugins.
Test the gate on a project whose functions are known-bad:
cd some/project
omp -p 'Call assay with paths ["src"] and report the result.'git tag v0.1.0
git push origin main --tagsConsumers refresh with omp plugin marketplace update assay and omp plugin upgrade omp-assay@assay.
Plugin code MIT. Vendored parser assets (tree-sitter, grammars) MIT; versions and licenses in plugins/assay/assets/README.md.