-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Overview
Implement real adapters for GitHub CLI and Claude CLI with streaming JSON support.
Research Source
research/research-workflows-tdd-migration-deep.md- Migration Roadmap Phase 3 (Tasks 9-12)
- Section 1.2: Hexagonal Architecture Adapters
Tasks
- Add dependencies: execa, ndjson
- Create src/adapters/github-cli.adapter.ts implementing IGitHubClient
- Implement getCIStatus, getComments, pollUntilComplete with streaming
- Create tests/integration/adapters/github-cli.test.ts
- Create src/adapters/claude-cli.adapter.ts implementing IClaudeClient
- Create tests/integration/adapters/claude-cli.test.ts
Complexity
5/10
Acceptance Criteria
- GitHub adapter executes
gh run viewsuccessfully - GitHub adapter parses streaming JSON output
- Claude adapter executes
claudeCLI commands - Integration tests run against real CLIs
Dependencies
- Depends on: Plan 3: Error Detection & Phase Transitions #6
Plan File
plans/workflow-4-adapters.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels