Skip to content

Reviewer Manual Test Plan

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

Expert reviewer manual test plan — labview-benchmark-actor extension + AGENTS.md

Tracking: #108 · Coordination: WIN ↔ LINUX live-only lbabus net TCP bus.

This is the checklist an expert human reviewer follows to manually validate the labview-benchmark-actor VS Code extension and its embedded AGENTS.md, running inside a disposable graphical Windows 11 or Ubuntu 24.04 reviewer VM. It covers the reviewer-facing command set plus a subjective "dogfood" pass over the AGENTS.md guidance and an end-to-end LabVIEW run.

Record a result for each case in the Result field (PASS / FAIL + notes), then complete the sign-off block at the end.


1. Environment

Requirement Needed for How it arrives
Graphical Windows 11 or Ubuntu 24.04 guest all disposable reviewer VM with a recorded OS/provider identity
VS Code (code on PATH) all provisioning
Exact candidate .vsix all pre-publish staging verifies version, commit, SHA-256, and installed extension identity
lbabus CLI on PATH Capabilities, Poll Bus, Post Note provisioning
Local lbabus net peer/log configuration Poll Bus, Post Note reviewer configures labviewBenchmarkActor.busNetHosts and labviewBenchmarkActor.busNetLog
Licensed LabVIEW (reviewer's own) End-to-end run (TC-09) reviewer's own box, per BYO docs

Notes:

  • The extension shells out to lbabus (command name lbabus) for Show Host Capabilities, Poll Bus, and Post Note; those three need the CLI on PATH. Poll Bus reads the local receive-log written by lbabus net listen --log; Post Note sends to the configured net peer(s). No GitHub authentication or Discussion transport is involved.
  • Open Benchmark Viewer, and all three AGENTS.md commands, are self-contained in the .vsix (no CLI, no LabVIEW, no network) and can be reviewed on any box.
  • A signed Ubuntu verdict must use station UBUNTU_VM; Windows uses WINDOWS_VM.
  • All extension output lands in the Output → "LabVIEW Benchmark Actor" channel; keep it open.

2. Dependency matrix (what each case needs)

Case Feature CLI Net peer/log LabVIEW
TC-00 Install / activation – – –
TC-01 Write Agent Instructions – – –
TC-02 Show Agent Instructions – – –
TC-03 Check Agent Instructions – – –
TC-04 Poll Coordination Bus yes yes –
TC-05 Post Coordination Note yes yes –
TC-06 Open Benchmark Viewer – – –
TC-07 Show Host Capabilities yes – –
TC-08 Dogfood AGENTS.md guidance – – –
TC-09 End-to-end LabVIEW run yes opt. yes
TC-10 MCP server (programmatic) – – –
TC-11 Agent-chat tool invocation – – –
TC-12 Render signed reviewer verdict – – –

3. Test cases

Open the Command Palette with Ctrl+Shift+P and type "LabVIEW Benchmark Actor" to find every command. Open a folder (File → Open Folder) before the AGENTS.md cases — they act on the workspace root.

TC-00 — Install and activation

  • Pre: VM provisioned; VS Code installed.
  • Steps:
    1. Open VS Code. Open Extensions (Ctrl+Shift+X) and confirm labview-benchmark-actor (publisher svelderrainruiz) is installed and enabled.
    2. Open the Command Palette and confirm the commands exercised by this plan appear under the "LabVIEW Benchmark Actor:" prefix.
  • Expected: the extension is listed and enabled; the reviewer-facing command set is present.
  • Result: _____

TC-01 — Write Agent Instructions

  • Pre: a folder is open with no AGENTS.md at its root.
  • Steps:
    1. Run LabVIEW Benchmark Actor: Write Agent Instructions.
    2. Confirm AGENTS.md is created at the workspace root.
    3. Run the command again (now the file exists) and, in the modal, choose Show Diff.
    4. Run it a third time and choose Overwrite.
  • Expected:
    • First run: an info toast "Wrote AGENTS.md (v…)"; the file exists and begins with a single provenance stamp line followed by the canonical body.
    • Second run: a modal offers Overwrite / Show Diff / Cancel; Show Diff opens a diff of the workspace file against the extension canonical.
    • Third run: Overwrite rewrites the file and re-shows the info toast.
  • Result: _____

TC-02 — Show Agent Instructions

  • Steps:
    1. Run LabVIEW Benchmark Actor: Show Agent Instructions.
  • Expected: a read-only editor opens showing the shipped canonical AGENTS.md (rendered as Markdown), with the version in the title; it does not modify the workspace.
  • Result: _____

TC-03 — Check Agent Instructions (match, drift, rewrite)

  • Pre: a folder is open; run TC-01 first so an AGENTS.md exists.
  • Steps:
    1. With an unmodified AGENTS.md, run Check Agent Instructions.
    2. Edit AGENTS.md (add a line), save, and run Check Agent Instructions again; choose Show Diff.
    3. Run it once more and choose Rewrite.
    4. (Optional) Close the folder and run the command with no folder open.
  • Expected:
    • Unmodified: info toast "AGENTS.md matches the shipped extension canonical (v…)".
    • After editing: a warning "AGENTS.md has DRIFTED…" with Show Diff / Rewrite; Show Diff opens the diff.
    • Rewrite restores the canonical and toasts "Rewrote AGENTS.md…"; a re-check then matches.
    • No folder open: a warning telling you to open a folder / run Write first.
  • Result: _____

TC-04 — Poll Coordination Bus

  • Pre: lbabus on PATH; run a reachable reviewer-side lbabus net listen --log <reviewer-log>; set labviewBenchmarkActor.busNetLog to <reviewer-log>.
  • Steps:
    1. From a test peer, send a marked inbound frame to the reviewer listener, for example lbabus net send --hosts <reviewer-host> --type NOTE --message "NOTE reviewer poll smoke test".
    2. Run LabVIEW Benchmark Actor: Poll Coordination Bus.
  • Expected: the "LabVIEW Benchmark Actor" output channel shows the last ~10 bus messages including the marked inbound NOTE (the configured-log path runs lbabus net poll --log <reviewer-log> --tail 10); no error. If busNetLog is empty, the extension omits --log; with no COLLAB_NET_LOG fallback the CLI exits 0 with "no receive-log configured ... nothing to poll." A configured path that does not exist exits 0 with "nothing heard yet"; an existing empty log exits 0 without printing a frame. None of those no-frame outcomes satisfies this positive test. If the CLI is missing, the channel shows a clear error (record it).
  • Result: _____

TC-05 — Post Coordination Note

  • Pre: lbabus on PATH; run lbabus net listen --log <peer-log> on a reachable test peer and set labviewBenchmarkActor.busNetHosts to that peer. Use a clearly-marked test note.
  • Steps:
    1. Run LabVIEW Benchmark Actor: Post Coordination Note.
    2. At the prompt, enter an ASCII note, e.g. NOTE reviewer VM smoke test.
    3. On the receiving peer, run lbabus net poll --log <peer-log> --type NOTE --tail 10.
  • Expected: the note is announced with lbabus net send --hosts <peers> --type NOTE; the output channel confirms it, and the receiving peer's poll shows the exact note. The sender's local busNetLog is not expected to contain its outbound NOTE. Empty input cancels with no send. With no peer configured, the command exits as a documented graceful no-op.
  • Result: _____

TC-06 — Open Benchmark Viewer

  • Steps:
    1. Run LabVIEW Benchmark Actor: Open Benchmark Viewer.
  • Expected: a "Benchmark Viewer" webview panel opens and renders the bundled MPRR series (chart/series visible, no blank panel, no script errors). Self-contained; needs no CLI/LabVIEW.
  • Result: _____

TC-07 — Show Host Capabilities

  • Pre: lbabus on PATH.
  • Steps:
    1. Run LabVIEW Benchmark Actor: Show Host Capabilities.
  • Expected: the output channel prints the host capability report (lbabus capabilities) within ~15s; values look correct for the VM (OS, tooling). If the CLI is missing, a clear error.
  • Result: _____

TC-08 — Dogfood the embedded AGENTS.md (subjective)

  • Steps:
    1. Read the AGENTS.md surfaced by Show Agent Instructions (TC-02).
    2. As an expert, judge: is the guidance accurate for this repo/toolchain, clear, actionable, and free of stale or misleading instructions? Try to follow one instruction end-to-end and confirm it works as written.
  • Expected: the guidance is accurate, clear, and actionable. Record any inaccuracy, ambiguity, missing step, or improvement as a note (these feed AGENTS.md revisions).
  • Result: _____

TC-09 — End-to-end LabVIEW benchmark run

  • Pre: the reviewer's box has licensed LabVIEW (per the BYO docs).
  • Steps:
    1. Close all LabVIEW windows so the next process is a real launch transition.
    2. On Ubuntu, confirm command -v ffmpeg succeeds; on Wayland also confirm command -v gjs, or on Xorg confirm command -v xdpyinfo. Then run LabVIEW Benchmark Actor: Capture LabVIEW Launch.
    3. Wait until the activated LabVIEW start screen is visible. Interact with LabVIEW to create a deliberate benchmark variation, then click Stop LabVIEW Capture in the status bar.
    4. Inspect the opened frame correlator and the retained capture.json.
  • Expected: LabVIEW launches successfully; the correlator contains real non-blank frames spanning the transition. Windows records plane=WIN, source=ffmpeg-gdigrab; Ubuntu records plane=LINUX, source=ffmpeg-x11grab on Xorg or source=gnome-shell-screencast on Wayland. Both capture the visible operator desktop and the deliberate interaction. The capture includes CPU/RAM/disk samples and can be scrubbed.
  • Result: _____

TC-10 — MCP server (programmatic capability)

  • Pre: an MCP-capable client (e.g. the editor's AI agent) that can discover the extension-provided MCP server. No CLI or LabVIEW needed.
  • Steps:
    1. Run MCP: List Servers, select LabVIEW Benchmark Actor: MCP tools (internal provider id labviewBenchmarkActor), and choose Restart Server. Fully terminate and relaunch VS Code; a window reload is insufficient.
    2. With the extension active, have the MCP client list available MCP servers/tools.
    3. Confirm LabVIEW Benchmark Actor: MCP tools (labviewBenchmarkActor) is present and exposes the four core tools: get_host_capabilities, get_benchmark_series, poll_coordination_bus, post_coordination_note, plus the nine folded corroboration-grid tools listed in MCP-Tools.
    4. Invoke get_benchmark_series and confirm it returns the bundled MPRR series (the same data the viewer renders in TC-06).
  • Expected: the server is discoverable and starts locally over stdio; all 13 tools are listed; get_benchmark_series returns a structured series with no error. Nothing is sent to the internet. See MCP-Tools for the full tool contract.
  • Result: _____

TC-11 — Agent-chat tool invocation (agent-facing surface)

  • Pre: the extension is installed and active; the editor's AI chat is available in Agent mode. No CLI or LabVIEW needed. This case exercises the extension's agent-facing tools (its Language Model tools and the bundled MCP grid tools) the way a real agent uses them.
  • Automated drive (Windows VirtualBox reviewer VM only): from the host, run reviewer-workstation/drive-agent-chat.sh --vm <name> --prompt "Open the resource profile benchmark panel" --out <dir>. It starts a fresh chat, types and submits the prompt, and captures PNG evidence at each step (01..06) into <dir>. Inspect the frames to judge PASS/FAIL. This is the authoritative procedure that caught the check_independence MCP schema defect described below.
  • Steps (manual equivalent):
    1. Start a fresh chat (Command Palette -> Chat: New Chat), Agent mode.
    2. Enter the prompt: Open the resource profile benchmark panel.
    3. Submit and wait for the agent to invoke the extension's benchmark-panel tool.
  • Expected: the agent validates its tool set with no "tool parameters array type must have items" or other tool-validation error, invokes the extension's tool, and the Benchmark Resource Profile panel opens and renders (CPU/RAM/disk correlation). Every published MCP tool schema is well-formed.
  • Gotcha — MCP schema changes do not hot-reload: VS Code caches MCP tool schemas and keeps MCP servers alive across window reloads. After reinstalling a .vsix that changes any MCP tool schema, run MCP: List Servers, select LabVIEW Benchmark Actor: MCP tools (labviewBenchmarkActor), choose Restart Server, and fully restart VS Code (kill + relaunch, not just Developer: Reload Window) before re-testing, or the stale schema persists and the tool keeps failing validation. Older instructions referred to a global MCP: Reset Cached Tools command; VS Code 1.130 exposes Restart Server from the selected server's management actions and rediscovers the tools on startup. The offline guard in experiments/acg-mcp/grid-tools.selftest.mjs (gate acg-mcp) catches malformed tool schemas at build time so this defect cannot ship again.
  • Result: _____

TC-12 — Render signed reviewer verdict

  • Pre: complete TC-00 through TC-11 as applicable; the exact review-target.json and target-bound reviewer-station.json are staged in the extension handoff directory; reviewer id and the fresh version-scoped visual private key are configured in this disposable VM. The station marker records the verified VirtualBox provider, DMI product, and host-observed guest machine-id. Staging occurred with VS Code fully stopped, and the newly staged extension is now active after relaunch.
  • Steps:
    1. Run LabVIEW Benchmark Actor: Render Reviewer Verdict.
    2. Select the verdict that matches the completed manual review and enter concise notes.
    3. Inspect the generated public signed record before extraction.
  • Expected: the record targets the exact component/version/40-hex commit/64-hex VSIX SHA-256, uses UBUNTU_VM on Ubuntu only when the exact target-bound station marker is present, or WINDOWS_VM on Windows; Ubuntu re-detects the current virtualization provider, DMI product, and machine-id and requires them to match the marker. The verdict and sign-off station fields are identical, and the Ed25519 signature verifies against the enrolled visual-purpose key. No private key or credential appears in the public record.
  • Result: _____

4. Reviewer sign-off

Field Value
Reviewer _____
Date (UTC) _____
VM provider vmware_desktop / virtualbox
Reviewer station WINDOWS_VM / UBUNTU_VM
Guest OS/version _____
Extension version (ext-v…) _____
LabVIEW version (if TC-09) _____
Overall result PASS / PASS-with-notes / FAIL

Summary / notes:


File issues for any FAIL or PASS-with-notes item and link them here.


Generated from docs/testing/reviewer-manual-test-plan.md on develop. Edit the source in the repository, not this page.

Clone this wiki locally