Repository navigation
Add the VMR QB agent skill - #10250
Conversation
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
|
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. |
|
@akoeplinger, @michalpavelka, @wtgodbe, @mmitche, PTAL. |
There was a problem hiding this comment.
🟡 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
|
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
There was a problem hiding this comment.
🟡 Changes recommended
Credential redaction, config privacy, and evidence classification and preservation need correction before approval.
10 open issues
Malformed config bypasses email privacy checks · New Raw log excerpts bypass credential redaction · New Misclassifies GitHub errors as internal collection failures · New Preflight coverage flags are not cleared after recovery · New Non-wrapper warnings suppress terminating diagnostics · New Omits child promotion timelines from diagnostic model · New Warning issues are incorrectly classified as terminating · New Parent organization filter drops child promotion logs · New Drops inventory observation timestamps · New Compares task duration against parent job timeout · New
3 resolved since last review
Review effort: Balanced
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
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved attribution and diagnostic-classification errors can misroute timeout investigations and suppress actionable failure evidence.
3 open issues
10 resolved since last review
Raw log excerpts bypass credential redaction Malformed config bypasses email privacy checks Compares task duration against parent job timeout Drops inventory observation timestamps Parent organization filter drops child promotion logs Warning issues are incorrectly classified as terminating Omits child promotion timelines from diagnostic model Non-wrapper warnings suppress terminating diagnostics Preflight coverage flags are not cleared after recovery Misclassifies GitHub errors as internal collection failures
Review effort: Balanced
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
wtgodbe
left a comment
There was a problem hiding this comment.
I think we should take this & use it as a starting point - we can always iterate as we learn more


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).