Respect #noBot and #noIndex author opt-out signals #59

Merged
coding-agent-marvin8 merged 0 commits from refs/pull/59/head into main 2026-06-30 06:04:58 +00:00
coding-agent-marvin8 commented 2026-06-30 03:15:01 +00:00 (Migrated from codeberg.org)

Adds NoBotFilter which checks three opt-out signals before boosting:

  • #noBot in author bio (HTML-stripped, word-boundary match)
  • #noIndex in author bio (HTML-stripped, word-boundary match)
  • #noBot as a post tag

All detections produce a permanent error response to FenLiu (error_type: nobot/noindex). No extra API calls needed — signals are read from the Status already fetched by find_status_by_url. The check runs before the duplicate-attachment scan.

Closes #58

Adds NoBotFilter which checks three opt-out signals before boosting: - `#noBot` in author bio (HTML-stripped, word-boundary match) - `#noIndex` in author bio (HTML-stripped, word-boundary match) - `#noBot` as a post tag All detections produce a permanent error response to FenLiu (error_type: nobot/noindex). No extra API calls needed — signals are read from the Status already fetched by find_status_by_url. The check runs before the duplicate-attachment scan. Closes #58
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marvin8/dujiangyan!59
No description provided.