Skip to content

feat: Phase 1 — harness abstraction layer foundation - #22

Merged
ithiria894 merged 4 commits into
mainfrom
feature/phase-1-harness-abstraction-layer
Apr 28, 2026
Merged

feat: Phase 1 — harness abstraction layer foundation#22
ithiria894 merged 4 commits into
mainfrom
feature/phase-1-harness-abstraction-layer

Conversation

@ithiria894

Copy link
Copy Markdown
Member

Summary

  • Add harness adapter interface contract with full type definitions (src/harness/interface.mjs)
  • Extract shared filesystem helpers used by scanners (src/harness/fs-utils.mjs)
  • Add generic scan orchestration framework that runs any adapter's scanners (src/harness/scanner-framework.mjs)
  • Add adapter registry with lazy-loading from src/harness/adapters/ (src/harness/registry.mjs)

This is foundation only — no existing code modified, zero regression risk. Phase 2 will extract the Claude adapter from current scanner.mjs using this interface.

Test plan

  • All 4 new files pass node --check syntax validation
  • Correct exports verified via dynamic import
  • All 200 existing E2E tests pass (5.3m runtime)
  • Server module imports cleanly
  • No existing files modified

🤖 Generated with Claude Code + Codex CLI

ithiria894 and others added 4 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>
@ithiria894
ithiria894 merged commit cd7d7a2 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