Judge an enabled agent with a CV whether or not it has a prompt, as ADR 2.2 has it: its cut is the CV list and the kept, and its profile goes without wants.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-10-05 09:26:48 +02:00
1 parent 3388b97cf4
commit 7ac63dea7c
2 files changed
+25 -9

No files matched your search

+6 -6
View File
@@ -14,8 +14,8 @@ career count as at most `app.models.BROKEN_CAP` (4), when the role is
served. Culture and location are left out: the first is guessed from ad text,
the second is what the fetch gate does.
The work is pairs, `(agent, role)`: an enabled agent with a CV and a prompt,
and an open role in its cut (`scores.cut`, see `app.jobs.score`: the best by
The work is pairs, `(agent, role)`: an enabled agent with a CV, with or
without a prompt, and an open role in its cut (`scores.cut`, see `app.jobs.score`: the best by
fit, the best by CV closeness that those leave out, and the liked and saved)
with some text, that has no judgement yet, or one read from another CV,
prompts, like, avoid or must text or role text than today's (`input_key`).
@@ -189,10 +189,10 @@ def input_key(agent: Agent, text: str) -> str:
def _judged(agent: Agent) -> bool:
"""Whether `judge` reads for this agent at all: enabled, with a CV and a
prompt with text (without one nothing of its cut is in by fit)."""
return agent.enabled and bool(agent.cv_text.strip()) \
and any(p.text.strip() for p in agent.prompts)
"""Whether `judge` reads for this agent at all: enabled, with a CV. An
agent without a prompt is judged too: its cut is the CV list and the
kept, and the profile goes without `<wants>` (`system`)."""
return agent.enabled and bool(agent.cv_text.strip())
def waiting(store: Store, keys: Sequence[str] | None = None,