Skip to content

Component API grader: resolve sources from pinned ADRs and render the catalog - #8908

Closed
adierkens wants to merge 1 commit into
adierkens-component-api-grader-scoringfrom
adierkens-component-api-grader-catalog-render
Closed

adierkens wants to merge 1 commit into
adierkens-component-api-grader-scoringfrom
adierkens-component-api-grader-catalog-render

Conversation

@adierkens

@adierkens adierkens commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Check sources store a quote, and the line range is computed from the pinned ADR at run time.

Changelog

New

  • checkReferences resolves each quote and fails when one is missing
  • catalog command renders the check tables as Markdown

Changed

Removed

Rollout strategy

  • No rollout required

Internal tooling and docs only. No package changes.

Testing & Reviewing

Run node .agents/skills/component-api-design/references/scorecard-calculator.mjs catalog. Script tests, ESLint and Prettier pass at this layer.

@changeset-bot

changeset-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1ba86b3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@adierkens
adierkens added this pull request to stack #8927 December 2, 2026 21:00
@adierkens adierkens added the skip changeset This change does not need a changelog label Dec 2, 2026
@adierkens adierkens changed the title Resolve check sources from pinned ADRs and render the catalog Component API grader: resolve sources from pinned ADRs and render the catalog Dec 2, 2026

Copilot AI commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Change evidence

Compared: base 5b586f09471a21a59ac56db70561ec46667dff1a → head 34c4b39b3256b6b57e4bba2cab3ca80c12f7a159

Scenario: Trace how a check’s {doc, quote} metadata becomes stable, reviewer-facing links and catalog Markdown. This is new nonvisual tooling; the base revision has no equivalent source-resolution or catalog-rendering pipeline.

Before After
Checks retained source document names and quotes, but did not resolve them to pinned document lines or render a catalog. Documents are pinned to a commit; normalized quotes resolve to line ranges and GitHub links; checkReferences emits per-check links; renderCatalog emits a weighted section summary and detailed Rule/Intent/Pass/Gap entries.
flowchart LR
  C[checks] --> R[checkReferences]
  C --> M[renderCatalog]
  R --> U[catalog and section URLs]
  R --> S[resolveSource]
  M --> S
  S --> P[read pinned document]
  P --> Q[find normalized quote]
  Q --> L[line-range GitHub URL]
  M --> O[Markdown catalog]
Loading

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
storybook-preview-8908 — 34c4b39b Deployed Dec 2, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: low skip changeset This change does not need a changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants