Skip to content

You own what ships.

AI writes the code. You keep the decisions. An OpenCode plugin that puts your approval, your criteria and your team's engineering rules on every change.

Feature 001Paginate the user listRev. A
Drawn byDelivery agentspec.md, code and tests
Checked byRefactor agentevery AC, EC and team rule
Approved byYounothing ships without it

Everything a careful developer would do. Now your agents do it too.

Nothing is coded before you approve the spec.

Each feature gets a written spec with acceptance criteria, edge cases, exact paths and applied rules. Only your explicit Approve unlocks implementation.

See how it works
# 001: Paginate the user list

## Acceptance
- AC-1: Given 45 users, when GET /users?page=2,
  then 20 users and pagination metadata are returned.

## Edge Cases
- EC-1: pageSize above 100 -> 400 INVALID_PAGE_SIZE

? Approve this spec        [Approve]  [Request changes]
  1. Install the plugin

    opencode plugin add @thomasrumas/signoff
  2. Restart OpenCode and prepare the project

    /codegraph-init
    /rules-install

    Both optional: index the code, install the review rules.

  3. Ask the orchestrator

    > Add pagination to GET /users
  1. > Add pagination to GET /users
  2. orchestrator Proposed feature 001: paginate the user list
  3. ✓ Feature approved
  4. delivery spec.md → AC-1, AC-2, EC-1 · rules: nestjs/03-controller
  5. ✓ Spec approved
  6. delivery Implemented + 3 tests
  7. refactor AC-1 ✓ AC-2 ✓ EC-1 ✓ → PASS
  8. Suggested commit: feat(users): paginate user list

Full installation guide

The job was never just code.

75%

of developers say they have more responsibility for validating the quality and safety of AI-generated output.

79% agree individual developer productivity has improved with AI, but overall software delivery has not accelerated at the same pace.

85% agree AI has shifted the bottleneck from writing code to reviewing and validating it.

PRs merged per developer+98%
Average pull request size+154%
Median review time+91%

Changes from low to high AI adoption: more PRs, larger PRs, and longer median reviews. The same person signs off at the end.

Sources: Atlassian, State of Developer Experience 2026, GitLab AI research, Faros AI report (PDF).

AI has not removed day-to-day friction.

49% of developers spend 4+ hours per week reviewing AI output, correcting prompts, and more.

Only 28% say they experience noticeably less friction across their day-to-day workflow than before AI.

Source: Atlassian, State of Developer Experience 2026.

28 out of 100 developers report noticeably less day-to-day friction than before AI.

When production breaks, nobody asks which model wrote the line.

You answer for the logic, the security, the architecture and what customers see. Accountability without control is a bet. So the work is split where the risk is.

Agents carry the volume

  • Boilerplate and repetitive transformations
  • Tests for the criteria you approved
  • Documentation updates
  • Applying team conventions file by file

You keep the decisions

  • Business logic
  • Security boundaries
  • Architecture decisions
  • Behavior with customer or regulatory impact

Two signatures before any code ships.

  1. 1

    You define the need

    The orchestrator asks the questions that change behavior and records the answers.

  2. 2

    You approve the features

    The request is split into small features. Each one waits for your go-ahead.

  3. 3

    Delivery writes the spec

    Exact paths, acceptance criteria, edge cases, applied rules, coverage plan.

  4. 4

    You approve the spec

    Only an explicit Approve unlocks implementation.

  5. 5

    Agents build and verify

    Delivery implements and tests. Refactor checks every criterion and rule, with evidence.

  6. 6

    You commit

    Changed files listed, commit message suggested. History stays yours.

How the workflow runs

Your job moves to the spec and the understanding.

When AI writes more of the code, your value is in what it can't own: a spec that says exactly what must be true, and an understanding of the system deep enough to answer for it. The plugin helps you keep both.

Own the spec

Orchestrator and Delivery agents

Every feature gets a written spec with its acceptance criteria and edge cases. Archived specs record what was built and why, so the intent survives the chat.

How specs work

Trust, but verify

Reviewer agent

/review runs Open Code Review with your team rules, covers every changed file, ranks findings by severity and proposes a fix plan you approve. A first check before your own.

How review works

Keep the understanding

Documentation agent

Architecture, decisions, how a feature flows, the data model: written from the code, approved by you, kept in the repository. The knowledge stays when the context window doesn't.

How documentation works

AI arrived before the rules.

80%
agree their organization adopted AI tools faster than it developed policies to govern them.
92%
report some form of governance challenge with AI-generated code.
82%
say AI-generated code risks a new kind of technical debt they are not ready to manage.

Source: GitLab AI Accountability research, conducted by The Harris Poll.

Governance can't be a document nobody reads. It has to live where the code is written, and be applied every time.

Onboard your agents like a new teammate.

When a developer joins, nobody hands them a keyboard and walks away. We teach them the company's rules, the team's engineering conventions and the reasons behind them. That is what makes them effective. Your agents deserve the same onboarding.

---
title: NestJS controller (transport boundary).
globs: ["**/*.controller.ts"]
sources:
  - engineering-rules/design/001-business-oriented-api-design.md
  - engineering-rules/observability/002-controller-error-translation.md
---
- Keep handlers thin: bind and validate input, translate
  results and errors, return the service result.
- Responses MUST be project-owned response DTOs.
- Collection endpoints use the shared paginator.
  • globs Served only when a controller is touched.
  • sources The reasoning behind each line, one click away.
  • checklist Applied by Delivery, verified by Refactor, checked again by /review.
Decide once
A convention written once applies to every feature, every agent, every developer.
Say why
Each decision keeps its context and rejected alternatives. Agents apply it with judgment; newcomers learn the reasoning.
Version it like code
Markdown in your repository, changed through pull requests, overridable per project.
Load only what matters
Only the checks for the files being touched enter the context.
Write and review with the same rules
What guided the implementation is exactly what the review checks, locally and in CI.
Keep tasks and knowledge apart
Rules hold what stays true. The spec holds what changes with each request.

Shipped with 9 NestJS checks, 6 Vue checks and 110 rules and decisions from years of production work. Browse the rules

What changes, step by step.

StepGeneral-purpose AI agentWith Signoff
Start of sessionYou re-explain the project and past decisions.Memory restores requirements, features and statuses.
Clarifying the needIt guesses and starts coding.It asks what changes behavior and records the answers.
ScopingOne prompt, one sprawling change.Small features, approved one by one.
PlanningThe plan, if any, lives in the chat.A written spec you approve before any code.
Writing codeInternet-average conventions.Your team's checks, for exactly the files touched.
TestsOptional, often happy path only.A test for every acceptance criterion and edge case.
VerificationThe author grades its own work.A separate agent verifies each criterion, with evidence.
ReviewGeneric, may skip files.Your rules, file-by-file coverage, fixes after approval.
CommitSometimes commits on its own.Files listed, message suggested. You commit.
Next sessionContext is gone.Spec archived, memory updated. Work resumes.

A method, not the method.

This plugin encodes one way of working: clarify, specify, approve, verify. It could just as well have been test-first, with agents writing failing tests before any code. The point is not this workflow. The point is that AI can follow your team's method instead of improvising its own. Take it, bend it, replace it.

I'm Thomas Rumas, Developer Advocate. My job is helping developers adopt practices that last, and onboarding is where it starts. This plugin is what I would teach any new teammate, written down so agents can learn it too.

Read my blog

Nothing here is new. That's the point.

The plugin brings to AI the practices good teams already rely on. Seniors will recognize them, juniors will learn them, and agents will finally follow them.

Proven practiceIn the plugin
Small batches, user storiesRequests split into small, approved features
Given / When / ThenAcceptance criteria AC-*
Boundary and negative testingEdge cases EC-*
Design review before codingSpec approval
Definition of DoneCoverage plan, verified criterion by criterion
Separate author and reviewerDelivery implements, Refactor verifies
Coding standards, review checklistsEngineering checks, reused by the review
Architecture Decision RecordsVersioned decisions with status and rationale
Atomic, conventional commitsOne feature, one suggested commit
Shared team knowledgeProject memory and rules in the repository

Built on tools you may already know

Sign off on every change.

Let the agents write. Keep the decisions.

Questions you're probably asking.

Isn't this slower than letting the AI code?

Approving a feature and a spec takes minutes. Rewriting a change that ignored your conventions, missed an edge case or touched 14 files takes hours, and the review pays the bill.

We already have an AGENTS.md.

Keep it. A single instructions file is loaded whole, rarely explains why, and is not used by the review. Team rules are served per file, carry their rationale, and drive both implementation and review.

Our conventions differ from yours.

They should be yours. Override any rule in .opencode/rules/ or add your own stack.

Will the AI commit for me?

Never. It suggests the message; you decide.

Where does my code go?

Only to the model you configured in OpenCode. Everything else stays local, and CodeGraph telemetry is off.

You own what ships.