Extract is bounded to the ranking: pull → embed → score → extract → score → summarise

The free stages run first and their score bounds the two model stages.
Extract reads only the best extract.per_agent roles of each agent at
extract.min_score or more, then score runs again so the gates read what it
filled; summarise gets a min_score of its own. The cascade steps by
position, since score is in it twice.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-09-28 15:26:58 +02:00
1 parent c4f2bcc0c9
commit 7db77e83a3
15 files changed
+215 -89

No files matched your search

+13 -4
View File
@@ -48,20 +48,29 @@ agent:
backend: auto # auto | api | claude_code | off
# Title and description in, gate columns out (app/jobs/extract.py). Off by
# default: on the API backend every batch of 20 roles is a paid call.
# default: on the API backend every batch of 20 roles is a paid call. On, a
# pull reads only the best per_agent roles of every enabled agent (the
# backstop) that score at least min_score (the real stop), after a first
# score; a second score then applies the gates to what was filled. A fresh
# role with the worst fit scores about 0.27 on the default weights, a good
# one 0.6 or more, so 0.3 is loose.
extract:
enabled: false
model: claude-haiku-4-5-20251001
per_agent: 500
min_score: 0.3
# About 60 words on a role: what it is, the stack, where, the pay if stated
# (app/jobs/summarise.py). Off by default. On, each pull summarises the best
# per_agent roles of every enabled agent that have none yet, so the cost stays
# bounded however many roles are open. The Summarise button on a role's page
# asks for that one role either way.
# per_agent roles of every enabled agent that have none yet and score at least
# min_score, so the cost stays bounded however many roles are open; stricter
# than extract's floor, since a summary is the long answer. The Summarise
# button on a role's page asks for that one role either way.
summarise:
enabled: false
model: claude-haiku-4-5-20251001
per_agent: 30
min_score: 0.5
# A role and each agent's intent as vectors, for the fit term of a score
# (app/jobs/embed.py). Needs the `embeddings` extra; without it `embed` posts