- Moved the existing patch coverage remediation plan from `current_spec.md` to a new file `patch_coverage_spec.md` for better organization and focus on security remediation. - Updated the goal to emphasize restoring Codecov patch coverage to green by ensuring 100% of modified lines are executed by tests. - Defined two workstreams: one for fixing patch coverage in specific backend files and another for updating prevention measures in instructions and agent files. - Added a detailed missing files table to track Codecov patch report line ranges and corresponding test strategies. - Included guidance on handling partial patch lines and common patterns for missed coverage. - Specified a remediation plan with a test-first approach and per-file testing strategies for targeted coverage improvements. - Updated relevant instructions and agent files to enforce patch coverage requirements and improve validation processes.
Backend Service
This folder contains the Go API for CaddyProxyManager+.
Prerequisites
- Go 1.24+
Getting started
cp .env.example .env # optional
cd backend
go run ./cmd/api
Tests
cd backend
go test ./...