Skip to content

Build an AI Triage Control Room

Category AI Solutions Engineering
Status ๐ŸŸก Partially completed
Repo nextwork-build-an-ai-triage-control-room
Original NextWork guide nextwork.ai

Learning project

Practice work following a NextWork guide, separate from my production projects.

๐Ÿ“š NextWork learning project. This is a practice project I built while working through NextWork's Build an AI Triage Control Room guide. It is part of my Learning portfolio and is fully separate from my production projects.

Category: Learning โ€บ AI Solutions Engineering
Status: ๐ŸŸก Partially completed

Overview

Triage automation is only safe if risky issues can't slip through, and if you can see why each decision was made. I built a small control room where every card shows its signals, risky issues wait for a person, and an evaluation run decides whether it's ready to roll out.

Summary

I built my own triage control room (Harbor Desk) as a local Flask app with a browser front end. Each issue gets a decision card with its priority, team, review status, risk tags and the exact signals that drove each choice. Risky or P1 issues are held for approval. An override is refused without a written reason and is recorded with one. The evaluation view runs 16 cases I labelled myself, with a progress bar, safety metrics, case-level results and a rollout recommendation. Bonus: three preset issues, branding and a four-step guided demo. The browser check passes 7 of 7. On my cases priority was 88% right and team 94%, with zero unsafe auto-routes, so the recommendation is a one-team pilot. Partial: the triage is rule-based (keyword signals), not the guide's AI model and stack, and nothing is connected to a real tracker.

The checks behind this are in docs/verification.txt.

Skills & tools

Python, Flask, JavaScript, Evaluation design, Human-in-the-loop review, Playwright

What I built

  • triage.py: decision logic (team, risk and priority signals), the approval/override API (an override needs a reason) and /api/eval.
  • room.html: the control room with decision cards, approve/override buttons, the evaluation with progress and metrics, presets and the guided demo.
  • eval_cases.json: 16 issues I wrote and labelled (priority, team, risky).
  • tests/ui_check.mjs and tests/run_ui.sh: a headless Chrome walk-through. docs/ui-check.txt and docs/control-room.png are the results.

How to run

python triage.py 5191          # http://127.0.0.1:5191
tests/run_ui.sh                # browser check

Verification

I ran the verification command on 2026-12-03. The full output is in docs/verification.txt.

PY=/workspace/nextwork-portfolio/.venv/bin/python bash tests/run_ui.sh | tail -1 | grep -q 'UI OK' && echo TRIAGE OK

Notes

The evaluation found two misses I left in place rather than tuning the rules to my own test set. Deleted projects and a possible SQL injection were both triaged as P2 instead of P1. Both were still held for approval because of their risk tags, which is why the unsafe auto-route count is 0.

What isn't done, and why

The guide's AI classifier and hosting aren't used; the decisions come from my keyword rules. There's no real issue tracker behind it, and issues live in memory.


Original project: https://nextwork.ai/projects/f77e3a7a-3b96-4738-904e-a891c945335a ยท Part of my NextWork Learning portfolio (hub).

Verification output

From docs/verification.txt:

$ PY=/workspace/nextwork-portfolio/.venv/bin/python bash tests/run_ui.sh | tail -1 | grep -q 'UI OK' && echo TRIAGE OK

TRIAGE OK

[exit code 0]