Skip to content

feat(tools): wrap the two new v1.0.43 endpoints (compose validate + settings/semver) #230

Description

@strausmann

Context

v1.0.43 added two endpoints the MCP does not wrap yet (pin bumped in #229, spec now info.version: 1.0.43):

  • POST /api/stacks/{name}/validateCompose Validate, a preflight linter/validator that returns findings with severity + line numbers.
  • GET / POST /api/settings/semver — global newer-version-tag detection config (the semver knobs relocated here from environments/{id}/update-check).

They surface as coverage candidates once the second (unpinned) spec source is retired via #222 / PR #226.

Proposal — add tools

  • validate_stack_composePOST /api/stacks/{name}/validate. Returns the linter findings (severity/line). Read-oriented (no mutation), so no confirmation gate.
  • get_semver_settingsGET /api/settings/semver (1:1 read proxy).
  • update_semver_settingsPOST /api/settings/semver (1:1 write proxy).

Follow the existing 1:1-proxy tool pattern (TOOL_ENDPOINT_MAP, generated coverage/body-contract artifacts). TDD per repo conventions; keep the body-contract gate green.

Depends on / refs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions