Skip to content

Briglia CLI 0.2.40

Choose a tag to compare

@github-actions github-actions released this 28 Sep 13:11
· 52 commits to main since this release
Immutable release. Only release title and notes can be modified.

Briglia CLI 0.2.40 (sequence 100)

A focused fix for the compaction error some long tasks hit: "Compaction summary missing or larger than the bounded output policy". What the model is asked to write is unchanged (same prompt, same length instruction, same output limit), and the main agent's requests are byte-identical to 0.2.39.

  • Longer summaries are accepted. A compaction summary may now be up to 65,536 bytes (was 36,000). The old check rejected summaries that followed the requested length, especially in Italian or code. The room Briglia reserves for the summary when it plans a compaction grows to match, so a long, valid summary can't leave the next request larger than planned.
  • Cut-off replies are never accepted. A reply the provider stopped early (for example finish_reason: length, or an incomplete Responses round) is rejected on both Chat Completions and Responses, even when it looks complete.
  • One plain retry. An empty, cut-off or too-long summary is requested once more, identically. If the second attempt also fails during a task, the task stops as before, with nothing replaced, and the error now names the reason, for example "Compaction summary rejected after 2 attempts: the reply was cut off by the provider". Send another message to continue.
  • Older turns. When an earlier turn is pruned, an empty or cut-off summary also gets one retry; after a second failure Briglia uses the plain list of the tools that ran, as before (previously an empty reply left no summary at all).
  • Spend. Summaries of earlier turns, including retries, are now counted in /spend totals and limits. They were not before.
  • Downgrade-safe. An older Briglia that finds a summary over 36,000 bytes still loads the conversation; only that summary leaves the live context, and its snapshot link (with the full work) stays.

Accepted by Codex before release. Evidence: summary-bounds selftest 29/29; active-compaction owner test 284/284 on both transports; wire 91/91 bodies identical; lifecycle differential passes; full CI on macOS and Linux.

Upgrade with /upgrade (or briglia upgrade). Phones unchanged.