nip/docs
Markus Maiwald 46f7867237 feat(rumk): v0.5 LWKT scheduler with NPL loading
Rumk hypervisor milestone - December 27, 2025:

v0.1: LWKT foundation (1552B)
- Message types, thread descriptors, per-CPU state
- Cooperative scheduler, syscall dispatch
- RISC-V trap handling

v0.2: MLFQ scheduler (2176B)
- 4-level priority queues (RT/High/Normal/Idle)
- Trust-adjusted quanta
- Demote/promote/starvation handling

v0.3: Work stealing + zero-idle (2880B)
- Per-CPU MLFQ queues
- Lockless work stealing
- WFI-based idle (OpenBSD style)

v0.4: IPI + per-CPU cache (3072B)
- CLINT IPI for cross-core wake
- 16-slot per-CPU cache
- Stats tracking

v0.5: NPL loading (3088B)
- NplHeader, LoadedNpl, NplRegistry
- loadNpl(), unloadNpl(), verifySignature()
- ProvChain NPL events

Ready for VisionFive 2 hardware demo (Jan 15, 2026)
2025-12-31 20:18:40 +01:00
..
cli feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
schemas feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
security feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
Beyond Devcontainers_ Introducing nexus target devcell.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
DEPENDENCY_RESOLUTION.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
DEVELOPER_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
HASH_ALGORITHM_MIGRATION.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
INTEGRATION_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
License_and_Compliance.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NIPCELLS_SUPERIORITY.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NIPPELS_DEVELOPER_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NIPPELS_EXAMPLES.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NIPPELS_TROUBLESHOOTING.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NIPPELS_USER_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NIPPELS_VS_FLATPAK.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NIPPELS_VS_PACKAGES.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NexusOS_Architecture_Overview.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
NexusOS_Package_Management.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
OPTIMIZATION_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
README.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
RESOLVER_DEVELOPER_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
RESOLVER_VISUAL_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
USER_GUIDE.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
arch-linux-guide.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
architecture.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
automatic-updates.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
binary-cache.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
bootstrap-api.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
bootstrap-detection-flow.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
bootstrap-guide.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
bootstrap-overview.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
build-configuration.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
build-examples.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
build-flow.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
build-system-help.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
build-troubleshooting.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
build_system.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
butane_ignition_integration for internet deployments.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
cas-security-architecture.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
container-builds.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
dependency-resolution.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
enhanced-cli-interface.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
formats_and_concepts.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
gentoo-nix-guide.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
getting-started.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
init_systems.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
json-output.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
learning-nim.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
license_json_examples.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
license_yaml_examples.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nexus Package Formats and Their Purposes.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nexus_targets.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nexusos_commercial_badge.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nexusos_licensing.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nexusos_overview.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nimpak_types_reference.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nip_verify_acul_enforcement.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nipcell-usage.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
nipcells.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
platform-detection.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
quick-reference.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
remote-cache.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
remote-repository-specification.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
remote_cli_guide.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
roadmap.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
security-and-verification-system.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
security-features.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
security_event_logging.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
shell-guide.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
shell-interface.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
source-build-guide.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
static-build-guide.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00
vision.md feat(rumk): v0.5 LWKT scheduler with NPL loading 2025-12-31 20:18:40 +01:00

README.md

NIP Documentation

Welcome to the NIP documentation! This guide will help you find what you need.

New to NIP?

Start here:

  1. Getting Started Guide - Complete introduction with examples
  2. Quick Reference - Command cheat sheet
  3. Bootstrap Overview - Understanding automatic build tool management

User Guides

Package Management

Bootstrap System

Build System

Advanced Topics

Developer Guides

Bootstrap System

Build System

Package Format

Reference

Command Line

Configuration

Security

Quick Navigation

I want to...

Install a packageGetting Started Guide

Build from sourceSource Build Guide

Understand automatic bootstrapBootstrap Overview

Use NIP on Arch LinuxArch Linux Guide

Build in containersGetting Started Guide

Manage build toolsBootstrap Guide

Troubleshoot buildsBuild Troubleshooting

Create custom recipesRecipe Authoring Guide

Understand the APIBootstrap API

Documentation Structure

docs/
├── README.md                          # This file
├── getting-started.md                 # Start here!
│
├── User Guides/
│   ├── bootstrap-overview.md          # Bootstrap system overview
│   ├── bootstrap-guide.md             # Bootstrap usage
│   ├── bootstrap-detection-flow.md    # Detection logic
│   ├── source-build-guide.md          # Source building
│   ├── arch-linux-guide.md            # Arch Linux workflow
│   ├── build-flow.md                  # Build process
│   ├── build-configuration.md         # Build config
│   ├── build-examples.md              # Build examples
│   └── build-troubleshooting.md       # Troubleshooting
│
├── Developer Guides/
│   ├── bootstrap-api.md               # Bootstrap API
│   ├── architecture.md                # System architecture
│   ├── build-system-help.md           # Build internals
│   └── nimpak_types_reference.md      # Type reference
│
├── Reference/
│   ├── enhanced-cli-interface.md      # CLI reference
│   ├── json-output.md                 # JSON format
│   ├── security-features.md           # Security
│   └── formats_and_concepts.md        # Package formats
│
└── schemas/                           # JSON schemas

Contributing to Documentation

Found an issue or want to improve the docs?

  1. Documentation lives in nip/docs/
  2. Use Markdown format
  3. Follow existing structure and style
  4. Test all code examples
  5. Update this index when adding new docs

Getting Help

Documentation Status

Document Status Last Updated
Getting Started Complete 2025-11
Bootstrap Overview Complete 2025-11
Bootstrap Guide Complete 2025-11
Bootstrap Detection Flow Complete 2025-11
Bootstrap API Complete 2025-11
Source Build Guide Complete 2025-11
Arch Linux Guide Complete 2025-11
Gentoo + Nix Guide Complete 2025-11
Build Flow Complete 2025-11
Container Builds Complete 2025-11
Binary Cache Complete 2025-11
Remote Cache Complete 2025-11
Automatic Updates Complete 2025-11
Recipe Authoring Complete 2025-11
Build Binaries Complete 2025-11

Summary

The documentation is organized to help you:

  1. Get started quickly - Follow the getting started guide
  2. Learn by doing - Practical examples throughout
  3. Understand deeply - Detailed explanations when needed
  4. Reference easily - Quick lookup for specific topics

Start with Getting Started and explore from there!