Skip to content

docs(adr): decide the read-only tier design of the SQL Server MCP plugin #9805

Description

@kyle-sexton

Refs #5940. Slice 1 of 7. Runs first; every other slice waits on it.

Problem

The owner decided on 2026-10-24 (Q96, comment on #5940) that the first release of the SQL Server MCP plugin is the read-only tier only, tested against a local SQL Server container and Azure SQL Database, with the owner's go-ahead to follow the recommendations. #5940 lists five open design questions (Proposed approach) with no recorded decision, and no plugin on origin/main ships a database MCP server.

Fix

Record one ADR under docs/adr/ for the read-only tier, deciding each open question for the read path only, with the #5940 Evidence section as the basis:

  1. The real guarantee for S1/S2: a least-privilege read-only database principal as the boundary, plus server-side controls (single-statement reject list, XACT_ABORT ON, rollback guard, pinned isolation, LOCK_TIMEOUT, request timeout, streaming row cap), each labeled guarantee or heuristic (F8).
  2. S5/S7 with F2: a fixed tool set per registration that refuses out-of-scope databases, never a tool that adds or removes tools.
  3. F7: plugin-shipped server names versus a setup skill that registers user-scope servers.
  4. Language, driver and auth coverage for the read tier (F1), and process topology (F10) as a default to be confirmed by slice 4's measurement.
  5. The published, versioned config schema shape (F9), with connections by reference (S6).

The write tier (S4) is out of scope: it is the last slice. Name the plugin directory in the ADR.

Done when

  • bash scripts/check-adr-numbers.sh --check exits 0
  • The new ADR file has one ### heading per question 1 to 5 above: grep -c '^### ' docs/adr/<new>.md prints 5 or more
  • grep -ciE 'heuristic' docs/adr/<new>.md prints 1 or more
  • ci-status is green on the PR head

Activity

  1. added
    needs-triage
    on Oct 24, 2026
  2. github-actions commented on Oct 24, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Medium
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Understood: this is slice 1 of 7 under #5940. It asks for one ADR in docs/adr/ that decides the five read-only-tier design questions for the SQL Server MCP plugin, names the plugin directory, and leaves the write tier out of scope. The done-when checks are concrete and can be run by a lane.

    Note from an earlier run: the lane stopped because it could not read the #5940 Evidence section (F1, F2, F7–F10, S1–S7). Pasting that evidence into this issue, or putting a copy in the repository, would let the work go ahead without inventing findings.

    No duplicates found among the open issues.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Oct 24, 2026
  4. added
    status: ready
    agent-ready
    on Oct 24, 2026
  5. melodic-automation-lanes commented on Oct 24, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue run that agent-ready started ended over 3 hours ago with no report and no pull request. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. It does this once per version of those files, so if this run fails the same way, a person looks at it.

  6. added
    agent-ready
    needs-human
    and removed
    agent-ready
    on Oct 24, 2026
  7. melodic-automation-lanes commented on Oct 24, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Why, in the run's own words:

    The ADR must be based on the #5940 Evidence section (findings F1, F2, F7, F8, F9, F10 and S1 to S7), and this run cannot read it. gh is denied in this lane, github.com is not an allowed web host, and the repository has no copy of the evidence. The issue body only names the findings, so writing the ADR would mean inventing their content. Give the lane a way to read #5940, or paste the Evidence section into the issue, and re-run.

    What the run says it did not do:

    • ADR under docs/adr/ for the read-only tier was not written: the #5940 Evidence section could not be read
    • check-changelog-fragments and check-affected were not run, because nothing was changed

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40131619620

    To retry, remove needs-human and add agent-ready again.

  8. added
    host-run
    status: confirmed
    and removed
    status: ready
    needs-human
    status: confirmed
    host-run
    on Oct 27, 2026
  9. github-actions commented on Oct 28, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 1 of 2).

  10. added
    status: ready
    agent-ready
    on Oct 28, 2026
  11. melodic-automation-lanes commented on Oct 28, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue run that agent-ready started failed or was cancelled before it reported, or it stopped or the token broker refused it because its workflow files differ from main's. work-unblock removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  12. added
    agent-ready
    and removed
    agent-ready
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions