During pruning, the target URL is shielded from removal so that broken target links are flagged rather than silently deleted, allowing validate_link_placement to fold invalid drafts.
flowchart LR
A[Scan Draft Links] --> B{Is Target URL?}
B -- Yes --> C[Shield: Keep Link Intact]
B -- No --> D{HTTP Status Check}
D -- Live 2xx/3xx --> E[Keep Link]
D -- Dead/4xx/5xx --> F[Unwrap to Plain Text]
C --> G[Validate Link Placement]
E --> G
F --> GReferenced by