Hand search roles without text to enrich too, so a Jobbank role above the bar is read on its own page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-10-03 12:31:21 +02:00
1 parent 04f4c09a21
commit 8a033e028d
2 files changed
+2 -12

No files matched your search

+2 -2
View File
@@ -1770,7 +1770,7 @@ class Store:
def enrich_waiting(self, top: int, floor: float,
uids: Sequence[str] | None = None) -> list[dict[str, Any]]:
"""Open `ats` roles without text that an enabled agent with a prompt
"""Open board and search roles without text that an enabled agent with a prompt
ranks ungated among its best `top` and at `floor` or above, best
first by the highest such score, as `{uid, source_id,
subscription_id, title, url, published_at, raw, score}`. The ranking
@@ -1780,7 +1780,7 @@ class Store:
dealt."""
fields = ("r.uid, r.source_id, r.subscription_id, r.title, r.original_url AS url, "
"r.published_at, r.raw")
waiting = ("r.closed_at IS NULL AND r.dup_of IS NULL AND r.source = 'ats' "
waiting = ("r.closed_at IS NULL AND r.dup_of IS NULL AND r.source IN ('ats', 'search') "
"AND r.subscription_id IS NOT NULL AND r.description = '' "
"AND r.article_text = ''")
if uids is not None: