cmd/

directory
v2.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT

Directories

Path Synopsis
docvalidate.go implements the -validate-docs mode: it cross-checks the `doc/api/<area>.md` citations that justify the 1:1 adjudication tables against the live GitLab API reference docs (via internal/apidocs).
docvalidate.go implements the -validate-docs mode: it cross-checks the `doc/api/<area>.md` citations that justify the 1:1 adjudication tables against the live GitLab API reference docs (via internal/apidocs).
internal/actions
Package actions reports client-go SDK endpoints that no MCP action invokes (R-ACTION).
Package actions reports client-go SDK endpoints that no MCP action invokes (R-ACTION).
internal/merge
Package merge combines the three 1:1-audit gap reports — struct completeness (R-INPUT/R-OUTPUT), action coverage (R-ACTION), and metadata completeness (R-META) — into a single per-package backlog.
Package merge combines the three 1:1-audit gap reports — struct completeness (R-INPUT/R-OUTPUT), action coverage (R-ACTION), and metadata completeness (R-META) — into a single per-package backlog.
internal/metadata
Package metadata reports discovery-metadata gaps (R-META) across the canonical ActionSpec catalog.
Package metadata reports discovery-metadata gaps (R-META) across the canonical ActionSpec catalog.
internal/shared
Package shared holds constants and helpers used across multiple audit_1to1 sub-packages so they cannot drift.
Package shared holds constants and helpers used across multiple audit_1to1 sub-packages so they cannot drift.
internal/structs
Package structs verifies the 1:1 field mapping between the MCP tool input/output structs and the client-go SDK Options/result structs they wrap.
Package structs verifies the 1:1 field mapping between the MCP tool input/output structs and the client-go SDK Options/result structs they wrap.
Command audit_catalog_first generates a source-discovered inventory of internal/tools domain coverage for the ActionSpec migration.
Command audit_catalog_first generates a source-discovered inventory of internal/tools domain coverage for the ActionSpec migration.
Command audit_discovery_completeness reports discovery-metadata gaps that affect how well models can find and choose the right action.
Command audit_discovery_completeness reports discovery-metadata gaps that affect how well models can find and choose the right action.
Package main: catalog walker.
Package main: catalog walker.
Command audit_dynamic_aliases checks the dynamic toolset compatibility alias catalog for governance issues.
Command audit_dynamic_aliases checks the dynamic toolset compatibility alias catalog for governance issues.
Command audit_e2e_gaps reports which canonical catalog actions are not exercised by the e2e suite under test/e2e/suite.
Command audit_e2e_gaps reports which canonical catalog actions are not exercised by the e2e suite under test/e2e/suite.
Command audit_edition_tier reports the doc-grounded licensing tier of every canonical MCP action and compares it to the action's current gating.
Command audit_edition_tier reports the doc-grounded licensing tier of every canonical MCP action and compares it to the action's current gating.
Command audit_metrics generates a comprehensive metrics summary for the gitlab-mcp-server MCP server.
Command audit_metrics generates a comprehensive metrics summary for the gitlab-mcp-server MCP server.
Command audit_string_dupes scans Go source files for duplicated string literals that appear three or more times and are not already declared as constants.
Command audit_string_dupes scans Go source files for duplicated string literals that appear three or more times and are not already declared as constants.
Command audit_surface_quality is the consolidated MCP tool surface quality audit.
Command audit_surface_quality is the consolidated MCP tool surface quality audit.
Command audit_test_goroutines detects testing.T abort calls made from goroutines other than the one running the test.
Command audit_test_goroutines detects testing.T abort calls made from goroutines other than the one running the test.
Command audit_test_names scans all Go test files and classifies test function names by their naming pattern.
Command audit_test_names scans all Go test files and classifies test function names by their naming pattern.
Command audit_tokens measures the LLM context window overhead of all registered MCP tool definitions.
Command audit_tokens measures the LLM context window overhead of all registered MCP tool definitions.
Command eval_mcp_surfaces evaluates model behavior across MCP tool surfaces.
Command eval_mcp_surfaces evaluates model behavior across MCP tool surfaces.
internal/evalrun
Package evalrun provides small helpers shared by the live evaluation command: deterministic unique suffixes for ephemeral GitLab resources and environment-driven run configuration used across e2e fixtures.
Package evalrun provides small helpers shared by the live evaluation command: deterministic unique suffixes for ephemeral GitLab resources and environment-driven run configuration used across e2e fixtures.
internal/evaluator
Package evaluator runs model evaluations against GitLab MCP tool surfaces.
Package evaluator runs model evaluations against GitLab MCP tool surfaces.
internal/evaluator/cases
Package cases contains the typed model-evaluation case catalog.
Package cases contains the typed model-evaluation case catalog.
internal/termio
Package termio centralizes terminal and log-file output helpers used by the eval_mcp_surfaces CLI so commands can write progress to a tee'd destination (stdout plus an optional log file) with a consistent format.
Package termio centralizes terminal and log-file output helpers used by the eval_mcp_surfaces CLI so commands can write progress to a tee'd destination (stdout plus an optional log file) with a consistent format.
Command format_md_tables normalizes Markdown pipe tables in README.md, docs/ and the Astro documentation site under site/src/content/docs/.
Command format_md_tables normalizes Markdown pipe tables in README.md, docs/ and the Astro documentation site under site/src/content/docs/.
Command gen_action_catalog_manifest generates the ActionSpec group builder manifest used by the catalog-first runtime.
Command gen_action_catalog_manifest generates the ActionSpec group builder manifest used by the catalog-first runtime.
Command gen_brand emits every vector brand asset from one parametric geometry, so the mark cannot drift between its surfaces.
Command gen_brand emits every vector brand asset from one parametric geometry, so the mark cannot drift between its surfaces.
Command gen_docker_tools generates a tools.json file in the format expected by the Docker MCP Registry (https://github.com/docker/mcp-registry).
Command gen_docker_tools generates a tools.json file in the format expected by the Docker MCP Registry (https://github.com/docker/mcp-registry).
Command gen_icon_webp rasterizes the SVG icon constants declared in internal/toolutil/icons.go into lossless WebP fallbacks for MCP clients that reject image/svg+xml (VS Code Copilot's mcpIcons.ts MIME allowlist, for example, admits image/webp but not SVG).
Command gen_icon_webp rasterizes the SVG icon constants declared in internal/toolutil/icons.go into lossless WebP fallbacks for MCP clients that reject image/svg+xml (VS Code Copilot's mcpIcons.ts MIME allowlist, for example, admits image/webp but not SVG).
Command gen_lhm_manifest regenerates the tools, prompts, and resources arrays in lhm.plugin.json, the manifest published to the LobeHub Marketplace.
Command gen_lhm_manifest regenerates the tools, prompts, and resources arrays in lhm.plugin.json, the manifest published to the LobeHub Marketplace.
Command gen_llms generates llms.txt and llms-full.txt files.
Command gen_llms generates llms.txt and llms-full.txt files.
Command gen_stats auto-generates the repository statistics section in README.md.
Command gen_stats auto-generates the repository statistics section in README.md.
Command gen_testing_docs regenerates the managed test metrics section in docs/development/testing/testing.md.
Command gen_testing_docs regenerates the managed test metrics section in docs/development/testing/testing.md.
Command godoc_tool is the consolidated Go documentation auditor and fixer.
Command godoc_tool is the consolidated Go documentation auditor and fixer.
internal
apidocs
Package apidocs is a shared fetcher for the GitLab API reference docs (the doc/api/<area>.md files in the gitlab-org/gitlab monorepo) used as a source of truth alongside the client-go SDK by the audit utilities.
Package apidocs is a shared fetcher for the GitLab API reference docs (the doc/api/<area>.md files in the gitlab-org/gitlab monorepo) used as a source of truth alongside the client-go SDK by the audit utilities.
auditshared
Package auditshared holds analysis helpers shared by the discovery-metadata auditors (cmd/audit_1to1 R-META and cmd/audit_discovery_completeness): the projected-description probe, owner-package resolution, and the shared usage/description quality checks.
Package auditshared holds analysis helpers shared by the discovery-metadata auditors (cmd/audit_1to1 R-META and cmd/audit_discovery_completeness): the projected-description probe, owner-package resolution, and the shared usage/description quality checks.
docgen
Package docgen contains helpers for generated project documentation.
Package docgen contains helpers for generated project documentation.
mcpsurface
Package mcpsurface introspects the registered MCP surface for the generator commands.
Package mcpsurface introspects the registered MCP surface for the generator commands.
bearerguard.go authenticates OAuth-mode requests before the SDK's bearer middleware runs.
bearerguard.go authenticates OAuth-mode requests before the SDK's bearer middleware runs.

Jump to

Keyboard shortcuts

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