Overview
Refactor ACCES discovery layer from monolithic content.ts/community.ts files into a pluggable SourceAdapter pattern with centralized SourceRegistry. This enables plug-and-play source extensibility, parallel execution, and graceful degradation. Prerequisite for all Phase 1 & Phase 2 source expansion work.
Background
Current architecture hardcodes discovery logic in two files (content.ts and community.ts), making it difficult to add new sources without tangling dependencies. Per gap analysis:
- Current state: ~32% signal completeness with RSS + GitHub only
- Architecture bottleneck: Cannot scale beyond 3-4 sources without significant code duplication
- Team decision (decisions.md): Implement adapter pattern before expanding sources
Requirements
Squad SDK Integration
Use Squad SDK patterns for the adapter system:
- Adapter interface design: Follow Squad SDK's \SkillAdapter\ pattern (capability discovery, validation, execution)
- Registry pattern: Inspired by Squad SDK's skill registration system (auto-discovery, dependency injection)
- Error boundaries: Each adapter runs in isolation with Squad-style error handling (try/catch, log + continue)
Acceptance Criteria
Dependencies
None — This is the foundation for all other source expansion work.
Assigned To
- McNulty (TypeScript implementation, testing)
- Stringer (Squad SDK architecture patterns, code review)
Estimated Effort
2.5 sessions
- Session 1: Define SourceAdapter interface, create SourceRegistry skeleton
- Session 2: Extract RSS + GitHub into adapters, test parity
- Session 3: Refine error handling, documentation, team review
Overview
Refactor ACCES discovery layer from monolithic content.ts/community.ts files into a pluggable SourceAdapter pattern with centralized SourceRegistry. This enables plug-and-play source extensibility, parallel execution, and graceful degradation. Prerequisite for all Phase 1 & Phase 2 source expansion work.
Background
Current architecture hardcodes discovery logic in two files (content.ts and community.ts), making it difficult to add new sources without tangling dependencies. Per gap analysis:
Requirements
Squad SDK Integration
Use Squad SDK patterns for the adapter system:
Acceptance Criteria
pm run build && npm run start\ produces identical output files to current implementation (9 reports)
Dependencies
None — This is the foundation for all other source expansion work.
Assigned To
Estimated Effort
2.5 sessions