SIMON Master Console Rebuild
True command center for SIMON + WEB360
This rebuild gives you a cleaner production spine: interactive tree, live viewer, guarded editor, dynamic graphics, architecture map, and note storage. It is designed to sit beside your existing
console.php
and become the stronger replacement path.
Dashboard
Tree
Viewer
System Map
File Registry
Notes
Files
15,476
Folders
443
Scanned Size
3.86 GB
PHP Files
996
Editable Text Files
12,723
File viewer
guarded to /htdocs
/si/business/README.md
# SIMON Business Operations Modules These modules extend the existing Gaylord Sinclair × SIMON portal. They use the current Twilio helpers and store operational data under the private server directory returned by `si_ops_private_root()`. ## Public webhook files - `/si/phone/incoming.php` — Twilio voice webhook - `/si/phone/route.php` — receptionist decision route - `/si/phone/transfer-status.php` — call progress callback - `/si/phone/recording.php` — recording completion callback - `/si/phone/transcription.php` — transcription callback - `/si/sms/incoming.php` — inbound message webhook - `/si/sms/status.php` — outbound delivery callback ## Private services Files in this directory implement caller identity, screening, policies, journals, alerts, email, callbacks, task and retry queues, settings, diagnostics, weather, emergency controls, and scheduled duties. Do not point Twilio directly at these service files except where an endpoint explicitly documents doing so. ## Required private configuration Keep Twilio and IONOS credentials in the existing private `config.php`, outside `htdocs`. Copy `private-si_contacts.php.example` to the private directory as `si_contacts.php`, and optionally use `private-si_portal_settings.json.example` as a starting point. Never place credentials in browser JavaScript or dashboard HTML. Recommended constants include `TWILIO_ACCOUNT_SID`, `TWILIO_API_KEY_SID`, `TWILIO_API_KEY_SECRET`, `TWILIO_AUTH_TOKEN`, `TWILIO_PHONE_NUMBER`, `SI_TRANSFER_NUMBER`, `SI_MONITOR_CRON_KEY`, `SI_EMAIL_USERNAME`, `SI_EMAIL_PASSWORD`, `SI_EMAIL_ALERT_TO`, and `SI_ADMIN_SMS_NUMBER`. ## Scheduled work Run `cron-runner.php` every five minutes from the server CLI. For an HTTP cron, send `Authorization: Bearer <SI_MONITOR_CRON_KEY>`. It processes due callbacks and retries, runs live monitoring, and sends the morning briefing once per day. ## Safety Twilio webhook validation, CSRF checks, private storage, submission deduplication, audit logs, decision logs, escalation rules, and the emergency AI/outbound switches are included. Test with a non-production number before enabling automated transfers or alerts.
Save file
Quick jump
open a path
Open