Skip to content

Clean review nits before the next cut - #465

Merged
TheGreatAxios merged 2 commits into
mainfrom
release-nits-cleanup
Aug 10, 2026
Merged

Clean review nits before the next cut#465
TheGreatAxios merged 2 commits into
mainfrom
release-nits-cleanup

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

Pre-release cleanup from the multi-agent audit of v0.2.95..HEAD. No product features — nits only.

  • Compactor: DEFAULT_COMPACTOR_CONFIG.keepRecentTurns derives from COMPACTOR_KEEP_RECENT_TURNS (single literal).
  • Copy honesty: shared writeClipboard — flash Copied … only on success; Copy failed on reject/throw; still clears highlight. Alt+C paths use the same helper.
  • Tests: selection-copy failure paths; scheduleUpgradeNotice available / quiet / notify-throw.
  • Comments: drop stale “Ink remains production”; type-to-filter JSDoc includes model picker.

Test plan

  • bun test on selection-copy, upgrade, copy-wire, compactor-pairing, context-compactor (76 pass)
  • bun run typecheck
  • CI green

Single-source keepRecentTurns, honest copy flash (only after a
successful clipboard write), scheduleUpgradeNotice coverage, and
stale Ink/type-to-filter comment fixes from the multi-agent pass.
Leave the flash gated on write success/failure, but drop the highlight
immediately so a slow clipboard helper cannot pin the selection. Cover
writeClipboard settlement paths and latch upgrade-notice tests on the
fetch promise instead of a fixed sleep.
@TheGreatAxios
TheGreatAxios merged commit c38c873 into main Aug 10, 2026
2 checks passed
@TheGreatAxios
TheGreatAxios deleted the release-nits-cleanup branch August 10, 2026 04:53
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