mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-26 17:03:09 +00:00
WEFT OS is a Wayland compositor and application runtime where every app is a WebAssembly component rendered in an isolated Servo WebView.
New crate: weft-pack — command-line tool for validating WEFT application package directories against the app-package-format spec. src/main.rs: - check <dir>: loads wapp.toml, validates app ID format, verifies package.name is non-empty and <=64 chars, confirms runtime.module and ui.entry files exist. Prints 'OK' on success or the list of errors. - info <dir>: prints all manifest fields to stdout. - load_manifest(): reads and parses wapp.toml with toml crate. - is_valid_app_id(): enforces reverse-domain convention (>=3 components, each starting with a lowercase letter, digits allowed, no hyphens or uppercase). Tests (5): - app_id_valid: accepts well-formed reverse-domain IDs. - app_id_invalid: rejects two-component, uppercase, hyphen, empty IDs. - check_package_missing_manifest: error when wapp.toml is absent. - check_package_valid: full happy-path with real temp files. - check_package_invalid_app_id: error on a hyphenated app ID. New deps: toml 0.8, serde 1 (derive). Added weft-pack to workspace Cargo.toml; wsl-test.sh extended. |
||
|---|---|---|
| .github/workflows | ||
| crates | ||
| docs | ||
| infra | ||
| protocol | ||
| scripts | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| justfile | ||
| README.md | ||
| rust-toolchain.toml | ||
WEFT OS
WEFT OS is a Linux-based operating system effort built around a Smithay compositor, a Servo-rendered system shell, and a Wasmtime-based application runtime.
Current repository scope
This repository currently contains:
- the baseline Rust workspace
- public engineering documentation derived from the authoritative blueprint
- initial design documents for the shell protocol boundary and the Wasm–Servo channel
- local and CI validation paths for repository bootstrap work
It does not yet contain a compositor, shell, or application runtime implementation.
Source of truth
The authoritative technical reference for this repository is docu_dev/WEFT-OS-COMPREHENSIVE-BLUEPRINT.md.
Historical blueprint documents exist in docu_dev/, but they are not implementation authority where they conflict with the comprehensive blueprint.
Privacy boundary
docu_dev/ is a private coordination area used during development. It is intentionally ignored by git and is not part of the tracked public repository surface.
Development model
- Primary development host: Windows workstation
- Primary runtime target: Linux VM or QEMU guest
- Core system language: Rust
Validation
On Windows PowerShell:
./infra/scripts/check.ps1
On Linux:
./infra/scripts/check.sh
Repository layout
crates/ Rust workspace members
docs/ Public engineering documentation
infra/ Validation scripts and VM workflow material