Skip to content

AI-W1-2: read-only tool surface (9 tools) + readonly guard #433

Backlog

Description

@voidvec

Goal

Read-only tool surface: 9 tools (list/get clients, list/get users, audit logs, dashboard stats, scopes, scope-resource matrix, health) driven by a single table-driven registry; a hardcoded (method, path) readonly whitelist as a second line of defense (handler and guard must both agree before any request leaves the process); fulla error-envelope → MCP tool-error mapping.

Source

AI productization roadmap 2026-12, package A1-2. Stage tracker: AI Wave 1.

Acceptance (from the roadmap)

  • tools/list returns exactly the 9 read-only tools
  • an injected write tool-call hits the readonly whitelist assertion (unit-test reproducible)
  • error mapping covered line-by-line: 401 (re-auth guidance), 403/insufficient scope (names mcp:admin:read), 404, 429 (Retry-After passthrough), 5xx/network

Status — ⬜ Not started

Activity

  1. added
    tracking
    roadmap
    AI-W1
    on Dec 4, 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

    AI-W1roadmaptracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions