feat: run each loop phase on its own strength (Thrifty, Balanced, Best)

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-04 19:23:52 -08:00
1 parent e963513a8a
commit 81d14c8e78
41 files changed
+3290 -81

No files matched your search

+2 -2
View File
@@ -1075,7 +1075,7 @@ export function isOpen(item) {
const LOOP_LEVELS = ["critical", "warning", "suggestion"];
const LOOP_REASONS = ["tests", "findings", "blocked", "conflict", "other"];
const LOOP_CAN = ["resume", "fix", "finalize", "dashboard"];
const LOOP_CAN = ["resume", "ask", "fix", "finalize", "dashboard"];
const TASK_ID = /^\d+\.\d+$/;
// A one-line path that stays inside the project: not absolute, no `..` step.
@@ -1298,7 +1298,7 @@ export function loopEndProblems(e, state) {
}
// Loop mode adds four optional keys that a blank state does not hold (absent,
// not null): `loop: { driving: true }` (set by `open --loop`), `loopExpect`
// not null): `loop: { driving: true, strength? }` (set by `open --loop`), `loopExpect`
// (the app's judging criteria), `loopOutcome` (the skill's report) and
// `loopEnd` (the app's ending).
export function blankState({ sid, workflow, title, project, specDir }) {