# Overview Relevant source files - [README.md](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/README.md?plain=1) - [docs/LAYOUT.md](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/docs/LAYOUT.md?plain=1) - [screenshot.png](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/screenshot.png) - [screenshot_real.png](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/screenshot_real.png) CadenzaOS is a 64-bit bare-metal operating system written from scratch in Zig 0.16.0 for x86-64 hardware [README.md1-7](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/README.md?plain=1#L1-L7) Unlike traditional Unix-derived systems, CadenzaOS integrates behavioural intelligence directly into the kernel as a first-class citizen [README.md7-9](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/README.md?plain=1#L7-L9) The kernel continuously monitors system telemetry via `src/kernel/conductor.zig`, flags command velocity anomalies, and maintains execution security via `src/kernel/composer.zig`[README.md19-30](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/README.md?plain=1#L19-L30) Diagram: High-Level Kernel Architecture ![diagram](mermaids/1-overview-diagram-1.png) Sources: [README.md37-69](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/README.md?plain=1#L37-L69)[docs/LAYOUT.md14-65](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/docs/LAYOUT.md?plain=1#L14-L65)[src/kernel/kernel.zig1-51](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/src/kernel/kernel.zig#L1-L51) ## Core Architectural Subsystems The repository is structured around a clear separation between low-level boot handling, architectural memory and interrupt management, CodaFS storage, and behavioural analytics. The codebase isolates hardware abstractions in `src/kernel/` while hosting user-facing programs and test binaries under `userland/`. Diagram: Storage Layout and Disk Mapping Entities ![diagram](mermaids/1-overview-diagram-2.png) Sources: [docs/LAYOUT.md12-65](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/docs/LAYOUT.md?plain=1#L12-L65)[README.md42-51](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/README.md?plain=1#L42-L51) ## Child Pages - [Getting Started and Build System](/GlenMeehan/CadenzaOS/1.1-getting-started-and-build-system) — How to build and run: `build.sh` modes (`ci`/`run`/`clean`), toolchain prerequisites, disk image layout, `version.zig` generation, and QEMU/Bochs launch instructions. For details, see [Getting Started and Build System](/GlenMeehan/CadenzaOS/1.1-getting-started-and-build-system). - [Kernel Configuration and Global State](/GlenMeehan/CadenzaOS/1.2-kernel-configuration-and-global-state) — `config.zig` constants (disk LBAs, block size, buffers, `CommandID`, `SystemPolicy`, scheduler/timer tuning), along with `globals.zig` and `boot_info.zig` runtime pointers. For details, see [Kernel Configuration and Global State](/GlenMeehan/CadenzaOS/1.2-kernel-configuration-and-global-state). - [Project Governance and Contributing](/GlenMeehan/CadenzaOS/1.3-project-governance-and-contributing) — Contribution workflow, development principles, project roadmap, licensing details, issue templates, and `docs/` folder contents. For details, see [Project Governance and Contributing](/GlenMeehan/CadenzaOS/1.3-project-governance-and-contributing). Sources: [README.md1-101](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/README.md?plain=1#L1-L101)[docs/LAYOUT.md1-134](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/docs/LAYOUT.md?plain=1#L1-L134)[src/kernel/kernel.zig1-192](https://github.com/GlenMeehan/CadenzaOS/blob/8f182160/src/kernel/kernel.zig#L1-L192)