github oddur/gnosis v0.42.0-beta.5

pre-releaseone hour ago

This pre-release adds focused explanation sections, and lets you choose the model per explanation. It also fixes several bugs found since beta.4.

Focused explanation sections (off by default)

Turn on Focused sections in Generate explanation, or set it as a repository's default in Settings. It needs parallel review. (#573, #566)

  • Large changes are split by definition. Each section shows only the functions it explains, as line ranges, not whole hunks.
  • Gaps say where the rest went. For example, "fn supersede: section 3 ↗", or "40 lines left out: open in Changes ↗".
  • File headers count this section's lines: "−692 here · file −1947".
  • Moved code shows once. A function moved to another file shows "Moved from commands/queue.rs" on the new copy, with a diff of any edits made during the move. The red deletion isn't shown.
  • Code outside the explanation is listed at the end, with links into Changes.
  • Changes marks each part: "Explained in section N", "Left out of the explanation", or "Moved: explained with X". Changes still shows every line.
  • Viewed by parts. A section's Viewed box marks only its part, for example "2 of 4 parts seen". The file becomes Viewed only when every part has been seen and nothing of it was left out.

Even with the setting off, explanations now give each hunk to one section, chosen before the writers start. Before, a large file could land in a different section depending on which writer finished first.

Choose the model per explanation

Generate explanation now has a Model and reasoning effort picker, with Claude and Codex models. It starts from the repository's default, else your Settings review model.

  • "Remember for this repository" saves your choice.
  • Regenerate keeps each explanation's choice.
  • If the chosen provider isn't installed, generation stops and says so. It never switches to another provider.

Fixes

  • Queue rows stay still under the pointer while sync updates them. Group headings and the j/k order hold too. (#557)
  • Leaving Changes on a large PR is about twice as fast. (#558)
  • Quit no longer loses a pending review-state save. (#555)
  • Saved work stays consistent after a failed save. (#551)
  • Edit whole file:
    • "Accept my edit" for proposals stuck in Check.
    • A Keep no longer ends the edit.
    • Undo keeps a model's offer.
    • Two cases where a choice could count for the wrong conflict are closed. (#556)
  • A keyboard jump from a breadcrumb keeps focus on the crumb you pressed. (#568)
  • Explanations get the right context lines for every file. Files after a new file in a diff were read with the wrong status, and context near neighbouring hunks had the wrong line numbers. (#570)

Don't miss a new gnosis release

NewReleases is sending notifications on new releases.