Skip to content

scope_ref normalization is not published in the tool schema #15

Description

@jakewan

scope_ref is trimmed and lowercased on write (internal/server/record.go:95) exactly as class is (:83), and both are normalized on the review filter (review.go:111,113). Only class says so: its description at record.go:40 states "trimmed and lowercased," while scope_ref at :42 is silent, as are review.go:49 and :51 and the README table.

CHANGELOG.md:11 already states that both are normalized, so the changelog is right and the schema and README are the laggards. A caller recording Owner/Repo and reading back owner/repo cannot predict that from the published contract — and the schema is what a calling agent reads at call time.

Direction: mirror class's wording onto scope_ref in both tool schemas and the README table. Documentation only; the behavior already exists and is already logged.

Activity

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

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions