feat(0121b): audit_e2e_coverage_go_infra + fn doctor e2e-coverage #3
Reference in New Issue
Block a user
Delete Branch "auto/0121b-orquestador"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resumen
audit_e2e_coverage_go_infraenfunctions/infra/: escaneaapp.mdbuscandoe2e_checks:en frontmatter, retornaE2ECoverageReport{total, with_checks, missing, coverage_pct}.e2e_coverage_report_go_infraenfunctions/infra/e2e_coverage_report.go+types/infra/e2e_coverage_report.md.fn doctor e2e-coverageencmd/fn/doctor.go— texto tabular +--json.Acceptance verificado
audit_e2e_coverage_go_infraindexada (fn show audit_e2e_coverage_go_infra)fn doctor e2e-coverage --json->{total, with_checks, missing, coverage_pct}fn doctor e2e-coverage(text) -> tabla con METRIC/VALUEtask_run
task_run_id:
task_d285372493cce2e6branch:
auto/0121b-orquestadorworktree:
/tmp/fn_orq_0121b_1779147778iterations: 1 (converged)
Generated by fn-orquestador via /autonomous-task 0121b
- Crea functions/infra/audit_e2e_coverage.go: AuditE2ECoverage(roots) escanea app.md recursivamente, detecta e2e_checks: en frontmatter, retorna E2ECoverageReport{total, with_checks, missing, coverage_pct}. - Crea functions/infra/e2e_coverage_report.go: tipo E2ECoverageReport con JSON tags (total, with_checks, missing, coverage_pct). - Crea types/infra/e2e_coverage_report.md: metadata del tipo para registry. - Crea functions/infra/audit_e2e_coverage.md: documentacion self-contained con Ejemplo, Cuando usarla, Gotchas. - Crea functions/infra/audit_e2e_coverage_test.go: 3 tests (empty, all-covered, partial) — todos pasan. - Edita cmd/fn/doctor.go: agrega case "e2e-coverage" -> doctorE2ECoverage(). Output text (tabla tabwriter + lista de apps missing) y --json (E2ECoverageReport). Acceptance verificado: fn doctor e2e-coverage --json -> {total, with_checks, missing, coverage_pct} OK fn doctor e2e-coverage -> tabla text OK go test ./functions/infra/... -> 3/3 PASS fn show audit_e2e_coverage_go_infra -> indexada OK task_run: task_d285372493cce2e6 iter 1 Co-authored-by: fn-orquestador <noreply@fn-registry>