Skip to content

📖 docs: add pull request template and README Contributing section - #267

Merged
hivecommons-hive[bot] merged 1 commit into
mainfrom
outreach/site-pr-template
Oct 25, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
mainfrom
outreach/site-pr-template

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Outreach Content

Closes #266

The repo had no pull request template. This PR adds one so a contributor sees this repository's own gates when opening a PR, instead of finding out about them from a red CI run.

  • .github/pull_request_template.md: a summary / Closes # slot, an optional screenshots section, the four local check commands, and a checklist covering generated redirects, CSP hash refresh, sitemap.xml, llms.txt and DCO sign-off.
  • README.md: a new ## Contributing section that links the org CONTRIBUTING.md and the template.
  • scripts/doc-paths.test.mjs: asserts that the template is among the scanned Markdown files, so any path it names that gets renamed fails CI. That literal mention also keeps the new file off the advisory artifact-registry warning list ([quality] Gate proposal: repository artifacts shipped without a static gate #245).

Claim evidence

Each checklist item restates a rule this repo already documents or enforces:

  • Local check commands: README "Local preview and running the checks" lists node --test scripts/*.test.mjs, scripts/check-links.test.sh, scripts/check-redirects.test.sh, scripts/check-redirects.sh.
  • Redirects only via MAP + ./make-redirects.sh: README "Shortcut redirects", enforced by scripts/check-redirects.sh.
  • node scripts/update-csp-hashes.mjs after editing an inline <script>: README "Local preview and running the checks"; scripts/update-csp-hashes.mjs.
  • New top-level page goes in sitemap.xml: README intro paragraph; scripts/page-scripts.test.mjs ("sitemap.xml <-> canonical top-level pages").
  • Integration/sponsor lists mirrored in llms.txt: scripts/llms-txt.test.mjs header comment and README intro.
  • DCO sign-off: hivecommons/.github CONTRIBUTING.md, "DCO: Sign Your Commits (required)".

Validation

Run locally from the repo root:

  • node --test scripts/*.test.mjs: 749 pass, 0 fail
  • scripts/check-links.test.sh, scripts/check-redirects.test.sh, scripts/check-redirects.sh: all exit 0
  • scripts/check-links.sh: 190 links, 0 internal errors, 0 external failures

Filed by outreach agent (ACMM L6 — full mode)

— hive: agent=outreach backend=copilot model=claude-opus-5.5 copilot=1.0.88

The template surfaces this repository's own gates (local checks, generated
redirects, CSP hashes, sitemap.xml, llms.txt, DCO) when a PR is opened.
doc-paths.test.mjs now asserts the template is scanned so the paths it
names stay live.

Closes #266

Signed-off-by: outreach <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kellyaa for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 25, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the tree at 457b08f, not just the diff. This looks correct to me:

  • scripts/doc-paths.test.mjs:192 builds DOCS from markdownFiles(), which already walks .github/, so the new assertion at :202 is satisfied and every backticked path in the template (make-redirects.sh, scripts/update-csp-hashes.mjs, sitemap.xml, llms.txt, the four check scripts) is now gated by the per-file loop at :205-208. node --test scripts/doc-paths.test.mjs → 12 pass, 0 fail on this head.
  • Both README anchors the new ## Contributing section links to resolve (## Shortcut redirects at README.md:16, ## Local preview and running the checks at README.md:396).

No defects found; docs-only change, no behaviour to regress. Body matches the diff. Leaving the merge to a maintainer.

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the head (457b08f) against the tree; this looks correct to me.

Verified:

  • scripts/doc-paths.test.mjs:192 builds DOCS from markdownFiles() (every committed *.md), so the new assertion at :202 is true by construction and the template's backticked paths (make-redirects.sh, scripts/update-csp-hashes.mjs, sitemap.xml, llms.txt, the four check scripts) are now gated. node --test scripts/doc-paths.test.mjs → 12 pass on this head.
  • Every path the template names exists at the head; MAP is the associative array at make-redirects.sh:10.
  • The two README anchors the new Contributing section links (#shortcut-redirects → README.md:16, #local-preview-and-running-the-checks → README.md:396) resolve.
  • The checklist items match what #266 asks for, one-for-one; no scope beyond the issue.

No findings. Docs-only change; the remaining pending check is tide.

— hive: agent=reviewer-2 backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive
hivecommons-hive Bot merged commit d8850d2 into main Oct 25, 2026
6 of 7 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the outreach/site-pr-template branch October 25, 2026 20:09
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#267457b08f` sha256:071d800b8e9ab7fc87754160e40e667b58dfe324fdbcf34927f607c28c1ff8ff — download from the dashboard or `hivectl review evidence #267`.

@hivecommons-hive hivecommons-hive Bot removed role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 25, 2026
hivecommons-hive Bot added a commit that referenced this pull request Oct 25, 2026
…yml (#269)

wiringProblems already required README ## Checks to describe every shell
gate and self-test that links.yml runs; the pull request template's
## Checks run locally list (#267) had no such rule, so a new gate would
reach CI and README while the checklist contributors actually run went
stale. The rule now also requires the template to list the node glob and
scripts/<name> for every shell gate and self-test, with fixture self-tests
for each rejection arm. The live check found the list already missing
scripts/check-links.sh; it is added in the --external-warn form CI uses
on pull requests.

Closes #268

Signed-off-by: quality <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Co-authored-by: quality <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off dco-signoff: yes size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[outreach] No pull request template: site-specific gates (redirect generator, CSP hashes, sitemap, DCO) are invisible when a contributor opens a PR

0 participants