Home/Glossary/What is the Architecture & Policy Engine?

What is the Architecture & Policy Engine?

The Architecture & Policy Engine is the part of RplAI that evaluates a proposed Salesforce change against your own architecture rules. Administrators write the rules as versioned policies, and a second administrator approves a version before it becomes active. The engine evaluates each rule deterministically, with no AI involved in the decision, and returns a result per rule with an explanation. In the current release the results inform human review and do not block deployments.

Last updated: 2026-12-04

Why standards need an engine

Every Salesforce team has architecture standards: naming conventions, components that need a review before they change, patterns that are not allowed. They usually live in a document, and they are applied when a reviewer remembers them.

AI-assisted delivery makes this gap more visible, because more changes are prepared in less time. The Architecture & Policy Engine turns the standards into rules that are evaluated the same way for every proposed change, whoever or whatever prepared it.

How it works

  • Write: administrators create policies in Settings, under Architecture Policies, using a typed rule editor.
  • Approve: a submitted version is frozen, and an independent administrator approves it before it becomes active.
  • Evaluate: preview a described change, or the files an agent has prepared, against the active policies.
  • Review: each rule returns a result and an explanation. Team members can request an architecture review or an exception bound to the exact prepared file.

Rule results

ResultWhat it means
SatisfiedThe change meets the rule.
ViolatedThe change breaks the rule. The explanation says why.
Not applicableThe rule does not apply to this kind of change.
UnknownThe rule could not be decided because evidence is missing. Unknown is not a pass.

Deterministic by design

A language model is useful for preparing a change. It is the wrong tool for deciding whether a rule was followed, because the same input should always give the same answer. The engine evaluates rules deterministically and records the policy version and the result, so a reviewer can see what was evaluated and against which rules.

Some rules depend on what a change reaches. Those rules use dependency evidence from the Salesforce Intelligence Graph, and report Unknown when that evidence is not available.

What it does not do in this release

Delivery enforcement is not active. Policies are evaluated for previews and evidence, and they do not block deployments or Git writes. Your team reviews the results and decides what is deployed.

The Architecture & Policy Engine is a feature of RplAI. RplAI is an independent product and is not affiliated with, endorsed by or sponsored by Salesforce, Inc. Salesforce is a trademark of Salesforce, Inc.

Frequently asked questions

Does the Architecture & Policy Engine use AI to decide results?

No. Rules are evaluated deterministically and no AI is used to decide the result. The same change evaluated against the same policy version gives the same result.

Does a policy violation stop a deployment?

Not in this release. Policy results are shown for previews and evidence, and they inform your review. Your team approves deployments.

Who can change a policy?

Administrators create and version policies. A version is approved by a second administrator before it becomes active, so one person cannot write and activate a rule alone.

See it against your own org

7-day trial. No credit card required. The trial includes one user, one Salesforce org, one Git repository and 200 AI credits.