Repository navigation
docs(readme): banner, generated badges, and one contributor identity - #6
Merged
Merged
Conversation
- README rewritten in the shape a maintained project is read in: banner, badges, problem, feature table, quick start, how the guarantees are enforced, how it decides, stack, layout, testing, roadmap, contributing, contributors, license. - docs/assets/banner.svg (1280x320) and six badges generated by scripts/build-badges.mjs. Local SVG rather than shields.io so the README renders offline and in forks without a third-party request; text fitted with textLength + lengthAdjust so the layout does not depend on the font; the accessible label is derived from the visible text. - .mailmap folds the historical author addresses into the maintainer identity. - tests/unit/readme.test.ts (6 tests): every referenced asset exists, badges carry a title and aria-label, the test count agrees across badge, generator and prose, and every in-page anchor has a heading. - CONTRIBUTING and AGENTS explain how to regenerate badges and how to commit so the contributor list stays correct. 389 tests, typecheck, build and privacy guard green. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
imgul
added a commit
that referenced
this pull request
Oct 20, 2026
docs(readme): banner, generated badges, and one contributor identity
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.
The front door
The README was accurate but read like release notes. This is the shape people actually read: banner → badges → the problem in the tool's own vocabulary → features → quick start → how each guarantee is enforced → how it decides → stack → layout → testing → roadmap → contributing → contributors → licence.
Assets, generated rather than drawn
docs/assets/banner.svg— 1280×320, same card language as the social preview: mark, wordmark, headline, one supporting line, and a miniature of the table with real state chips (Match · Missing · Placeholder · Different · Extra). Text is text: selectable, searchable, translatable, no font download.docs/assets/badges/*.svg— six badges written byscripts/build-badges.mjsfrom one table of label, value and colour.Three deliberate choices:
textLength+lengthAdjust="spacingAndGlyphs". Text is fitted to a known width, so the badge looks identical in every renderer regardless of available fonts. No baselines to guess, no metrics to drift.aria-labelis derived from the visible text (tests: 389 passing), so a badge cannot tell a screen reader something different from what it shows.node scripts/build-badges.mjsregenerates them; the test suite fails if the badge, the generator and the README prose disagree on the number.Preview
One contributor identity
GitHub's contributor list comes from commit metadata, not from the current tree, so the automation
Co-authored-by:trailers and the bot-authored initial commit kept a bot in the list. Fixed by rewriting history (26 commits), file-for-file identical to the previous tip before force-pushing:imgul <92777653+imgul@users.noreply.github.com>, the address GitHub links to the profile;Co-authored-by:trailer removed;.mailmapadded so the older addresses fold into one identity forgit shortlogand editors.git shortlog -sne --allnow reports a single contributor:52 imgul.Tests
tests/unit/readme.test.ts— 6 tests: every referenced asset exists, each badge keeps itsrole="img",<title>andaria-label, the test count agrees across badge/generator/prose, and every in-page anchor resolves to a real heading.npx tsc· 389 tests / 20 files ·npm run build·npm run privacy— green. Docs-only: no site output changed, so no deploy is needed.