Solution, and writes the same thing to
<output>/.kapso/solution.json every time it returns: finished, paused for
you, or out of budget. From any process, later or elsewhere:
open() says so
and names kapso watch.
What the Solution holds
explain() renders these as a block; diff() is git diff from the seed
to the delivered commit, empty when nothing succeeded.
Harness: with
the name, version and hash, and Verified: with the verdict and its
summary. A build whose sessions failed adds Sessions failed: after the
experiments line, each kind with its count and the error’s first line
(implementation on codex ×2 (Quota exceeded …)).
Three ways a build ends
- The objective was met.
goal_achievedis true,stopped_reasonisgoal_achieved. Deploy it, or learn from it. - The budget ran out.
stopped_reasonismax_iterationsorbudget_exhausted;branchis the best candidate so far andscoreits measurement. Resume with a bigger budget, or change the target. See Resume and budgets. - The campaign is waiting on you.
stopped_reasoniswaiting_for_userandrequestssays what for. Answer through the inbox; the campaign continues the session that asked.
branch is None, no candidate produced a valid measurement; the
experiment branches are still in the directory, and kapso trace campaign
shows what each one did.
The search, branch by branch
What next
Related
Resume and budgets
Give a stopped build more
Deploy
From a Solution to running software
Learn
What a finished campaign teaches
Python API
Every field, typed
pip install leeroo-kapso · Every page as plain text: llms.txt.