Skip to content

feat(site): show the spec version each adopter feed declares - #44

Merged
hhkaos merged 1 commit into
mainfrom
feat/adopter-spec-version-badge
Aug 30, 2026
Merged

feat(site): show the spec version each adopter feed declares#44
hhkaos merged 1 commit into
mainfrom
feat/adopter-spec-version-badge

Conversation

@hhkaos

@hhkaos hhkaos commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #43: the health check now knows which spec version every feed declares, and the directory shows it.

Each adopter card gets an OTE 0.3 pill next to Preview feed →, with a tooltip explaining that every published version stays supported and feeds are validated against the one they declare. Affirmative on purpose: the badge says what a feed speaks, not that it is behind.

The version is not written into adopters.json. That registry is hand-curated and its intended author is the registration PR; a daily bot writing a derived field into it would collide with that and noise up its diffs. The site joins adopters.json with data/feed-health.json by feed URL at render time instead. If the health file is missing, cards render exactly as before, without badges.

Verified in the browser against the local site: Community Builders shows OTE 0.3, eventos.wiki OTE 0.4; consumer and supporter cards are unchanged. npm run validate passes.

🤖 Generated with Claude Code

The directory said nothing about which version of the spec a feed speaks, which
is exactly what someone deciding whether to consume it wants to know before
subscribing. The daily health check already measures it, so the card now carries
an "OTE 0.3" pill next to the feed preview link.

The version is joined into the cards from docs/data/feed-health.json by feed URL,
not written back into adopters.json: that registry is hand-curated and edited by
the registration PRs, and a bot writing a derived field into it every morning
would collide with its only intended author. If feed-health.json is missing the
cards render as before, without badges.

Wording is deliberately affirmative — every published version stays supported and
feeds are validated against the one they declare, so the badge states what a feed
speaks, not that it is behind.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hhkaos
hhkaos merged commit 380a9de into main Aug 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant