collabSupport/services/enrichment
jmcqueen d12723d010 Voicediag: store voice standards + port-hygiene checks + apply-all card
Refactor every /voicediag check to declare a top-level `standards`
object so the desired state is legible without reading run() logic
and can drive a documented reference table. Upgrade callForwarding
to error severity, tighten voicemail with three send-to-VM error
paths + a `stop_sending_to_voicemail` remediation, and add a
`disable_hoteling` remediation.

Add a port-hygiene check bucket under services/voiceDiag/checks/port
(portType, portVlan, portPoe, portEnabled) that reuses the phone-
status snapshot to enforce switchport standards. Configurable via
VOICE_STANDARD_PHONE_VLAN (default 102) and VOICE_STANDARD_ENABLED
(kill-switch). Preserve Meraki `portType`/`voiceVlan`/`dataVlan`
through the enrichment chain so the checks have clean data to read.

Add an "apply all N fixes" combined card that shows up when 2+
remediations are available. New confirm_voicediag_all /
cancel_voicediag_all actions run each fix in sequence (readable
audit trail, no per-person write-throttle stacking), accumulate
individual failures into a summary rather than aborting.

Adds regression tests asserting every check exposes .standards,
plus coverage for port checks, kill-switch, and combined-card
iteration. 63 tests in the checks file, 188 total, all green.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 14:14:38 -04:00
..
avEnrichmentCore.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
domainEnrichment.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
filters.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
index.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
merakiEnrichment.js Voicediag: store voice standards + port-hygiene checks + apply-all card 2026-07-08 14:14:38 -04:00
merakiMatcher.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
normalizers.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
optisignsMatcher.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00
redMatcher.js Initial commit: CollabFinder Webex bot 2026-07-01 16:55:03 -04:00