Ghostface Gates AI Coding Agent Actions Behind Human Approval in PostgreSQL
A developer built Ghostface, a Human Authority Preflight system that requires explicit, time-bound human approval before an AI coding agent can execute sensitive operations. The gateway is enforced in PostgreSQL with separate database roles, row locks, and a composite foreign key binding each approval to its exact request. A terminal console lets the human approve or deny requests before their deadline, while an MCP interface gives the agent only tools to propose, read, and execute requests. The author used Kiro to write the code and then to act as the governed agent, which could not approve its own requests. Tests reportedly covered unit, integration, and independent protocol-level checks, and rejected denied, pending, or expired requests without changing the database.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in