Repository navigation
schemas(brand): title data_subject_contestation (#8735) - #8753
KonstantinMirin wants to merge 2 commits into
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
| "additionalProperties": true | ||
| }, | ||
| "data_subject_contestation": { | ||
| "title": "Data Subject Contestation", |
There was a problem hiding this comment.
MUST FIX: This edits static/schemas/source/brand.json — a protocol-scoped path — but the PR ships no .changeset/*.md. check-changeset-protocol-scope.cjs is path-based, not wire-semantics-based: any change under static/schemas/source/ requires a protocol-targeting changeset, and brand.json is not on the exempt list. A title annotation still surfaces in the built bundle and the versioned dist artifacts, so it is a tracked surface change. Add a patch changeset (adcontextprotocol: patch) — annotation-only, no wire break — or the changeset gate is red. The "annotation only / blast radius" argument is correct for validator behavior but does not exempt the versioning requirement.
There was a problem hiding this comment.
Ladon verdict: Request changes
Request changes — 1 blocking finding.
Blocking findings
- static/schemas/source/brand.json:460 — Protocol-scoped schema change ships no changeset. The PR modifies
static/schemas/source/**(the published protocol surface) with no.changeset/*.md. Per the mandatory changeset-scope rule, omitting a changeset ships an untracked wire change and ishigh. Add apatchchangeset for this annotation-onlytitleaddition.
The change itself is clean and annotation-only (adds title: "Data Subject Contestation", no validator-keyword moves, no oneOf/discriminator impact, no schema↔docs drift), but the missing changeset blocks merge.
Blocking findings
- static/schemas/source/brand.json:460 — Protocol-scoped schema change ships no changeset; add a patch changeset
…ry includes the two files I had just added MEASURED IN A WORKTREE MADE FROM THE COMMIT, which is the only run whose green is about the repository. My own checkout was green and the fresh one was RED on three references: adcontextprotocol/adcp#8753 -- cited in survey/upstream_issues.py's own docstring as the example of a PR answering as an issue. A real, OPEN pull request with no sighting, so the forward direction was right to report it. It now has one, and the module says why a PR is not a second kind of thing: issues and pull requests share one numbering space, `gh issue view` resolves either, and a MERGED PR is recorded CLOSED because what the registry needs to know is whether the ask is live. two fictional numbers in perturb_the_attribution.sh. A perturbation that plants a reference has to write that reference, and the script is a TRACKED FILE -- so the plant was a citation of this repository's, with no sighting, and the gate reddened on the committed tree. Both are now built from two halves inside the python one-liner, so the perturbed file gets the whole reference and the script cites nothing. Same discipline the prose already follows for the absent and the closed reference, applied to a generator of them. WHY MY CHECKOUT WAS GREEN IS THE PART WORTH KEEPING: the census is over `git ls-files`, and both files were still UNTRACKED when the gate last ran there. Committing them made them part of the population and nothing re-ran. That is the bd memory on untracked files making a guard green, arriving from the opposite direction -- there the untracked file supplied what the gate needed, here it withheld what the gate was about -- and `git ls-files` is the right derivation in both cases precisely because it is the repository's own list and not the directory's. Ten references now, nine OPEN and one CLOSED, zero ABSENT. survey/upstream_issues.py re-derived every one against the tracker and exits 0.
The bundle states this structure at two positions in two documents -- brand.json#/definitions/data_subject_contestation and core/brand-ref.json#/properties/data_subject_contestation -- calls both of them `data_subject_contestation`, joins them by no $ref, and titles neither. So a code generator reading the bundle cannot tell whether that is one subject written twice or two subjects that happen to share a field set, and it must either invent a public name or emit the structure twice. A title is the whole of what is missing here, and not an extraction: the bundle already names this node, because a $ref inside brand.json reaches #/definitions/data_subject_contestation. Extracting it would give one subject a second name, which is the thing naming it was for. The string is the word the bundle itself writes at both positions. Nothing is lifted from the description -- a description states what a thing is, never what it is called. Annotation only: no keyword a draft-07 validator acts on moves, at any pointer of any document. The node's acceptance keywords are unchanged (additionalProperties, anyOf, properties, type).
9c32fa9 to
77a8614
Compare
|
Thanks, you're right: the scope check goes by file path, and |
Part of #8735. One
title, on one node.The defect, stated over the bundle
The bundle states this structure at two positions in two documents:
brand.json#/definitions/data_subject_contestationcore/brand-ref.json#/properties/data_subject_contestationIt calls both of them
data_subject_contestation, joins them by no$ref, and titles neither. A code generator reading the bundle therefore cannot tell whether that is one subject written twice or two subjects that happen to share a field set — and it must then either invent a public name or emit the structure twice. Both are wrong, and only the protocol can say which.Why a title and not an extraction
The bundle already names this node: a
$refinsidebrand.jsonreaches#/definitions/data_subject_contestation. So there is already a path and a pointer for this subject, and the structure is written out again anyway at the second position. Extracting it would give one subject a second name, which is the one thing naming it was for. The keyword is the whole of what is missing.Why this string
data_subject_contestationis the word the bundle itself writes at both positions. Nothing here is lifted from thedescription— a description states what a thing is, never what it is called, so it cannot mint a name.Why this is one entry and not 95
#8735 asks for a
titleat each of 95 object structures the bundle restates and never titles. 50 of the 95 are undecidable on the bundle's own evidence: the field set recurs under differing property names, so nothing in the bundle says whether the positions are one subject. Titling those would decide, for the protocol, a question only the protocol's authors can answer — so they are not in this PR.This PR holds the entry where there is nothing to decide: the bundle names every stating position with one and the same word, no other node derives that name, and the bundle's own
$refs already reach one of those positions. The title is a transcription, not a judgment.For the remaining 94, a per-entry verdict with its bundle evidence is available if that would be useful to whoever picks up #8735 — including which are decidable on the bundle alone and which need an author's call.
Blast radius
Annotation only. No keyword a draft-07 validator acts on moves, at any pointer of any document. The node's acceptance keywords are unchanged:
additionalProperties,anyOf,properties,type. Checked over all 1,054 portable documents of bundle 3.2 — no instance changes validity.Only
static/schemas/source/brand.jsonis tracked for this schema; the built copies are generated, so this is the complete change.