Observe a running LunCoSim through its API: read entities, telemetry ports, Modelica or cosimulation variables, time series, and viewport screenshots. Use for questions about live values, motion, scene contents, or visual state. This is the read-only complement to test-via-api, which drives and verifies; use build-usd-scene when the task is authoring.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Inspect Simulation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/luncosim-inspect-simulation)
---
name: inspect-simulation
description: >
Observe a running LunCoSim through its API: read entities, telemetry ports,
Modelica or cosimulation variables, time series, and viewport screenshots.
Use for questions about live values, motion, scene contents, or visual state.
This is the read-only complement to test-via-api, which drives and verifies;
use build-usd-scene when the task is authoring.
---
# Inspect a running simulation
Observe over the HTTP API / MCP — never by polling logs or asking the user. The
app must be running with `--api` (default port **4101**; launch per
[`test-via-api`](../test-via-api/SKILL.md)). Drive from curl `POST /api/commands`,
or the `mcp__lunco__*` tools if wired.
For scene, motion, Editor, or viewport inspection, require the visible
headful production window and keep it open while reading state. Pair typed
queries with `CaptureScreenshot` and inspect the resulting image so the user
can see the same state being diagnosed. A headless session is acceptable only
for telemetry-only inspection with no visual or user-observation claim; never
switch to it silently when a visual check is requested.
> **Read the ports, not the log.** A telemetry port snapshot is the authoritative
> current value. `tail -f`/`sleep`-polling a log for a number is the anti-pattern.
## Site-anchored gravity and rover motion
When a rover floats or will not drive on an anchored site, check the world and
vertical support before changing its drivetrain:
1. Require `GetReadiness` to report `ready=true` and `world_hold=false`.
2. Inspect the composed scene root with `QueryUsdPrim`. If it has `SiteAnchor`,
verify that `GeodeticAnchor.body` matches a composed
`CelestialBody.ephemeris_id`, that the body has its `GravityProvider`, and
that the rover has the corresponding body association. A `SiteAnchor` alone
is not a body payload: it selects body-surface gravity immediately, while
celestial declarations may still be projecting. In surface mode, a missing
body link/provider clears the rover's derived gravity; a stage `PhysicsScene`
does not restore flat gravity after that site-frame takeover. Wait for
projection to settle, then treat an unresolved body ID as a scene fault.
3. Read any exposed environment `gravity_accel` port with `ReadPorts`, then
inspect `QueryPhysicsState.wheel_contacts` for valid contacts and positive
normal loads. No derived gravity and no wheel load points to the scene/body
binding; loaded contacts with no translation points onward to drive commands,
motor effort, and traction. Do not infer gravity or wheel support from visual
overlap or a nonzero throttle command.
For a deliberately local flat-gravity pad, remove `SiteAnchor` and retain one
authored `UsdPhysicsScene`. For a body-anchored surface, keep the anchor and
compose the matching celestial body/provider. See [the scene contract](../build-usd-scene/SKILL.md#choose-the-scenes-lighting-and-time-model)
and [gravity authoring](../author-usd-physics/SKILL.md#3-gravity-is-authored-per-scene).
For tire contact, inspect `QueryPhysicsState.wheel_contacts` fields
`contact_valid`, `normal_force_n` and `tire_force_n`; a valid positive load can
be below 1 N. Shared physical tires expose native `contact_force`. On a free
dynamic support, verify both the support response and total tangential momentum
of every dynamic member, rather than treating wheel motion as proof of a
balanced contact force. The fourth-pass physical tire gate exercises that
contract through a deck with only vertical and rotational constraint.
For scoped pause, establish nonzero raycast shaft motion before pausing, then
compare angle, speed, shaft and heat samples while an independent object advances.
A stationary wheel is insufficient evidence. During prescribed body motion,
existing force holds retain their identity without accumulating effort; new
direct native force commands reject terminally with receiver mode/detail. Use
the sixth-pass pause and prescribed scenarios to observe both boundaries.
Live Modelica and external FMU engineering metadata is owned by
`lunco-port-core::ScalarPortContracts`. Inspect it through `ReadPorts`/`ListPorts`;
resolved definitions include `dimension_si`, `angle_power`, `relative_quantity`,
`scale_to_si` and `offset_to_si`. An unresolved unit identity does not imply a
unit scale. Bounds use the same generic write validator for both backends. Native FMU
time units convert at the ABI boundary; `FmuParticipant.time_s` and shared clock
snapshots always use seconds.
Connection binding and initialization use the same SSP transform resolver:
resolved base-unit conversion precedes the authored gain/offset. An omitted
base-unit definition keeps the raw value under FMI's rule. Incompatible units
produce `cosim-connection-contract-invalid` and hold physics. Inspect
`GetReadiness` and `GetBrokenConnections.runtime_fault` for that owner result.
Missing source samples remain pending; targets retain their prior value until
all fan-in sources are available, unless an explicit hold drives the input.
A diagnostic `dropped_value = ()` means no numeric write was attempted.
An attempted value is a `{ kind, value }` map: inspect `kind` before reading its
finite `value`. The `not_a_number`, `positive_infinity` and `negative_infinity`
kinds preserve a rejected non-finite sample without breaking the JSON response.
The [API contract](../../crates/lunco-api/README.md) owns this representation.
`python3 scripts/api/test_connection_nonfinite.py --port <free-port>` exercises
both overflow signs through production Rhai and HTTP; `--windowed` uses the same
test path in the graphical host.
Live exchange is an atomic input batch. `cosim-input-write-rejected` means the
batch preserved its prior target values and native physics was stopped before
integration. Read the actual rejected value and reason from the wiring
report, even if that input accepted earlier samples. Scene retirement clears
the terminal runtime fault; presentation remains available for inspection.
For `physics-native-integration-range`, read the rejected body's diagnostic
and compare `clock_snapshot()`, Modelica endpoints in `CosimStatus`, and
`QueryTelemetryHistory` against the last completed interval. The rejected
interval leaves those observations at the committed endpoint.
For native external FMUs admitted by `LoadFmu`, inspect named scalar ports
through the same port registry. Reflected `FmuParticipant.time_s` retains the
validated native time; `communication_ticks` gives its integer master interval.
`fmu_can_restore_state` reports the FMU's declared capability, not qualification
of an implicit master. `CosimStatus` currently scopes its rows to USD-projected
participants; use the generic entity/port surface for command-admitted FMUs.
See [`lunco-fmi`](../../crates/lunco-fmi/README.md) for the native profile and its
shared-clock gate.
## The read surface
| Tool / query | Answers |
|---|---|
| `list_entities` (`ListEntities`) | every registered entity → `{api_id, name, type, pos}`. **Start here** — most reads need an `api_id`. |
| `query_entity` (`QueryEntity {id}`) | one entity's pose/name/type blob. |
| `QueryPhysicsState {id}` | native body/admission state, collider ownership and support; `sleep_state` reports the native timer, required rest time, disabled marker and effective velocity thresholds. `constant_linear_acceleration_mps2` reports the persistent native acceleration, or unavailable when absent. `inertia_tensor_kgm2` is the finite computed body-local tensor as three rows, preserving orientation and cross terms; unavailable tensors remain null. These are observations, not instructions to force sleeping. |
| `QueryUsdPrim` | composed USD attributes and the resolved world position for a prim; use it to verify `xformOpOrder`, placement heading and mounted-part dimensions. Add `topology:true` for one scoped visual/collider/material/joint/bounds/projection record. |
| `InspectUsdViewport` | the explicit focused USD preview/view handles, document IDs, edit targets, projection generations, and `projection_ready` state; use this to identify the exact editor item visible in a screenshot and wait for a ready preview before editing. |
| `InspectUsdInspectionPresets` | persisted view-only USD inspection camera presets; use it to verify the named settings state and the active preset without treating camera presentation as authored USD. |
| `read_ports` | **live telemetry.** With `api_id`: that entity's ports `[{name,value,direction,kind}]`. Without: EVERY port-bearing entity (large — pass `name_filter` substring and/or `ports:[…]` to narrow). One-shot. |
| `read_port` `{api_id, port}` | a single named port value. |
| `watch_ports` `{api_id, …}` | a **time-series** of ports (use when you need change over time, not a single sample). |
| `snapshot_variables` (`SnapshotVariables`) | current Modelica variable values (the solver's state). |
| `ListTelemetryChannels` / `QueryTelemetryHistory` | retained scalar catalog and history. Use `{name: "exact.channel"}` for a bounded catalog subset across owners, or omit it for the full dictionary. Keep the returned channel key; an archived channel remains queryable under its captured `api/<GlobalEntityId>:<name>` key after its source disappears. |
| `cosim_status` | every USD-driven cosim entity end-to-end: `{name, y, vy, netForce, force_y_input, buoyancy, modelica_*}` — verify a **Modelica → physics** chain without logs. |
| `rover_status` | rover-specific convenience readout. |
| `capture_screenshot` (`CaptureScreenshot`) | raw PNG — save `-o /tmp/x.png`, then Read it. Confirms what numbers can't (did it tip over?). |
## Rigid-body acceleration
For an initial-motion report, compare the composed `physics:velocity` and
`physics:angularVelocity` with `QueryPhysicsState` immediately after scene
admission. USD authors both vectors in the node transform space; angular values
are degrees per second, while `angular_velocity_radps` is radians per second.
Site mounting preserves these initial axes before native integration; later
frame changes transport simulated state. Use `authored_initial_velocity` for
the admission gate and `planetary_flight_surface` for subsequent frame/cell and
surface-contact behavior. Do not infer initial-condition correctness from a
test that injects motion after admission.
Use the owning body's `acceleration_magnitude` for net `|Δv/Δt|`, and
`specific_force_magnitude` for the accelerometer load `|Δv/Δt - g|`.
Both are m/s². The latter reads one local g while supported and near zero in
ideal free fall. Check `acceleration_valid` / `specific_force_valid` before
interpreting a value. They use completed native physics intervals, including
contacts and joints; their vector components are optional analysis detail. A
body-frame rotation must preserve the norm: validate the native attitude and
normalize its widened f64 quaternion at the measurement boundary.
The real telemetry curves are `linear_acceleration` and `specific_force` under
the exact body owner. Do not derive them from graphics frames, subtract 9.81
from a scalar magnitude, or add gravity-removal logic to each plot widget.
See [the core measurement contract](../../docs/architecture/body-acceleration.md).
## Inspect an authored assembly
When the question is about a reusable USD assembly rather than only a spawned
entity, use the namespaced Rhai `model_authoring` reads with the exact document
id and root path:
```rhai
let context = model_authoring::model_context(doc, root, edit_target);
let ready = model_authoring::readiness_report(doc, root, edit_target, policy);
let graph = model_authoring::port_graph(doc, root, edit_target);
```
`context` is the complete composed tree and `ready` is the explicit
topology/physicality/mount/connection/control/runtime preflight. These reads
preserve the document generation and complement `InspectUsdViewport` and
`LintReport`; they do not mutate or save the document. Use the returned exact
paths for selection, reveal, framing, and follow-up typed commands. The
[scripting guide](../../docs/scripting-guide.md#model-and-assembly-authoring-human-and-ai)
documents the authoring facades and dry-plan boundaries.
For generic authoring evidence, use the `authoring_inspection` Rhai library
with the same exact document and preview identities:
```rhai
let diff = authoring_inspection::candidate_diff(before_doc, after_doc, affected_paths);
let groups = authoring_inspection::group_diagnostics(lint_findings);
let evidence = authoring_inspection::inspection_snapshot(doc, root, path);
let mode = authoring_inspection::inspection_mode(doc, root, path, true);
```
`candidate_diff` is path-scoped and reports consequences plus lint readiness;
`group_diagnostics` preserves raw findings; and `inspection_snapshot` keeps
visual, collision, joints, frames, materials, provenance, schemas, and
connections in one read-only record. Absence is evidence, not permission to
invent a bound or provenance. To act on one finding, pass its absolute
`subject` to `authoring_inspection::navigate_diagnostic(preview, view,
finding)`; it uses the canonical selection owner and exact
`FrameUsdPreviewSelection` path.
For screenshots, query `InspectUsdViewport` first, require
`projection_ready:true`, and correlate the returned `UsdPreviewId` and
`UsdPreviewViewId` with the screenshot. View-only camera state is persisted
through the `assembly_edit` wrappers `save_inspection_preset`,
`apply_inspection_preset`, `delete_inspection_preset`, and
`inspection_presets`; verify it with `InspectUsdInspectionPresets` and the
viewport's `active_preset`. These presets do not modify USD or simulation
state.
To perturb-then-observe: `set_input` / `SetPorts {target, writes:[[name,val]],
producer_id}` to poke a live input through the next fixed tick; reuse one stable
nonzero producer id for the same external caller, then re-read. Use
`ReleasePort` / `ReleaseControl` with the same producer id when releasing a
live hold to return an input to authored wiring. Apply a safe state with
explicit named `SetPorts` values and keep that hold active while it is wanted.
Controller holds outrank Twin Lifecycle/Simulation program setpoints at the
actual input commit, including inputs without wires. Lifecycle stop setpoints
retain program ownership through their ordered fixed-tick admission. A
lower-priority program command can be accepted and retained without replacing
the current controlled value. All held
targets require unique nonzero `GlobalEntityId` values; missing or duplicate
identity reports `cosim-held-input-identity-invalid` before exchange writes. Held
inputs are levels: an unwired `force_x`, `torque_z`, or `force_command` continues
each fixed cycle until release. To apply a one-cycle force pulse, set the force
in a simulation callback and release that named input in the following callback;
do not treat `SetPorts` as an impulse command. Release preserves endpoint values
at its boundary; a resumed wire or remaining program hold supplies the next
exchange value, and an unwired force accumulator drains without another command.
The production `cosim_input_contracts` observer checks priority, atomic rejection,
release, and force persistence after its API driver admits a controller mass hold.
Native force and torque inputs must fit their published native range; a finite
`f64` outside that range rejects the entire command batch before any writes.
Finite operands must also produce finite native dynamics. `cosim-native-force-range`
identifies the body and rejected inverse-mass/inertia product or accumulator
sum; it reaches Recent Events and holds integration before native mutation.
Check both local and world force channels, paired contact reactions, and an
unchanged finite `QueryPhysicsState` after rejection. A dual force/torque
actuator prim retains independent command values. After changing a naturally
sleeping body's mass, inertia or COM, require renewed physical response; an
unchanged held property must still allow ordinary sleeping.
Run `LUNCOSIM_BIN=target/debug/luncosim python3 scripts/api/test_simulation_core_contracts.py`
for the focused production gates: command decoding, mass tensors, mount
precision, input priority, parameter replacement and terminal admission errors.
`scripts/api/test_simulation_core_second_pass.py` adds authored gates for live
stage-unit rejection, invalid native mass/inertia, retired held endpoints,
actuator axes, compound transforms, USD mass precedence, wheel mass resync, and
API numeric/identity rejection. Its physical edits use unsaved typed document
operations and verify source preservation. Invalid mass reports
`usd-rigid-body-mass-invalid` with the prim, property and rejected value;
invalid live conventions retain the admitted body and report
`usd-stage-projection-reset`. Both stop integration and reach Recent Events
through the shared runtime-fault status bridge.
For `cosim-joint-effort-order-invalid`, inspect the affected joint's
`PhysicsOrderKey`: the effort owner rejects missing/empty/duplicate identity
before applying any torque or feedback update.
Use `possess_vessel` when the
target also requires an explicit control claim.
## Recipe
1. `list_entities` → find the `api_id` of the thing you care about (by `name`).
2. `read_ports {api_id, ports:[…]}` (or `read_port`) for the value(s) — filter, don't dump.
3. Need a trend (settling, oscillation, arrival)? `watch_ports` for a series instead of hammering `read_ports`.
4. Modelica in the loop? `snapshot_variables` for solver state, or `cosim_status` for the whole chain.
5. `capture_screenshot` → `/tmp/x.png` → Read it, to confirm the physical picture.
If the scene has no authored window camera, the windowed luncosim host may use
its explicit standalone presentation policy after finite USD bounds settle; it
reports the generated owner in the Camera menu and status history. Headless and
recording hosts do not opt into that policy. A transient camera-less projection,
or a boundless standalone scene, is a presentation diagnostic rather than a
terrain or physics failure.
Before interpreting a live read as a finished scene, check
`GET /api/ready` and require `ready:true`, `world_hold:false`, and
`pending_count:0`. A port may be absent while its Modelica island is still
compiling; that is different from a valid zero.
When a run stops, inspect `/api/ready` for the terminal fault as well as
`CosimStatus`: a model's last `Running` status does not prove that the shared
simulation still advances. Physics fault subjects identify the USD prim or
native entity name. `SimulationTimingProfile` reports retained fixed demand;
render easing must remain within completed endpoints even when that demand
exceeds a timestep.
For a Time-menu acceleration report, compare completed `sim_tick` intervals
against `clock_snapshot().wall_elapsed_s` at 1x and the requested rate. A selected
`transport_rate` alone is not throughput evidence. Inspect `SimulationTimingProfile`
for fixed-cycle cost and retained pending duration. Test ordinary window pacing
and loss of focus: `--no-throttle` masks missing cadence demand or solver wake-ups.
The native regression uses an authored Rhai verdict and an owned X11 focus window:
```sh
python3 scripts/api/test_simulation_transport_rate.py --port <free-port> --output <workspace-path>
```
For a Twin, pass `--twin <root>` and its expected
`--participants <count>`. Its measurement does not poll the HTTP API, which would
wake the window and invalidate a background-pacing result.
Use `--settle-seconds <seconds>` to exclude scene preparation and `--rates <rates>`
to qualify specific requested rates; the default gate remains 2x, 4x and 8x.
Use `--sample-seconds 30` for a sustained window; authored and independent
wall-clock rates must both be within one percent of the requested setting.
Each rate runs for three seconds before sampling (`--warmup-seconds`); this
retains all fixed debt and excludes the rate-change presentation transient.
`--keep-focus` leaves focus unchanged, so report any transitions. `--no-vsync`
is a presentation diagnostic and does not qualify ordinary desktop pacing.
`--check-modelica-hud` adds the production running/pause/clear gate after rate
measurement and captures the visible meter. The meter reports actual completion
bursts; its one-second rate can differ from the requested pacing cadence.
`--scene <scene>` exercises an existing fixture with the same gate. Distinguish a
failed requested rate from a passing lower rate; retain the timing evidence for
both. Native readiness, render handoff and fixed-service ownership are defined in
[the time architecture](../../docs/architecture/19-unified-time-and-clock.md).
Run `scripts/api/test_physical_presentation_time.py --windowed --port <free-port>
--output <path>` for the native pause, single-step and physical easing-clock gate.
For DEM terrain, read the typed `TerrainLodStatus` query as the authoritative
geometry stream state. A settled visual terrain requires `wanted == resident`
and `pending == 0`; the status-bar text is presentation history and is not a
readiness signal. Streamed Lit terrain also waits for its USD material source
projection and any required off-thread derived surface/normal product before
exposing the initial tile set. During startup, a status entry may intentionally
remain live at `resident == wanted` while `pending > 0`: that is render-material
publication or outstanding latest-selection work. Require `camera_cover.ready`
for the latest settled generation; `presented_ready` only describes retained
drawable geometry. `stream.selection_pending` includes unqueued follow-up and new
outputs. The query's `derived` object reads the
terrain owner's visual-map lifecycle: full visual preparation requires
`active == false`, `pending == 0`, and `ready == total`. This remains independent
of simulation readiness. Static USD DEM terrain keeps its `UsdShade`
appearance intent on the terrain owner while the generated mesh is assembled.
For rover/terrain contact, `TerrainLodStatus.contacts` reports the physics-owned
support nodes, native realization readiness and physical sampling lattice.
Each `camera_cover` row separately reports one consumed output's visual cover;
neither residency result establishes the other. Use `include_geometry` and
`mesh_entity` to inspect a retained visual mesh with its owning camera's stitch
and morph context. Native `Raycast` contacts establish physical support.
Route and wheel marks use the existing source-bound annotation texture; inspect
`InspectUsdCurveView` and `InspectVehicleTrail` alongside captures. Exercise a
remote fixed main camera and a moving rover feed together with
`scripts/api/test_camera_terrain_views.py`.
For an interactive USD edit, query `InspectUsdViewport` before describing or
changing the visible item, then correlate its explicit view/preview handle with
`CaptureScreenshot` and `ListOpenDocuments`. Use the returned document ID,
edit target, and projected generation in typed USD commands; do not infer the
target from a tab title, file name, or entity name.
### Fixed-panel rover readout
For a fixed solar deck, list the rover-root network entity and read its
boundary ports plus the panel and battery member outputs. The useful minimum
is `solar_power`, `solar_incidence`, panel `power_out`/`generated_current_a`,
and battery `terminal_current_a`/`soc_out`. A positive mesh count or a visible
`SolarPanel` prim does not prove that current reaches the battery.
For a placed rover, pair the live pose with `QueryUsdPrim` on the composed rover
prim. Confirm the local forward-axis contract, the effective rotation op and
its `xformOpOrder`; do not infer orientation from a screenshot chosen on a
symmetry axis.
With an explicit `doc_id`, `world_position` is the authored canonical-stage
placement, composed in f64 through the USD matrix stack. It is independent of
the rendered preview and its f32 projection. Use the live pose queries for
current simulated motion. The `usd_query_api` production gate checks large
parent translations and fractional child placement through both query forms.
For a selected Editor prim, use `QueryUsdPrim { topology: true }` when the
question is why a part is visible, collidable, or not attached as expected.
Inspect `topology.parts` for the visual/collider flags, inherited purpose,
collision state, per-shape canonical bounds, local/world transforms,
source-layer/material/shader bindings, and `topology.joints` for body targets.
Treat non-empty `topology.diagnostics` as an authored-data or projection issue;
do not fill a null bound with a guessed box. `topology.projection` reports the
document/live-stage generation, while `topology.binding` reports the existing
visual-sync and physics markers for the selected runtime entity.
`collision_bounds` and `geometry_bounds` use canonical stage coordinates for
both a selected shape and an aggregate parent. Ancestor transforms and USD
reset stacks apply before accumulation. A local shape bound must not be
compared directly with those stage-space envelopes.
Cooked hull and triangle-mesh `vertices` remain in canonical stage metres.
Their `local_to_stage` contains the native f64 rigid cooking-frame pose
(`translation_m`, scalar-first `rotation_wxyz`), as it does for analytic
shapes. Invert that pose with native quaternion/vector operations to measure
the scaled cooked geometry in its own frame. Do not compare a rotated stage
AABB with local section dimensions or use the renderer's f32 topology pose
for that measurement. Static source gates should resolve and pass their
explicit document id, rather than require an active dynamic physics frame.
## Example (curl)
```bash
# what's spawned?
curl -s -X POST http://127.0.0.1:4101/api/commands -H 'Content-Type: application/json' \
-d '{"type":"ListEntities"}'
# read selected lander ports; use ListPorts to discover exact names
curl -s -X POST http://127.0.0.1:4101/api/commands -H 'Content-Type: application/json' \
-d '{"type":"ExecuteCommand","command":"ReadPorts","params":{"api_id":<lander-api-id>,"port_names":["altitude","descent_rate"]}}'
# confirm visually
curl -s -X POST http://127.0.0.1:4101/api/commands -H 'Content-Type: application/json' \
-d '{"type":"ExecuteCommand","command":"CaptureScreenshot","params":{}}' -o /tmp/x.png # then Read /tmp/x.png
```
## Gotchas
- **Direction tracker**: inspect the entire coordinate chain together: the
world-to-mount direction ports, controller setpoints, measured joint angles,
and the rendered boresight. A `locked` or low-error controller output alone
can validate the same incorrect frame convention that points the mechanism
away from its target.
- **`read_ports` without an `api_id` is huge** — always `name_filter` and/or `ports`.
- **`api_id` (API-stable) ≠ the rhai `GlobalEntityId`** — get `api_id` from `list_entities`, don't reuse a gid from a script.
- **Port not found / empty?** The entity may be pre-compile (Modelica hasn't produced variables yet — `cosim_status` shows nulls until it does), or the name is a USD-path substring you haven't matched. List its ports first with `read_ports {api_id}` (no `ports` filter) to see the real names.
- **Wrong port?** The canonical API port is **4101**; set `LUNCO_API_PORT=4101` if the MCP tools miss.
- **Don't restart to "get clean state"** — read the running instance; see the ⚠️ in [`test-via-api`](../test-via-api/SKILL.md).
- **One-shot vs series:** `read_ports` samples once (call again for fresh values); use `watch_ports` for a time-series — don't sleep-loop `read_ports`.
For continuously updated wheel tracks, pair `InspectVehicleTrail` history and
publication reads with screenshots after sustained movement past a waypoint.
CPU publication alone cannot establish that a resized annotation image reached
the material's GPU binding. The render binder owns descriptor-change rebinding;
ordinary content uploads must preserve readiness.
For incremental terrain strokes, compare `InspectUsdCurveView.index_patch_bytes`
with `uploaded_patch_bytes` and `uploaded_patch_batches`. The first describes
worker output; the latter acknowledge writes queued by the render adapter.
`index_full_uploads` must remain unchanged for local edits within resident
capacity. Source revisions identify CPU publication, not completion of a GPU
submission. `uploaded_patch_sequence` at or beyond `index_upload_sequence`
acknowledges inclusion of the source patch despite render-side coalescing.
Wheel marks are physical ground colour: verify a trail crossing a vehicle or
terrain shadow becomes dark with the surrounding soil. Route colours remain
unlit overlays. `SurfaceCurveAnnotation.receives_lighting` selects the material
pass for wheel trails; publication counters alone cannot verify that lighting.
Inspect contact marks close up as well as from the route camera: the neutral grey
should blend into the soil through the inward feather, with terrain texture and
shadow response visible through it. A paint-like opaque ribbon is not acceptable.
Physical-wheel trails read native solved contacts for every `PhysicalWheel`,
including wheels bound to a `PhysicsMaterial`. They do not depend on the
optional shared slip-force realization being present.