Skip to content

fix(docs): repair docs navigation and remove plugin and prompt-builder drift - #3113

Merged
Bill Berry (WilliamBerryiii) merged 22 commits into
mainfrom
fix/docs-sidebar-landing-pagination
Oct 5, 2026
Merged

Bill Berry (WilliamBerryiii) merged 22 commits into
mainfrom
fix/docs-sidebar-landing-pagination

Conversation

@jkim323

@jkim323 Jamie Kim (jkim323) commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Pull Request

Description

Fixes docs-site navigation defects and removes drift between the documentation, the plugin manifest, and what the repository actually ships.

Sidebar navigation and ordering

  • Removed the link from the 13 categories declared in docs/docusaurus/sidebars.js. Each landing page now appears once in navigation, so its Next link advances to the first child instead of pointing back to itself.
  • Gave every Security page a unique sidebar_position and reordered the Security README table to match the sidebar.
  • Set the Lifecycle category link to null so its overview is a visible first child, and corrected stage positions so Lifecycle reads overview, Stage 1 through Stage 9.
  • Labeled each landing README Overview in the sidebar while keeping its title in Previous/Next labels, and renamed the Security category to Security Documentation. Generate-AssetDocs.ps1 gained optional sidebar and pagination labels so the generated reference index follows the same pattern.
  • Removed a leftover 4px left padding on category headers so headers, Overview, and Home share one text edge, and start-aligned wrapped header labels.

Copilot CLI plugin documentation

  • Documented the single microsoft/hve-core plugin registration, which tracks main, and removed the #release/prerelease, #release/stable, and tag registrations that no longer resolve.
  • Added remove-and-re-add steps for users who registered an earlier channel or tag ref.
  • Scoped the remaining PreRelease and Stable channel content to the VS Code extension and the release workflows, which are unchanged.
  • Removed claims that the plugin manifest includes the retired telemetry hook.

Prompt-builder compatibility aliases

  • Removed the prompt-builder, prompt-analyze, and prompt-refactor skills, which only routed to hve-builder.
  • Regenerated plugin.json and the skill reference pages, dropped the nine alias stimuli from the behavior-conformance skill eval, and removed alias mentions from agent, prompt, instruction, and contributor docs.

BREAKING CHANGE: the prompt-builder, prompt-analyze, and prompt-refactor skills are removed. Use the hve-builder skill and name its mode directly.

Related Issue(s)

Follow-up: #3117

Type of Change

Select all that apply:

Code & Documentation:

  • Bug fix (non-breaking change fixing an issue)
  • New feature (non-breaking change adding functionality)
  • Breaking change (fix or feature causing existing functionality to change)
  • Documentation update

Infrastructure & Configuration:

  • GitHub Actions workflow
  • Linting configuration (markdown, PowerShell, etc.)
  • Security configuration
  • DevContainer configuration
  • Dependency update

AI Artifacts:

  • Reviewed contribution with hve-builder and addressed all actionable findings
  • Copilot instructions (.github/instructions/*.instructions.md)
  • Copilot prompt (.github/prompts/*.prompt.md)
  • Copilot agent (.github/agents/*.agent.md)
  • Copilot skill (.github/skills/*/SKILL.md)
  • Copilot hook (.github/hooks/*/*.json)
  • Eval spec added/updated for changed AI artifacts (evals/)

Note for AI Artifact Contributors:

  • Agents: Research, indexing/referencing other project (using standard VS Code GitHub Copilot/MCP tools), planning, and general implementation agents likely already exist. Review .github/agents/ before creating new ones.
  • Skills: Must include both bash and PowerShell scripts. See Skills.
  • Model Versions: Contributions MUST target models listed in the model catalog (scripts/linting/model-catalog.json) whose provider appears in providerAllowlist and whose status is ga or preview. Run npm run lint:models to validate references.
  • See Agents Not Accepted and Model Version Requirements.

Other:

  • Script/automation (.ps1, .sh, .py)
  • Other (please describe):

Sample Prompts (for AI Artifact Contributions)

User Request:

"Improve the prompt in .github/prompts/hve-core/git-commit.prompt.md."

Execution Flow:

The request activates the hve-builder skill directly in improve mode. No prompt-builder alias activation occurs because the alias skills no longer exist.

Output Artifacts:

The edited prompt file plus HVE Builder evidence under .copilot-tracking/hve-builder/.

Success Indicators:

The installed skill list no longer shows prompt-builder, prompt-analyze, or prompt-refactor, and the request completes through hve-builder with its normal gate report.

For detailed contribution requirements, see:

Testing

Local checks run against the committed branch state:

  • git diff --check origin/main...HEAD: passed
  • npm run docs:build: passed
  • Built-site inspection: no landing page links Next to itself; Security and Lifecycle Next chains follow the intended order; Lifecycle lists its overview and nine stages as direct children; landing pages show Overview in the sidebar with titles kept in pagination
  • npm run docs:typecheck and npm run docs:lint: passed
  • npm run lint:md, npm run lint:frontmatter, npm run lint:tables: passed
  • npm run plugin:sync and npm run plugin:validate: passed
  • npm run lint:asset-docs and npm run validate:skills: passed
  • npm run test:ps -- -TestPath "scripts/tests/docs/Generate-AssetDocs.Tests.ps1": 41 passed, 0 failed
  • npm run spell-check: 37 issues, all in untracked local Playwright docs/docusaurus/test-results/ files outside this PR; no issues in changed files
  • npm run lint:md-links: failed only on .github/instructions/rai-planning/rai-license-posture.instructions.md and .github/skills/project-planning/adr-author/references/standards-excerpts.md, neither changed by this PR

Not run locally: the Playwright e2e lane (ci:docs:test:e2e) covering the new landing-page pagination and Lifecycle hierarchy tests, and the CI-owned eval schema and text lint lanes.

Checklist

Required Checks

  • Documentation is updated (if applicable)
  • Files follow existing naming conventions
  • Changes are backwards compatible (if applicable)
  • Tests added for new functionality (if applicable)

AI Artifact Contributions

  • Used hve-builder review mode to review contribution
  • Addressed all actionable findings from the hve-builder review
  • Verified contribution follows common standards and type-specific requirements

Required Local Checks

The following local-safe validation commands must pass before merging:

  • Local validation aggregate: npm run validate:local
  • Documentation validation (if docs changed): npm run validate:docs
  • Spell checking: npm run spell-check
  • Link validation: npm run lint:md-links

Security Considerations

  • This PR does not contain any sensitive or NDA information
  • Any new dependencies have been reviewed for security issues
  • Security-related scripts follow the principle of least privilege

GHCP Membership Changes

Removed skills:

  • .github/skills/hve-core/prompt-analyze
  • .github/skills/hve-core/prompt-builder
  • .github/skills/hve-core/prompt-refactor

Additional Notes

  • Category breadcrumbs such as "Security Documentation" now render as plain text because sidebar categories no longer carry a link.
  • The release workflows and pr-validation.yml still target release/prerelease and release/stable, which do not exist on the remote, so #release/stable registrations no longer resolve. This PR changes only the documentation; retiring or keeping those channels is tracked in chore(workflows): retire or restore the release/prerelease and release/stable branch ladder #3117.
  • The installer skill's extension success message still mentions enabling a bundled telemetry hook. That behavior change is out of scope here.

- remove category links so landing pages advance to their first child
- order Security pages and README table deterministically
- restore lifecycle overview and order stages 1 through 9
- cover landing Next and lifecycle order in e2e tests

🧭 - Generated by Copilot
…items

- label each section landing page Overview; keep titles in pagination
- rename the Security sidebar category to Security Documentation
- emit Overview labels for the generated reference index
- align category headers with sibling page links in the sidebar

🧭 - Generated by Copilot
- remove release-channel and tag plugin registrations
- add remove and re-add steps for earlier channel registrations
- scope PreRelease and Stable channels to the VS Code extension
- drop retired telemetry hook claims from plugin docs

📦 - Generated by Copilot
- remove prompt-builder, prompt-analyze, and prompt-refactor skills
- regenerate plugin manifest and skill reference docs
- drop alias stimuli from behavior-conformance skill evals
- remove alias mentions from agents, prompts, instructions, and docs

BREAKING CHANGE: legacy prompt-builder, prompt-analyze, and prompt-refactor activations are removed; use the hve-builder skill.

🧹 - Generated by Copilot
@jkim323 Jamie Kim (jkim323) self-assigned this Oct 3, 2026
@jkim323
Jamie Kim (jkim323) requested a review from a team as a code owner October 3, 2026 19:34
@codecov-commenter

Codecov Comments Bot (codecov-commenter) commented Oct 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.76%. Comparing base (8597987) to head (2e52cdb).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3113      +/-   ##
==========================================
- Coverage   83.97%   83.76%   -0.21%     
==========================================
  Files         191      201      +10     
  Lines       38705    37277    -1428     
  Branches      201      247      +46     
==========================================
- Hits        32501    31224    -1277     
+ Misses       6133     5976     -157     
- Partials       71       77       +6     
Flag Coverage Δ
docusaurus 92.60% <100.00%> (?)
pester 83.69% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
docs/docusaurus/src/components/Icons/index.tsx 100.00% <100.00%> (ø)
docs/docusaurus/src/data/hubCards.tsx 100.00% <ø> (ø)
docs/docusaurus/src/data/labelRegistry.ts 100.00% <ø> (ø)
scripts/docs/Generate-AssetDocs.ps1 88.01% <100.00%> (+0.42%) ⬆️

... and 28 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Eval Execution

✅ Status: Passed

  • Artifacts evaluated: 0
  • Specs run: 0
  • Assertions passed: 0
  • Assertions failed (blocking): 0
  • Assertions failed (advisory): 0
  • Trial dips tolerated by per-stimulus aggregate: 0
  • Failed specs (merge-blocking): 0

No changed AI artifacts required evaluation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for this PR, Jamie Kim (@jkim323). The landing-page pagination fix works: Next no longer points back to the same page, Lifecycle and Security now read in order, and the plugin manifest, regenerated reference pages, and Generate-AssetDocs.ps1 labels are consistent and covered by tests.

After review, we have a few changes to request before merge:

  • Restore section breadcrumb links, which became plain text when the category links were removed (see the comment on sidebars.js).
  • Correct the three rewritten lines that say main has no SBOM. Every push to main publishes one.
  • Update the behavior-conformance README counts to 252 stimuli across 71 skill subjects.
  • Confirm the --force and marketplace browse behavior against a named Copilot CLI version, or soften the wording.
  • Run npm run validate:local, npm run validate:docs, npm run spell-check, npm run lint:md-links, and the Playwright e2e lane, then record the results in the Testing section.
  • Complete the AI artifact checklist, including an hve-builder review pass, and mark boxes that don't apply as N/A.
  • Open a follow-up issue for the release workflows that still target release/prerelease and release/stable, and link it in Additional Notes.

Smaller, non-blocking notes are inline. Two sit outside the diff: the HVE updates slides (slides/hve-updates/index.html, slides/hve-updates/content.js, and the generated docs/slides/hve-updates.html) still describe the removed prompt skills as current, and docusaurus-edits.instructions.md doesn't yet describe the new pagination_label and Overview landing-page conventions.

These adjustments will help align the PR with the project's conventions. Please comment if you have questions about any of the suggestions, and we can discuss further.

Comment thread docs/docusaurus/sidebars.js Resolved
Comment thread evals/behavior-conformance/README.md Resolved
Comment thread .github/workflows/README.md Resolved
Comment thread docs/architecture/workflows.md Resolved
Comment thread extension/PACKAGING.md Resolved
Comment thread docs/getting-started/packages.md Resolved
Comment thread docs/plugins/hve-core.md Resolved
Comment thread docs/contributing/release-process.md Resolved
Comment thread docs/security/README.md Resolved
Jamie Kim (jkim323) and others added 9 commits October 3, 2026 22:49
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
Co-authored-by: Bill Berry <WilliamBerryiii@users.noreply.github.com>
release/prerelease and release/stable are not published, so those refs no longer resolve; use the actual hve-core-v<version> tag format in examples.

Refs #3117
- pass accessibleName sidebar custom prop through as link aria-label
- add accessibleName to the 18 Overview landing pages
- emit accessibleName for the generated reference index
- assert landing link names in sidebar e2e and Pester tests

♿ - Generated by Copilot
- set link to null for Setup Methods, Roles, Code Review, and Backlog
- scope the landing-page e2e test name to configured categories
- move the linked mobile drawer case to a generated-index category

🧭 - Generated by Copilot
- link the home page to the slides page without the navbar dropdown
- add SlidesIcon and cover it in the icon tests

🖼️ - Generated by Copilot
- fix MD013 line-length failures in workflows.md and PACKAGING.md

📏 - Generated by Copilot
- fall back to the README first child when a category has no href
- style unlinked grouping crumbs as body text
- cover section crumb links and plain crumbs in e2e

🧭 - Generated by Copilot
@jkim323

Copy link
Copy Markdown
Contributor Author

Copilot resolve the merge conflicts in this pull request

…ing-pagination

# Conflicts:
#	.github/workflows/README.md

Co-authored-by: jkim323 <46459431+jkim323@users.noreply.github.com>

Copilot AI commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

Merged origin/main into this branch in 8f5b3fb. The only conflict was the ms.date line in .github/workflows/README.md, and I kept main's newer date, 2026-10-04. Every other file merged without conflicts. Markdownlint passes on the resolved file. I didn't rerun the full validation suite.

@WilliamBerryiii
Bill Berry (WilliamBerryiii) added this pull request to the merge queue Oct 5, 2026
Merged via the queue into main with commit 7be3d8d Oct 5, 2026
148 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants