Documentation
¶
Overview ¶
Command audit_action_coverage reports client-go SDK endpoints that no MCP action invokes (R-ACTION). For every package under internal/tools it resolves, with full Go type information, each call site of the form client.GL().{Service}.{Method}(...). The receiver type is a client-go service interface; its API methods are those whose signature ends in a variadic ...RequestOptionFunc. Methods on a used service that no handler calls are reported as candidate missing actions, grouped by the service and the internal/tools packages that reference it.
The output is a candidate backlog, not a hard gate: a method may be intentionally unexposed, or owned by a sibling package. A human adjudicates each entry.
Usage:
go run ./cmd/audit_action_coverage/ # full report to stdout go run ./cmd/audit_action_coverage/ -gaps-only # only services with missing methods go run ./cmd/audit_action_coverage/ -output dist/action-coverage.json