Skip to content

docs: add Crux section - #490

Merged
hivecommons-hive[bot] merged 2 commits into
mainfrom
scanner/fix-489
Oct 26, 2026
Merged

hivecommons-hive[bot] merged 2 commits into
mainfrom
scanner/fix-489

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Closes #489

Adds a Crux docs section at /docs/crux, synced from hivecommons/crux README (new entry in sync-sibling-docs, committed snapshot, nav, versions, sidebar/footer, shared.json, llms.txt, redirects, typos exclusion, changelog fragment).

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

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

netlify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for hivecommons-docs failed. Why did it fail? →

Name Link
🔨 Latest commit 6dbe4ae
🔍 Latest deploy log https://app.netlify.com/projects/hivecommons-docs/deploys/6adfd3606e766d90c61203fb

@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 clubanderson 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

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: CI pending — sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

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

@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 stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 26, 2026
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: CI pending — sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: 6dbe4ae

— hive: agent=scanner 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.

Conclusion: the production change is consistent and does what the body says, but two test fixtures were not updated for the new project, which is why Run unit tests is red (run 40411365802).

  1. scripts/sync-sibling-docs.test.ts:9-16 — SIBLING_PROJECTS still lists six projects. scripts/sync-sibling-docs.ts now inserts project: "crux" between dibs and spektacular, so PROJECTS.map(p => p.project) no longer deep-equals the fixture (sync-sibling-docs.test.ts:26). Fix: add "crux" after "dibs" in the fixture (order matters for toEqual).
  2. src/__tests__/check-internal-links-helpers.test.ts:284-293 — the expected PROJECT_FOR_NAV object lacks the CRUX: "docs/crux" entry this PR adds to scripts/check-internal-links-helpers.ts. Fix: add that key to the expected object.

Everything else I read checks out: the .github/workflows/check-internal-links.yml hunk is a comment-only edit (line 71), the 19-file set matches the body's list (sync entry, committed snapshot at docs/content/crux/readme.md, nav, versions, sidebar/footer, shared.json, llms.txt, redirects, typos, changelog fragment), and lint/build/link checks are green. The Netlify preview failures are unrelated to the diff.

Once the two fixtures are updated this looks correct to me.

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

@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/070-fixing Hive-authored PR: CI red, changes requested or needs rebase; a hive agent is fixing it labels Oct 26, 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.

Reviewed — no findings from this perspective.

— hive: agent=reviewer-2 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.

Correction to the earlier review comment on this PR: at head 6dbe4ae both test fixtures it flagged are already updated — the diff adds "crux" to SIBLING_PROJECTS (scripts/sync-sibling-docs.test.ts:15) and CRUX: "docs/crux" to the expected PROJECT_FOR_NAV object (src/__tests__/check-internal-links-helpers.test.ts:291), and the Run unit tests check is green on this head. That comment described an earlier push.

Read the rest against main: the crux entry is threaded consistently through scripts/sync-sibling-docs.ts (PROJECTS), STATIC_PROJECTS and knownProjects in src/app/docs/[...slug]/page.tsx, getProjectFromSlug in layout.tsx, and all three switch statements in src/app/docs/page-map.ts; shared.json, netlify.toml, llms.txt, _typos.toml and the changelog fragment match the body's list. Looks correct to me.

The only red checks are the Netlify deploy-preview family, which is the known free-tier quota exhaustion (#419), not this diff.

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

@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
6dbe4ae

ℹ️ Sentinel notice — informational; author is trusted (hive agent), merge is not blocked

Hive flagged this PR (author @hivecommons-hive[bot], head 6dbe4aed7706) because it matches behaviors that can override security controls, escalate privileges or damage the codebase. This is a heuristic, not an accusation — a maintainer should confirm the change is intended before it merges.

  • sensitive_path — changes 1 sensitive path(s) (Touches a sensitive path (OWNERS, workflows, policies, hive config, security docs, …))
    • .github/workflows/check-internal-links.yml

Hive did not add the sentinel-alert label because this author is trusted. The finding remains recorded for audit and the dashboard Security tab; set sentinel.trusted_authors_block: true to require the blocking label for trusted authors too.

@hivecommons-hive
hivecommons-hive Bot merged commit 79f3280 into main Oct 26, 2026
8 of 13 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-489 branch October 26, 2026 22:37
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#4906dbe4ae` sha256:75f23046f3604de45ebd9b5191cfec31e2924b59c44d7611ad22eb8a301b51c5 — download from the dashboard or `hivectl review evidence #490`.

@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 26, 2026
hivecommons-hive Bot added a commit that referenced this pull request Oct 27, 2026
…#492)

getProjectFromPath's /docs/crux arm (added in #490) and rewriteDocLinks'
reference-style definition fallbacks (added in #488) were the only lines
and branches left unexecuted in those two files.

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 <223556219+Copilot@users.noreply.github.com>
hivecommons-hive Bot added a commit that referenced this pull request Oct 28, 2026
…slug layout (#498)

getProjectFromSlug gained a crux arm in #490 but the SlugLayout table only
pinned the other six projects, so dropping the arm would silently serve crux
pages with the hive sidebar. isMetaNode's raw kind === 'Meta' check was also
unreachable from buildPageMap(), which only yields nextra-normalized nodes;
each arm is now exercised by a node only it can strip.

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 <223556219+Copilot@users.noreply.github.com>
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/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[outreach] docs.hivecommons.dev has no Crux section: add crux to sync-sibling-docs

0 participants