← Back to the journal

DataFocus · Journal

Draft, plan, approve: how OT Flash requires human approval for AI changes

A reading of the OT Flash r56 agent manual for reviewers: agents submit drafts, a plan binds a target version and candidate hash, the plan mode is HUMAN_REQUIRED or POLICY_AUTO, and an agent's own declarations never count as a human signature.

In OT Flash an AI agent cannot change data or the ontology directly: it can only submit a draft, and the draft takes effect after a person approves it. The agent manual (release r56) breaks that into a sequence in which the agent submits a candidate, the server turns it into an immutable plan, and the plan result is either HUMAN_REQUIRED or POLICY_AUTO before anything is applied. Whatever the agent writes in its own instructions or declarations is treated as agent input, not as a human policy signature, and only a server receipt with status APPLIED counts as proof that a change happened.

This post is written for a security or compliance lead who needs to know what the control actually is, where the manual is specific, and where the answer depends on how an instance is configured.

Why do changes start as drafts?

The two public sources on agent risk point the same way. OWASP's LLM06:2025 Excessive Agency entry (OWASP GenAI Security Project, 2025) defines the problem as damaging actions performed in response to unexpected, ambiguous or manipulated model output, and lists requiring a human to approve high-impact actions before they are taken among its mitigations. Article 14 of the EU AI Act, as published on the AI Act Explorer (Future of Life Institute, text of Regulation (EU) 2024/1689), requires high-risk AI systems to be designed so that natural persons can effectively oversee them while in use. Whether a given deployment is a "high-risk AI system" is a legal question this post does not answer; the point is that an approval step is a recognized control, and the useful question is what the step is made of.

DataFocus's documentation describes changes as moving through draft, diff, validation, approval, commit and read-back, and says that when AI wants to change something it can only submit a draft. The design consequence is that the write path is not something the agent holds. A persuasive prompt can change what the agent proposes, but it does not change what the server will apply without the approval step.

What does the agent do, step by step?

For artifact changes, such as a control panel spec, the r56 manual gives this order:

  1. Read a bounded context from dfc_artifact_context. It carries a contract version, a context hash, a base artifact hash and a base artifact version.
  2. The client generates a candidate without executing its code.
  3. Submit it with dfc_artifact_submit and a stable clientRequestId. The result includes a proposal id, a candidate hash, a checksum and a preview.
  4. Re-preview with dfc_artifact_preview if needed.
  5. Create an immutable plan with dfc_artifact_plan.
  6. Approval.
  7. Apply with dfc_artifact_apply. Only an APPLIED receipt represents actual application.

Ontology publishing has its own versioned contracts. According to the manual, candidate creation uses ontology-workspace-create-mcp-submit-v1 or v2, and the publication contracts ontology-publication-mcp-submit-v1 to v3 bind a candidate to a publishing plan request. Contracts v4 to v6 relate to auto-publish and are enabled separately.

What does a plan bind?

The manual states that a plan binds the target version, the candidate hash and the idempotency key. After the target changes, the old plan can no longer be applied and the context has to be read again. DataFocus's documentation says the same thing in approval terms: approval applies to a specific plan and base version and must be confirmed again when either changes. The homepage adds that a change records the before and after, the diff and who approved it.

For a reviewer this has a concrete meaning. If someone edits the target between the preview and the apply, the approval does not carry over to the new state. If the agent resubmits a different candidate, the candidate hash differs. A transport timeout also does not reopen the question: the manual says a timeout does not prove failure, and the caller should query dfc_artifact_status with the original proposal or plan id. It also notes that READY is not APPLIED.

HUMAN_REQUIRED or POLICY_AUTO: what is the difference?

In the publishing sequence the plan result is one of two modes.

Plan resultWhat the manual saysWhat a reviewer should check
HUMAN_REQUIREDThe plan needs an approval from a person; generic artifact plans require original human approvalWho holds the approval right on the instance; the approval is issued by the server
POLICY_AUTOThe plan complies with the ontology auto-publish policy and is handled per approvalModeWhether auto-publish is enabled at all, and what policy it follows

Two further statuses sit around these modes. PLANNING_INCOMPLETE means a valid plan has not yet formed. VALIDATION_UNSATISFIED means validation still has gaps, to be handled according to the returned nextAction. Neither is an approval, and the manual says a terminal validation gap cannot be turned into a pass by changing keys or resubmitting.

POLICY_AUTO deserves a careful reading. The manual does not say the policy is the agent's decision. It says auto-publish delegation, like business confirmation, public key trust, budget and source ACL, continues to be determined by the original mechanisms. It also says the auto-publish contracts are enabled separately, and the administrator switches listed in the manual include datafocus.mcp.authoring.ontology-auto-publication-enabled alongside datafocus.mcp.authoring.enabled and datafocus.mcp.authoring.apply-enabled. The manual adds that changing booleans alone does not make up for missing processors, databases, validation budgets or policies.

What the manual does not specify, and what this post therefore does not claim, is the content of the auto-publish policy, the list of approvalMode values, who the approvers are in a given organization, or any approval user interface beyond the External Agents "Agent change approvals" setting in Admin. If your review depends on those, they are questions for the instance's administrator and for the manual on your installed version.

Why are agent declarations not signatures?

The manual is direct on this: instructions and declarations provided by an agent are agent inputs, not human policy signatures. MODEL_AUTHOR, MODEL_PUBLISH, auto-publish delegation, business confirmation, public key trust, budget and source ACL continue to be determined by the original mechanisms. Similarly, the approvalToken is server-issued material that an agent cannot replace by writing a string.

That closes a specific hole. A prompt-injected agent that writes "approved by the data owner" into its submission has produced text, nothing more. The manual makes the same point about completion: an answer text, an HTTP 200, a tool acknowledging receipt or a model saying "done" cannot alone prove success. A publication needs a genuine APPLIED receipt, and the manual says to confirm with real reads of the published model afterward.

Scope matters as well. The r57 manual says the scope an external agent can actually write to is the intersection of three things: the External Agent operation setting under Admin, the exact OAuth grant range, and the System resource's EDIT access. The r56 scope authoring.artifact:draft does not authorize execution or publication, and authoring.artifact:apply still requires the original business role, policy and approval. Read together, an agent that holds only the draft scope should not be able to apply a change; check this on your instance rather than assuming it.

What does the approval record contain?

The sources support these statements:

  • Every change has an approval record, and every agent action is also recorded in an audit log.
  • The homepage says a change records before and after, the diff and who approved it, and that approval binds a version and scope.
  • The r56 receipts carry proposal id, plan id, candidate hash and, for queries, evidenceRowsSha256. The manual uses these as correlation material for recovery and does not describe them as a signed audit trail.
  • Operate Logs in r57 is a filterable log of operations such as logins, table imports and pinboard changes, visible to the LOG_MANAGER or SYSTEM_MANAGER role. The manual describes it as a log for auditing and troubleshooting, not as tamper-proof storage.

The manual also advises that logs record only necessary correlation information, not bearer tokens, refresh tokens, approval tokens or full sensitive business content. The product page does not claim that DataFocus stores client conversations, so conversation records come from your agent client.

Review checklist for an instance

  1. In Admin > External Agents, which kinds of write operations may agents initiate, and is Agent change approval configured?
  2. Is the authoring feature on, and is authoring.apply-enabled set? Is ontology auto-publication enabled? Both are administrator switches in r56.
  3. Which OAuth scopes did each connected agent receive? Look for authoring.artifact:apply and for the publication scopes.
  4. For one recent change, can you find the proposal id, plan id, candidate hash and the APPLIED receipt, and match them to a person?
  5. What happens in your instance when the target changes after approval? Test it with a non-production ontology, since the manual describes the behavior but this post did not run it.

When this is not the right fit

The r56 manual says what an agent may do must be determined from the instance's actual tools/list, inputSchema, OAuth scope and resource permissions, not from the static manual. It also says the offline catalog's tools are not all enabled by default. A control described here may be absent on an instance where authoring is switched off. And a plan-by-plan approval flow is likely to be a poor fit for bulk edits where reviewing each plan is impractical; the manual does not address that case, so this is a judgment, not a documented limit.

Next steps

Read the OT Flash Agent and MCP Integration Manual (r56) sections on artifact plans and ontology publishing, and the permissions documentation, which describes the draft, diff, validation, approval, commit and read-back flow.