# Combined Build Order: SMS + Scripts

## Progress Tracker

| Priority | Phase | Feature | Status | Why This Order |
|----------|-------|---------|--------|----------------|
| 1 | SMS-1 | Priority Inbox + AI Triage | ✅ DONE | Immediate ROI, uses existing backend |
| 2 | SMS-2 | Real Delivery Status | ✅ DONE | Quick win, frontend only |
| 3 | SCR-1 | Script Database + Library | ✅ DONE | Foundation for script system |
| 4 | SCR-2 | Script Detail View | ✅ DONE | Makes scripts usable |
| 5 | SCR-4 | Script on Call | ✅ DONE | Highest impact for calls |
| 6 | SMS-3 | Templates with Variables | ✅ DONE | Better SMS personalization |
| 7 | SCR-3 | Script Builder | ✅ DONE | Let users create scripts |
| 8 | SCR-5 | Script Tracking | ✅ DONE | Learn what works |
| 9 | SCR-6 | Objection Library | ✅ DONE | Standalone objection handling |
| 10 | SMS-4 | Scheduled Send | ⬚ | Nice to have |
| 11 | SMS-5 | SMS Stats | ⬚ | Analytics |

---

## Detailed Plans

- [SMS Command Center Plan](./sms-command-center-plan.md)
- [Script System Plan](./script-system-plan.md)

---

## Current Sprint

### SMS-2: Real Delivery Status
**Scope:** Frontend polish only - backend already stores Twilio status

**Changes:**
- Verify `metadata.twilioStatus` is being read correctly in Inbox.jsx
- Ensure status icons display properly: ✓ Sent, ✓✓ Delivered, ✓✓ Read (blue), ❌ Failed

### Up Next: SCR-1
**Scope:** Database migration + Script Library page

**Database:**
- `scripts` table
- `objections` table
- `script_sessions` table

**Frontend:**
- New page: `/scripts`
- Script card grid with filters
- Basic CRUD operations
