Syedsmaeel/Proj.re-rust

Makefile

3

184 commits

updated May 18, 2026

See the code

README

Re-Rust / Timux — Sovereign OS Ecosystem

Re-Rust / Timux Logo

Re-Rust / Timux Banner

A sovereign, high-performance operating system ecosystem built entirely in Rust.
Capability-gated · Fractal sub-kernels · Multi-arch · AI-native


What is Re-Rust / Timux?

Timux is a sovereign master kernel that acts as a Ring -1 Software-Defined Substrate. Isolation and authority are enforced via pure software capability tokens — no hardware rings, no hypervisor required. Each sub-kernel is a complete, independently-capability-gated OS instance that can host native Timux binaries or foreign applications (.deb / .exe) via the Sovereign Binary Shim Layer.

Re-Rust is the surrounding ecosystem: AI inference engines, network stacks, boot managers, build tools, and a blueprint editor — all written in #![no_std] Rust.

╔══════════════════════════════════════════════════════════════╗
║          RING -1 — SOVEREIGN ROOT SUBSTRATE (Timux)         ║
║  Capability Minting · MorphEngine · FractalScheduler         ║
╠══════════════════╦═══════════════════╦════════════════════════╣
║  SUB-KERNEL      ║  SUB-KERNEL       ║  SUB-KERNEL            ║
║  Native Timux    ║  Networking (net) ║  Binary Shim           ║
║  Bash++ TUI      ║  re-net TCP/UDP   ║  .deb / .exe / .apk    ║
╚══════════════════╩═══════════════════╩════════════════════════╝

Workspace Map

🛡 Kernel & Core

CrateDescription
kernel/timuxMaster sovereign kernel — capability model, MorphEngine, FractalScheduler, IKFS, shadow manager, hot-swap
kernel/ring-neg1Ring -1 bootloader — UEFI/BIOS, GOP framebuffer, TUI boot menu
kernel/tbmTimux Boot Manager — ELF loader, sovereign crypto, ingestion gate
kernel/tmx-corePersonality lifecycle FSM for sub-kernels
core/re-coreShared types, traits, OnionRelay, ElfParser, vdisk header

🧠 AI & Intelligence

CrateDescription
ai-models/re-llmLLM inference on Candle — GGUF, quantisation, Phi-2 support
ai-models/re-agentAutonomous agent framework integrated into the Re-Rust runtime

🌐 Runtimes

CrateDescription
runtimes/re-netCapability-gated TCP/UDP network stack sub-kernel
runtimes/re-nodeNode runtime for the ecosystem
runtimes/re-dockerContainer integration layer
runtimes/re-npmPackage management for Re-Rust modules

🛠 Build Tools

CrateDescription
build-tools/re-makeCustom build system for the workspace
build-tools/re-ciContinuous integration tooling
build-tools/re-lintLinter and code quality enforcement
build-tools/re-packDeployment and distribution packager
build-tools/re-hoffmanHoffman Script — declarative fractal OS forging (Nix fork)

🧰 Utilities

CrateDescription
utilities/re-blueprintBlueprint editor CLI — create, validate, encode .tmx boot blueprints
utilities/oxidiserOxidiser — generate a complete sovereign OS from a single script
utilities/re-cryptCryptographic primitives
utilities/re-scrapeHigh-performance data ingestion
utilities/re-simKernel simulation harness
utilities/tmx-viewTUI dashboard for live kernel inspection
utilities/re-runTask runner
utilities/sushiMacro-based framework (sushi-macros)
utilities/crab-rsCrab utility suite

Key Features Implemented

FeatureLocationStatus
Capability system (rings, AuditLog)timux/src/cap.rs
FractalSchedulertimux/src/sched/fractal.rs
MorphEngine (XorShift64, dispatch shuffle)timux/src/morph/engine.rs
Sub-kernel manager (spawn/terminate/suspend/resume)timux/src/subkernel/manager.rs
Hot-swap coordinator (4-phase live replacement)timux/src/subkernel/hotswap.rs
Shadow manager + failovertimux/src/subkernel/shadow.rs
MigrationBlob — encode/decode/sign/verifytimux/src/subkernel/snapshot.rs
Inter-Kernel Filesystem (IKFS)timux/src/ikfs/
vDisk driver — format/mount/read/writetimux/src/storage/vdisk.rs
CortexMap — LRU eviction, volatile GC, pinningtimux/src/mm/cortex_map.rs
Arch impls — x86_64, ARM64, RISC-Vtimux/src/arch/
TBM crypto — ChaCha20, SovereignHash, HMAC, HKDFkernel/tbm/src/crypto.rs
TCP/UDP network stackruntimes/re-net/
Blueprint editor CLIutilities/re-blueprint/
Ring -1 TUI boot menu + framebufferkernel/ring-neg1/

Getting Started

Prerequisites

# Rust 1.75+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Bare-metal targets
rustup target add x86_64-unknown-none aarch64-unknown-none riscv64gc-unknown-none-elf

Build

# Full workspace
cargo build

# Specific crate
cargo build -p timux
cargo build -p re-net
cargo build -p re-blueprint

Blueprint CLI

# Create a new boot blueprint
re-blueprint new --json

# Validate an existing blueprint
re-blueprint validate my-system.tmxb

# Encode to binary wire format
re-blueprint encode my-system.tmxb -o my-system.bin

Branding

Logo and thumbnail assets live in branding/. See branding/README.md for colours, usage guidelines, and dimensions.


License

AGPL-3.0 — See LICENSE for details.

Author: Syed Ismaeel — Lucknow, Est. 2019

Contributors

Syedsmaeel

184 commits

Syedsmaeel/Proj.re-rust

Makefile

3

184 commits

updated May 18, 2026

See the code

README

Re-Rust / Timux — Sovereign OS Ecosystem

Re-Rust / Timux Logo

Re-Rust / Timux Banner

A sovereign, high-performance operating system ecosystem built entirely in Rust.
Capability-gated · Fractal sub-kernels · Multi-arch · AI-native


What is Re-Rust / Timux?

Timux is a sovereign master kernel that acts as a Ring -1 Software-Defined Substrate. Isolation and authority are enforced via pure software capability tokens — no hardware rings, no hypervisor required. Each sub-kernel is a complete, independently-capability-gated OS instance that can host native Timux binaries or foreign applications (.deb / .exe) via the Sovereign Binary Shim Layer.

Re-Rust is the surrounding ecosystem: AI inference engines, network stacks, boot managers, build tools, and a blueprint editor — all written in #![no_std] Rust.

╔══════════════════════════════════════════════════════════════╗
║          RING -1 — SOVEREIGN ROOT SUBSTRATE (Timux)         ║
║  Capability Minting · MorphEngine · FractalScheduler         ║
╠══════════════════╦═══════════════════╦════════════════════════╣
║  SUB-KERNEL      ║  SUB-KERNEL       ║  SUB-KERNEL            ║
║  Native Timux    ║  Networking (net) ║  Binary Shim           ║
║  Bash++ TUI      ║  re-net TCP/UDP   ║  .deb / .exe / .apk    ║
╚══════════════════╩═══════════════════╩════════════════════════╝

Workspace Map

🛡 Kernel & Core

CrateDescription
kernel/timuxMaster sovereign kernel — capability model, MorphEngine, FractalScheduler, IKFS, shadow manager, hot-swap
kernel/ring-neg1Ring -1 bootloader — UEFI/BIOS, GOP framebuffer, TUI boot menu
kernel/tbmTimux Boot Manager — ELF loader, sovereign crypto, ingestion gate
kernel/tmx-corePersonality lifecycle FSM for sub-kernels
core/re-coreShared types, traits, OnionRelay, ElfParser, vdisk header

🧠 AI & Intelligence

CrateDescription
ai-models/re-llmLLM inference on Candle — GGUF, quantisation, Phi-2 support
ai-models/re-agentAutonomous agent framework integrated into the Re-Rust runtime

🌐 Runtimes

CrateDescription
runtimes/re-netCapability-gated TCP/UDP network stack sub-kernel
runtimes/re-nodeNode runtime for the ecosystem
runtimes/re-dockerContainer integration layer
runtimes/re-npmPackage management for Re-Rust modules

🛠 Build Tools

CrateDescription
build-tools/re-makeCustom build system for the workspace
build-tools/re-ciContinuous integration tooling
build-tools/re-lintLinter and code quality enforcement
build-tools/re-packDeployment and distribution packager
build-tools/re-hoffmanHoffman Script — declarative fractal OS forging (Nix fork)

🧰 Utilities

CrateDescription
utilities/re-blueprintBlueprint editor CLI — create, validate, encode .tmx boot blueprints
utilities/oxidiserOxidiser — generate a complete sovereign OS from a single script
utilities/re-cryptCryptographic primitives
utilities/re-scrapeHigh-performance data ingestion
utilities/re-simKernel simulation harness
utilities/tmx-viewTUI dashboard for live kernel inspection
utilities/re-runTask runner
utilities/sushiMacro-based framework (sushi-macros)
utilities/crab-rsCrab utility suite

Key Features Implemented

FeatureLocationStatus
Capability system (rings, AuditLog)timux/src/cap.rs
FractalSchedulertimux/src/sched/fractal.rs
MorphEngine (XorShift64, dispatch shuffle)timux/src/morph/engine.rs
Sub-kernel manager (spawn/terminate/suspend/resume)timux/src/subkernel/manager.rs
Hot-swap coordinator (4-phase live replacement)timux/src/subkernel/hotswap.rs
Shadow manager + failovertimux/src/subkernel/shadow.rs
MigrationBlob — encode/decode/sign/verifytimux/src/subkernel/snapshot.rs
Inter-Kernel Filesystem (IKFS)timux/src/ikfs/
vDisk driver — format/mount/read/writetimux/src/storage/vdisk.rs
CortexMap — LRU eviction, volatile GC, pinningtimux/src/mm/cortex_map.rs
Arch impls — x86_64, ARM64, RISC-Vtimux/src/arch/
TBM crypto — ChaCha20, SovereignHash, HMAC, HKDFkernel/tbm/src/crypto.rs
TCP/UDP network stackruntimes/re-net/
Blueprint editor CLIutilities/re-blueprint/
Ring -1 TUI boot menu + framebufferkernel/ring-neg1/

Getting Started

Prerequisites

# Rust 1.75+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Bare-metal targets
rustup target add x86_64-unknown-none aarch64-unknown-none riscv64gc-unknown-none-elf

Build

# Full workspace
cargo build

# Specific crate
cargo build -p timux
cargo build -p re-net
cargo build -p re-blueprint

Blueprint CLI

# Create a new boot blueprint
re-blueprint new --json

# Validate an existing blueprint
re-blueprint validate my-system.tmxb

# Encode to binary wire format
re-blueprint encode my-system.tmxb -o my-system.bin

Branding

Logo and thumbnail assets live in branding/. See branding/README.md for colours, usage guidelines, and dimensions.


License

AGPL-3.0 — See LICENSE for details.

Author: Syed Ismaeel — Lucknow, Est. 2019

Contributors

Syedsmaeel

184 commits

Languages

Makefile

64.4%

Rust

34.5%

DTrace

1.0%