Ryan Malloy ee1e058559 prompts: add dead_dn_finder (cross-server, story C from threads)
First cross-server prompt landing. Story C from
axl/agent-threads/cross-server-prompts/. Closes a concrete cucx-docs
open finding (orphaned paging DNs 1302 / 1304 at /systems/paging/
carried as "confirm with operator").

A DN is "definitively dead" when:
  1. It exists in numplan but has no devicenumplanmap entry —
     no device claims it as a line (mcaxl, required)
  2. It is not referenced as a UCCX trigger entry point
     (mcuccx, strongly recommended)
  3. It has no recent CDR activity (mcsiphon, optional)

Each layer narrows the candidate set; the intersection is "safe to
retire — verified across CUCM dial plan + UCCX contact center + CDR
activity."

The prompt embodies the architectural decisions confirmed in
cross-server-prompts/002:

  - Per-primary-lens placement (Q1): lives in mcaxl because the
    dial plan is its primary lens
  - Graceful degradation with explicit gaps (Q2): the verdict
    declares MCP availability up-front and adjusts confidence per
    sibling; distinguishes connected-but-broken (include error) from
    not-connected (note "unavailable")
  - Normal naming, no cross_* prefix (Q3): just "dead_dn_finder"

Tier output: "definitively dead" / "likely dead, partial coverage" /
"structurally orphan, unconfirmed" / "active". The cucx-docs paging
DNs (1302, 1304) get explicit name-callouts in the verdict if they
appear, closing the loop back to /systems/paging/.

Tests: registration sentinel updated to 13 prompts. 238/238 passing.

Live-cluster smoke test pending — cucx-docs will run against the
Bingham cluster once they consume this thread direction.
2026-05-05 19:24:23 -06:00
..
2026-04-25 20:29:18 -06:00