Documentation
¶
Overview ¶
Package goalloop holds the session-goal rules shared by the TUI and the backend: the continuation prompt sent after each turn, the GOAL_MET completion check, and the round limit resolution.
Index ¶
Constants ¶
const MetToken = "GOAL_MET"
MetToken is the literal a reply must lead with to declare the goal accomplished.
Variables ¶
This section is empty.
Functions ¶
func ContinuePrompt ¶
ContinuePrompt is the user turn submitted after every unfinished round.
func MaxRounds ¶
MaxRounds resolves the continuation limit: a project override for dir wins over the global config value, which wins over the built-in default.
func Met ¶
Met reports whether a final reply declares the goal accomplished. As the continuation prompt demands, the reply must lead with the token: only whitespace and Markdown emphasis, heading, quote or code markers may precede it, and it must end at a word boundary. A mention later in the reply ("not GOAL_MET yet") never counts.
Types ¶
This section is empty.