fix(audit): correct oddkit_audit tool description default scope (RV-gate F-1)#147
Merged
fix(audit): correct oddkit_audit tool description default scope (RV-gate F-1)#147
Conversation
Validator F-1 (RV-gate dispatch on PR #146): tool description claimed default scope was writings/, canon/, odd/, docs/ but actual DEFAULT_AUDIT_PATHS is writings/ only. Misleads every MCP consumer reading the schema. Description-only fix; no behavior change. Also: spec version reference DRAFT v2 -> DRAFT v2.1 (klappy.dev#146 amendment).
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
oddkit | 2693445 | Commit Preview URL Branch Preview URL |
Apr 27 2026, 02:32 AM |
This was referenced Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes validator finding F-1 surfaced by the RV-gate Sonnet 4.6 dispatch on PR #146 (promote v0.26.0).
What's wrong
workers/src/index.tsoddkit_audittool definition had two stale strings:canon/scope.writings/, canon/, odd/, docs/(excludingdocs/archive/)" — but actualDEFAULT_AUDIT_PATHSis["writings/"]only.DRAFT v2 — KISSbut klappy.dev#146 amended the spec tov2.1.The result: every MCP consumer (Claude in Claude.ai, Cursor agents, third-party tools, CI runners) reading the tool schema sees a wrong default. Callers expecting a full-repo audit silently get
writings/only.What this PR does
Description-only fix to
workers/src/index.ts. No code-behavior change. TherunAuditimplementation, theDEFAULT_AUDIT_PATHSconstant, the dispatch wiring, and the response shape are all unchanged.Why this is not load-bearing per
klappy://canon/constraints/release-validation-gateThe constraint's "What Counts As Load-Bearing Surface" section lists registration changes, behavior changes, and envelope changes as load-bearing — and explicitly lists "Documentation-only PRs" as NOT load-bearing. This change edits two
describe()strings inside an existing tool definition. The tool registration itself is unchanged; the action enum is unchanged; the response shape is unchanged. The closest load-bearing category would be "New or modifiedmcp_server.tool(...)registrations," but neither the registration block nor theaction: "audit"field is touched — only the human-readable description text inside.Per Rule 2, this PR therefore does not require an additional independent validator dispatch.
Sequencing
mainmainHEADRefs
klappy://canon/constraints/release-validation-gateklappy://docs/oddkit/specs/oddkit-auditNote
Low Risk
Low risk: changes only documentation strings in the MCP tool schema; no audit behavior, routing, or response shape is modified.
Overview
Clarifies
oddkit_audittool metadata so MCP consumers see the correct default behavior.Updates the tool
description/inputdescribe()text to reflect that the default audit scope iswritings/only (with wider scope as explicit opt-in viapaths) and bumps the referenced spec to DRAFT v2.1.Reviewed by Cursor Bugbot for commit 2693445. Bugbot is set up for automated code reviews on this repo. Configure here.