Skip to content

fix(opencode): use file times for truncation cleanup - #40987

Merged
thdxr merged 1 commit into
devfrom
truncation-cleanup
Aug 7, 2026
Merged

fix(opencode): use file times for truncation cleanup#40987
thdxr merged 1 commit into
devfrom
truncation-cleanup

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • use truncation file modification time for retention cleanup
  • stop deriving file age from wrapping tool IDs
  • cover cleanup across the identifier wrap boundary

Testing

  • bun test test/tool/truncation.test.ts --timeout 30000 --only-failures (19 passed in implementation worktree)
  • Prettier check
  • git diff --check

Requested by: @thdxr (Dax Raad via Slack)

@thdxr
thdxr enabled auto-merge (squash) August 7, 2026 03:46
@thdxr
thdxr merged commit d468201 into dev Aug 7, 2026
11 checks passed
@thdxr
thdxr deleted the truncation-cleanup branch August 7, 2026 03:58
HQ123-BOOP pushed a commit to HQ123-BOOP/LibreCode that referenced this pull request Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant