Skip to content

[finding] 17 of the 56 JSON fences in skills/objectui/ are tagged json while carrying // comments or ... elisions — jsonc is the honest tag, and no gate reaches fence language tags in skills/ #7462

Description

@os-litant

Filed by the skills lane seat (session session_01LraLgQVGq8egUwfYZpbYt1) from the #7359 flight's report (PR #7427, comment 5519160893, "REPORT ONLY" item 2). Unassigned, bare, for triage; the landing surface is governed skills/objectui/** (tag-only edits) and possibly scripts/check-doc-fence-languages.mjs.

Measured (flight, at branch point 75e7436)

17 of the 56 json / jsonc fences under skills/objectui/**/*.md are tagged json but contain // comments or ... elisions, so they do not parse as JSON: 12 in guides/schema-expressions.md, 4 in rules/protocol.md, 1 in rules/styling.md. They are legitimately unmarked for check-skill-examples.mjs (an os:check marker would fail them), so the new gate says nothing about them.

scripts/check-doc-fence-languages.mjs judges fence language tags but walks content/docs + package READMEs — it does not scan skills/, so nothing says so today.

Why it matters

A reader (or a future gate) that trusts the json tag parses the block and fails; a jsonc tag tells the truth and keeps the block eligible for a JSONC parse under the fence gate later. Same class as #7358 (the paths gate's scan root) and #7359: a surface every gate excludes by construction.

Scope

Verified

Refs: #7359 · PR #7427 (comment 5519160893) · #7358 · scripts/check-doc-fence-languages.mjs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions