Rank by the cut: fetch gate overrides in scoring, the cut per agent, stages read the cut, fetch text renamed from enrich, the feed kept to the fetch gate, and migration 32

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-10-04 15:11:43 +02:00
1 parent 060ccf66e6
commit 617356e60c
35 files changed
+1054 -751

No files matched your search

+14 -21
View File
@@ -44,9 +44,8 @@ class ExtractConfig(ModelTaskConfig):
"""Turning a posting's title and text into the gate columns. See
app/jobs/extract.py. Off by default, so nobody is billed by surprise:
on the API backend every batch is a paid call. On, it reads only the
best roles of each enabled agent, as deep and as low as that agent's
own `limits` say, so the cost follows the ranking rather than the
boards."""
roles in the cut of an enabled agent (`app.jobs.score`), so the cost
follows the agents rather than the boards."""
enabled: bool = False
model: str = "claude-haiku-4-5-20251001"
@@ -56,9 +55,9 @@ class ExtractConfig(ModelTaskConfig):
class SummariseConfig(ModelTaskConfig):
"""About 60 words on a role, for the list and the read page. See
app/jobs/summarise.py. Off by default like extract; on, a pull summarises
the best of each enabled agent, as deep and as low as that agent's
own `limits` say, so the cost is bounded whatever the backlog, and every
role that is saved or liked, whatever its rank. The read page's Summarise button asks for one
the best `summarise_top` final scores of each enabled agent (its
`limits`), so the cost is bounded whatever the backlog, and every role
that is saved or liked, whatever its rank. The read page's Summarise button asks for one
role whether this is on or not."""
enabled: bool = False
@@ -69,12 +68,10 @@ class SummariseConfig(ModelTaskConfig):
class JudgeConfig(ModelTaskConfig):
"""Each search agent's best roles read against its CV, as three numbers
and a total. See app/jobs/judge.py. Off by default like extract; on, a
pull judges the best of each enabled agent with a CV, as deep and as low
as that agent's own `limits` say (`judge_top`, `judge_min`), and the
`judge_cv_top` ungated ones closest to its CV that those leave out, and
only the roles whose judgement is missing or was read from another CV or
"""Each search agent's cut read against its CV, as three numbers and a
total. See app/jobs/judge.py. Off by default like extract; on, a pull
judges the cut of each enabled agent with a CV and a prompt, and only
the roles whose judgement is missing or was read from another CV or
text."""
enabled: bool = False
@@ -84,17 +81,13 @@ class JudgeConfig(ModelTaskConfig):
batch_size: int = Field(5, ge=1)
class EnrichConfig(Section):
class FetchTextConfig(Section):
"""Reading roles on their own pages after scoring, for the hosts whose
list carries no text. See app/jobs/enrich.py. A role is read when it has
no text and an enabled agent with a prompt ranks it ungated among its
best `top` and at `min_score` or above: the extract bar (`Limits`,
500 and 0.55) with the score a notch lower, since a role ranked on its
title alone is the one whose score its text moves most."""
list carries no text. See app/jobs/fetch_text.py. A role is read when it
has no text and is in the cut of an enabled agent (`app.jobs.score`), so
every role the model reads has its text first."""
enabled: bool = True
top: int = Field(500, ge=0)
min_score: float = Field(0.5, ge=0, le=1)
#: Reads per board and per run. Per board is the cap the pull had; the
#: boards are read in parallel on the `http` pool.
per_board: int = Field(200, ge=0)
@@ -253,7 +246,7 @@ class Config(Section):
summarise: SummariseConfig = Field(default_factory=SummariseConfig)
judge: JudgeConfig = Field(default_factory=JudgeConfig)
embed: EmbedConfig = Field(default_factory=EmbedConfig)
enrich: EnrichConfig = Field(default_factory=EnrichConfig)
fetch_text: FetchTextConfig = Field(default_factory=FetchTextConfig)
#: Starter agents, imported once into an empty table.
agents: list[AgentSeed] = Field(default_factory=list)
#: Starter searches, imported once into an empty set of `search`