Architecture / UML

gunnchOS Device OS

The same world has to stay explainable when the host is a laptop, a handheld, or an offline bundle.

Accepted source 2ae070fd8b05 · ACCEPTED_MAIN · software-architecture

Current diagrams describe the software design in the repository. They are not a factory boot, a certified device, or a shipped installer.

Current is shown first. Future and legacy stay labeled. A rendered SVG is used when accepted main already committed one. Otherwise the Mermaid or Markdown source is shown and is not executed in the browser.

Current

Component — current

current mermaid

What this diagram shows

There is no production initramfs or signed factory image in this tree.

What this diagram does NOT prove

This diagram does not prove a physical device booted this operating system.

Open full sizeDownload
flowchart TB
  LM[apps/launcher_mock]
  PY[gunnchos_device_os]
  CFG[config/*.yaml]
  SC[service_continuity]
  BOOT[boot probe]
  MODE[mode_manager]
  LAUNCH[launcher + app_runtime]
  ORCH[connectivity_orchestrator]
  RADIO[radio_capability]
  RT[runtime_profiles]
  DC[device_classes]
  OTA[ota_state_machine]
  BRIDGE[gunnchai / waike / edge_io]
  IMG[system_image digital bundle]
  MAKE[Makefile targets]
  LM --> CFG
  PY --> CFG
  SC --> DC
  SC --> RT
  SC --> ORCH
  SC --> RADIO
  LAUNCH --> MODE
  ORCH --> RADIO
  BOOT --> MAKE
  OTA --> MAKE
  BRIDGE --> PY
  IMG --> MAKE

Source path docs/uml/current/component.md @ 2ae070fd8b05

Boot sequence — current software probe

current mermaid

What this diagram shows

Source: `gunnchos_device_os/boot/probe.py` `run_boot_probe`, Make `gate1-boot`.

What this diagram does NOT prove

This diagram does not prove a physical device booted this operating system.

Open full sizeDownload
sequenceDiagram
  participant Make as make gate1-boot
  participant CLI as python -m gunnchos_device_os.boot
  participant Man as load_boot_manifest
  participant Probe as run_boot_probe
  participant Rec as boot/recovery.py
  participant Out as results/gate1/boot_evidence.json
  Make->>CLI: --manifest config/boot/sample_manifest.json
  CLI->>Man: validate JSON
  alt corrupted / injected failure
    Man-->>CLI: BootManifestError
    CLI->>Rec: recovery_for_errors
    CLI->>Out: SOFTWARE_PATH_FAIL + PHYSICAL_BOOT_PENDING
  else valid manifest
    CLI->>Probe: arch, storage, display env, network, services
    Probe-->>CLI: BootProbeResult
    CLI->>Out: SOFTWARE_PASS + PHYSICAL_BOOT_PENDING
  end

Source path docs/uml/current/sequence_boot.md @ 2ae070fd8b05

Future

Future — physical boot and factory

future mermaid

What this diagram shows

Not implemented in this checkout as proven evidence.

What this diagram does NOT prove

This diagram does not prove a physical device booted this operating system.

Open full sizeDownload
flowchart LR
  EVT[EVT assembly] --> FLASH[Signed factory flash]
  FLASH --> BOOT[Measured physical boot]
  BOOT --> OTA[Production OTA channel]
  OTA --> LAB[RF / thermal / battery lab]

Source path docs/uml/future/physical_boot_and_factory.md @ 2ae070fd8b05

Legacy

Legacy UML index — device OS

legacy markdown

What this diagram shows

Superseded as the supervisor architecture front door.

What this diagram does NOT prove

This diagram does not prove a physical device booted this operating system.

Open full sizeDownload
# Legacy UML index — device OS

Superseded as the supervisor architecture front door.

| Topic | File |
|---|---|
| Placeholder README | [placeholder_readme.md](placeholder_readme.md) |

Source path docs/uml/legacy/index.md @ 2ae070fd8b05

Architecture library