How jbajady/ai-guest-rescue-system works
The project classifies stranded-guest tickets, prioritizing safety signals, then assigns a ticket type and its agent/tool policy. Its documented batch workflow reads the Lisbon CSV and writes detailed sorted output plus ticket-type assignments. The package also exposes canonical ticket-type definitions. The sampled code shows no live booking or safety-agent integration; these are represented as policy metadata, not runtime services.
Main entry points: triage.py Ticket CSV processing · sort_lisbon_tickets.py Sort tickets CLI · lisbon_stranded_guest_tickets_2026-11-16.csv Lisbon ticket input · lisbon_tickets_sorted.csv Detailed sorted output
Components 9
Batch workflow
- Sort tickets CLI
scripts/sort_lisbon_tickets.py - Lisbon ticket input
data/lisbon_stranded_guest_tickets_2026-11-16.csv - Detailed sorted output
data/lisbon_tickets_sorted.csv - Type assignments
data/ticket_type_assignments.csv
Ticket classification
- Ticket CSV processing
src/ai_guest_rescue_system/triage.py - Safety signal detection
src/ai_guest_rescue_system/triage.py - Ticket classification
src/ai_guest_rescue_system/triage.py
Ticket policy
- Canonical type definitions
src/ai_guest_rescue_system/ticket_types.py
Other components
- Operator
Connections 7
- Operator → Sort tickets CLI: runs
README.md - Sort tickets CLI → Ticket CSV processing: calls writers
scripts/sort_lisbon_tickets.py - Ticket CSV processing → Lisbon ticket input: reads rows
src/ai_guest_rescue_system/triage.py - Ticket CSV processing → Safety signal detection: checks signals
src/ai_guest_rescue_system/triage.py - Ticket CSV processing → Ticket classification: classifies rows
src/ai_guest_rescue_system/triage.py - Ticket CSV processing → Detailed sorted output: writes results
src/ai_guest_rescue_system/triage.py - Ticket CSV processing → Type assignments: writes mappings
src/ai_guest_rescue_system/triage.py