Skip to content

Improve first-run generation defaults and limit request concurrency - #349

Merged
zurawiki merged 2 commits into
mainfrom
qol/better-defaults
Sep 24, 2026
Merged

zurawiki merged 2 commits into
mainfrom
qol/better-defaults

Conversation

@zurawiki

@zurawiki zurawiki commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Make first-run generation quieter and bounded. Skip empty and fully ignored changes before constructing the API client, leaving the commit message unchanged even without credentials. Limit file-summary requests to four at once, order summaries by filename, and propagate per-file failures instead of silently substituting empty summaries. Add bun.lock and uv.lock to default exclusions. Routine progress and exclusions are available through --verbose.

Update the default model to gpt-6-luna with low reasoning effort to prioritize speed and a 2,048-token combined reasoning/output limit per request; retain explicitly configured models and avoid sending those model-specific options to other models. Shorten default prompts to a <=60-character title (leaving room for the conventional prefix) and one to three factual bullets, without invented rationale or test claims.

Stacked on #348. Moves filtering out of per-file tasks so it can run before client setup, removes unbounded task spawning and silent summary-error handling, and replaces the promotional generation banner with diagnostic logging.

Model rationale: GPT-6 Luna is documented for focused, high-volume tasks and supports low reasoning effort. Published standard short-context pricing is $0.10 input / $0.50 output per million tokens, versus $0.10 / $0.40 for the previous GPT-4.1 nano default. These are documentation-based choices; no live quality, latency, or account-availability comparison has been performed. Keep this PR draft until that evaluation is satisfactory.

Validation: focused tests cover concurrency, aborting incomplete summaries, empty input without requests, default-model payload options, and unchanged payloads for custom models. CLI regressions cover no-key empty/all-ignored changes and unchanged message files. just lint build test passed, including the CLI end-to-end suite and all 15 Rust tests.

Follow-up validation: request-payload regressions and just lint passed after selecting low reasoning. The existing test now enforces that default and preserves custom-model payloads. Live latency remains unmeasured.

@zurawiki
zurawiki added this pull request to stack #350 September 24, 2026 14:33
Base automatically changed from qol/ignore-rules to main September 24, 2026 14:37
@zurawiki
zurawiki marked this pull request as ready for review September 24, 2026 14:37
@zurawiki
zurawiki merged commit 1336779 into main Sep 24, 2026
8 checks passed
@zurawiki
zurawiki deleted the qol/better-defaults branch September 24, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant