An MVP brief that already ends with the scope paragraph gets it twice #335

Closed
opened 2026-10-30 10:43:14 -04:00 by cmoriarty · 1 comment
Owner

What happens
The Stocks rerun (2026-10-30) was started with the brief of the run before it, which already ended with the MVP's "Scope: a minimum viable product…" paragraph. With MVP on, Braid added the paragraph again, so every agent of the run reads it twice.

Fix
In src/osf/api/routes.py, where a run is created, add MVP_SCOPE only when the brief doesn't already end with it. That covers a brief copied from an earlier run, or a rerun that uses the old run's brief.

Done when
Creating an MVP run whose brief already ends with the scope paragraph stores it once. A test covers this.

**What happens** The Stocks rerun (2026-10-30) was started with the brief of the run before it, which already ended with the MVP's "Scope: a minimum viable product…" paragraph. With MVP on, Braid added the paragraph again, so every agent of the run reads it twice. **Fix** In `src/osf/api/routes.py`, where a run is created, add `MVP_SCOPE` only when the brief doesn't already end with it. That covers a brief copied from an earlier run, or a rerun that uses the old run's brief. **Done when** Creating an MVP run whose brief already ends with the scope paragraph stores it once. A test covers this.
Author
Owner

Done in batch A, merged as #356 (c00c62f1), and live on production: Braid reports commit c00c62f, which includes it. It was checked with the repo's tests and sims before the merge. A live check on vLLM is still to come: trogdor is off the network. Closed at the owner's request.

Done in batch A, merged as #356 (`c00c62f1`), and live on production: Braid reports commit `c00c62f`, which includes it. It was checked with the repo's tests and sims before the merge. A live check on vLLM is still to come: trogdor is off the network. Closed at the owner's request.
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#335
No description provided.