Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions docs/hardware/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# WineBot virtual and physical hardware venue preflight (R081)

**Disposition: NOT_READY_FOR_HARDWARE_TEST.** This is an executable *plan*
and a synthetic fail-closed shape check, not a device test, security review,
image admission, or permission to access actual hardware. All eight mandatory
pre-hardware gates in the [roadmap](../roadmaps/2026-11-autonomous-rdte-hardware-gates.md)
remain open.

## Purpose and evidence boundaries

WineBot can be hosted inside a Linux/amd64 container or a Linux VM, but
container qualification does not establish actual TrueNAS/KVM, QEMU TCG,
GPU/audio/USB/gamepad, native Windows or assistive-technology behavior.
The venue plan deliberately separates those execution environments.

| Venue | Required observation before acceptance |
| --- | --- |
| Linux/amd64 OCI container | Pinned image, cgroup/UID/permissions, real app input/output, STOP and state replay |
| TrueNAS/KVM Linux VM | Exact guest/kernel, VirtIO/display/audio interfaces, qualified container inside guest, replay |
| QEMU/TCG emulated devices | Exact synthetic motherboard/device/driver contract and observable event evidence; no physical claims |
| Existing WinBot native Windows VM | Exact licensed Windows build and matched application/fixture postconditions as a behavioral oracle |
| Physical GPU/audio/USB/gamepad/AT | Explicit owner venue admission, device/driver inventory, real human and assistive acceptance, rollback |

No source or binary with private provenance is to be put on public hosted runners.
Historical GHCR development digests are **not** admitted hardware candidates.
No source upgrade, live Wine prefix mutation, Docker socket mount, arbitrary
host-device pass-through, external network access or new registry publication is
authorized by this planning artifact.

## Offline validation

The [machine-readable plan](venue-plan-v1.json) intentionally has missing
candidate digests, NOT_RUN observations and no review or rollback receipts.
From repository root:

python3 scripts/ci/verify_hardware_venue_plan.py docs/hardware/venue-plan-v1.json
python3 -m pytest -q tests/test_hardware_venue_plan.py

The first command succeeds only as valid-draft: NOT_READY_FOR_HARDWARE_TEST.
The following command **must return exit code 3** and refuse a promotion claim:

python3 scripts/ci/verify_hardware_venue_plan.py docs/hardware/venue-plan-v1.json --require-ready

This checker validates a small static public plan. It cannot authenticate
GitHub receipts, OCI descriptors, keyless attestations, independent security
reviewers, workload-capture privacy, or physical test results. A syntactically
valid receipt is **not** provenance proof. Do not promote images or update
readiness gates using this checker alone.

## Next admitted work

1. Independently bind a *new* candidate source SHA, exact OCI manifest subjects,
rights/driver inventory, tested objects and signed review evidence without
enabling publication. Use read-only verification and negative tests.
2. In authorized disposable **VMs**, exercise actual KVM, guest/container
cgroup and UID boundaries, QEMU emulated display/input/audio/USB sensors,
state preservation and human STOP. Record UNKNOWN where not observable.
3. Use existing WinBot for the native Windows oracle, and install only an
admitted WinInspect provider with the required wire contract. Keep private
source and raw traces in private custody.
4. Prepare backup/restore and device rollback manifests before any physical
GPU, audio, gamepad or accessibility hardware test; acquire the required
physical venue approval separately.

Software emulation, synthetic CI, or a successful hosted-runner screenshot
does not establish physical hardware qualification.
164 changes: 164 additions & 0 deletions docs/hardware/venue-plan-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
{
"schema": "winebot.hardware-venue-plan.v1",
"disposition": "NOT_READY_FOR_HARDWARE_TEST",
"reference_source_sha": "8efcc5133dd773af9bae0d9b9555bbab0c011a65",
"wine_major_floor": 11,
"image_digests": {
"runtime": null,
"instrumented": null
},
"controls": {
"physical_execution_authorized": false,
"publication_authorized": false,
"private_data_on_public_runners": false,
"modify_live_prefix": false,
"untrusted_host_mounts": false
},
"rollback": {
"use_isolated_prefix_clone": true,
"backup_receipt": null,
"restore_receipt": null,
"cleanup_receipt": null,
"external_side_effects_not_rollbackable": true
},
"gates": [
{
"id": "source-and-immutable-image",
"status": "NOT_RUN",
"receipt": null
},
{
"id": "wine11-soak-and-recovery",
"status": "NOT_RUN",
"receipt": null
},
{
"id": "disposable-state-and-rollback",
"status": "NOT_RUN",
"receipt": null
},
{
"id": "real-application-and-game",
"status": "NOT_RUN",
"receipt": null
},
{
"id": "installer-capture-and-replay",
"status": "NOT_RUN",
"receipt": null
},
{
"id": "human-agent-control-and-accessibility",
"status": "NOT_RUN",
"receipt": null
},
{
"id": "supply-chain-and-custody",
"status": "NOT_RUN",
"receipt": null
},
{
"id": "bounded-hardware-test-manifest",
"status": "NOT_RUN",
"receipt": null
}
],
"venues": [
{
"id": "linux-amd64-container",
"kind": "container",
"status": "NOT_RUN",
"receipt": null,
"device_capabilities": {
"gpu": "UNKNOWN",
"display": "UNKNOWN",
"audio": "UNKNOWN",
"gamepad": "UNKNOWN",
"usb": "UNKNOWN",
"assistive_technology": "UNKNOWN"
},
"acceptance": [
"Recreate a fresh image by digest without writing to the host prefix",
"Verify effective UID, capabilities, cgroup limits, viewer and broker STOP"
]
},
{
"id": "truenas-kvm-linux-vm",
"kind": "vm",
"status": "NOT_RUN",
"receipt": null,
"device_capabilities": {
"gpu": "UNKNOWN",
"display": "UNKNOWN",
"audio": "UNKNOWN",
"gamepad": "UNKNOWN",
"usb": "UNKNOWN",
"assistive_technology": "UNKNOWN"
},
"acceptance": [
"Record exact guest OS/kernel/virtio/display/drivers and CPU virtualization exposure",
"Run digest-pinned Linux container, isolate and replay prefix/user state"
]
},
{
"id": "qemu-tcg-device-emulation",
"kind": "emulated",
"status": "NOT_RUN",
"receipt": null,
"device_capabilities": {
"gpu": "UNKNOWN",
"display": "UNKNOWN",
"audio": "UNKNOWN",
"gamepad": "UNKNOWN",
"usb": "UNKNOWN",
"assistive_technology": "UNKNOWN"
},
"acceptance": [
"Record emulated CPU, GPU/framebuffer, audio, USB and input interfaces as synthetic vantages",
"Demonstrate end-to-end device observations without claiming physical GPU or AT"
]
},
{
"id": "winbot-native-windows-oracle",
"kind": "native-windows",
"status": "NOT_RUN",
"receipt": null,
"device_capabilities": {
"gpu": "UNKNOWN",
"display": "UNKNOWN",
"audio": "UNKNOWN",
"gamepad": "UNKNOWN",
"usb": "UNKNOWN",
"assistive_technology": "UNKNOWN"
},
"acceptance": [
"Use existing WinBot native Windows VM with exact OS media, licensing and target build provenance",
"Compare identical rights-cleared fixture postconditions to both Wine modes"
]
},
{
"id": "physical-gpu-audio-input-at",
"kind": "physical",
"status": "NOT_RUN",
"receipt": null,
"device_capabilities": {
"gpu": "UNKNOWN",
"display": "UNKNOWN",
"audio": "UNKNOWN",
"gamepad": "UNKNOWN",
"usb": "UNKNOWN",
"assistive_technology": "UNKNOWN"
},
"acceptance": [
"Require separate owner admission and record exact GPU driver/display/audio/gamepad/assistive device identities",
"Verify rollback, human STOP, accessibility and native input/video/audio receipts on physically attached hardware"
]
}
],
"notes": [
"Planning-only evidence; no real venue was probed or approved by this file.",
"Historical November 28 GHCR development images are not hardware candidates.",
"Virtual/emulated device behavior never implies physical driver, audio, USB or assistive-technology acceptance.",
"No source change, registry publication or physical action is authorized by this manifest."
]
}
1 change: 1 addition & 0 deletions scripts/ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ pytest \
tests/test_health_network_observation.py \
tests/test_disposable_launcher.py \
tests/test_disposable_layer_contract.py \
tests/test_hardware_venue_plan.py \
tests/test_layered_volume_preflight.py \
tests/test_mvp_control_safety.py \
tests/test_mvp_control_api.py \
Expand Down
Loading