Human-in-the-Loop Write Gates (HITL)
Preventing autonomous agents from executing direct UPDATE/INSERT statements on ERP/CRM databases, requiring typed action proposals validated against preconditions and approved by a named human role.
Why It Matters for Enterprise AI
Operational ROI comes from agents preparing and executing actions, yet an ungated agent can corrupt pricing tables or release quarantined lots in seconds.
Architectural Context & Execution Mechanics
Write gates let agents draft actions with full impact previews while keeping irreversible ERP mutations behind role-based human sign-off.
A support agent tricked by a prompt-injected customer email directly modifies an approved invoice address in the ERP.
action UpdateCreditLimit(customer: Customer, newLimit: Decimal) {
precondition: customer.overdue_invoices == 0
require_approval: role("CreditCommittee") when newLimit > customer.limit * 1.15
}Agent Harness vs. Ontology: Separating Execution Loops from Business Meaning
In software engineering, Agent = Model + Harness. In enterprise production, Enterprise Agent = Model + Harness + Ontology.
Related Ontology Concepts
Free to reference in engineering docs, ADRs, articles, and course syllabi with attribution.
[Human-in-the-Loop Write Gates (HITL) — Ontoloji.org](https://ontoloji.org/en/glossary/human-in-the-loop-write-gates)