Skip to content

docs: generate service reference (and counts) from the plugin registry + CI drift guard #364

Closed

Description

@scttfrdmn

The service/behavior matrix is effectively part of an emulator's product contract, so it must be generated from the plugin registry, not hand-maintained (which is how docs/services.md drifted to 37 while the registry has 63).

Ask

A go generate-able tool (e.g. cmd/gen-service-reference or a make docs-reference target) that walks RegisterDefaultPlugins / the PluginRegistry and emits docs/services.md with, per plugin:

  • plugin name + AWS service, protocol(s), parser aliases
  • operation list
  • status columns: Implemented / Partial / Fault-aware / Stateful / CFN-supported / Pricing-supported
  • known semantic limitations (from a per-plugin annotation)

Also

  • Reconcile the plugin-vs-service vocabulary once, and state the definition in the generated header.
  • Emit the total plugin count + service count into the generated page so README/index can reference a single generated number (or a CI check keeps them equal).

Acceptance criteria

  • make docs-reference regenerates docs/services.md deterministically.
  • CI fails when the committed docs/services.md differs from generated output (drift guard).
  • Counts in README/index are verified against the registry in CI (no manual duplication).

Depends on the status metadata possibly needing a small per-plugin interface addition — discuss in-issue before coding. Part of v0.76.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions