Developer workflows

Use the local /config page on the service machine to edit modules, roots and gates, save, and restart the Windows service. For dotnet run, restart the process manually. This page exposes credentials and privileged settings to local users without a token; never proxy it or its Blazor transport.

Point an MCP client at a lab PC and let the agent do the install, capture, and attach loop. Enable Devices, Diagnostics, Performance, Debug output, Processes, and Remote debugger on that machine, and keep a token on /mcp. The security model is the other half of this page.

Install a driver

  1. Put the driver package (INF plus the files beside it) in a named root that has Read access.
  2. Create the ROOT node and install the driver in one of two ways: create_device_node with the class name, class GUID, and a hardware ID such as Root\MyDriver, then install_driver with the INF path; or one install_driver call with the INF path and that hardwareId, which creates the node and installs the driver.
  3. find_devices_by_hardware_id to get the instance ID, then restart_device so the stack is rebuilt. If the result says rebootRequired, call reboot_machine when System:AllowReboot is true, or restart the PC yourself. Device tools do not reboot on their own.
  4. Iterate by installing again with noDuplicates, then restarting the device. Tear down with uninstall_driver, remove_device_node, and remove_driver_store_package so old packages do not accumulate.

Test-signing allows test-signed drivers to load; it does not allow unsigned drivers. get_boot_security shows the BCD value and the running kernel state. set_test_signing writes the default boot entry only when System:AllowBootConfigurationChanges is true, and it is refused while Secure Boot is on. Restart after set_test_signing and before installing or loading the driver: reboot_machine when System:AllowReboot is true, or restart the PC yourself.

Investigate a queued driver replacement

Enable WindowsServicing and Jobs for read-only servicing diagnostics. Start with get_reboot_pending and list_pending_file_operations before repeatedly reinstalling a driver: a file replacement may already be queued for reboot. The queue preserves raw paths and malformed entries; it never edits the queue or opens those files. Unknown signals do not establish that the machine is clear.

For a file in a Read root, get_file_lockers reports best-effort Restart Manager process identities without shutting them down. It cannot enumerate every kernel reference or guarantee the file can be replaced. get_servicing_status and the list_servicing_packages job can reveal pending servicing metadata and package states; neither performs a component-store integrity scan or repair.

Follow the QA servicing workflow for WUA inventory/history, bounded failure evidence, log access and job limits.

Inspect the binary

  1. Enable Diagnostics and Jobs. Diagnostics needs Jobs. Put the file in a named root that has Read access.
  2. inspect_binary reports architecture, version, and the PDB file name. verify_file_signature checks the embedded or catalog Authenticode signature. A valid signature is not permission to load a kernel driver. Online revocation stays off until Diagnostics:AllowOnlineRevocation is true.
  3. When a device shows a problem code, explain_device_problem cites the documented meaning and the observed evidence. get_device_install_history lists the matching SetupAPI sections. Neither tool ranks drivers. explain_driver_load_failure can take the device, the service name, or both. It cites Code Integrity events and the image signature and does not assert a cause. HVCI and Windows lockdown mode are observations.

Capture WPP live

  1. inspect_wpp_pdb on the driver’s PDB to get control GUIDs and flag bits.
  2. start_capture with those PDB paths (or explicit provider GUIDs). PDB control GUIDs are enabled automatically. The call returns when the session has started, not when the trace ends.
  3. Loop on read_capture with waitSeconds greater than zero. Pass the returned NextSequence each time. Stop when Completed is true.
  4. stop_capture cancels the reader and disposes the Vestigo-owned session.

There is no server push. The Trace module decodes into a spool; it does not record a raw ETL. convert_etl is the offline path when you already have a file. The opt-in Performance module can write a gated WPR .etl. A remote agent can resolve PDBs from an installed binary, the local symbol cache, a configured symbol server, or a file uploaded into the built-in traces folder.

Read debug output

  1. Enable the DebugOutput module. Only one capture can run; another DebugView instance fails the start with dbwin_in_use.
  2. start_debug_capture with optional include and exclude filters for messages and process names.
  3. Follow with read_debug_output the same way you follow an ETW capture. Debugger-attached processes send output to the debugger instead of this capture.

Check the UI after a build

Enable Desktop and Input, and turn on Desktop:AllowScreenshots and Input:AllowInput. inspect_screen returns an annotated image, a numbered element list, and a captureId. A click uses that captureId and an elementId. A type action ignores elementId and sends text to the focused field, so click the field first. It can opt into virtual keys from the receiving window’s keyboard layout with inputMode keys; the default remains Unicode, and it fails if the layout or Caps Lock changes mid-action. A window target of inspect_screen can crop to window-relative pixels. requireFocus: true stops a batch when the target window is not foreground, and injection.timing gives host-side submission times. observe: true adds the next view to the same call when that capture succeeds. observeMode: "pixels" skips OCR and UI Automation and compares pixels only, and observeCropX, observeCropY, observeCropWidth and observeCropHeight crop both observations to a window-relative region without changing where input goes. When the actions ran and the capture failed, the result has performed and observeError and no new view. Read those fields before calling again, because another call repeats the actions. The full walkthrough, including text and template search, is Drive the UI.

Attach the remote debugger

  1. Enable RemoteDebugger, Processes, and Jobs.
  2. get_remote_debugger_status to see whether msvsmon.exe is already installed for Visual Studio 2022 or 2026.
  3. install_remote_debugger downloads the Microsoft Remote Tools installer, checks its Authenticode signature, and runs it as a job.
  4. Optionally prepare_remote_debugger_computer to add firewall rules for private networks.
  5. start_remote_debugger (default port 4026), then attach Visual Studio to host:4026. stop_remote_debugger when you are done.

The default authentication is Windows. none requires an explicit acknowledgement and is insecure on any reachable network.

Build external plugins

Use Vestigo.Abstractions and the Vestigo.Extensibility contracts without referencing the server. Publish a .NET 10 class library with EnableDynamicLoading, a plugin.json manifest and all private dependencies. The plugin API (currently 1.1, with 1.0 plugins still supported) is versioned independently of host releases. The example and deployment/trust instructions are in the plugin guide.

API 1.1 adds optional DI-registered IVestigoToolProvider sources for protocol-defined tools, with host-owned prefix validation and composition. PluginToolContext carries opaque credential ownership and an optional explicit application session identity. Existing API 1.0 modules remain supported. See the API 1.1 provider guide and agent instructions. This extension includes no Playwright implementation.