name: "🤖 Agent Task" description: "Auto-generated from BlackRoad OS Metrics" title: "[AGENT] Increase test coverage" labels: ["agent-task", "automated", "metrics-generated"] body: - type: markdown attributes: value: | ## Agent-Executable Task This task was automatically generated by the BlackRoad OS Metrics system. **Generated:** 2025-12-26 19:08:10 **Source:** Metrics threshold detection - type: dropdown id: priority attributes: label: Priority options: - "P2 - This week" validations: required: true - type: textarea id: instruction attributes: label: Instruction description: What should the agent do? value: | Current test coverage is 0%. Increase to minimum 80%. Steps: 1. Identify untested critical code paths 2. Write unit tests for core business logic 3. Add integration tests for API endpoints 4. Create E2E tests for critical user flows 5. Update CI to enforce minimum coverage validations: required: true - type: textarea id: files attributes: label: Files to touch description: Which files should be created or modified? value: | - Create: tests/ directory structure - Add: test files for each module - Modify: package.json (test scripts) - Update: .github/workflows/test.yml - type: textarea id: done attributes: label: Definition of done description: How does the agent know it's complete? value: | - Test coverage reaches 80%+ - All critical paths tested - CI enforces coverage minimum - Coverage report generated on each run - type: textarea id: constraints attributes: label: Constraints / Don'ts value: | - Don't mock critical business logic - Write meaningful tests, not just coverage tests - Follow existing test patterns - type: dropdown id: agent attributes: label: Assigned agent options: - "Codex"