Repository navigation
docs(plans): a read pin needs the vendor's own readOnlyHint, and a silent vendor gets no entry (TASK-172) - #2016
Merged
Merged
Conversation
…lent vendor gets no entry (TASK-172) Records the rule #2014 enforces at entry load and the ruling on its cost (pod 75440): a vendor whose tools carry no readOnlyHint gets no entry, never a write-only one, because the class records what a tool does. The vendor list gains the annotation check, step 7 reads the hints first, and §11 carries Linear's unknown and the one case worth reopening. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…Hint included (TASK-172) Folds the second drift arm's ruling (pod 75449) into the read-hint note. The spec defaults both hints to their unsafe value, so silence withdraws a recorded readOnlyHint: true or destructiveHint: false; a default newly spelled on a pin that recorded nothing is not drift; and a read pin still drifts on destructiveHint: true, because the entry load refuses one carrying it. §10 step 2 names the three cases, and §11's source check is scoped to the files each server declares its MCP tools in. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he read class (TASK-172) A read pin that recorded readOnlyHint: true drifts on a live destructiveHint: true, the pair the entry load refuses. Every other newly spelled default changes nothing, so a pin that recorded neither claim does not drift. Each arm reads the pin's annotations, never its class, and a read pin is not asked to record destructiveHint: false, which the spec makes meaningful only when readOnlyHint is false (pod 75454). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tion (TASK-172) A pin that recorded both readOnlyHint: true and destructiveHint: false, against a tool now saying destructiveHint: true, fires two arms. The refusal names the destructiveHint: false it lost, not the generic contradiction, and §10 step 2 gains that case (pod 75457). The recorded-neither case is a write pin, since the entry load refuses a read pin that records no readOnlyHint. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Sep 29, 2026
lilyshen0722
added a commit
to thantiklermcirony/commonly
that referenced
this pull request
Oct 9, 2026
… withdraws them (Team-Commonly#2023) Three arms replace the two that came before (75449, 75454, 75457; written into §3 by Team-Commonly#2016): - a recorded `readOnlyHint: true` is withdrawn when the vendor stops saying it (unchanged); - a recorded `destructiveHint: false` is withdrawn when the vendor stops saying it. The spec defaults an absent `destructiveHint` to `true`, so silence is the unsafe value, and the old arm could not see this case at all: it read `pinned.destructiveHint !== true`, and an unannotated pin has no `destructiveHint` to withdraw (vera 75423, measured 75445); - a live `destructiveHint: true` beside a recorded `readOnlyHint: true` is the pair the entry load refuses (Team-Commonly#2014), and drift does not admit later what entry refuses. Every arm reads the pin's annotations, never its class, so a pin that recorded neither claim no longer drifts when the vendor spells the spec default (wren 75449). The withdrawn-claim arms come first: a pin that recorded both claims reports the `destructiveHint: false` it lost rather than the generic contradiction (75457). The three drift fixtures Team-Commonly#2014 makes entry-illegal are re-pointed at `class: write` — `tightened`, `unpinned`, `silent` — and the recorded-nothing pair is flipped to `ok`, which is what the ruling predicts for a write pin. The hole-on-record arm stays: its pin is not a catalogue state any more, and keeping it is the point. A census of every `pinned()` call in the suite, run against Team-Commonly#2014's head, is what found them (75461, 75462). Two comments the rulings staled are corrected: `movedTowardWrite`'s "losing `destructiveHint` is not drift", and `entries.ts`'s "a tool whose vendor annotates nothing can only be pinned `write`" (75440). Ledger: 12 mutants on the predicate, 11 killed, 1 recorded equivalent (the mirror's wording may change as long as it names the claim the pin lost — the arms assert the claim, not the sentence), 0 NAMED-ARM MISSES, baseline 20/20 asserted on every run. Neighbourhood 17 suites / 266 passed; full backend 498 suites / 4691 passed, 24 skipped, 0 failed.
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.
Records in the hosted-MCP plan the rule #2014 enforces at entry load, the ruling on what it costs, and the same rule applied to the second drift arm.
The rule (§3). A tool pinned
readcarries the vendor's ownreadOnlyHint: true. The MCP schema (2026-07-28,ToolAnnotations) defaults an absentreadOnlyHinttofalse, and a pin that never held the hint leaves the drift row's withdrawal case dead for that tool. The hint still grants nothing; its absence refuses.The ruling (§3, pod 75440). A vendor that sends no
readOnlyHintgets no entry, not a write-only one. The class records what a tool does, so a read tool is never pinnedwriteto get past a missing hint, and §5's attribution answer cannot arrive that way.The second drift arm (§3, pods 75449, 75454 and 75457). A claim the pin recorded must still be made, and silence withdraws it. The spec defaults
readOnlyHinttofalseanddestructiveHinttotrue, which is the unsafe value both times. Three verdicts follow:destructiveHint: falsethat goes silent is drift;readOnlyHint: trueis contradicted by a livedestructiveHint: true, the pair fix(hosted-mcp): a catalogue pin cannot contradict its class or its namespace (TASK-172) #2014 refuses at entry, so that is drift too;Each arm reads the annotations the pin recorded, not its class. Where a withdrawn claim and the contradiction coincide, the refusal names the claim. A
readpin is not asked to recorddestructiveHint: false: the spec makes that field meaningful only whenreadOnlyHintisfalse, and GitHub's server sets it on none of its 60 read tools.Main's second arm reads silence as the safe value. Its fix is a separate code PR, and §10 step 2 names the cases that PR adds.
What else moves:
a read pin carrying no readOnlyHint is refusedand four drift cases, the collision included. The recorded-neither case is awritepin, since noreadpin can record neither.readOnlyHinton every MCP tool and fail their own tests when it is left out, at pinned commits. The check is scoped to the files that declare MCP tools.read-only token, which Linear enforces.Order: #2014 has merged, so the first §3 paragraph's present tense is now true on main.
Docs only, one file, no code.
Gate: Rhea
🤖 Generated with Claude Code