# yospina-ctrl/jarvis-son-saldarriaga-ospina architecture

> Architecture diagram of the GitHub repository yospina-ctrl/jarvis-son-saldarriaga-ospina, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yospina-ctrl/jarvis-son-saldarriaga-ospina
- Repository: https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina

## Overview

Jarvis-Son is a prototype of a lightweight, local Android voice assistant. Its intended workflow is listening, speech-to-text, response generation, and spoken output. The only sampled runtime source is a C++ orchestrator that simulates these states and prints status messages; it does not yet invoke capture, Whisper, an SLM, or Piper. The README confirms the product goal, but implementation details for the listed scripts, documentation, and model manifest were not sampled, so their runtime relationships are omitted.

Main entry points: [`src/main.cpp`](https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp) (Cycle orchestrator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_control["Assistant control"]
  node_orchestrator["Cycle orchestrator<br/>[main.cpp]"]
end

subgraph group_speech["Voice workflow"]
  node_capture["Audio capture<br/>[main.cpp]"]
  node_transcription["Speech transcription<br/>[main.cpp]"]
  node_speech_output["Speech output<br/>[main.cpp]"]
end

subgraph group_generation["Response generation"]
  node_response["Response generation<br/>[main.cpp]"]
end

node_orchestrator -.->|"intended stage"| node_capture
node_orchestrator -.->|"intended stage"| node_transcription
node_orchestrator -.->|"intended stage"| node_response
node_orchestrator -.->|"intended stage"| node_speech_output

click node_orchestrator "https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp"
click node_capture "https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp"
click node_transcription "https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp"
click node_response "https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp"
click node_speech_output "https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_orchestrator toneBlue
class node_capture,node_transcription,node_speech_output toneAmber
class node_response toneMint
```

## Components

### Assistant control

- [Cycle orchestrator](https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp): `src/main.cpp`

### Voice workflow

- [Audio capture](https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp): `src/main.cpp`
- [Speech transcription](https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp): `src/main.cpp`
- [Speech output](https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp): `src/main.cpp`

### Response generation

- [Response generation](https://github.com/yospina-ctrl/jarvis-son-saldarriaga-ospina/blob/main/src/main.cpp): `src/main.cpp`

## Connections

- Cycle orchestrator → Audio capture: intended stage (evidence: `src/main.cpp`)
- Cycle orchestrator → Speech transcription: intended stage (evidence: `src/main.cpp`)
- Cycle orchestrator → Response generation: intended stage (evidence: `src/main.cpp`)
- Cycle orchestrator → Speech output: intended stage (evidence: `src/main.cpp`)
