Skip to content

feat: Phase 2 — extract Claude adapter from core modules - #23

Merged
ithiria894 merged 8 commits into
mainfrom
feature/phase-2-claude-adapter
Apr 28, 2026
Merged

feat: Phase 2 — extract Claude adapter from core modules#23
ithiria894 merged 8 commits into
mainfrom
feature/phase-2-claude-adapter

Conversation

@ithiria894

Copy link
Copy Markdown
Member

Summary

  • Extract all Claude-specific scanner logic (1355 lines) from scanner.mjs into src/harness/adapters/claude.mjs implementing HarnessAdapter interface
  • Extract move/delete operations from mover.mjs into src/harness/adapters/claude-operations.mjs
  • Extract context budget logic from server.mjs into src/harness/adapters/claude-context-budget.mjs
  • Extract CC Actions prompt templates into src/harness/adapters/claude-prompts.mjs
  • scanner.mjs and mover.mjs become thin re-export wrappers

Test plan

  • All new files pass node --check
  • 200/200 E2E tests pass (zero regression)
  • Public API unchanged — wrappers re-export same functions

🤖 Generated with Claude Code + Codex CLI

ithiria894 and others added 8 commits April 27, 2026 18:04
Co-Authored-By: Codex (GPT-5.5) <noreply@openai.com>
Co-Authored-By: Codex (GPT-5.5) <noreply@openai.com>
Co-Authored-By: Codex (GPT-5.5) <noreply@openai.com>
Co-Authored-By: Codex (GPT-5.5) <noreply@openai.com>
Move all Claude-specific logic (1355 lines) from scanner.mjs into
src/harness/adapters/claude.mjs implementing HarnessAdapter interface.
scanner.mjs becomes a thin 10-line re-export wrapper.

Co-Authored-By: Codex (GPT-5.5) <noreply@openai.com>
@ithiria894
ithiria894 merged commit ea34249 into main Apr 28, 2026
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