Add suggest_side_quests skill v1
The skill asks for twice the Side quests needed, using the household context plus the pending Side quests, through an embedded, checksummed prompt template. A malformed reply gets the harness's one repair turn. A well-formed Side quest is dropped (and listed in Dropped) when it repeats a Regular, Quest log dinner, pending or passed name or an earlier Side quest in the batch, cites no Regular or one that is not a Regular, or has a reason over 180 characters or naming none of its cited Regulars. Golden tests use llm.Fake. Maestro task 85a898e1-f1f5-4414-92f3-3277d86afe90. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -322,6 +322,18 @@ automatic** (D-021).
|
||||
dinner when the token-set (Jaccard) similarity of their words is at least
|
||||
0.85. A `Deduper` over the Regulars, Quest log, pending suggestions and
|
||||
passed names rejects a suggestion that repeats any of them.
|
||||
- **Side quest suggestions** (`skills.SuggestSideQuests`, skill
|
||||
`suggest_side_quests` v1): asks for twice the Side quests needed, at the
|
||||
household temperature, with the household context plus the pending Side
|
||||
quests. Malformed replies (bad JSON, a missing field, a bad enum, an
|
||||
empty name) get the one repair turn. Well-formed Side quests that break a
|
||||
rule are dropped, not repaired, and listed in `Dropped` with the rule:
|
||||
one that repeats a Regular, Quest log dinner, pending Side quest, any
|
||||
passed name (the whole history, not only the 60 in the context) or an
|
||||
earlier Side quest of the batch; one citing no Regular or a name that is
|
||||
not a Regular; and one whose reason is over 180 characters or names none
|
||||
of its cited Regulars. Cited names are rewritten as the household writes
|
||||
them. Grounding each survivor in a recipe is the caller's next step.
|
||||
|
||||
## Recipe grounding
|
||||
|
||||
|
||||
Reference in New Issue
Block a user