Safeguard Work-Order Agent Ecosystem
Routing Policy
Routing Policy
The routing policy is business configuration, intentionally expressed as inspectable tables (not a model) so operations can read, audit, and change it. Implemented in src/agents/router.mjs.
Category → queue / crew / base SLA
| Category | Queue | Crew type | Base SLA (h) |
|---|---|---|---|
| HVAC | TRADE_HVAC | HVAC_TECH | 24 |
| PLUMBING | TRADE_PLUMBING | PLUMBER | 24 |
| ELECTRICAL | TRADE_ELECTRICAL | ELECTRICIAN | 16 |
| ROOFING | TRADE_ROOFING | ROOFER | 48 |
| LANDSCAPING | TRADE_GROUNDS | GROUNDSKEEPER | 72 |
| SECURITY | TRADE_SECURITY | SECURITY_TECH | 12 |
| GENERAL_MAINTENANCE | GENERAL_QUEUE | HANDYMAN | 48 |
Priority → SLA cap
| Priority | SLA cap (h) | Vendor tier | Escalated |
|---|---|---|---|
| P1 | 2 | IN_HOUSE_RAPID | yes |
| P2 | 8 | IN_HOUSE_RAPID | no |
| P3 | — (category base) | STANDARD_VENDOR | no |
| P4 | — (category base) | STANDARD_VENDOR | no |
Effective SLA = min(priorityCap, categoryBase).
Zone → region
| Zones | Region |
|---|---|
| N1, N2, N3 | NORTH |
| S1, S2, S3 | SOUTH |
| E1, E2, E3 | EAST |
| W1, W2, W3 | WEST |
Unknown zone → UNASSIGNED (validator routes to human review).
Change process
- Edit the table constants in
src/agents/router.mjs(ROUTING,
PRIORITY_SLA) and this document together.
- Run
node verify.mjs— the routing checks must stay green. - Re-run the Proof Layer before any delivery/publication.