Skip to content

feat: implement shared detector framework and evidence schema (issue #18)#44

Merged
thundermiracle merged 2 commits intomainfrom
codex/issue-18-shared-detector-framework
Feb 26, 2026
Merged

feat: implement shared detector framework and evidence schema (issue #18)#44
thundermiracle merged 2 commits intomainfrom
codex/issue-18-shared-detector-framework

Conversation

@thundermiracle
Copy link
Copy Markdown
Owner

Summary

  • add a dedicated detection layer with a shared ClientDetector interface and DetectorRegistry
  • implement path-based detector framework with explicit status + confidence + evidence output
  • add per-client detectors for Claude Code, Codex CLI, Cursor, and Codex App using one schema
  • extend detection contract with confidence (0-100) while preserving status and evidence fields
  • route detect_clients through detector registry while keeping list/mutate on adapter registry
  • keep command boundary thin and UI-ready with no client-specific branching
  • add Rust and Node tests covering schema consistency and partial-detection behavior

Commit Structure

  • feat(rust): add shared client detector framework and evidence schema (issue #18)
  • test(docs): align frontend contracts and boundary docs with detector schema (issue #18)

Validation

  • pnpm run lint
  • pnpm test
  • cargo test --manifest-path src-tauri/Cargo.toml
  • pnpm outdated

Closes #18

@thundermiracle thundermiracle merged commit 381ab6a into main Feb 26, 2026
2 checks passed
@thundermiracle thundermiracle deleted the codex/issue-18-shared-detector-framework branch February 26, 2026 14:11
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.

P1-DETECT: Shared detector framework and evidence schema

1 participant