Expand description
What a well-formed answer must still satisfy. The reply format (reply) has
already turned away anything that isn’t an ANSWER: or SKIP; these checks
judge the answer text itself: its size, and whether it is a real title (a
stored one too, from an older build), or a safe suggestion.
The absence and refusal lists below are frozen. They judge titles that older
builds stored, before the reply format existed, and the frontend’s port of
is_usable_title shares them through title_corpus.json. New wordings are
the reply format’s job, not a new list entry.
Structs§
- Limits
- Size bounds for a one-line reply.
Constants§
- NAME
- A subagent or workflow-batch name (asked for ~5 words).
- NARRATION
- A one-sentence narration (asked for under 20 words).
- NEXT_
PROMPT - A next-prompt suggestion is one short imperative; anything longer is an explanation, not a command.
- PREVIEW
- A definition’s conversation preview (asked for 12 words or fewer).
- STORED_
TITLE - Bounds for judging a title that is ALREADY stored. Generous: a title written under an older word target or by an older build may be longer than today’s.
Functions§
- accept_
line - Returns the line to use, or
Noneif the reply is not usable text: empty, multi-line, over the limits, a placeholder, or a model refusal. This is the check every ambient reply gets. - accept_
next_ prompt - Returns the suggestion to show, or
Noneif the answer is not a usable next prompt: anythingaccept_linerejects, a question, or a risky command. - is_
usable_ title - Is this stored value a real title? The one predicate behind accepting a reply,
feeding a stored title back into a prompt, and (in the frontend’s port of it)
displaying one. A value already in a database from before the check existed,
such as
(none yet), is judged here too, so it is never fed back to the model and never shown. - title_
limits - A pane/session title asked for
word_targetwords. The slack covers a model that runs a little over; a paragraph is still rejected.