check_section_delete_safe
Evaluates whether a documentation section can be safely deleted by checking tutorial-path membership, backlinks, and recent edits, returning a verdict with ranked blockers and a recommended action.
Instructions
Composite preflight: is this section safe to delete? Fuses tutorial-path membership, anchor-specific backlinks, transitive doc-level backlinks, and recent-edit recency into a single verdict (safe_to_delete, tutorial_path_blocking, anchor_referenced, backlinks_blocking, recently_edited_blocking) plus up to 5 ranked blockers and a one-line recommended_action. Read-only — never mutates the index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| section_id | Yes | Stable section ID, format owner/repo::doc_path::slug#level | |
| transitive_depth | No | Backlink BFS depth. Default 3. | |
| recent_edit_days | No | Days within which a recent edit becomes a soft blocker. Default 14. |