# System Pipeline

> Generated from repository source files. Do not edit this page directly; edit the source file listed below and rerun `vp run docs:generate`.

> Source: `system/pipeline.md`

## System Pipeline

Status: `inferred`

Implementation-facing record schemas are defined in `system/runtime-interfaces.md`. This file remains a high-level pipeline map.

```text
RGB/RGB-D camera
  -> YOLO object detection
  -> candidate manager
  -> candidate freeze
  -> SSVEP stimulus binding
  -> EEG acquisition
  -> SSVEP target decoding
  -> MI mode decoding
  -> decision fusion state machine
  -> robot planning
  -> approach and grasp execution
  -> visual/end-effector verification
```

## Interface Map

| Interface | Data | Open Questions |
| --- | --- | --- |
| Vision to candidate manager | `Vision Frame`, `Object Detection`, `Candidate` | tracking ID, jitter tolerance, max candidate count |
| Candidate manager to stimulus | `Candidate Freeze Set`, `Stimulus Binding` | refresh rate, target freeze duration |
| EEG to decoders | `EEG Window` | hardware, sampling rate, sync latency |
| Decoders to fusion | `SSVEP Decision`, `MI Decision` | threshold, consecutive-window rule |
| Fusion to robot | `Fused Intent`, `Safety Gate Result` | safety gate and recovery policy |
| Robot to verifier | `Robot Plan`, `Robot Execution`, `Verification Result` | success criteria and logging |
