The system probes every external link via range-header GET requests with strict SSRF protection checks, and automatically unwraps the anchor text into plain text for any dead URL without cutting the surrounding prose.
sequenceDiagram
autonumber
participant Engine as Outreach Engine
participant Prune as Prune / Probe Module
participant Web as Target Web Server
participant Clean as Cleaned Draft
Engine->>Prune: Draft Markdown + Money Link URL
Prune->>Prune: Extract all markdown links
loop For each external link
Prune->>Web: GET (Range: bytes=0-0, SSRF guarded)
Web-->>Prune: HTTP Status Code
end
alt Link is 2xx/3xx (Live)
Prune->>Clean: Keep link format
else Link is Dead (Normal citation)
Prune->>Clean: Unwrap to plain text anchor
else Link is Dead (Money Link)
Prune->>Clean: Retain link and flag issue
end
Clean-->>Engine: Cleaned Draft MarkdownReferenced by