Skip to content

feat: add Opus 4.6 context support, debug logging, and task cache#16

Merged
kostyay merged 3 commits intomainfrom
feat/debug-logging-remove-task-cache
Feb 5, 2026
Merged

feat: add Opus 4.6 context support, debug logging, and task cache#16
kostyay merged 3 commits intomainfrom
feat/debug-logging-remove-task-cache

Conversation

@kostyay
Copy link
Owner

@kostyay kostyay commented Jan 28, 2026

Summary

  • Add debug logging after stdin parsing — logs workDir, sessionID, model to stderr
  • Remove task caching from cache package; tasks fetched directly from providers
  • Cache task stats and next task per workDir with TTL
  • Update context window docs and tests for Opus 4.6 [1m] beta support
  • Fix whitespace alignment in test files

Notable decisions

  • Context logic unchanged — [1m] suffix detection already handles Opus 4.6 correctly
  • Only docs/comments/tests updated for Opus 4.6 awareness

Test plan

  • make all passes (lint + test + build)
  • TestGetContextConfig covers Opus 4.6 default (200k) and [1m] (1M)

🤖 Generated with Claude Code

kostyay and others added 3 commits January 28, 2026 14:23
Add debug logging for workspace diagnosis to help identify when Claude
Code sends incorrect workDir. Remove task caching to simplify the
codebase - tasks are now fetched directly from providers on each call.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Task provider results (stats + next task) now cached per-workDir with
configurable TTL, matching the existing cache pattern for git/GitHub data.
Includes old-entry eviction (>1 week) and debug logging to file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Opus 4.6 to context window documentation and test coverage.
Update CLAUDE.md, token comments, and changelog. Fix whitespace
alignment in test files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kostyay kostyay changed the title feat: add debug logging and remove task caching feat: add Opus 4.6 context support, debug logging, and task cache Feb 5, 2026
@kostyay kostyay merged commit e1f085c into main Feb 5, 2026
3 checks passed
@kostyay kostyay deleted the feat/debug-logging-remove-task-cache branch February 5, 2026 21:25
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