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
- Put the driver package (INF plus the files beside it) in a named root that has
Readaccess. - Create the ROOT node and install the driver in one of two ways:
create_device_nodewith the class name, class GUID, and a hardware ID such asRoot\MyDriver, theninstall_driverwith the INF path; or oneinstall_drivercall with the INF path and thathardwareId, which creates the node and installs the driver. find_devices_by_hardware_idto get the instance ID, thenrestart_deviceso the stack is rebuilt. If the result saysrebootRequired, callreboot_machinewhenSystem:AllowRebootis true, or restart the PC yourself. Device tools do not reboot on their own.- Iterate by installing again with
noDuplicates, then restarting the device. Tear down withuninstall_driver,remove_device_node, andremove_driver_store_packageso 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
- Enable Diagnostics and Jobs. Diagnostics needs Jobs. Put the file in a named root that has
Readaccess. inspect_binaryreports architecture, version, and the PDB file name.verify_file_signaturechecks the embedded or catalog Authenticode signature. A valid signature is not permission to load a kernel driver. Online revocation stays off untilDiagnostics:AllowOnlineRevocationis true.- When a device shows a problem code,
explain_device_problemcites the documented meaning and the observed evidence.get_device_install_historylists the matching SetupAPI sections. Neither tool ranks drivers.explain_driver_load_failurecan 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
inspect_wpp_pdbon the driver’s PDB to get control GUIDs and flag bits.start_capturewith 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.- Loop on
read_capturewithwaitSecondsgreater than zero. Pass the returnedNextSequenceeach time. Stop whenCompletedis true. stop_capturecancels 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
- Enable the DebugOutput module. Only one capture can run; another DebugView instance fails the start with
dbwin_in_use. start_debug_capturewith optional include and exclude filters for messages and process names.- Follow with
read_debug_outputthe 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
- Enable RemoteDebugger, Processes, and Jobs.
get_remote_debugger_statusto see whethermsvsmon.exeis already installed for Visual Studio 2022 or 2026.install_remote_debuggerdownloads the Microsoft Remote Tools installer, checks its Authenticode signature, and runs it as a job.- Optionally
prepare_remote_debugger_computerto add firewall rules for private networks. start_remote_debugger(default port 4026), then attach Visual Studio tohost:4026.stop_remote_debuggerwhen 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.