# Intelligent Driver-Aware Automotive Companion

**Engineering program plan — detailed continuation of the MVP baseline**

**Plan date:** 2026-11-29

**Baseline source:** [DRIVER_AWARENESS_MVP_BASELINE.md](./DRIVER_AWARENESS_MVP_BASELINE.md)

**Master-program source:** The pasted master engineering prompt supplied with this task

**Status:** Preliminary engineering plan. No prototype, measured performance, certification, supplier qualification, or production claim is established.

## 1. Executive summary

The product is a compact aftermarket automotive device that:

1. Performs local, non-diagnostic driver-monitoring from a face/head camera.
2. Estimates observable temporal indicators of reduced attention or fatigue with uncertainty.
3. Presents proportionate visual, audible, and—only where justified—haptic feedback.
4. Offers an optional, safety-restricted conversational companion.
5. Continues core monitoring and warnings without Internet or phone connectivity.
6. Minimizes raw video, audio, identity, and driving-history retention.
7. Supports a restrained MVP rather than medical detection, autonomous driving, or vehicle control.

The baseline's PoC recommendation remains **Alternative A: a Linux edge board** for sensor and pipeline feasibility, with the automotive/NDA-class platform decision deferred to later evidence. The baseline shortlist remains Raspberry Pi 5 8 GB for PoC 1, Jetson Orin Nano Super for PoC 2, and TI TDA4VM or NXP i.MX 8M Plus as production evaluation candidates. Exact production cameras, processors, NIR parts, lens, mounting, power protections, and costs remain unresolved.

**Highest-priority proof objective:** determine whether a documented camera/compute stack can acquire stable eye/head evidence across representative lighting and geometry, produce repeatable temporal evidence, and fall safely into a degraded state without unsupported safety claims.

**Top safety rule:** if sensor quality or health is insufficient, the state machine shall communicate that monitoring is unavailable rather than interpreting missing evidence as normal or alertness.

### Evidence legend

- **Established baseline decision** — retained from the existing MVP baseline; it remains provisional until approved through the Gate A process.
- **Verified source** — supported by a primary or official source listed in this document.
- **Proposed target** — not yet justified by test evidence.
- **Estimate** — an explicitly assumed planning value, not a measured result.
- **Unknown** — no defensible value or selection exists yet.
- **Blocked** — evidence or an external specialist decision is required.

## 2. Preserved product definition and MVP scope

### 2.1 Intended use

**Established baseline decisions:**

- Initial users are regular commuters and drivers of vehicles that lack a supported built-in monitoring system.
- Excluded initial use cases are commercial fleets, professional drivers, minors, and regulated vehicle categories.
- The device does not control steering, throttle, brakes, restraints, or vehicle safety systems.
- It does not determine sleep with certainty, diagnose a medical condition, or replace rest or responsible driving.
- It does not continuously upload or retain raw cabin video by default.
- It does not require a phone or Internet connection for essential monitoring and warnings.
- It does not encourage continued driving or present conversation as a substitute for rest.

**Assumption for planning:** the first deployment is a consumer, standalone, removable-device concept for the US market. This assumption is not a regulatory conclusion and must be revisited after target-jurisdiction analysis.

### 2.2 MVP feature classification

| Classification | Feature | Product decision |
|---|---|---|
| MVP essential | Local camera acquisition | Required |
| MVP essential | Face/eye/head-pose inference | Minimum indicator set |
| MVP essential | Temporal evidence fusion | Avoid isolated-event reactions |
| MVP essential | Monitoring-ready/degraded state | Prevent false confidence |
| MVP essential | Audible warning and acknowledgment | Core feedback loop |
| MVP essential | Obstruction, lighting, and thermal diagnostics | Important failure communication |
| MVP essential | Local privacy-default processing | Raw cabin video is not uploaded or continuously retained |
| MVP optional | Short local commands for silence/restart/conversation | Must not displace monitoring |
| MVP optional | Phone-assisted setup and diagnostic export | Core operation remains independent |
| Later generation | Cloud conversational assistant | Subject to safety, latency, privacy, and cost evidence |
| Later generation | OBD/CAN or app/vehicle integration | Unsupported interfaces remain excluded |
| Research-only | Gaze-based distraction score | Requires a defensible study and environment envelope |
| Research-only | Personalized PERCLOS calibration | Requires human-factors evidence and broad validation |
| Not recommended | Continuous cabin-video upload | Violates privacy-first scope |
| Not recommended | Medical or sleep diagnosis | Outside boundaries |

### 2.3 Success gates

- **Gate A:** scope, requirements, hazards, plausible components, and unknowns are documented.
- **Gate B:** a reproducible camera pipeline is demonstrated on recorded/controlled samples; no safety claim is made.
- **Gate C:** the embedded pipeline operates locally with measured acquisition, inference, power, thermal, and fault behavior.
- **Gate D:** state-machine and alert-priority integration is tested, including voice interruption.
- **Gate E:** integrated hardware passes mechanical, visibility, power, thermal, privacy, and extended-reliability review.
- **Gate F:** pre-production evidence is complete for regulatory, security, suppliers, manufacturing, support, and claims.

## 3. Stakeholder requirements and use cases

### 3.1 Stakeholder register

| Stakeholder | Primary need | Potential conflict | Design treatment |
|---|---|---|---|
| Driver | Timely, understandable support | Conversation, display, or controls may distract | Safety output priority; concise speech; parked setup |
| Passenger | Privacy and no unintended data collection | Passenger speech may trigger assistant | Conservative voice attribution; passenger interaction not enabled in MVP |
| Vehicle owner | Simple, removable, reliable device | Mounting and vehicle compatibility vary | Documented placement envelope; no permanent modification |
| Installer/user | Installation without technical expertise | Camera alignment varies by seat/vehicle | Parked alignment assistance and repeatable fit criteria |
| Support team | Diagnosable failures | Diagnostics may contain personal data | Structured, opt-in, non-media logs |
| Manufacturer/engineering team | Maintainable design | Cost and feature pressure can weaken safety | Requirement traceability and gate enforcement |
| Repair technician | Safe replacement and reset | Unknown calibration/lock state | Documented removal, reset, and RMA flow |
| Privacy reviewer | Purpose, minimization, deletion | Cloud voice and analytics may expand data use | Local-first default; affirmative separate consent |
| Regulatory reviewer | Defensible claims and market obligations | Product marketing may imply safety guarantees | Prohibited claim list and jurisdiction matrix |
| Insurance/fleet stakeholder | Operational evidence | Initial scope excludes fleets | No fleet/deployment claim until separate analysis |

### 3.2 Requirements baseline

All baseline IDs below remain **proposed**, as defined by the baseline, and require approval before implementation evidence is marked complete.

| ID | Requirement | Priority | Rationale | Verification | Acceptance criterion | Status |
|---|---|---|---|---|---|---|
| SYS-001 | Monitoring shall operate locally without Internet or phone. | Essential | Offline core promise | Offline startup test | Local monitoring states work with external connections disabled | Proposed |
| SYS-002 | The system shall expose baseline operational states. | Essential | Prevent false-ready presentation | State-transition test | Each state is reachable and logged | Proposed |
| SYS-003 | The device shall not control vehicle actuators or safety systems. | Essential | Product boundary | Interface review | No actuator or control-bus interface exists | Proposed |
| SAF-001 | Nonessential speech shall be suppressed during high-priority warning. | Essential | Preserve warning priority | Audio injection test | Warning remains highest active output category | Proposed |
| SAF-002 | Monitoring Degraded shall be entered on face tracking or camera health failure. | Essential | Avoid false assurance | Fault-injection test | Ready indication clears within the approved self-test deadline | Proposed |
| SAF-003 | Concerns shall not be presented as certainty of sleep or medical impairment. | Essential | Honest communication | UI/audit review | No forbidden certainty or diagnosis language appears | Proposed |
| DMS-001 | Eye, head-pose, and persistence features shall use a bounded temporal window. | Essential | Core indicator set | Unit/integration test | Timestamp and window bounds are recorded | Proposed |
| DMS-002 | An isolated feature shall not issue a warning outside validated temporal policy. | Essential | Reduce nuisance alerts | Replay test | Synthetic isolated events do not warn | Proposed |
| DMS-003 | Insufficient image quality shall be indicated. | Essential | Failure communication | Fixture tests | Obstruction/contrast fault produces degraded feedback | Proposed |
| PWR-001 | Supply shall be protected against specified faults. | Essential | Automotive robustness | Electrical bench review | Design passes qualified transient/load tests | Proposed |
| PWR-002 | Restart shall clear active readiness until self-tests pass. | Essential | Prevent stale state | Power-cycle test | No Ready state before camera/timing/model checks pass | Proposed |
| PRI-001 | Raw video shall not upload without affirmative, separate consent. | Essential | Cabin privacy | Network/privacy audit | Default has no outbound camera data | Proposed |
| PRI-002 | Reset shall remove local personal data, credentials, and pairing state. | Essential | Resale/privacy | Reset test | Post-reset storage scan passes approved test | Proposed |
| AUD-001 | Warning shall use a distinct non-conversational pattern. | Essential | Immediate comprehension | Human-factors test | Warning is not masked by other audio | Proposed |
| THM-001 | Thermal protection shall activate before measured safe limit. | Essential | Thermal safety | Thermal chamber test | Threshold and margin are documented | Proposed |
| VER-001 | Safety-state transitions shall be timestamped and replayable. | Essential | Verification/debugging | Replay test | Transitions reconstruct from recorded inputs | Proposed |

### 3.3 Additional product requirements

| ID | Requirement | Priority | Verification method | Acceptance criterion | Status |
|---|---|---|---|---|---|
| SYS-004 | Missing or invalid sensing evidence shall not be interpreted as a normal sample. | Essential | Fault replay | No clear-ready or concern-clear transition for missing evidence | Proposed |
| SYS-005 | The voice subsystem shall not write safety evidence or safety state. | Essential | Interface test | Negative test confirms no write path | Proposed |
| SYS-006 | Network loss shall not disable the local monitoring pipeline. | Essential | Network disconnect test | Monitoring state remains governed only by local health | Proposed |
| SYS-007 | Settings that materially affect safety shall require parked interaction when feasible. | Essential | UI/state test | Moving-state or unknown-motion policy blocks setup actions | Proposed |
| SYS-008 | The app shall not be required for daily monitoring. | Essential | Device-only test | Startup, monitoring, warning, and silence work without app | Proposed |
| SAF-004 | Warning repetition shall obey a validated cooldown and recovery policy. | Essential | Replay/human-factors test | Policy parameters and repetition behavior pass review | Proposed |
| SAF-005 | A low-confidence or intermittent track shall degrade rather than issue certainty claims. | Essential | Synthetic track-loss tests | Ready indication becomes degraded or low-confidence | Proposed |
| DMS-004 | The pipeline shall report image quality and track confidence independently of concern state. | Essential | Unit/integration test | Records quality/confidence fields for every evidence epoch | Proposed |
| DMS-005 | A user shall be able to skip optional calibration. | Essential | Usability test | Skipping is complete, clear, and reaches a safe degraded/ready policy | Proposed |
| AUD-002 | Critical warning output shall interrupt assistant and ordinary media as specified. | Essential | Audio arbiter test | Configured priority order is preserved | Proposed |
| MEC-001 | Mount and enclosure shall not occupy airbag deployment paths or obstruct required visibility. | Essential | Fit review and qualified vehicle geometry review | Approved installation positions only | Proposed |
| PWR-003 | Brief power interruption shall never leave stale Ready or Warning state active. | Essential | Brownout/restart test | State returns to startup/self-test and is visibly reported | Proposed |
| THM-002 | Performance throttling shall reduce monitoring claims or enter Thermal Limited. | Essential | Thermal stress test | State and status remain consistent with measured health | Proposed |
| SEC-001 | Firmware packages shall be authenticated before execution. | Essential | Update negative tests | Unauthorized, corrupt, and interrupted packages fail safely | Proposed |
| PRI-003 | Routine logs shall exclude raw camera frames and raw microphone audio. | Essential | Storage/network audit | No media fields in routine log or export | Proposed |
| APP-001 | Detailed setup and diagnostic tasks shall be parked-only. | Essential | App motion-policy test | Motion or unknown-motion blocks unsafe setup actions | Proposed |
| REG-001 | Public claims shall be limited to verified and documented capabilities. | Essential | Claims/legal review | No prevention, guaranteed-detection, or medical claim appears | Proposed |

Any numeric value not present in a source-backed, approved requirement is a proposed target or unknown and shall be recorded in a verification plan before use.

### 3.4 Use-case specification

The following table preserves all 34 master-prompt use cases. Detailed sequence expansions are required in an implementation work-package review.

| UC | Use case | Preconditions | Normal/alternate sequence | Safety implications and end state |
|---|---|---|---|---|
| UC-01 | First-time installation | Device unpacked; parked vehicle | Identify mount, connect power, open app only if used, run placement check | End: installed position confirmed or setup incomplete/degraded |
| UC-02 | Initial camera positioning | Camera view available; vehicle parked | Alignment guide, seating-range check, capture self-test, save only non-identifying settings | End: Ready or explicitly unsupported/blocked |
| UC-03 | Initial microphone/speaker setup | Parked; quiet baseline | Mic level and speaker test; stop on warning priority conflict | End: audio self-test pass/degraded |
| UC-04 | Driver profile-free operation | No user profile required | Default policy and session-local feature baseline | End: monitoring Ready or Degraded |
| UC-05 | Vehicle startup | Power connected | Start, self-test, camera/model/thermal checks | End: Ready only after all local checks |
| UC-06 | Normal operation | Ready state | Acquire evidence; classify no concern or normal observation; minimal feedback | End: remain Ready/Normal |
| UC-07 | Early concern | Repeated indicators emerge | Use temporal policy; informational status or low-priority prompt | End: concern resolves, repeats, or degrades |
| UC-08 | Repeated concern | Evidence persists across policy window | Enter Attention Warning; interrupt only nonessential output | End: acknowledge, resolve, or escalate |
| UC-09 | High-priority warning | Serious validated pattern or repeated escalation | Highest monitoring alert, clear safe-break recommendation | End: acknowledge/recovery or continue according to policy |
| UC-10 | Driver acknowledgment | Warning active | Accept explicit acknowledgment or safety command; observe cooldown | End: warning state de-escalates or remains bounded |
| UC-11 | Break recommendation | Sustained concern or repeated warning | Recommend stopping safely; do not diagnose or demand | End: normal after recovery or continued warning escalation |
| UC-12 | Camera obstruction | View blocked/blurred | Degrade immediately; suppress false concern clearing | End: monitor unavailable until obstruction clears |
| UC-13 | Sunglasses | Optical rejection/dark lens | Quality confidence lower; do not infer normal eye openness | End: Degraded or data-availability status |
| UC-14 | Prescription glasses | Glare/reflection/valid view | Use available confidence; surface degraded quality if needed | End: conditional monitoring or degraded |
| UC-15 | Nighttime | NIR/visible capture as configured | Validate exposure and eye-region quality; no visible flashing | End: Ready if measured quality passes |
| UC-16 | Poor lighting | Low image quality | Increase checks or enter degraded state | End: no false readiness |
| UC-17 | Strong sunlight | Saturation/backlight | Switch exposure/quality policy | End: degraded if conditions remain unsafe |
| UC-18 | Overheating | Temperature threshold reached | Enter Warm/Thermal Limited/Critical; stop unsafe processing | End: shutdown or recovery after recheck |
| UC-19 | Processor restart | Process/watchdog recovery | Reinitialize; clear stale active states | End: startup/self-test |
| UC-20 | Internet loss | Cloud unavailable | Core monitoring remains local; assistant unavailable/local fallback | End: monitoring independent |
| UC-21 | Bluetooth loss | Paired route unavailable | Use internal speaker/phone optional; no monitoring change | End: degraded assistant/connection state |
| UC-22 | Phone unavailable | App absent/offline | Device-only operation | End: core monitoring remains available |
| UC-23 | Voice assistant unavailable | ASR/model/network fault | Keep monitoring; display local status | End: no voice feature but local monitoring |
| UC-24 | Multiple people speaking | Mixed passenger/driver audio | No reliable speaker attribution; conservatively ignore or reject | End: assistant restricted |
| UC-25 | Music playing | Audio output active | Echo cancellation and priority; do not mask warning | End: warning takes priority |
| UC-26 | Incoming call | Call/media focus change | Warning must interrupt; resume no long assistant response | End: call handling plus monitoring |
| UC-27 | Navigation prompt during warning | Navigation output active | Navigation may duck or cancel; warning remains audible | End: warning policy governs |
| UC-28 | Driver requests silence | Explicit while moving | Silence optional speech; preserve essential warning category | End: silence ack; warning still active |
| UC-29 | Driver disables conversation | Consent/settings action | Disable wake-word/cloud/voice where parked | End: local monitoring unchanged |
| UC-30 | Driver changes vehicle | Remount or geometry changes | Re-run alignment and power/placement checks | End: Ready only after validation |
| UC-31 | Software update | Update available | Download only per policy; verify/signature; A/B swap; rollback | End: tested active version or recovery |
| UC-32 | Privacy setting change | Signed-in/app or local control | Apply camera/mic/cloud/telemetry changes; confirm hardware state | End: change confirmed or rolled back |
| UC-33 | Reset/resale | Owner action or reset | Delete media, derived state, logs, accounts, credentials, pairing | End: unowned startup state |
| UC-34 | Emergency/abnormal shutdown | Power loss/watchdog/thermal fault | Preserve only integrity-checked settings; clear active states | End: startup self-test on next power |

### 3.5 Operating modes

| Mode | Active functions | Inactive/nonessential functions | Visible/audio behavior |
|---|---|---|---|
| POWERED_OFF | Hardware protection only | All monitoring/audio | Off |
| STARTING/SELF_TEST | Camera, timing, model, storage, thermal, audio health | Ready warnings/assistant | Short startup status |
| MONITORING_READY | Local pipeline and alert engine | Cloud features optional | Explicit Ready/active indicator |
| MONITORING_DEGRADED | Health reporting and safe recovery | Warning policy if evidence remains insufficient | Clear degradation message |
| ATTENTION_CONCERN | Evidence fusion and escalation/de-escalation | Optional assistant complexity | Proportionate prompt |
| HIGH_PRIORITY_WARNING | Alert arbitration and warning | Nonessential assistant/media | Distinct warning |
| VOICE_CONVERSATION_ACTIVE | ASR/model/TTS subject to restrictions | Complex interaction if high workload | Brief replies |
| VOICE_RESTRICTED | Local wake/essential commands | Cloud/conversation | Restriction status |
| THERMAL_LIMITED | Health/temperature reduction | Optional compute/audio if limited | Thermal status |
| HARDWARE_FAULT | Watchdog, logging, fault UI | Monitoring if a critical sensor fails | Fault/degraded indication |
| UPDATE | Signed package verification and swap/rollback | Safety monitoring where safe boot cannot guarantee it | Update status |
| PRIVACY_DISABLED | Local reset/privacy controls | Camera/mic/cloud features by setting | Hardware status accurately shown |

### 3.6 System context

```text
+-------------------+       +-------------------+
|      Driver       |       |     Passenger     |
+---------+---------+       +---------+---------+
          |                           |
          | voice / view / acknowledge|
          v                           v
+---------------------------------------------+
|       Intelligent Driver-Aware Device       |
|                                             |
| Camera | compute | alert engine | audio     |
| power | storage | connectivity | update     |
+------+-------------------+------------------+
       |                   |                  |
       | local bus         | optional         | optional
       v                   v                  v
+---------------+  +----------------+  +----------------+
| 12 V/USB-C   |  | Smartphone/app |  | Cloud AI       |
| vehicle power|  | config/logs    |  |/update/support |
+---------------+  +-------+--------+  +-------+--------+
                            |                  |
                            v                  v
                    +----------------+  +------------------+
                    | Vehicle audio  |  | Weather/navigation|
                    | if authorized  |  | optional services|
                    +----------------+  +------------------+
```

Trust boundaries:

- **Camera/audio hardware boundary:** active hardware state and default local-only processing.
- **Safety boundary:** typed evidence into the alert engine; no conversational writes.
- **Device/phone boundary:** pairing, setup, logs, consent, update status; no required daily control.
- **Device/cloud boundary:** encrypted, authenticated, opt-in assistant/update traffic; no raw media by default.
- **Device/vehicle boundary:** power and optional authorized audio only; no vehicle control integration.

## 4. System architecture and interfaces

### 4.1 Architecture alternatives

| Alternative | Design | Advantages | Disadvantages | Status |
|---|---|---|---|---|
| A — Linux single-processor PoC | One embedded/Linux board runs acquisition, vision, temporal logic, state machine, and optional AI services | Fastest experimentation and lowest integration effort | Shared resource/fault domains, board-level thermal/supply/lifecycle gaps | **Selected for PoC 1/2** |
| B — Safety monitor + application processor | Low-power real-time monitor or MCU owns local safety evidence; app processor owns audio/network/UI | Strong fault isolation and potentially lower monitor power | More interfaces, boot coordination, and integration cost | Evaluate for production |
| C — Hybrid local monitor/cloud assistant | Local device keeps all monitoring and alert decisions; cloud is used only for optional natural language | Strong privacy/safety separation and network independence | Provider cost, latency, security, and update management | Later/optional design |
| D — Dedicated automotive vision platform | Production candidate with automotive documentation and vision accelerators | Potential lifecycle and vision integration | Software BSP, exact OPN, package, and qualification unknown | Production evaluation |

**Baseline conflict check:** none. Alternative A remains the PoC choice. Alternatives B/C/D clarify the master-prompt comparison and do not change the baseline MVP scope.

### 4.2 Provisional subsystem architecture

```text
[Camera] --> [ISP/acquisition] --> [quality] --> [face/eyes/head pose]
                                                |
                                                v
                                     [temporal evidence]
                                                |
[temperature/watchdog/storage/self-test] ------> [v1 evidence/faults]
                                                |
                                                v
                                      [alert/state engine]
                                           /      \
                                          v        v
                                   [LED/speaker] [app diagnostics]

[Mic/AEC] --> [wake/ASR] --> [AI service broker] --> [TTS]
                                      |
                                      +--> local fallback or cloud (opt-in)
                                      |
                                      +-- controlled request only --> alert arbiter
```

The alert/state engine owns all safety outputs and is the only component that can request, escalate, de-escalate, or mute a safety warning.

### 4.3 Data-flow design

```text
Camera frame
  -> image quality
  -> face/landmarks/eye region
  -> eye/head/gaze estimates + confidence
  -> bounded temporal window
  -> typed evidence record
  -> state machine
  -> alert request
  -> audio/visual arbiter

Audio stream
  -> AEC/noise processing
  -> wake/endpoint/ASR
  -> text
  -> local/cloud service
  -> response text
  -> TTS
  -> audio arbiter

Diagnostic event
  -> non-sensitive timestamped event
  -> bounded local ring buffer
  -> optional encrypted export
```

Data handling:

- Camera frames remain process-local and are discarded after inference unless a consented research mode is active.
- Routine logs contain health and feature summaries, not raw frames or audio.
- Voice transcripts remain ephemeral unless a separately approved feature explicitly requires retention.
- Device identifiers and pairing credentials are removed on reset.
- Cloud uploads are disabled by default and require affirmative consent by purpose.

### 4.4 Interface contracts

| Interface | Inputs | Outputs | Format/unit | Update rate | Ownership/recovery |
|---|---|---|---|---|---|
| Camera acquisition | Sensor configuration, exposure, NIR state | Timestamped frames/quality | Frame with monotonic timestamp; no wall-clock requirement | **Target TBD** | Acquisition service owns reset and reacquisition |
| Face/eye/head inference | Frame; model version | Track ID, quality, confidence, head pose, eye result | Typed evidence; SI angles only if selected | **TBD**; bounded by measured pipeline | Inference service owns invalid-data return |
| Temporal evidence | Feature records and timestamps | Windowed summary plus uncertainty | Fixed epoch schema | **TBD** | Feature aggregator owns missed-sample policy |
| Alert engine | Typed evidence, health, user ack, thermal state | Alert state and output request | Enumerated state/event | Event-driven plus watchdog | State engine owns safety output |
| Audio priority | Safety/vehicle/navigation/assistant requests | Winner and duck/cancel/resume | Priority enum | Event-driven | Arbiter owns one active audio category |
| Assistant broker | Consent, text, session context | Response or unavailable | Structured request/response | On demand | Broker owns timeout and fallback |
| Update service | Signed package, active slot | Boot/result/rollback event | Manifest and package digest | Update-triggered | Update service owns rollback |
| App | Configuration/consent/export requests | Current status/export/deletion ack | Authenticated local/phone channel | On demand | Device remains authority |

Maximum latency, timeout, and resource budgets remain **unknown until Stage 2/3 measurement**.

## 5. Monitoring signals and PERCLOS

### 5.1 Purpose and limitations

The monitoring subsystem estimates observable indicators associated with fatigue or reduced attention. It shall not claim knowledge of sleep state, intent, medical condition, or guaranteed attention. Multi-signal and temporal context are required.

Missing frames or low track quality shall produce unknown/degraded status, never false normal evidence.

### 5.2 Candidate signal evaluation

| Signal | Potential use | Cannot establish | Main failure modes | Compute/privacy | Provisional contribution |
|---|---|---|---|---|---|
| Eye openness | Closure duration and recurrence | Sleep or disease | Glasses, shadows, eye shape, eyelid visibility | Lightweight per-eye estimate | Core temporal evidence |
| Blink frequency/duration | Baseline change or repeated closure | Fatigue by itself | Talking, lighting, tracking loss | Temporal counters | Supporting evidence only |
| PERCLOS-style metric | Distribution of eye closure over a window | Standalone diagnosis | Bad definition, missing data, frame rate, calibration | Rolling state/histogram | Research-only until validated |
| Head orientation | Sustained nodding/off-forward pose | Attention from pose alone | Seating, partial face, camera movement | Pose model | Supporting evidence |
| Gaze | Directional context | Distraction or attention | Mirrors, instruments, dark eyes, occlusion | Optional model | Research-only |
| Face/track continuity | Image validity and usable coverage | Health of eyes if face is hidden | Blur, obstruction, strong sunlight | Tracker health | Quality gate |
| Posture | Sustained position shifts | Sleep/attention | Seat and camera geometry | Larger model, more data | Later/research |
| Vehicle signals | Context only where lawful and authorized | Driver state | OEM variation/gateway security | Integration burden | Not in MVP |

### 5.3 Eye-state method

Evaluate four implementation families before a final model is selected:

1. **Facial landmark geometry:** low compute and transparent, but sensitive to viewpoint and eyeglass/eye-shape variation.
2. **Eye-region classifier:** direct learned classification, but sensitive to camera domain, label quality, and glasses.
3. **Lightweight neural network:** may handle more variation, but adds quantization, memory, licensing, and validation work.
4. **Hybrid geometry + learned temporal model:** can retain interpretability but requires a robust invalid-data policy.

Provisional approach:

- Use a reproducible landmark/region baseline for camera feasibility.
- Compare a quantized eye-region classifier only after baseline coverage and dataset splits are established.
- Preserve eye-level confidence and frame-quality fields.
- Do not store identity or use facial embeddings for personalization.
- Any session calibration may collect only transient calibration statistics and shall be parked, optional, and deletable.
- If skipped or unavailable, use the conservative generic policy and visibly communicate uncertainty.

No eye-threshold value is proposed as a fixed universal threshold.

### 5.4 Blink versus concerning closure

Illustrative architecture pseudocode (not validated):

```text
for each evidence_epoch:
    if track_is_invalid or quality_is_insufficient:
        update unknown_status
        apply confidence_decay
        do not clear concern merely because data is missing

    if eye_result_is_usable:
        apply temporal_smoothing(eye_result, policy_window)
        evaluate closure_hysteresis
        aggregate repeated closure events in bounded window
        update concern evidence with uncertainty

if concern_policy_threshold_is_met:
    request attention state
else if recovery_hysteresis_is_met:
    reduce concern state
else:
    remain in current state
```

Policy parameters such as observation time, closure duration, hysteresis, confidence decay, and cooldown are **experimental targets to be established from preregistered data and human-factors evaluation**.

### 5.5 PERCLOS

PERCLOS is a family of metrics based on the proportion of time or frames in which the eyes meet a defined closure criterion. The definition of closure, window, missing-data handling, frame rate, and confidence filtering materially changes the metric.

Implementation requirements:

1. Define the exact metric and closure threshold before collecting results.
2. Define a confidence-filter rule and missing-frame denominator.
3. Exclude unknown frames rather than treating them as open or closed; report coverage.
4. Compare results across the agreed frame rate and window variants.
5. Test the chosen definition across lighting, eyewear, face shape, and camera angle.
6. Report sensitivity/specificity, false alarms per operating hour, missed-event rate, confidence calibration, and subgroup performance.
7. Keep PERCLOS research-only until a qualified human-factors/clinical and data review establishes whether and how it may contribute.

**Unsupported claim prohibited:** PERCLOS shall not be described as a diagnosis or guaranteed sleep detector.

### 5.6 Head pose and gaze

Head-pose and gaze are separate estimates:

- A person may look away to inspect a mirror or instrument panel.
- The system shall not use a single off-axis gaze as a definitive distraction event.
- Head nodding is possible temporal evidence but must be interpreted with posture/seat geometry and track confidence.
- Gaze is excluded from the MVP decision policy unless validation demonstrates a defensible contribution.
- Camera displacement or partial face loss shall degrade the pose/gaze estimate.

### 5.7 Test matrix

Required participant and environment coverage:

| Dimension | Minimum matrix categories |
|---|---|
| Eyewear | No glasses, clear prescription, large frames, reflective lenses, polarized/dark sunglasses |
| Facial characteristics | Different skin tones, eye shapes, facial hair, head coverings |
| Age range | Within the lawful/ethical intended population |
| Geometry | Different seat heights, distances, pitch/roll, camera positions |
| Lighting | Day, dawn/dusk, night, streetlight, tunnel, direct sun, backlight, cabin shadow |
| Environment | Reflection, condensation, contamination, vibration, temperature |
| Tracking | Partial eye view, occlusion, blur, camera movement, missing frames |

No test population is claimed representative until subject-independent recruitment, consent, and coverage are documented.

### 5.8 Lighting and sensor placement

The PoC shall test:

- Visible-light Module 3 on the Raspberry Pi for software feasibility.
- A monochrome/global-shutter NIR candidate only after an exact sensor/module supplier package is confirmed.
- 60–90-degree field of view as a **provisional broad starting range**, not a selected lens requirement.
- Dashboard, instrument-panel, steering-column-adjacent, and portable positions.
- Windshield-adjacent/mirror-adjacent positions only after legal and visibility review.

All NIR wavelength, irradiance, duty cycle, eye-safety, and regulatory values are unknown. A qualified optical-safety review and measurement are mandatory; no LED specification shall be sourced only from marketing text.

## 6. Alert engine and human factors

### 6.1 Alert levels

| Level | Meaning | Example behavior | Numeric thresholds |
|---|---|---|---|
| Informational | Monitoring active/limited | Status indication | None |
| Early concern | Repeated indicators emerging | Low-intensity visual/status or brief prompt | TBD by validation |
| Attention prompt | Indicators persist with sufficient confidence | Clear, concise prompt | TBD |
| High-priority warning | Serious persistent pattern | Distinct audio plus clear instruction | TBD |
| System fault | Critical monitoring unavailable | Degraded/fault message | Health policy TBD |

Alert language shall be observable and non-definitive, for example: “Repeated signs suggest reduced attention. If it is safe, take a break.” It shall not say “You are falling asleep” or cite a medical state.

### 6.2 Alert decision inputs

The decision engine may use:

- eye-state confidence,
- closure/repetition duration,
- head-pose confidence,
- face-tracking continuity,
- image quality,
- sensor/model health,
- calibration quality,
- alert history and acknowledgment,
- thermal state,
- active audio category.

It shall not use conversation participation as evidence of alertness.

### 6.3 Escalation and de-escalation

For each level define:

- entry condition,
- evidence persistence,
- confidence/hysteresis,
- exit condition,
- recovery window,
- cooldown,
- repeated warning behavior,
- acknowledgment,
- no-response behavior,
- uncertainty behavior,
- fault behavior.

An active warning shall not be silently cleared by sensor loss or casual conversation. Sensor loss requires a clear, bounded transition to degraded/fault status.

### 6.4 Audio priority

Provisional priority order:

1. Critical system safety warning.
2. High-priority monitoring warning.
3. Authorized vehicle-integrated warning passthrough.
4. Navigation instruction.
5. Driver-requested assistant response.
6. Background/optional audio.

This order is a proposed policy and requires automotive-audio/human-factors review. The arbiter shall define interruption, ducking, resume, and cancellation. Essential warnings must interrupt assistant speech; a long assistant response shall not restart automatically after a warning.

### 6.5 Visual and haptic alerts

- Use simple glanceable status and one alert symbol, not a content-heavy screen.
- Do not add haptics that attach to steering or controls without a separate assessment.
- Visual indicators cannot replace an audible warning for a critical event.
- Color shall not be the sole carrier of meaning.

### 6.6 Response and silence

Supported controls:

- explicit acknowledge,
- short voice silence command,
- assistant volume adjustment,
- conversation disable,
- parked-only monitoring/settings action.

Silence settings shall never permanently suppress an essential warning. Disabling monitoring shall produce a clear privacy/hardware state and shall not create false Ready indication.

## 7. Conversational AI

### 7.1 Role

The assistant is optional, calm, concise, non-manipulative, and easy to interrupt. It is not a fatigue test, medical advisor, emergency dispatcher, or navigation authority.

### 7.2 Modes

| Mode | MVP status | Restriction |
|---|---|---|
| Wake-word | MVP optional | False-activation and echo tests required |
| Push-to-talk | MVP optional | Preferred while parked or through a qualified safe control |
| Hands-free | Later | Requires robust audio and distraction review |
| Brief response | MVP optional | Short default |
| Long explanation | Later/deferred | Defer until parked |
| Quiet mode | MVP essential | Nonessential speech can be muted |
| Offline mode | MVP optional | Local fallback/limited command set |
| Safety-restricted | MVP essential | No complex interaction during concern/warning |
| Passenger interaction | Not in MVP | Attribution unreliable |

### 7.3 Personality and response policy

- Friendly, not overly familiar.
- Brief, calm, nonjudgmental, and honest.
- Comfortable remaining silent.
- No games or quizzes that increase cognitive load.
- No multi-step instruction while driving.
- No questions solely to maintain engagement.
- No statement that conversation proves the driver is safe.
- For concern/warning: interrupt, provide the safe-break recommendation, then remain quiet unless asked.

Example response classes:

| Situation | Example shape |
|---|---|
| Normal factual request | “I can answer briefly; this may depend on the source.” |
| Uncertain result | “I am not certain.” |
| Concern signal | “Repeated signs suggest reduced attention. If it is safe, stop and take a break.” |
| Warning interruption | “Warning.” then required alert sentence |
| Silence request | “Quiet mode enabled. Safety warnings will remain active.” |

### 7.4 Context and local/cloud split

Keep session context limited and ephemeral. Store only preferences and required settings across sessions. Do not store sensitive transcripts by default.

Provisional split:

- **Local:** wake-word, local safety state, local command parsing, low-risk fallback responses, connectivity status.
- **Cloud (optional):** language generation and more complex conversational requests.
- **Always independent:** camera pipeline, evidence fusion, alert engine, and local warning.

Compare fully local, cloud, and hybrid inference using measured latency, privacy, cost, power, thermal, update burden, and outage behavior.

### 7.5 Cloud boundary

Before cloud processing is enabled, document:

- exact data sent and not sent,
- affirmative purpose-specific consent,
- encryption and authentication,
- provider and subprocessor terms,
- retention/deletion,
- abuse/rate limits,
- cost per request/minute,
- model versions,
- outage behavior,
- service monitoring,
- field feedback handling.

Raw cabin video/audio and inferred identity are **not transmitted by default**.

## 8. Acoustic engineering

### 8.1 Noise conditions

Measure tire/road, wind, engine/motor, HVAC, turn signal, music, phone call, open-window, echo, and passenger-speech conditions in controlled, representative vehicles. Public-road safety testing is not an MVP substitute.

### 8.2 Microphone options

| Option | Potential benefit | Limitation | MVP disposition |
|---|---|---|---|
| One digital MEMS | Lowest cost/complexity | Weak noise rejection; more beamforming uncertainty | MVP optional only after feasibility |
| Two matched MEMS | Directional/noise and AEC options | Placement and calibration critical | Candidate |
| Multi-mic array | Better separation/beamforming | Cost, compute, size, ports | Later |
| Directional mic | Noise selectivity | Cabin geometry/speaker independence | Evaluate |

No exact MEMS, SNR, or frequency response is selected until datasheets and test samples exist.

### 8.3 Processing order

Provisional:

1. interface capture and clocking,
2. acoustic echo cancellation,
3. noise suppression,
4. AGC,
5. voice activity,
6. beamforming if justified,
7. wake-word/endpoint,
8. ASR,
9. response and TTS.

Test its own-speaker echo must not become a new wake event or command.

### 8.4 Speaker options

Evaluate a single full-range speaker, separate alert transducer, and authorized vehicle-audio route. Part selection depends on measured intelligibility, distortion, output consistency, amplifier efficiency, mounting resonance, and cabin coverage—not wattage alone.

### 8.5 Acoustic verification

Test wake false activation, missed wake, AEC, music interference, passenger speech, open-window noise, alert audibility, distortion, volume consistency, and assistant interruption latency using parked, recorded, or laboratory conditions. No public-road fatigue or distraction test.

## 9. Compute and electronics selection

### 9.1 Baseline candidate platforms

| Candidate | Verified source status | Role | Strength | Main unresolved items |
|---|---|---|---|---|
| NVIDIA Jetson Orin Nano Super Developer Kit | NVIDIA states 67 TOPS and JetPack support on official product/JetPack pages; development kit, not production-qualified | PoC 2 | Accelerated pipeline and software ecosystem | Power/thermal, board lifecycle, kit suitability |
| Raspberry Pi 5 8 GB | Official platform docs; exact availability and HAT support require confirmation | PoC 1 | Fast, low-cost iteration | Automotive qualification, production lifecycle |
| TI TDA4VM | Official TI product page exists; exact OPN/temperature grade unverified | Production evaluation | Automotive-oriented vision ecosystem | BSP, exact package, camera support, lifecycle |
| NXP i.MX 8M Plus | Official NXP product docs; exact module/unverified | Production evaluation | Broad embedded ecosystem | Vision/ISP module, thermal, production package |

Sources: [NVIDIA Jetson](https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-orin/nano-super-developer-kit/) · [JetPack](https://developer.nvidia.com/embedded/jetpack) · [Raspberry Pi docs](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html) · [TI TDA4VM](https://www.ti.com/product/TDA4VM) · [NXP i.MX 8M Plus](https://www.nxp.com/products/i.MX8MPLUS)

No candidate is production recommended until exact revision, software support, camera interface, temperature grade, lifecycle, availability, and supplier cost are verified.

### 9.2 Compute resource plan

Separate continuous and burst workloads:

- continuous camera capture, preprocessing, face/eye/head inference, temporal state, health/watchdog;
- bursty ASR, assistant response, network, update, and app operations;
- storage and telemetry kept to bounded, low-volume events.

An exact RAM, storage, CPU, accelerator, and bandwidth budget is unknown. Create a measured budget after Stage 2.

### 9.3 Camera shortlist

| Candidate | Evidence status | Strength | Unknown/limitation |
|---|---|---|---|
| Raspberry Pi Camera Module 3 family | Official accessory docs | Fast Linux integration | Exact lens/sensor suitability and nighttime/rolling-shutter envelope unknown |
| onsemi AR0144-based global-shutter monochrome module | Official sensor family page | Low rolling distortion; global capture/NIR suitability | Exact module, ISP, lens, MIPI, spectral response, and AEC unknown |
| 1 MP-class Sony IMX or equivalent global-shutter module | No exact module selected | Potential fixed-exposure IR/NIR capability | Exact OPN/driver/lens/carrier unverified |

Source: [Raspberry Pi cameras](https://www.raspberrypi.com/documentation/accessories/camera.html) · [onsemi AR0144](https://www.onsemi.com/products/sensors/image-sensors/AR0144)

### 9.4 Preliminary BOM

Existing baseline BOM categories are preserved below. Unit prices and yield are intentionally not estimated.

| Item | Provisional selection | Verification required |
|---|---|---|
| PoC compute | Raspberry Pi 5 8 GB | Availability, camera compatibility, lifecycle |
| PoC accelerator | Hailo-8L/M.2 or equivalent | Exact OPN, BSP, benchmark, power, availability |
| PoC camera | Official Camera Module 3 family | Exact lens/sensor and cable |
| Driver-camera lens | 60–90-degree FOV, focal length TBD | Cabin geometry and supplier measurements |
| NIR sensor | AR0144 or equivalent monochrome global-shutter | Complete module/ISP/driver/supplier |
| NIR illumination | 850/940 nm package or alternative | Optical-safety and supplier qualification |
| Storage | Industrial microSD/SSD/eMMC | Endurance, temperature, retention |
| Microphones | Dual or matched MEMS pair | SNR, tolerance, port, EMI |
| Speaker | Small full-range or transducer | SPL/THD, mounting, masking |
| Power input | 12-V nominal automotive source or approved USB-C | Fuse, transient, quiescent current |
| Protection | Fuse, reverse-polarity, TVS, eFuse/DC-DC | Exact OPN/AEC-Q evidence |
| Enclosure | FR/UL-rated qualified polymer or alternative | Material and flame evidence |
| Mount | High-temperature removable mount | Adhesive/retention/projectile tests |

For every item in a future BOM:
exact manufacturer/PN, supplier, datasheet, unit price date, MOQ, lead time, lifecycle, temperature, accessories, substitute, and verification status.

### 9.5 PCB architecture

Preliminary block-level requirements:

- automotive or qualified external input protection,
- reverse-polarity/overvoltage/undervoltage/ESD protection,
- buck conversion and sequencing,
- compute module,
- camera/MIPI connector,
- digital microphone interface,
- amplifier and speaker,
- wireless,
- debug/test points,
- secure element only if justified,
- temperature sensors,
- status LED/user control,
- watchdog/recovery support.

Final PCB layer count, grounding, RF, audio routing, connectors, and thermal spreader remain blocked by exact components.

## 10. Firmware and embedded software

### 10.1 Software partitioning

- hardware initialization,
- camera acquisition,
- vision pipeline,
- temporal evidence,
- alert state machine,
- audio capture/playback,
- wake-word/ASR,
- conversational broker,
- connectivity,
- update,
- diagnostics,
- power/thermal management.

Use embedded Linux for the PoC. Production may use embedded Linux, RTOS, or a hybrid safety monitor only after the architecture choice and fault boundary are validated.

### 10.2 Scheduling and latency

Create a measured budget from exposure to audible response:

```text
camera exposure/acquisition
+ timestamp and transfer
+ preprocessing
+ face/eye/head inference
+ temporal decision
+ scheduling
+ audio queue
= end-to-end alert latency
```

The baseline contains no measured latency. The first implementation shall report a target hypothesis and instrument every stage. No target will become a claim until measured on the selected hardware.

### 10.3 Watchdogs and fault recovery

Implement:

- independent hardware watchdog,
- software/service supervision,
- camera timeout,
- inference timeout,
- memory-pressure behavior,
- audio timeout/reinitialization,
- network failure handling,
- storage failure handling,
- safe restart and re-self-test.

After recovery, previous Ready/Warning status must not survive without health revalidation.

### 10.4 State persistence

Persist only settings and device information required for operation. Protect integrity. Avoid identity, raw media, or transcript storage. Use integrity checks for configuration and explicit reset behavior.

### 10.5 Diagnostic events

Structured event fields:

```text
timestamp_ns
subsystem
event_code
severity
health_status
firmware_version
non-sensitive measurement
bounded error_context
correlation_id
```

Routine logs exclude face images, video, raw audio, and transcriptions. Export is optional, reviewable, and resettable.

## 11. Computer vision and models

### 11.1 Framework evaluation

Compare by the exact target:

| Option | Evaluation dimensions |
|---|---|
| OpenCV | Capture/image utilities, CPU cost, deployment, licensing |
| MediaPipe | Ready-made face/landmark options, supported devices, production support |
| TensorFlow Lite | Quantization/toolchain, runtime, memory |
| ONNX Runtime | Hardware/runtime support and model portability |
| PyTorch | Training flexibility, deployment conversion burden |
| Vendor SDK | Hardware efficiency, exact licensing/support, lock-in |

No framework is selected as a production choice before exact hardware and software support are confirmed.

### 11.2 Pipeline

1. initialize camera,
2. acquire frame,
3. monotonic timestamp,
4. exposure/image-quality check,
5. preprocessing,
6. face detection,
7. tracking,
8. eye-region localization,
9. eye-state estimate,
10. head pose,
11. optional gaze,
12. temporal feature extraction,
13. confidence,
14. signal fusion,
15. state-machine update,
16. alert request,
17. diagnostic event,
18. health monitoring.

For each stage document input, output, sample rate, timeout, compute budget, and test method.

### 11.3 Model architecture

MVP order:

1. define a transparent baseline model or landmark method,
2. compare lightweight classifiers,
3. evaluate temporal smoothing separately from the frame-level model,
4. quantize only after validation and subject-independent splits,
5. test domain shift and thermal throttling.

Model size, input dimensions, compute, and accuracy are unknown. Do not report accuracy until a dated, consented dataset and evaluation protocol exist.

### 11.4 Dataset plan

- informed consent and purpose limits,
- participant recruitment across target lawful/ethical populations,
- subject-independent train/validation/test splits,
- lighting/eyewear/vehicle/angle stratification,
- label instructions and inter-rater agreement,
- secure storage and deletion,
- dataset/model versioning,
- leakage prevention,
- subgroup analysis,
- no secret recording,
- no induced fatigue on public roads.

No dataset is to be collected or used until privacy, consent, protocol, and security review are complete.

### 11.5 Metrics

Report:

- sensitivity, specificity,
- precision, recall,
- false alarms per operating hour,
- missed-event rate,
- detection latency,
- confidence calibration,
- performance by lighting and eyewear,
- performance by relevant participant group,
- camera obstruction detection,
- availability,
- thermal-throttling degradation,
- confidence intervals and excluded conditions.

Overall accuracy alone is insufficient.

### 11.6 Model lifecycle

- reproducible training,
- dataset/model version binding,
- signed model package,
- deployment compatibility,
- A/B/rollback,
- safety-behavior regression suite,
- field-regression review,
- update only after documented validation.

## 12. Decision engine and state machine

### 12.1 Formal states

| State | Entry condition | Permitted exit | Output/log |
|---|---|---|---|
| INITIALIZING | Power/start | SELF_TEST | startup status |
| SELF_TEST | Init complete | MONITORING_READY or fault/degraded | per-subsystem health |
| MONITORING_READY | Required health checks pass | Normal or degraded/fault | Ready status |
| MONITORING_DEGRADED | evidence/track unavailable or health degrades | Ready after self-check or fault | clear degraded message |
| NORMAL_OBSERVATION | usable evidence and no concern policy | concern/reduced/uncertain | minimal status |
| EARLY_CONCERN | repeated/provisional evidence | attention, recovery, degraded | low-priority/status |
| ATTENTION_WARNING | policy persistence met | escalate, resolve, degrade | audible/visual prompt |
| HIGH_PRIORITY_WARNING | serious/persistent policy met | acknowledge/recovery/degraded/fault | priority warning |
| CAMERA_UNAVAILABLE | camera/quality failure | recheck/ready/degraded | unavailable message |
| LOW_CONFIDENCE | usable model but insufficient confidence | ready/degraded/recovery | uncertainty status |
| THERMAL_LIMITED | thermal limit/policy reached | normal/recovery/shutdown | thermal state |
| PROCESSOR_FAULT | watchdog/process failure | recovery/fault | fault and restart |
| RECOVERY | startup or subsystem recovery | ready/degraded/fault | recovery status |

### 12.2 State transitions

Requirements:

- no direct silent transition from warning to Ready,
- missing evidence creates degraded/uncertain state,
- hysteresis prevents rapid oscillation,
- cooldown limits repeated warnings,
- acks apply only to the alert policy and not monitoring-disable permissions,
- thermal or camera faults remain visible until re-tested,
- voice state cannot write safety state.

### 12.3 Evidence fusion

Evaluate:

- rule-based fusion,
- weighted evidence,
- probabilistic fusion,
- learned temporal model.

The MVP shall prefer transparent rule/weighted evidence with preserved signal confidence, because an opaque score would make false-alert review harder. Learned fusion may be used only after explainability and calibration evidence.

### 12.4 Illustrative pseudocode

```text
on evidence_epoch:
    if health.camera != OK or quality == insufficient:
        enter_or_hold(MONITORING_DEGRADED)
        retain active warning if one existed
    else:
        evidence = fuse(
            eye_state,
            closure_persistence,
            head_pose,
            track_quality,
            image_quality
        )
        if policy.escalation_met(evidence):
            enter attention or high-priority state
        else if policy.recovery_met(evidence):
            exit concern using hysteresis
        else if uncertainty_present:
            enter low-confidence
        else:
            enter normal-observation

on alert_request:
    alert_arbiter.resolve(priority, active_audio, recent_alerts)
```

All policy terms are unresolved until validation.

## 13. Physical design, enclosure, and mounting

### 13.1 Design directions

| Direction | Provisional concept | Advantages | Unknowns |
|---|---|---|---|
| Minimal sensor pod | Compact camera/device module | Small cabin footprint | Adequate thermal/audio/cable layout |
| Integrated camera/audio module | Camera, speaker, mic, compute in one | Fewer interfaces | Optical and acoustic compromises |
| Modular sensor head | Removable head and base | Serviceability/camera placement | Connector, cost, assembly |

All dimensions are TBD. Mounting geometry and vehicle field-of-view work precede enclosure size decisions.

### 13.2 Placement review

Evaluate dashboard, instrument panel, steering-column-adjacent, windshield-adjacent, rearview-mirror-adjacent, and portable mounts. Windshield and mirror positions require jurisdiction review. All positions require:

- approved camera field of view,
- natural seating range,
- lens cleaning access,
- cable strain relief,
- vibration tolerance,
- sun/UV exposure,
- no airbag path,
- no obstruction of required visibility/control,
- no projectile risk.

Placement drawings and CAD files are deliverables for future phases, not present in this plan.

### 13.3 Mechanical requirements

- vibration/shock,
- adhesive aging,
- mount retention,
- connector retention,
- thermal expansion,
- UV and cleaning chemistry,
- accidental impact,
- airbag zones,
- cable routing,
- repair access.

No projectile-prone mount or steering/control attachment is allowed.

### 13.4 Materials

Compare qualified polymers and injection-molding methods. Prototype 3D-printed parts shall not be treated as production-approved for heat, UV, flammability, creep, or aging.

CAD deliverables:

- overall assembly,
- exploded assembly,
- enclosure,
- camera bracket,
- PCB supports,
- mount,
- cable routing,
- fasteners,
- vents/openings,
- tolerance/draft,
- assembly sequence,
- service access.

## 14. Standalone and integrated architectures

### 14.1 Standalone architecture

The standalone MVP shall work with:

| Combination | Required behavior |
|---|---|
| Device only | Monitoring and warning after self-test |
| Device + vehicle power | Start/shutdown and startup self-test |
| Device + phone | Setup/logs optional |
| Device + Internet | Optional assistant/update only |
| Device + vehicle audio | Authorized alert passthrough only |

Power options:

- approved vehicle USB-C adapter,
- fused dedicated 12-V input,
- approved accessory socket,
- professionally supported hardwire later,
- internal battery only for limited backup/portable operation.

No rechargeable battery is approved for hot-vehicle continuous operation until exact chemistry, protection, test, and certification evidence are available.

### 14.2 Startup/shutdown

- detect power presence without unauthorized vehicle access,
- run startup self-test,
- show Ready only after camera/timing/model/thermal/audio health,
- suppress stale warning state,
- gracefully stop and clear active state on shutdown,
- recheck after a brownout or brief interruption.

### 14.3 Vehicle-integrated architecture

Integration remains optional and permission-dependent.

Official sources:

- [Android for Cars](https://developer.android.com/cars)
- [Apple CarPlay](https://developer.apple.com/carplay/)

The current evidence does not establish app entitlement, vehicle-camera access, CAN access, or safety-control access. Android/CarPlay integration shall be limited to capabilities explicitly supported and approved.

Bluetooth shall be evaluated for pairing, reconnection, call/media interruptions, multi-device conflicts, and audio latency. A phone is not required for core monitoring.

OBD-II/CAN:

- read-only and documented use only,
- no steering/brake/throttle/restraint control,
- vehicle/year/trim/gateway variation documented,
- no unsupported or proprietary integration.

The dedicated camera remains the default driver-monitoring sensor until an officially supported vehicle interface is qualified.

## 15. Power and thermal engineering

### 15.1 Power budget

Create a table for idle, inference, peak, IR, audio, wireless, storage, regulator, indicator, standby, and startup-surge modes.

Required columns:
subsystem, operating mode, voltage, typical/peak current, power, source/assumption, margin, validation.

No current or wattage is asserted until component datasheets and measurements exist.

### 15.2 Power equations

```text
Power (W) = voltage (V) × current (A)

Input power (W) = sum(load power) / regulator efficiency

Thermal dissipation (W) ≈ input power - useful output power

Energy per hour (Wh) = average power (W) × 1 hour
```

Worst-case conditions require peak current and regulator efficiency assumptions. A consumer USB adapter shall not be assumed to be a validated automotive supply.

### 15.3 Electrical protection

The external power stage shall be reviewed for:

- reverse polarity,
- overvoltage,
- undervoltage,
- load-dump exposure where applicable,
- transient bursts,
- ESD,
- short circuit,
- input noise,
- connector fault,
- fuse coordination,
- fire and thermal fault.

Exact applicable vehicle transient tests and component OPNs are unknown and require a qualified electrical/safety review.

### 15.4 Thermal states

| State | Entry | Required behavior |
|---|---|---|
| Normal | Temperature within safe envelope | Full validated operation |
| Warm | Conservative lower threshold | No unsafe claim; optional compute tracking |
| Performance-limited | Temperature de-rating begins | Reduce optional work; report health |
| Thermal limited | Monitoring reliability cannot be maintained | Enter degraded/thermal protection |
| Critical/shutdown | Safety limit reached | Safe disable, persistent status, recovery retest |

Temperature limits, margins, and hysteresis are unknown until component and enclosure measurements exist.

### 15.5 Cabin temperature

The thermal analysis shall cover parked, running, cold-start, hot-soak, and cabin-temperature transitions for target markets. The camera, lens, adhesives, enclosure, PCB, wireless, battery, connectors, and mounting materials shall be checked against documented limits.

No exact “automotive grade” label is accepted without exact part/grade/qualification evidence.

## 16. Mobile UX

### 16.1 Application purpose

The app is a setup, configuration, maintenance, diagnostic, and reset tool—not a required driving control panel.

### 16.2 Required screens

- first-time setup,
- device pairing,
- parked camera alignment,
- parked microphone/speaker test,
- monitoring status,
- alert and voice preferences,
- privacy controls,
- connectivity,
- firmware update,
- health/diagnostics,
- support,
- data deletion,
- device transfer/resale.

### 16.3 Motion policy

- detailed setup/text entry is parked-only,
- motion state must be independently determined or treated unknown,
- unknown motion blocks high-distraction setup,
- app interaction cannot permanently suppress an alert,
- no reliance on an unverified “driving” signal.

### 16.4 Accessibility and localization

Plan for clear spoken language, adjustable speech rate, volume range, hearing accessibility, color contrast, simple icons, regional formats, and accents/languages. Safety-warning audibility cannot be reduced to satisfy an optional preference.

## 17. Security and privacy

### 17.1 Privacy by design

Default behavior:

- frames are processed locally and discarded after inference,
- no continuous video/audio upload,
- no persistent face identity or facial embedding,
- logs contain only bounded, non-sensitive operational events,
- location and trip history are not collected for core monitoring,
- cloud features require purpose-specific opt-in.

Before storage, each data category shall have:

- purpose,
- necessity,
- owner,
- encryption,
- retention,
- deletion,
- export,
- legal basis or consent status.

### 17.2 Privacy controls

Provide controls for:

- camera enable,
- microphone enable,
- cloud conversation,
- optional analytics,
- diagnostic export,
- data deletion,
- account deletion,
- device transfer/reset,
- update consent.

Hardware-state indicators shall reflect actual hardware state and shall not be application-only spoofable.

### 17.3 Threat model

| Threat | Asset/path | Impact | Required mitigation | Verification |
|---|---|---|---|---|
| Unauthorized pairing | pairing credentials/device | privacy/control | authenticated pairing and session keys | negative pairing tests |
| Malicious firmware | signed boot/update | monitoring tampering | secure boot/signing/rollback | corrupt/signature tests |
| Compromised app | local/cloud APIs | settings/data | least-privilege auth; rate limits | app/API threat test |
| Cloud account takeover | conversations/preferences | exposure/abuse | MFA/provider controls, scoped tokens | account and API test |
| Debug port abuse | firmware/storage/keys | extraction | lock production debug; secure provisioning | physical test review |
| Physical theft | storage/credentials | identity/data | encryption, reset, key erasure | destructive/forensic test |
| Replay | pairing/update/audio | unauthorized action | nonce/timestamp/sequence | replay test |
| Denial of service | processor/network/storage | loss of monitoring | rate limits, watchdog, degradation | fault test |
| Malicious audio | wake/ASR/assistant | false actions | allowlists, validation, restricted safety writes | fuzz/adversarial test |
| Supply-chain | components/software | counterfeit/backdoor | authorized sources, hashes, provenance | supplier/chain audit |

### 17.4 Secure boot and updates

Evaluate:

- hardware root of trust,
- signed boot and firmware,
- encrypted transport,
- rollback protection,
- authenticated model and package manifests,
- secure key storage,
- recovery mode,
- A/B/dual-bank update,
- post-update rollback if self-test fails.

Update design must never leave the unit falsely Ready after a partial or failed update.

### 17.5 Legal privacy review

Draft a plain-language data inventory and privacy notice. Jurisdiction-specific law, biometric-data rules, recording consent, app-store rules, and cloud retention require counsel. No compliance claim is made in this plan.

### 17.6 Security lifecycle

Create:

- vulnerability reporting channel,
- severity and patch SLA,
- support period,
- end-of-life policy,
- advisory process,
- key/certificate rotation,
- dependency inventory,
- incident response,
- coordinated field feedback.

## 18. Verification and validation

### 18.1 Test strategy

Progress by:

1. component,
2. subsystem,
3. integration,
4. environmental,
5. usability,
6. controlled vehicle/closed-course.

No public-road fatigue induction or dangerous distraction test is allowed.

### 18.2 Test environments

- bench camera rig,
- lighting enclosure,
- audio anechoic/noise playback setup,
- thermal chamber or qualified lab,
- vibration fixture,
- parked supervised vehicle,
- controlled closed course only after stable prototype evidence,
- software/hardware-in-the-loop.

### 18.3 Functional test matrix

| Area | Required tests |
|---|---|
| Startup/shutdown | self-test, power cycle, brownout, watchdog |
| Camera | initialization, frame timing, obstruction, blur, reflections |
| Vision | face/eye/head output, invalid output, track loss |
| State machine | entry/exit, hysteresis, cooldown, ack, degradation |
| Alert | low/medium/high, no isolated alert, repeat policy |
| Audio | priority, duck, interruption, resume/cancel |
| Voice | wake false/negative, ASR, TTS, network loss |
| Connectivity | pairing/reconnect/dropout/no-phone/offline |
| Privacy | media default, consent, deletion, reset |
| Update | signed/unsigned/corrupt/interrupted/rollback |
| Thermal | warm, limited, critical, recovery |
| Long duration | soak, storage, memory, restart, logs |

### 18.4 Performance test matrix

Measure and state the instrument/conditions for:

- frame rate,
- end-to-end alert latency,
- CPU/GPU/NPU/memory,
- power,
- temperature,
- wake-word and ASR latency,
- audio interruption latency,
- boot/recovery time,
- long-duration stability,
- false alarms per operating hour,
- missed-event rate,
- confidence calibration,
- subgroup/environment performance.

No measurement is claimed until data, protocol, instrument, and software/build ID are logged.

### 18.5 Robustness tests

- lens smudge and obstruction,
- sudden lighting transition,
- reflective/dark eyewear,
- low light,
- cabin noise/music,
- multiple speakers,
- intermittent power,
- wireless loss,
- memory pressure,
- thermal throttle,
- storage failure,
- update interruption,
- camera movement and vibration.

### 18.6 Acceptance and traceability

Every requirement shall map to:

```text
Requirement ID
Test case
Procedure
Setup
Measurement
Acceptance
Expected
Actual
Evidence
Pass/fail
Defect/retest
```

No test is passed without evidence.

### 18.7 Pilot program

Pilot only after bench and controlled validation. Define:

- eligibility and consent,
- installation review,
- training,
- support,
- data minimization,
- incident reporting,
- stop criteria,
- opt-out/deletion,
- independent review.

Pilot feedback is not a safety-effectiveness claim.

## 19. Update and logging

### 19.1 Update process

```text
manifest + signed package
  -> authentication
  -> integrity/version compatibility
  -> staged download
  -> A/B or dual-bank apply
  -> reboot
  -> self-test
  -> health/ack
  -> rollback on self-test/update failure
```

The update system shall support:

- signed firmware,
- signed model package if applicable,
- rollback protection,
- anti-replay,
- resumable download,
- recovery fallback,
- update-state reporting,
- clear no-Ready behavior before revalidation.

### 19.2 Update consent

Core security updates should not be subscription-dependent. Optional cloud AI/model features may have separate consent and retention. An update affecting safety behavior requires full regression and validation, not app-only acceptance.

### 19.3 Logging

Log only:

- health state,
- state transitions,
- subsystem faults,
- temperature and bounded resource indicators,
- firmware/model versions,
- update and reset events,
- privacy setting changes,
- warning policy decisions summarized without identity.

Do not log raw video, raw audio, transcripts, or facial embeddings in routine operation.

### 19.4 Export and retention

- bounded ring buffer,
- rotation and retention limit,
- export opt-in,
- reviewable contents,
- deletion control,
- encrypted handling during export,
- no automatic remote upload.

## 20. Safety and regulatory

### 20.1 Preliminary hazards

| Hazard | Controls | Verification | Residual unknown |
|---|---|---|---|
| False reassurance | degraded state, uncertainty, limitation language | fault replay/usability | calibration thresholds |
| Missed warning | validated temporal policy and coverage data | sensitivity testing | environment/population coverage |
| False warning | temporal hysteresis, quality filter, cooldown | false-alert analysis | threshold tuning |
| Excessive warning | de-escalation, repetition policy | human-factors test | nuisance threshold |
| Distracting speech | short, restricted, interruptible assistant | acoustic/interaction test | high-workload effects |
| Detachment/projectile | mount/material qualification | shock/vibration/adhesion | exact mount/vehicle |
| Visibility obstruction | placement review | vehicle geometry/visual review | jurisdiction rules |
| Overheating | thermal limit and shutdown | chamber test | temperature envelope |
| Electrical fault | protection and fuse | transient/short tests | exact vehicle test |
| Battery failure | no internal battery in MVP if not justified | supply/chemistry review | later product choice |
| Incorrect setup | alignment and setup test | usability/fit | representative vehicles |
| Update failure | signed A/B/rollback | fault injection | recovery latency |
| Cyber/privacy breach | threat mitigations and minimization | independent review | residual 0-day risk |

### 20.2 FMEA and safety analysis

Create FMEA entries for camera, compute, power, speaker/mic, wireless, firmware, mount, app, and update. Each entry requires:

- failure mode and cause,
- local/system/driver-facing effect,
- detection and prevention,
- mitigation,
- verification,
- owner,
- residual risk.

Use a defined rating scale before assigning ratings. ISO 26262 applicability, a safety integrity level, and the final safety claim set require qualified safety specialists.

### 20.3 Functional-safety applicability

The MVP shall not claim ISO 26262 compliance merely by being in a vehicle. Scope the applicable standards and guidance based on:

- claims,
- vehicle category,
- integration,
- intended users,
- safety impact,
- software/hardware partition.

A safety case shall have a modest top-level claim:

> The product has been designed and tested to provide specified driver-awareness support under defined conditions.

It shall not claim crash prevention or guaranteed safe driving.

### 20.4 Regulatory applicability matrix

Initial jurisdiction assumption: US. No certification is claimed.

| Domain | Initial source/review | Applicability | Current status |
|---|---|---|---|
| RF emissions | [FCC equipment authorization](https://www.fcc.gov/general/equipment-authorization) and 47 CFR Part 15 / applicable radio rules | Likely for intentional RF and digital electronics; exact module certification scope unknown | Blocked—accredited testing/legal review |
| Automotive mounting | [eCFR 49 CFR Part 571](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-V/part-571) and local visibility/mounting rules | Exact FMVSS/aftermarket scope requires counsel/safety review | Blocked |
| Electrical safety | Qualified lab/safety standard review | Depends on power architecture and battery | Unknown |
| Battery | Transport and product-safety review | Only if battery is included | Not in MVP unless justified |
| Optical/IR | IEC/optical-safety specialist | Required before human NIR use | Blocked |
| Vehicle interior | OEM packaging, material, and flammability review | Exact tests depend on materials/claims | Unknown |
| Privacy | Federal/state/local law and counsel | Jurisdiction-specific | Blocked |
| Biometric/face data | Jurisdictional legal review | Varies; transient data and opt-in matter | Blocked |
| Audio recording | Federal/state/local consent rules | Depends on processing/storage/transmission | Blocked |
| Consumer warranty | State/federal and counsel | Launch policy required | Unknown |
| App-store | Apple/Google policies | Required for mobile integration | Blocked |
| Accessibility | Jurisdiction-specific standards and counsel | Required to assess claims/features | Unknown |

The exact standards, revisions, exemptions, testing labs, and certifications shall be filled only after launch jurisdiction and architecture are fixed.

## 21. Manufacturing and quality

### 21.1 Design for manufacturing

Review part count, fastener count, assembly direction, connector access, test points, enclosure draft, wall thickness, snap-fit reliability, adhesive dependence, cable assembly, repairability, and recyclability.

Prototype parts are not evidence of production moldability or tolerance.

### 21.2 Manufacturing stages

| Stage | Purpose | Required evidence |
|---|---|---|
| Prototype assembly | Debug and methods | Repeatable lab build, design changes logged |
| Low-volume pilot | Process/process-fixture learning | First-pass yield and assembly issue list |
| Design-validation build | Verify design as built | DV tests to released drawings/specifications |
| Production-validation build | Verify supplier/line/fixtures | PV tests and controlled work instructions |
| Mass production | Repeatable production | Supplier/quality controls and field feedback |

### 21.3 Manufacturing test station

Test:

- protected input,
- boot/firmware identity,
- camera image/health/alignment,
- IR function where present,
- microphone,
- speaker,
- wireless,
- temperature sensor,
- buttons/LEDs,
- secure identity/provisioning,
- reset/factory test exit,
- final functional state.

Test recordings shall be minimized and factory test mode shall be impossible in shipped units.

### 21.4 Quality system

Define:

- incoming inspection,
- supplier qualification,
- PCB assembly inspection,
- enclosure inspection,
- functional test,
- traceability,
- serial-number policy,
- defect classification,
- rework,
- field return analysis,
- corrective/preventive action.

Burn-in is a later decision requiring evidence of a failure mode it is intended to catch.

## 22. Market, competitor, and customer research

### 22.1 Market categories

The market is not one homogeneous category. Compare:

- built-in vehicle driver-monitoring systems,
- aftermarket fatigue-warning devices,
- dash cameras with driver-facing cameras,
- navigation/voice assistants,
- general-purpose AI companions,
- privacy-focused local devices.

No competitor selection or feature comparison shall be made until official product pages and dated price/availability evidence are collected.

### 22.2 Competitor research template

For each competitor record:

- product/manufacturer,
- official page,
- checked date,
- availability,
- evidenced price,
- evidenced features,
- disclosed camera architecture,
- connectivity,
- subscription,
- privacy,
- compatibility,
- credible customer complaints,
- limitations,
- claims requiring independent evidence.

Marketing photos shall not be used to infer internal hardware.

### 22.3 Customer discovery

Ask non-leading questions about:

- existing driving habits,
- current safety technology,
- privacy concerns,
- mounting willingness,
- acceptable price,
- subscription resistance,
- desired voice use,
- reasons not to buy,
- trust in camera-based monitoring,
- concern about false warnings.

Positive concept feedback is not purchase intent.

### 22.4 Defensible differentiation

Candidates, not facts, are:

- transparent uncertainty,
- local-first operation,
- clear degraded status,
- low false-alarm burden,
- safe alert/audio priority,
- vehicle compatibility,
- privacy controls,
- modular/repairable hardware.

Each claim requires a competitor and validation review before publication.

## 23. Intellectual property and commercial plan

### 23.1 IP work

No freedom-to-operate conclusion exists. Start a patent and published-literature search in:

- eye-state monitoring,
- fatigue estimation,
- PERCLOS variants,
- alert escalation,
- sensor fusion,
- voice-assistant interruption,
- in-vehicle conversational UI,
- privacy-preserving monitoring,
- mounting/enclosure mechanisms.

For each relevant family, record title, applicant, publication number, filing date, status, and relevant claim scope. This is not legal advice or an infringement determination.

Questions for patent counsel:

- claim language relevant to the proposed architecture,
- patentability of novel combinations,
- freedom-to-operate search scope,
- design-around options,
- secrecy/trademark/domain strategy.

### 23.2 Business model

Core monitoring, safety alerts, and essential firmware/security updates shall not require a subscription. A paid service may cover actual recurring convenience/cloud costs only.

No retail price is proposed until:

- component costs are quoted,
- assembly/test/packaging/logistics are quoted,
- warranty/returns/support costs are modeled,
- launch taxes/fees are assessed,
- market willingness is measured.

### 23.3 Unit-economics model

For 1, 10, 100, 1,000, 10,000, and 100,000 units, separate:

- components,
- assembly,
- test,
- enclosure/mount,
- packaging,
- logistics/duties,
- scrap/yield,
- overhead,
- returns/warranty,
- support,
- cloud cost,
- marketing,
- payment cost.

Equations:

```text
COGS = recurring product cost + allocation for assembly/test/warranty/logistics

Gross profit = ASP - COGS

Gross margin = (ASP - COGS) / ASP

Conservative break-even volume =
  fixed launch and operating cost / (ASP - COGS - variable support cost)
```

All values remain unknown until supplier and pilot evidence.

### 23.4 Financial scenarios

Provide conservative/base/optimistic scenarios only after assumptions are documented. Include units, revenue, gross margin, returns, support, cloud, warranty, marketing, operating cost, cash need, and break-even. Label them scenarios, not predictions.

### 23.5 Brand and claims

Avoid guaranteed-safety language such as “never fall asleep,” “crash-proof,” or “guaranteed protection.” Product naming and trademark/domain checks remain a launch-readiness task.

## 24. Prototype roadmap

### 24.1 Phase plan

| Phase | Deliverables | Exit evidence | Planning estimate |
|---|---|---|---|
| 1. Requirements/feasibility | PRD, context, uses, hazards, architecture, open questions | Gate A | 2–4 weeks; assumption, team TBD |
| 2. Desktop CV PoC | Reproducible pipeline, consented data plan, model report | Reproducible, limited, known failures | 3–6 weeks; assumption |
| 3. Embedded camera prototype | Bench camera pipeline and measurements | Gate C | 3–8 weeks; depends on exact platform |
| 4. Alert prototype | State machine, audio, priority, test cases | Gate D alpha | 2–4 weeks |
| 5. Audio/voice prototype | Mic, wake/push-to-talk, AEC, TTS, failover | Interruption tests pass | 3–6 weeks |
| 6. AI integration | API boundary, privacy, network/latency failover | Monitoring independent of cloud | 2–5 weeks |
| 7. Mechanical prototype | CAD, enclosure, mount, fit study | Gate E alpha | 3–6 weeks |
| 8. Integrated engineering prototype | All subsystems integrated | Extended faults/reliability, no critical defect | 4–8 weeks |
| 9. Verification/validation | Traceability, validation report, safety case | Gate E/F evidence | 6–12+ weeks; environment dependent |
| 10. Production engineering | PCB, tooling, fixtures, suppliers, quality | Gate F supplier evidence | 12+ weeks; no commitment |
| 11. Certification/launch | Regulatory, privacy, security, warranty/support | Qualified release | Depends on jurisdiction/labs |

Ranges are planning assumptions, not promises or measured durations.

### 24.2 Stage 0–5 baseline plan

Preserve the baseline sequence:

1. Stage 0: lock test/measurement methods.
2. Stage 1: visible/NIR bench feasibility.
3. Stage 2: local face/eye/head pipeline.
4. Stage 3: alert/acoustic priority.
5. Stage 4: parked vehicle integration.
6. Stage 5: independent, supervised closed-course validation only after stability.

No public-road testing or fatigue induction.

## 25. Decision log

| ID | Question | Options | Evidence | Selected/provisional decision | Revisit trigger |
|---|---|---|---|---|---|
| DEC-001 | Which PoC architecture? | Linux SoC; MCU+app; hybrid/cloud | Baseline PoC need and team fit | Linux edge board | Camera/compute/thermal evidence |
| DEC-002 | Initial compute for PoC 1 | RPi 5; other board | Official RPi docs | RPi 5 8 GB | Supplier/camera/NPU shortage |
| DEC-003 | Camera for PoC 1 | Module 3; other | Official camera docs | Module 3 as visible-light test only | Night/lighting results |
| DEC-004 | NIR approach | Onsemi-based global shutter; equivalent | Candidate only | Exact module unresolved | Module supplier quote |
| DEC-005 | Core operation | Online/offline | Safety/privacy baseline | Offline local essential monitoring | None; non-negotiable |
| DEC-006 | Cloud assistant | Enabled/disabled | MVP optional | Not required for MVP; controlled interface | Provider/privacy/cost evidence |
| DEC-007 | Vehicle integration | Standalone/authorized integration | Master/baseline boundaries | Standalone first | Officially documented integration |
| DEC-008 | Public-road validation | Public/closed/parked | Safety rule | No public-road induced testing | Qualified protocol after Gate E |
| DEC-009 | PERCLOS in MVP | Core/support/research-only | No validation evidence | Research-only | Preregistered human-factors evidence |
| DEC-010 | Gaze in MVP | Core/research-only | Environmental uncertainty | Research-only | Validation evidence |

## 26. Open-questions register

| ID | Unknown | Why it matters | Evidence needed | Owner | Priority |
|---|---|---|---|---|---|
| OQ-01 | Camera focal length/FOV/shutter/wavelength/mount | Coverage across seating and lighting | Supplier samples, cabin geometry, optical test | HW/ML | Critical |
| OQ-02 | Stable eye capture across sunlight/night/glasses | Core monitoring feasibility | Preregistered fixture and participant data | ML/HF | Critical |
| OQ-03 | NIR wavelength/irradiance/eye safety | Human use and regulation | Qualified optical review and measurement | Safety/optics | Critical |
| OQ-04 | Useful indicators and defensible validation set | Accuracy/false-alert policy | Ethical data plan and independent evaluation | ML/HF | Critical |
| OQ-05 | Alert thresholds and temporal policy | Nuisance and missed warnings | Human-factors replay/controlled study | Safety/HF | Critical |
| OQ-06 | Production compute | Power/cost/thermal/lifecycle | Exact OPN, BSP, benchmark, supplier | EE/Software | High |
| OQ-07 | Automotive electrical/transient scope | Hazard/compliance | Target vehicle classes and qualified test plan | EE/regulatory | High |
| OQ-08 | Mount/cabin positions | Visibility, retention, legality | CAD, vehicle matrix, destructive/vibration test | ME/regulatory | High |
| OQ-09 | Privacy/legal scope | Consent/storage/export obligations | Jurisdictional legal analysis | Privacy/legal | High |
| OQ-10 | Certification/liability claim triggers | Launch readiness | Counsel/regulatory/safety review | Legal/safety | High |

## 27. Risk register

Rating scale is not yet defined; each row shall receive likelihood/impact after the scale is approved.

| Risk ID | Description | Mitigation | Owner | Status |
|---|---|---|---|---|
| R-01 | False Ready due to camera/model fault | Independent health checks and degraded state | Systems/embedded | Open |
| R-02 | False warning/distraction | Temporal policy, confidence, cooldown, HF test | Safety/ML | Open |
| R-03 | Missed concern | Coverage envelope and explicit degraded state | ML/systems | Open |
| R-04 | Mount detachment/projectile | Qualified mount, retention, shock/vibration | Mechanical | Open |
| R-05 | Device obstructs visibility/airbag | Geometry review and supported-position matrix | Mechanical/legal | Open |
| R-06 | Thermal shutdown or throttling | Thermal model, sensors, derating | EE/thermal | Open |
| R-07 | Electrical damage/fire | Protection, fuse, qualified transient test | EE | Open |
| R-08 | Cabin privacy breach | Local-first, no routine media, encryption, reset | Privacy/security | Open |
| R-09 | Update bricking | Signed A/B/rollback/recovery | Firmware | Open |
| R-10 | Cloud/voice distracts or masks alert | Priority arbiter and restricted mode | AI/acoustics | Open |
| R-11 | Unsupported safety claim | Claims control and gated launch | Product/legal | Open |
| R-12 | Subsystem cost/thermal infeasible | Staged benchmark and supplier review | Architecture | Open |
| R-13 | Biased/demographically poor model | Ethical dataset, subgroup reporting | ML/privacy | Open |
| R-14 | Supply/counterfeit/lifecycle | Authorized sources and lifecycle notices | Sourcing/quality | Open |

## 28. Final deliverable status

| Deliverable | Status |
|---|---|
| Executive product definition | Preliminary complete |
| Intended use/boundaries | Preliminary complete; retained baseline |
| Stakeholder/use cases | Preliminary complete |
| System context/architecture | Preliminary complete |
| Data flows/interface contracts | Preliminary complete |
| Monitoring/PERCLOS/eye/head design | Preliminary, not validated |
| Alert state/human factors | Preliminary, not validated |
| Conversational AI | Preliminary; cloud deferred |
| Acoustic | Preliminary; no exact hardware |
| Compute/electronics/BOM | Preliminary; exact production parts blocked |
| Firmware/CV/model plan | Preliminary |
| State machine | Preliminary |
| Physical/CAD | Requirements complete; CAD not created |
| Standalone/integrated architecture | Preliminary |
| Power/thermal | Budgets blocked by exact components |
| Mobile UX/privacy UX | Preliminary |
| Security/privacy threat model | Preliminary |
| Hazard/FMEA/safety case | Preliminary; formal analysis blocked |
| Verification/validation | Preliminary plan |
| Update/logging | Preliminary |
| Manufacturing/quality | Preliminary |
| Regulatory applicability | Blocked by jurisdiction/architecture |
| Market/competitor research | Blocked; no competitor shortlist |
| IP research | Not started; no FTO conclusion |
| Cost/pricing | Unknown; no prices invented |
| Roadmap/risk/open questions | Preliminary |

## 29. Immediate next actions

1. Hold Gate A review and approve or revise the baseline requirements; no production hardware selection.
2. Create a consented and labeled Stage 1 camera test plan; define instrumentation and data retention.
3. Obtain supplier-confirmed quotes/datasheets for an exact PoC compute, camera, lens, cable, storage, and microphone/speaker set.
4. Build the Raspberry Pi 5/Module 3 bench fixture for visible-light feasibility.
5. Create a single timestamped evidence schema and replayable state-machine test fixture.
6. Add a camera-health and obstruction fault path before adding alert content.
7. Conduct parked-only initial acoustic testing and a warning-priority review.
8. Open the jurisdiction, optical-safety, mount, privacy, and IP reviews; mark applicability as unknown until evidence exists.

## 29A. Review-grade artifact set

The following artifacts turn the plan into a controlled engineering package:

- [Requirements traceability](./program/requirements_traceability.csv)
- [Verification and validation plan](./program/verification_validation_plan.csv)
- [Preliminary FMEA](./program/preliminary_fmea.csv)
- [Evidence-record JSON Schema](./program/evidence_record.schema.json)
- [Alert-state-machine JSON](./program/alert_state_machine.json)
- [Stage 0 measurement protocol](./program/stage0_measurement_protocol.md)

Each requirement remains proposed until it has an approved test procedure and recorded evidence. Each FMEA risk remains open until severity, occurrence, detectability, mitigation, and verification are complete. No state-machine parameter, model threshold, or numerical detection claim may be copied into production from this package.

## 30. Source register

Primary/official sources used or required:

- [NVIDIA Jetson Orin Nano Super Developer Kit](https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-orin/nano-super-developer-kit/)
- [NVIDIA JetPack](https://developer.nvidia.com/embedded/jetpack)
- [Raspberry Pi documentation](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html)
- [Raspberry Pi Camera documentation](https://www.raspberrypi.com/documentation/accessories/camera.html)
- [TI TDA4VM](https://www.ti.com/product/TDA4VM)
- [NXP i.MX 8M Plus](https://www.nxp.com/products/i.MX8MPLUS)
- [onsemi AR0144](https://www.onsemi.com/products/sensors/image-sensors/AR0144)
- [Apple CarPlay](https://developer.apple.com/carplay/)
- [Android for Cars](https://developer.android.com/cars)
- [FCC Equipment Authorization](https://www.fcc.gov/general/equipment-authorization)
- [eCFR 49 CFR Part 571](https://www.ecfr.gov/current/title-49/subtitle-B/chapter-V/part-571)

Additional required primary sources shall be added after the exact component, jurisdiction, standard revision, vehicle integration, and pilot protocol are selected. Source absence is not a substitute for evidence.
