Approve AI Coding Workflows, Not Just Vendors

Use a workflow-level approval matrix to define what AI coding tools may access and do, who owns each use, and what evidence is required before release.

OpenThunder Editorial · 2026-10-07

Three cut-paper compartments with separate latches hold a box, a branching track and a sealed parcel.

Service approval, workflow authorization and release approval are separate decisions; none automatically grants the others.

An AI coding tool approval policy should authorize specific workflows, not everything an approved vendor enables. Separate three decisions: purchasing the service, permitting access and actions, and approving the resulting code for release.

For an engineering leader, the practical output is an approval register. Each workflow needs a named owner, an access boundary, required evidence and a trigger for renewed approval. Permission to generate or execute code must not imply permission to weaken verification, obtain production credentials or approve a release.

Make three separate decisions

A vendor can stay the same while its role changes from suggesting a function to editing a repository or running commands. What matters is the workflow's effective authority, not just the product name.

Use three distinct approval gates:

Decision What it answers What it does not authorize
Vendor approval May the organization use this service under its contractual, security and data-handling requirements? Every integration, repository or execution mode the service might support.
Workflow authorization What may this configured tool read, write and execute, and in which environment? Acceptance of its output or permission to release it.
Release approval Does this change meet the team's review and deployment requirements? Broader access or authority for future tool use.

This lets leaders approve a narrow use without accepting every broader use. It also gives reviewers a clear reason to stop a workflow: it crossed its authorized boundary, even if the proposed code looks correct.

Use a workflow approval matrix

The following is a proposed starting policy, not a claim about any vendor's controls. Adapt it to your repositories and risk tolerance. In the actual register, replace each role with a named accountable person.

Approval evidence shows whether a workflow can operate within its boundary. Evidence for a particular patch is still required before release.

Workflow Accountable owner Allowed data and actions Evidence required to authorize use Prohibited actions Renewed approval required when
Suggestion-only assistance Repository maintainer Read approved code or snippets; return suggestions for a developer to evaluate and apply. Data-handling review; inspection of enabled context sources and integrations; confirmation that the configuration has no write or execution authority. Access to secrets or customer records; repository writes; command execution; release sign-off. Context expands to additional repositories or data classes, or write or execution access is enabled.
Branch-writing agent Repository engineering lead Read approved repository paths; write to a designated working branch; submit a diff for human review. Permission inspection; a bounded trial in a test repository; evidence that the workflow cannot change protected branches, verification policies or release controls. Direct writes to protected branches; self-approval or merge; changes to CI policy, required checks or credential configuration. Repository scope, writable paths, integration permissions or merge authority changes.
Sandboxed command execution Platform engineering owner Run approved build and test commands in a disposable environment with synthetic fixtures and restricted network access. Inspection of filesystem, identity and network boundaries; a trial showing denied access attempts are blocked; retained command logs and attributable test results. Production credentials or endpoints; live customer data; host-level access; deployment; disabling verification controls. Changes to the sandbox image, commands, network destinations, mounts or available identities expand authority.

These rows are not a maturity ladder. A team may keep suggestion-only assistance indefinitely, or authorize execution for one isolated repository while declining it elsewhere.

Permissions are cumulative. A branch-writing workflow that also runs commands must satisfy both sets of boundaries. Calling it a “coding assistant” does not reduce what its credentials, mounts or integrations allow.

Record the boundary, not just the approval date

A compact authorization record makes the matrix usable:

Workflow name and purpose:
Named accountable owner:
Authorized users and repositories:
Approved data classes and context sources:
Allowed reads, writes and commands:
Execution environment and network destinations:
Explicitly prohibited actions:
Evidence supporting authorization:
Required review and release gates:
Material changes requiring renewed approval:
Person authorized to suspend access:
Review date or expiration condition:

The owner keeps this record accurate; they need not personally review every line of code. Reviewers assess each patch. The designated release authority decides whether to accept it into a release.

If a tool cannot enforce a boundary, do not describe it as a technical control. Restrict the surrounding environment, narrow the workflow or explicitly decide whether a documented procedural control is sufficient.

An instruction saying “do not deploy” is not equivalent to removing deployment credentials.

Keep approval records and required verification policies outside the workflow's writable scope. A workflow must not be able to broaden its own authorization by editing the file that defines it.

An ink-drawn enclosure holds a drive and interlocking gears, with a key, server cabinet and locked folder outside.

In the hypothetical execution workflow, isolation must cover files, credentials, networks and indirectly invoked scripts, not merely the names of permitted commands.

Require evidence tied to the actual change

Tool-use authorization does not establish that a patch is correct. Apply the release checklist to the entire change, including human edits made after the tool's contribution.

Verification depth should follow the consequences of the change. A documentation correction and an authorization-rule change need not receive identical scrutiny. Neither should bypass required gates because the tool was approved.

Worked example: adding execution to a branch-writing workflow

Hypothetical scenario: A team has authorized a tool to edit application code on a working branch. It now wants the same tool to run tests and repair failures. Assume the existing approval permits no commands, no CI-policy edits and no production access.

That requires a new workflow authorization, even if the vendor approval remains unchanged.

Before enabling execution, the platform owner maps what the environment exposes: mounted directories, inherited credentials, network access and commands invoked indirectly by the test runner. A permitted test command may execute repository-controlled setup scripts. Restricting command names alone does not establish isolation.

The owner prepares a disposable environment with synthetic data and no production identity. A trial checks that the workflow can run the intended tests but cannot read an out-of-scope fixture, write a protected configuration file or contact a blocked test endpoint. All access-denial probes use mock resources, not real secrets or live customer systems.

If the evidence supports the boundary, the owner records the expanded authorization. The code still goes through ordinary review and release gates. A failure that requires editing protected CI configuration must be escalated, not “fixed” under application-code permission.

The trial tests the gap between intended behavior and available authority. Its limit matters: success supports the inspected configuration, not every future integration or every possible command.

Reapprove changes in authority

Require renewed approval when a workflow gains a new data class, repository, write target, executable capability, network destination, identity or release-related permission. Changes to the service's data handling may also require another vendor review.

Routine code suggestions need not become governance events. Compare the proposed workflow with its recorded boundary. If it stays inside, use normal change review. If it expands the boundary, pause that expansion until the accountable owner approves it with supporting evidence.

Keep the central rule simple: approval of a tool is not approval of its actions, and approval of its actions is not approval of its output.

For a related next step, explore OpenThunder.