audit_action_coverage

command
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL