Skip to content

Add the VMR QB agent skill - #10250

Merged
JulieLeeMSFT merged 19 commits into
dotnet:mainfrom
JulieLeeMSFT:vmr-qb-publication
Oct 28, 2026
Merged

JulieLeeMSFT merged 19 commits into
dotnet:mainfrom
JulieLeeMSFT:vmr-qb-publication

Conversation

@JulieLeeMSFT

@JulieLeeMSFT JulieLeeMSFT commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Adds .github/skills/vmr-qb-agent, which runs the VMR Quarterback daily round. It collects Azure DevOps and GitHub evidence, generates the build-health, code-flow, and overall summary reports from that evidence.
Users can optionally set email to receive email reports (removed email feature for now).

Adds .github/skills/vmr-qb-agent, which automates the VMR Quarterback daily round. Scripts collect Azure DevOps and GitHub evidence, the Copilot CLI writes the build-health, code-flow and overall reports from that evidence, the scripts validate the reports and record issue history, and the result can be emailed.

SKILL.md and references/ describe each workflow, scripts/ has one folder per workflow (daily, triage, history, verify, common) plus tests/, and knowledge/ ships the routing policy.

All state (config, history, reports, logs, roster, handoff) lives in the git-ignored local/ folder. Preflight stops the run when a config holding an email address is tracked by Git or not ignored, and the publish gate fails when Git tracks anything under local/. Email is opt-in: set recipient in local/qb-config.local.json. Windows and PowerShell 7.2 or newer only.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Copilot AI balanced review requested due to automatic review settings October 16, 2026 23:27
@JulieLeeMSFT
JulieLeeMSFT requested review from a team as code owners October 16, 2026 23:27
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@JulieLeeMSFT

Copy link
Copy Markdown
Member Author

@akoeplinger, @michalpavelka, @wtgodbe, @mmitche, PTAL.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Unresolved run-isolation, preview-safety, and JSON-output issues affect reliability.

3 open issues
What changed in this PR

Adds a VMR Quarterback skill for daily build-health and code-flow reporting, with local history and optional email delivery.

Changes:

  • Documents reporting, triage, routing, and history workflows.
  • Adds command entry points, report validation, fallback digests, and run isolation.
  • Adds offline tests and safeguards for local data.
File Description
.github/​skills/​vmr-qb-agent/​SKILL.md Defines skill entry points and operating rules.
.github/​skills/​vmr-qb-agent/​scripts/​verify/​Invoke-Verify.ps1 Runs publication and knowledge checks.
.github/​skills/​vmr-qb-agent/​scripts/​triage/​Invoke-Triage.ps1 Exposes timeout attribution.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrSummaryTable.ps1 Tests summary formatting and links.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBTreeReadiness.ps1 Checks publication readiness.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBReportGate.ps1 Tests report validation rules.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBReferences.ps1 Tests build-health reference consistency.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBNotes.ps1 Tests run notes and fallback behavior.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBKnowledgeCheck.ps1 Tests knowledge validation.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBIntegration.ps1 Checks workflow integration.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBGateParity.ps1 Compares validation across report workflows.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrQBCollectorRetry.ps1 Tests authentication and transport retries.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrModelPackets.ps1 Tests compact evidence preservation.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrIssueTriage.ps1 Checks read-only issue collection.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Test-VmrEvidenceTransport.ps1 Tests transport caching and persistence.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​Invoke-VmrQBTests.ps1 Runs tests in isolated processes.
.github/​skills/​vmr-qb-agent/​scripts/​tests/​fixtures/​triage-context.fixture.json Supplies synthetic triage context.
.github/​skills/​vmr-qb-agent/​scripts/​history/​Invoke-Record.ps1 Records operator updates.
.github/​skills/​vmr-qb-agent/​scripts/​history/​Invoke-History.ps1 Exposes history and handoff operations.
.github/​skills/​vmr-qb-agent/​scripts/​daily/​workspace.ps1 Manages workspaces and run claims.
.github/​skills/​vmr-qb-agent/​scripts/​daily/​notes.ps1 Collects and renders run notes.
.github/​skills/​vmr-qb-agent/​scripts/​daily/​Invoke-Report.ps1 Validates finished reports.
.github/​skills/​vmr-qb-agent/​scripts/​daily/​Invoke-Preflight.ps1 Checks prerequisites and access.
.github/​skills/​vmr-qb-agent/​scripts/​daily/​digest.ps1 Generates a model-free evidence digest.
.github/​skills/​vmr-qb-agent/​scripts/​common/​Invoke-Setup.ps1 Configures optional local setup.
.github/​skills/​vmr-qb-agent/​scripts/​common/​Invoke-Routing.ps1 Exposes local routing management.
.github/​skills/​vmr-qb-agent/​scripts/​common/​Invoke-Contacts.ps1 Builds the contact roster.
.github/​skills/​vmr-qb-agent/​references/​triage.md Documents classification and routing.
.github/​skills/​vmr-qb-agent/​references/​runner-instructions.md Defines report-generation instructions.
.github/​skills/​vmr-qb-agent/​references/​report-contract.md Specifies report structure and validation.
.github/​skills/​vmr-qb-agent/​references/​history.md Documents history and handoffs.
.github/​skills/​vmr-qb-agent/​README.md Explains setup and operation.
.github/​skills/​vmr-qb-agent/​qb-config.template.json Provides blank optional settings.
.github/​skills/​vmr-qb-agent/​knowledge/​routing.json Defines shared routing data.
.github/​skills/​vmr-qb-agent/​.gitignore Excludes local state and settings.
.github/​skills/​vmr-qb-agent/​.gitattributes Sets selected file line endings.

Review effort: Balanced

@JulieLeeMSFT
JulieLeeMSFT marked this pull request as draft October 19, 2026 16:55
@JulieLeeMSFT

Copy link
Copy Markdown
Member Author

Simplifying the skill significantly.

Use shared Markdown and evidence-file inputs, preserve representative log sampling, improve collection and delivery safety, separate sender and recipients, and trim optional test scaffolding.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

JulieLeeMSFT and others added 14 commits October 26, 2026 09:38
Addresses in an unparseable config still require Git ignore and tracking protection.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Reuse the collector redactor when shortening raw-log and timeline diagnostic text.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Preserve alert scope and the service's sign-in remedy without declaring readable internal builds unknown.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Keep preflight warnings visible without asserting unrecovered missing data or consuming the collector note key.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Keep timeline issue type with its redacted message and classify explicit warnings as non-terminating.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Non-terminating warnings and similarly named jobs cannot hide the only retained Build failure.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Select promotion task records by root build and pipeline scope, retaining child identity and job-limit evidence.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Use scoped promotion records to select child logs without mixing public and internal builds that share an ID.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Carry the active inventory's observedAtUtc on each entry instead of substituting queue or collection time.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Keep timeout verdicts separate from repo-marker attribution and preserve uncertainty without a confirming job message. Update existing fixtures and guidance without adding cases.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Keep raw warning markers non-terminating and discard stack/noise lines before they can suppress the wrapper fallback.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
A JSON string, array, or null is not a valid config and must not bypass Git protection checks.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

JulieLeeMSFT and others added 3 commits October 27, 2026 11:45
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6c527019-d82e-40de-9a76-35f346381d03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Shared report paths can mix concurrent runs, and diagnostic truncation can hide independent failures without signaling omitted evidence.

2 open issues
3 resolved since last review

Review effort: Balanced

@wtgodbe wtgodbe left a comment

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.

I think we should take this & use it as a starting point - we can always iterate as we learn more

@JulieLeeMSFT
JulieLeeMSFT marked this pull request as ready for review October 28, 2026 17:56
@JulieLeeMSFT
JulieLeeMSFT merged commit 7b18886 into dotnet:main Oct 28, 2026
11 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.

4 participants