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
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.
new above
offline
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 testpasses and each behaviour has a test that fails without it; page changes runbun scripts/design-lint.tsand end with a review block.