Repository navigation
feat(lint-artifact): require html data-shape from the registry - #12
Merged
Merged
Conversation
cursor
Bot
force-pushed
the
cursor/pr-registry-85a6
branch
from
October 4, 2026 21:08
a3cd5ce to
88d7348
Compare
cursor
Bot
force-pushed
the
cursor/pr-shape-lint-85a6
branch
from
October 4, 2026 21:09
c826ca6 to
6a1b47b
Compare
cursor
Bot
force-pushed
the
cursor/pr-registry-85a6
branch
from
October 4, 2026 22:17
88d7348 to
a8eb3c4
Compare
cursor
Bot
force-pushed
the
cursor/pr-shape-lint-85a6
branch
from
October 4, 2026 22:19
6a1b47b to
d752814
Compare
The lint reads data-shape on the html element only. A value that is not a contracts/shapes.json id fails. Editorial requires thesis so a dashboard tagged editorial still fails. Co-authored-by: Todd Dailey <twidtwid@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/pr-shape-lint-85a6
branch
from
October 4, 2026 22:20
d752814 to
a7fc509
Compare
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.
Why
Wrong shape still passes today's lint. The omega-3 draft was an editorial page on tabular data. A declared
data-shapeon<html>lets the lint name the missing feature.What changed
<html data-shape>to acontracts/shapes.jsonid.lint-artifact.mjsreads that attribute on the html element only, never on gallery cards.thesis, so a dashboard tagged editorial fails.Scope
This PR only adds the declared-shape gate. It does not add
--againstand does not thin SKILL.md.Blast Radius
Every generated example gained one attribute. Interactive behavior did not change. Skill tokens rose 12241 → 12257.
Verification
make checkis green.data-shape="editorial"fails and namesthesis.data-shape="not-a-shape"namescontracts/shapes.json.