Process intelligence for OHCS (Ghana): one unified event log mined into the real process map, bottlenecks, conformance findings and decision support. Cloudflare Workers + D1 + Workers AI + Vectorize + React.
# IIE — Intelligent Integration Engine
> Process intelligence for the Office of the Head of Civil Service (OHCS), Ghana.
> One unified event log from every subsystem — RFID attendance, the leave
> workflow, and an HR chatbot — mined automatically into the real process map,
> bottlenecks, conformance findings, and management-ready recommendations.
**Open the live demo →** — passwordless sign-in with 6-digit OTP. 11 test accounts cover every RBAC role from Employee to System Admin, seeded with 6 months of simulated OHCS operations (150 staff across the 9 real OHCS units, ~33,300 events). Explore the four views — Operations, Process Intelligence, Decision Support, and My Leave — plus the floating AI assistant.
## What is this?
Most dashboards show you numbers you asked for. IIE discovers how work
*actually* flows from the event log and tells you where reality deviates from
policy — without anyone configuring it:
- The process map below was **mined, not drawn** — it discovered both real
OHCS leave chains (standard leave via F&A, study leave via RTDD) from raw
events alone.
- It flags the slowest hand-off (supervisor → F&A verification, median 3.3
days) and catches every case that bypassed supervisor review (22/22, zero
false positives) — validated against planted ground truth.
## Highlights
- **Unified canonical event log** — every subsystem emits one event schema; new systems just start emitting.
- **Process discovery** — directly-follows graph mining with variants, per source system.
- **Bottleneck detection** — median/P95 transition times vs per-source SLA thresholds (KV-tunable, no redeploy).
- **Conformance checking** — every leave case audited against the prescribed chain for its type.
- **Decision support** — severity-ranked, plain-English recommendations + department comparison, exportable to CSV/PDF.
- **Self-service leave** — submit/track/approve through the real OHCS chains; the state machine enforces role *and* directorate.
- **AI assistant** …