Requesting compliance reports fails at final output generation
What happened
This defect was not exercised by the 2026-11-11 live audits. It was reproduced during verification on sec-af main cee88c9f15cb using the existing no-model test TestGenerateOutput_ComplianceFrameworksHitThePythonBug. That test passes by asserting the current failure: nonempty compliance frameworks cause GenerateOutput to return ErrComplianceReportArity after building the result.
Replication
From the repository's go directory, run:
GOPROXY=off GOSUMDB=off go test -mod=readonly ./internal/orch -run '^TestGenerateOutput_ComplianceFrameworksHitThePythonBug$' -count=1 -v
The test uses repository fixtures and fake collaborators. It requires no external AI or GitHub calls. Inspect its assertion against ErrComplianceReportArity; a passing test documents the defect rather than successful compliance output.
Where
go/internal/orch/output.go: AuditOrchestrator.GenerateOutput returns ErrComplianceReportArity when compliance frameworks are nonempty. go/internal/orch/output_test.go contains the reproducing test and real fixtures.
The fix
Generate the requested framework reports instead of deliberately returning the inherited arity error.
Acceptance
Through final audit output generation with nonempty supported frameworks, return the reports successfully and replace the existing failure-expecting assertion with successful output validation.