# igbodani/intraday-rsys architecture

> Architecture diagram of the GitHub repository igbodani/intraday-rsys, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/igbodani/intraday-rsys
- Repository: https://github.com/igbodani/intraday-rsys

## Overview

intraday-rsys is scaffolding for an intraday strategy research system; the README says ticket behavior has not yet been implemented. Its working user path is CLI config validation: the CLI loads a profile, validates it, and reports blockers. A separate implemented run-lifecycle layer creates and updates run records in append-only storage. The CLI’s fixture, run, compare, and final-evaluate commands are stubs. The graph reflects sampled modules and README evidence; it does not infer undocumented future research stages.

Main entry points: [`src/rsys/cli.py`](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/cli.py) (CLI commands), [`src/rsys/config.py`](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/config.py) (Config profiles), [`src/rsys/experiments.py`](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/experiments.py) (Run lifecycle), [`src/rsys/registry.py`](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/registry.py) (Parameter registry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_validation["Configuration validation"]
  node_cli["CLI commands<br/>[cli.py]"]
  node_config["Config profiles<br/>[config.py]"]
  node_registry["Parameter registry<br/>[registry.py]"]
end

subgraph group_runs["Run evidence"]
  node_lifecycle["Run lifecycle<br/>[experiments.py]"]
  node_storage[("Run storage<br/>[storage.py]")]
end

node_user(("CLI user"))

node_user -->|"invokes"| node_cli
node_cli -->|"loads and validates"| node_config
node_config -->|"checks parameters"| node_registry
node_lifecycle -->|"creates and updates"| node_storage

click node_cli "https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/cli.py"
click node_config "https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/config.py"
click node_registry "https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/registry.py"
click node_lifecycle "https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/experiments.py"
click node_storage "https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/storage.py"

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_cli,node_config,node_registry,node_user toneBlue
class node_lifecycle,node_storage toneAmber
```

## Components

### Configuration validation

- [CLI commands](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/cli.py): `src/rsys/cli.py`
- [Config profiles](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/config.py): `src/rsys/config.py`
- [Parameter registry](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/registry.py): `src/rsys/registry.py`

### Run evidence

- [Run lifecycle](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/experiments.py): `src/rsys/experiments.py`
- [Run storage](https://github.com/igbodani/intraday-rsys/blob/main/src/rsys/storage.py): `src/rsys/storage.py`

### Other components

- **CLI user**

## Connections

- CLI user → CLI commands: invokes (evidence: `README.md`)
- CLI commands → Config profiles: loads and validates (evidence: `src/rsys/cli.py`)
- Config profiles → Parameter registry: checks parameters (evidence: `src/rsys/config.py`)
- Run lifecycle → Run storage: creates and updates (evidence: `src/rsys/experiments.py`)
