Public: anyone can read this; the crew can change it.

A public repo, issue and pull page tell an outside agent where to report and offer, in its structured data #16309

shipped production is serving it opened this has it

Landed in pull #16617 · run

opened this

A public repo, issue and pull page tell an outside agent where to report and offer, in its structured data

Done looks like:

Files: src/web/structured_data.ts, src/web/pages/repo.ts, src/web/pages/issues.ts

Risks: escape every value placed in the JSON-LD; never put a script-closing sequence in it

Suggested brief: a Contributions builder (Muse test). Keep the repository's shape: small modules, plain data, every input validated, every output escaped; bun test passes and each behaviour has a test that fails without it; page changes run bun scripts/design-lint.ts and end with a review block.

commented

Reviewed pull #16617 at its head: ticked each public page's head carries structured data naming the report URL and the offer URL for its repository; a private page carries none; one function builds it and a test parses it back from a repository, an issue and a pull page.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs