A profile saved before #274 runs with Free's run settings: one session at a time, 4 subagents, 179k per agent #341

Closed
opened 2026-10-30 13:08:32 -04:00 by cmoriarty · 2 comments
Owner

What happens
The fastllm profile was saved before profiles kept run settings (#274), so it holds only backend fields. Its runs take every run setting from the flat values, which are Free's while Free is in use. Run 160 (fastllm, thorough) recorded parallel_sessions: 1, max_subagents: 4 and apply_mode: single. Its budget uses Free's 179,520 context per agent (alarm 149,520) instead of a size from fastllm's 262k window. So its proposal review ran as one combined reviewer ("the backend serves one session at a time"), and fastllm's 6 slots go unused. The exl3 profile is the same.

Fix
A profile without its own run fields takes the defaults, never Free's. Fill old profiles' missing run fields when settings load, and show them on the Settings page.

Done when
A run on an old profile, started while Free is in use, records the defaults in its settings.json, and its proposal review runs the four lenses on a backend with more than one slot.

**What happens** The fastllm profile was saved before profiles kept run settings (#274), so it holds only backend fields. Its runs take every run setting from the flat values, which are Free's while Free is in use. Run 160 (fastllm, thorough) recorded `parallel_sessions: 1`, `max_subagents: 4` and `apply_mode: single`. Its budget uses Free's 179,520 context per agent (alarm 149,520) instead of a size from fastllm's 262k window. So its proposal review ran as one combined reviewer ("the backend serves one session at a time"), and fastllm's 6 slots go unused. The exl3 profile is the same. **Fix** A profile without its own run fields takes the defaults, never Free's. Fill old profiles' missing run fields when settings load, and show them on the Settings page. **Done when** A run on an old profile, started while Free is in use, records the defaults in its `settings.json`, and its proposal review runs the four lenses on a backend with more than one slot.
Author
Owner

Seen again, and made worse by a save: at 13:08 today a Settings save made fastllm the profile in use. It was its first save since #274, so it stored the flat values it had been reading, Free's, as fastllm's own: 1 parallel session, 4 subagents, 179,520 per agent, 2 runs, apply single. The page gave no sign the values came from Free.

Worked around for fastllm only, at the operator's request: the fastllm profile now holds its own run settings (6 parallel sessions for --max_batch 6, 5 subagents, 200,000 per agent, 3 runs, apply auto). It was saved through the profile list, so Free's flat copy is unchanged. The exl3 profile still has no run fields and still reads Free's.

Seen again, and made worse by a save: at 13:08 today a Settings save made fastllm the profile in use. It was its first save since #274, so it stored the flat values it had been reading, Free's, as fastllm's own: 1 parallel session, 4 subagents, 179,520 per agent, 2 runs, apply `single`. The page gave no sign the values came from Free. Worked around for fastllm only, at the operator's request: the fastllm profile now holds its own run settings (6 parallel sessions for `--max_batch 6`, 5 subagents, 200,000 per agent, 3 runs, apply `auto`). It was saved through the profile list, so Free's flat copy is unchanged. The exl3 profile still has no run fields and still reads Free's.
Author
Owner

Shipped in PR #356 (c00c62f1, live on production).

  • The fix: a non-Free profile that lacks a run setting now reads the default, never the flat copy, which is Free's. The Settings API lists such a profile with those defaults, and its first save stores them.
  • Tests:
    • a run on an old profile, started while Free holds 1 session, 4 subagents and 179,520 per agent, takes the defaults;
    • the page shows the defaults, and the first save stores them;
    • both fail without the fix.
  • Production: every profile there, exl3 included, already holds its own run settings, so no live profile exercises the old path.
  • The original done-when asked that "the review runs four lenses". It is moot now: since #353 every backend gets one reviewer.
**Shipped** in PR #356 (c00c62f1, live on production). - **The fix:** a non-Free profile that lacks a run setting now reads the default, never the flat copy, which is Free's. The Settings API lists such a profile with those defaults, and its first save stores them. - **Tests:** - a run on an old profile, started while Free holds 1 session, 4 subagents and 179,520 per agent, takes the defaults; - the page shows the defaults, and the first save stores them; - both fail without the fix. - **Production:** every profile there, exl3 included, already holds its own run settings, so no live profile exercises the old path. - **The original done-when** asked that "the review runs four lenses". It is moot now: since #353 every backend gets one reviewer.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#341
No description provided.