validate_threads
Apply heuristic rules to close or idle threads based on notes, age, shipped markers, and staleness.
Instructions
Heuristic triage of active threads — propose (dry_run=True, default) or apply (dry_run=False) close/idle actions per category.
Categories (first match wins): no_notes_old no notes + age ≥ no_notes_days → close shipped last-note shipped-marker + settled → close (outcome=last_move) dropped_open_q last note open_q, unfollowed → close stale_idle no touch ≥ stale_days → idle (not close)
Idle threads are never touched. shipped_markers is a comma-separated list of extra tokens to OR into the default English+Russian regex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| no_notes_days | No | ||
| shipped_settle_days | No | ||
| drop_open_q_days | No | ||
| stale_days | No | ||
| shipped_markers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |