mirror of
https://github.com/hanzoai/kai.git
synced 2026-10-17 11:18:06 +00:00
27 lines
870 B
JSON
27 lines
870 B
JSON
{
|
|
"model": "kai",
|
|
"state": {
|
|
"goal": "Make all vitest tests pass in src/lib/auth",
|
|
"history": [
|
|
"turn 1: ran tests -> 2 failed",
|
|
"turn 2: edited auth.ts -> ran tests -> 2 failed (same error)",
|
|
"turn 3: edited auth.ts -> ran tests -> 2 failed (same error)",
|
|
"turn 4: edited auth.ts -> ran tests -> 2 failed (same error)"
|
|
]
|
|
},
|
|
"questions": {
|
|
"is_stuck": {
|
|
"type": "noul",
|
|
"instructions": "Is the agent caught in an unproductive loop?"
|
|
},
|
|
"next_strategy": {
|
|
"type": "choice",
|
|
"instructions": "What recovery action should the agent runtime take?",
|
|
"criteria": {
|
|
"continue": "allow another turn with existing strategy",
|
|
"rollback": "revert last changes to git HEAD and try fresh approach",
|
|
"escalate": "pause execution and ask user for guidance"
|
|
}
|
|
}
|
|
}
|
|
} |