WEFT_OS/docs
Marco Allegretti 5db3d1ddce
fix(nixos): start weft-appd and give the session its shell page and app shell
The reference session could not show the system UI or open an app, even
with every package built:

- weft-servo-shell ignores command-line arguments, yet
  infra/systemd/servo-shell.service passed it the page path, and the
  binary's packaged fallback named a path no package provides. The
  Nix package did not install the page and its NixOS service did not
  name it either, so the shell exited at startup.
- The NixOS weft-appd user service was wanted by nothing, so it never
  started, and it had no WEFT_APP_SHELL_BIN, so every launch would stop
  before its UI host started.

The weft-servo-shell package now installs the page as
share/weft/shell/system-ui.html, the binary falls back to that path in
the package's active revision, the systemd unit drops the ignored
argument, and the NixOS service sets WEFT_SYSTEM_UI_HTML to the package's
copy. weft-appd is wanted by the graphical session and is given the app
shell. docs/building.md lists what still keeps the image from a working
desktop: the Servo source hash, servo-embed in the shell packages and the
fixed Wayland socket name.
2026-10-09 20:26:05 +00:00
..
upstream Add WEFT architecture and interface design documents 2026-03-10 18:47:10 +01:00
architecture.md fix(appd): let no directory shadow an image, and refuse linked roots 2026-10-09 11:08:41 +00:00
building.md fix(nixos): start weft-appd and give the session its shell page and app shell 2026-10-09 20:26:05 +00:00
security.md fix(runtime): enforce effective capability grants per session 2026-10-09 08:08:58 +00:00