agent-approval-console
A human-in-the-loop approval gate for side-effecting actions proposed by AI agents, with a hash-chained, tamper-evident audit trail.
- Status
- Demonstration application. Demo roles stand in for authentication; the executor is simulated and calls nothing; state is in memory.
- Authorship
- "Implemented with AI coding agents (Claude Code)," in the repository's own words: an independent demonstration application written from scratch, with all data synthetic.
- Stack
- Next.js (App Router) · TypeScript (strict) · Tailwind CSS · Vitest · Playwright
- Demonstrates
- Policy engine with rules as data · Explicit proposal state machine · Separation of duties and two distinct approvers · Idempotent execution under concurrent requests · SHA-256 hash-chained audit log with verification
- Verified
- 130 Vitest unit and API-handler tests and 56 Playwright end-to-end tests pass; lint, type check and production build are clean. Observed at commit
8c5344a7c690d6ab32e165777cc37547127f608e. - Commands run
npm ci npm run lint npm run typecheck npx vitest run npm run build E2E_SKIP_BUILD=1 npx playwright test- Repository
- github.com/Donovanfitch-dev/agent-approval-console





