Skip to content

docs(getting-started): refresh onboarding and validation - #3260

Merged
Jamie Kim (jkim323) merged 6 commits into
mainfrom
fix/getting-started-docs-validation
Nov 25, 2026
Merged

Jamie Kim (jkim323) merged 6 commits into
mainfrom
fix/getting-started-docs-validation

Conversation

@bindsi

Copy link
Copy Markdown
Member

Pull Request

Description

Refreshes the Getting Started journey against the current RPI lifecycle and repairs the documentation checks that surfaced during validation.

  • Updates the overview, first interaction, first research, and full workflow tutorials with current artifact paths, cross-platform shortcuts, extensionless Docusaurus links, and the complete Research, Plan, Implement, and Review flow.
  • Replaces the inaccurate all-docs-subfolders README exercise with a bounded validator for the four Getting Started journey pages.
  • Replaces stale OWASP and Y-Statement sources, preserves the authoritative EUR-Lex citation through an exact checker exception for its HTTP 202 response, and registers graphify as a repository term.

Related Issue(s)

Related to #1660
Related to #1661
Related to #1662
Related to #1663
Related to #3253
Related to #3254

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:

"Assess this AI system against the Responsible AI standards that apply to it."

Execution Flow:

The RAI workflow applies its existing paraphrase-first licensing rules while resolving current NIST, EU AI Act, OWASP AI Exchange, OWASP Top 10, and ISO source references.

Output Artifacts:

No output contract changes. RAI planning artifacts continue to cite authoritative standards sources without reproducing restricted text.

Success Indicators:

The standards sources resolve through local link validation and the licensing overlay retains its existing source-class mapping.

For detailed contribution requirements, see:

Testing

  • npm run validate:docs: passed linting, label registry, type checking, 131 tests, and Mermaid accessibility checks.
  • npm run lint:frontmatter: passed for 1,168 files with zero errors or warnings.
  • npm run lint:tables, npm run lint:ai-artifacts, npm run lint:asset-docs, and npm run validate:skills: passed.
  • npm run spell-check: passed with zero issues.
  • pwsh -NoProfile -File scripts/linting/Markdown-Link-Check.ps1 -ChangedFilesOnly: passed with zero broken links; internal links were validated repository-wide and external links were validated for changed Markdown files.
  • npm run test:ps -- -TestPath "scripts/tests/linting/Markdown-Link-Check.Tests.ps1": 72 passed, zero failed.
  • npm run docs:generate:check and npm run plugin:validate: passed with no generated documentation or plugin drift.
  • git diff --check origin/main...HEAD: passed.

The unbounded external-link crawl was stopped after its Node process stopped making progress for more than seven minutes. Hosted full link validation remains pending.

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

No dependencies, workflow permissions, or executable security boundaries change in this PR.

Additional Notes

Plugin membership is unchanged. The EUR-Lex ignore pattern is limited to Regulation (EU) 2024/1689 with its optional /oj suffix; unrelated EUR-Lex links remain subject to normal validation.

- align tutorials with current RPI artifacts and review phase
- replace the invalid README exercise with bounded journey validation

📚 - Generated by Copilot
- replace stale OWASP and Y-Statement sources
- handle EUR-Lex responses and register graphify

🔗 - Generated by Copilot
@bindsi
Marcel Bindseil (bindsi) requested a review from a team as a code owner October 20, 2026 15:09
@codecov-commenter

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

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.05%. Comparing base (0a38af1) to head (f0789cb).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3260      +/-   ##
==========================================
+ Coverage   85.01%   85.05%   +0.04%     
==========================================
  Files         174      190      +16     
  Lines       37837    38145     +308     
  Branches      201      264      +63     
==========================================
+ Hits        32167    32445     +278     
- Misses       5599     5618      +19     
- Partials       71       82      +11     
Flag Coverage Δ
docusaurus 90.58% <ø> (?)
pester 87.16% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 17 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 20, 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.

Comment thread docs/getting-started/first-workflow.md Resolved
Comment thread docs/getting-started/first-workflow.md Resolved
Comment thread docs/getting-started/first-research.md Resolved
Comment thread .cspell.json Resolved
eugeneboms pushed a commit to eugeneboms/hve-core that referenced this pull request Nov 7, 2026
…soft#3346)

# Pull Request

## Description
<!-- Provide a clear description of the changes in this PR -->

This PR brings the installation and recovery pages in line with how HVE
Core actually ships today, then trims repeated text. The docs home page
now matches the install guide, troubleshooting no longer gives readers a
wrong version or a dead-end step, and the release-channel story is told
once, accurately.

Accuracy fixes:

* The docs home page recommended the Marketplace extension, while the
install guide and setup-method pages recommend the plugin. The home page
now has the same plugin-first route table and links to the install
guide.
* Troubleshooting said VS Code 1.99 was enough. The extension package
requires `^1.106.1`, so the page now says 1.106.1 and notes this is the
declared minimum, not a guarantee for newer Copilot features.
* Troubleshooting and the extension page told readers to check an HVE
Core output channel or "Show Extension Output". The extension is
declarative and has neither, so those steps are replaced with pointers
to the real checks.
* Channel pages described Stable and PreRelease builds moving through
`release/prerelease` and `release/stable` as if that were running. The
workflows are configured for those branches, but the branches don't
exist, and other pages already said so. The packages page now says this
plainly and links to microsoft#3117, which owns the restore-or-retire decision.
This PR does not change release workflows or pick an outcome.
* The migration guide called hooks "plugin runtime configuration".
`plugin.json` no longer supports hooks and none ship, so the sentence
now says the installer doesn't copy hooks and HVE Core ships none.

Simplification (same seven pages, no pages added, moved, or removed):

* Each topic now has one home: release channels and identity on
`docs/getting-started/packages.md`, plugin install and update steps in
the install guide and plugin method page, and recovery steps on the
troubleshooting page. Other pages summarize and link instead of
repeating.
* Removed a duplicate distribution diagram, a membership table, repeated
CLI command blocks, and an eight-heading troubleshooting section on the
extension page that repeated the main troubleshooting page.
* Kept every caveat about what is not verified, including that
channel-switch behavior in VS Code is unconfirmed and that release
assurance applies only to published extension releases.

Removing the duplicate diagram from the install guide drops the site's
Mermaid diagram count from 65 to 64, so
`docs/docusaurus/e2e/mermaid-accessibility.spec.ts` now expects 64. That
test pins the count so a diagram can't disappear from its accessibility
checks unnoticed; earlier docs PRs updated it the same way when they
added diagrams.

Net change: 56 lines added, 181 removed across seven pages and the test.
All 13 existing links from other pages into these pages still resolve.
The four first-use tutorials refreshed in microsoft#3260 are untouched.

## Related Issue(s)
<!--
List each issue this PR will close on its own line, repeating the
closing keyword for every issue.
Do not group multiple issue references after a single keyword.
Replace these examples with actual issue references outside this
comment:

Fixes microsoft#123
Closes microsoft#456
Closes owner/repository#789

Use "Related to microsoft#123" for related issues or PRs that should not be
closed.
Issues referenced with closing keywords are automatically closed when
this PR is merged into the default branch.
-->

Closes microsoft#3341

Related to microsoft#2956
Related to microsoft#3232
Related to microsoft#3117
Related to microsoft#3260

## 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)
* [x] 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 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](../docs/contributing/skills.md).
> * 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](../docs/contributing/custom-agents.md#agents-not-accepted) and
[Model Version
Requirements](../docs/contributing/ai-artifacts-common.md#model-version-requirements).

**Other:**

* [ ] Script/automation (`.ps1`, `.sh`, `.py`)
* [ ] Other (please describe):

## Testing
<!-- Describe how you tested these changes -->

Source checks behind each factual change:

* `extension/templates/package.template.json` declares `engines.vscode:
^1.106.1` and has no `main`, `browser`, or `activationEvents`.
* `plugin.json` has no `hooks` field, and `.github/hooks` contains no
manifests.
* The release workflows trigger on `release/prerelease` and
`release/stable`; the repository's branch list has neither.

Commands run locally on the committed branch:

* `git diff --check` against `origin/main`: passed
* `npm exec --no -- markdownlint-cli2` on the seven changed pages:
passed, 0 issues
* `npm exec --no -- cspell --no-progress` on the seven changed pages:
passed, 0 issues
* `scripts/linting/Validate-MarkdownFrontmatter.ps1 -Files <seven pages>
-WarningsAsErrors -EnableSchemaValidation`: passed, 0 errors and 0
warnings
* `npm run lint:tables`: passed
* `npm run lint:md-links -- -Path docs -ChangedFilesOnly -BaseBranch
origin/main`: passed (internal links checked repository-wide)
* `npm run docs:build`: passed
* `node scripts/validate-mermaid-accessibility.mjs` (in
`docs/docusaurus`): passed, 64 diagrams with authored titles and
descriptions
* `npm run docs:typecheck` and `npm run docs:lint` after the count
change: passed
* `npm run validate:docs`: docs lint, label check, and type check
passed. The component tests had one failure on the first run, a
`spawnSync ... ETIMEDOUT` in `DemoMaterialCatalog`, which these pages
don't touch. Rerunning the component tests passed all 15 suites and 132
tests.

Not run locally: the Playwright browser tests (hosted CI runs them; the
first CI run caught the diagram count, fixed in the second commit), `npm
run validate:local` (full aggregate), repository-wide `npm run
spell-check`, live installation in VS Code or Copilot CLI, and
Marketplace channel switching. This PR makes no new claims about editor
behavior.

## Checklist

### Required Checks

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

### AI Artifact Contributions
<!-- If contributing an agent, instruction, or skill, complete these
checks -->
* [ ] 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`
* [x] Documentation validation (if docs changed): `npm run
validate:docs`
* [ ] Spell checking: `npm run spell-check`
* [x] Link validation: `npm run lint:md-links`

## Security Considerations
<!-- ⚠️ WARNING: Do not commit sensitive information such as API keys,
passwords, or personal data -->
* [ ] 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

## Additional Notes
<!-- Any additional information that reviewers should know -->

No dependencies, scripts, or permissions changed. Two related areas are
deliberately out of scope: the contributor hook guide still describes
registering hooks in `plugin.json` (a separate follow-up), and the
release-branch decision stays with microsoft#3117.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Jamie Kim (jkim323) and others added 2 commits November 24, 2026 10:46
Co-authored-by: Chris Montazer <17170709+rezatnoMsirhC@users.noreply.github.com>
- make Phase 2 and Phase 3 /clear steps conditional
- replace remaining "verified facts" with evidence-led wording
- drop unused graphify cspell entry

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

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

…ocs-validation

# Conflicts:
#	.github/instructions/rai-planning/rai-license-posture.instructions.md
#	docs/getting-started/README.md
#	docs/getting-started/first-interaction.md
#	docs/getting-started/first-research.md
#	docs/getting-started/first-workflow.md

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

Merged main in 47b04e1 and resolved the five conflicts:

  • rai-license-posture.instructions.md: I used main's OWASP AI Exchange URL (owasp.org/projects/ai-exchange), which came from main's citation repair in docs: repair OWASP AI and GOV.UK source citations #3281.
  • Getting Started pages: I kept main's new content: the Copilot harness troubleshooting, plugin-first install guidance, the /hve-core: plugin prefix notes, and the RPI Workflow Canvas section. I kept this PR's changes too: shortcuts for both Windows/Linux and macOS, the four-phase wording, and the dated artifact paths. I also removed .md from the links main added, so they match the Docusaurus convention. ms.date is now 2026-11-24.

markdownlint and cspell pass on the merged pages. The link checker reported failures in the ADR standards excerpts file, but they were all Status: 0, which means the sandbox blocked the requests. Unchanged links in that file, such as learn.microsoft.com, fail the same way.

@jkim323
Jamie Kim (jkim323) added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit b4c08a5 Nov 25, 2026
162 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.

6 participants