Owner
Workspace & AI controls
Team access, workspace policy, and proposal approval.
Independent full-stack case study · Wenduo Wang
OpsFlow is a multi-tenant field-operations workspace for intake, dispatch, evidence, and review. AI write requests stop at a proposal until an authorized user confirms them.
Isolated workspace · Fictional data · Automatic cleanup
Schedule service visit
Proposal · Pending
Create the air conditioner service job, assign Sofia, and schedule the verified demo window.
No business data has changed.
Permissions, targets, and conflicts will be checked again after approval.
Current state
Pending review
No mutation applied
Next checkpoint
Owner / Manager review
Revalidate targets → commit once
AI prepares the work. Authorization remains a separate, tenant-scoped decision.
AI persists a reviewable plan.
An Owner or Manager authorizes the targets.
Current tenant data is checked and claimed once.
Role-aware operations
Owners set the boundary, Managers coordinate the work, and Staff carry it through with evidence.
Workspace & AI controls
Team access, workspace policy, and proposal approval.
Dispatch & review
Scheduling, assignment, and completion review.
Field work
Assigned jobs, evidence, and completion notes.
Job lifecycle
Each transition is role-checked and recorded.
Each signal links to the code, tests, or deployment path behind it—evidence of engineering boundaries, not claims of customer scale.
Delivery status
CI-gated deployment · Successful main runs trigger production deploys
Cross-tenant HTTP probes, database constraints, stale authorization, and proposal idempotency run against real PostgreSQL.
Owner dispatch, Staff evidence and completion, Manager approval—plus proposal-first AI writes and idempotent confirmation.
Defined cases cover routing, target resolution, conflicts, duplicate prevention, ambiguity, and confirmation safety—not model accuracy.
Next.js and Express ship with Docker Compose behind Nginx and HTTPS on EC2, with PostgreSQL on Amazon RDS.
Production topology
One inspectable delivery and request path