You signed in with another tab or
8000
window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vivarium: one strict machine spec, with boot inside launch.config #1488
Every machine field is checked strictly. The runner's closed TypedDicts are the shape, and pydantic checks them in vivarium.spec. backend, seccomp and uplinkProxy are StrEnums. kind stays a string, because vivarium.kinds is open. No default remains for a field that Nix always writes.
The uplink addresses are written once, in nix/uplink.nix, and the spec carries them as uplinkNetwork.
Rule and ControlSpec keep their dataclass defaults: tests use them, and the parsers no longer read them.
Needs a decision: boot. This issue says to move boot into launch.config. #1493 says to make one boot description that does not depend on the backend. Those two point in opposite directions. Machine also reads spec.boot for reboot and for the display, and krun already has its own launch.config.boot.
Decided (User, 2026-11-18): boot moves in #1493, not here.
#1493 makes one backend-neutral, checked boot description. display, nested and acpi become their own fields, and krun's second launch.config.boot goes away. A move into each backend's launch.config now would make Machine read backend config for reboot and the screen, and #1493 would undo it.
Activity
vivarium: pathlib for paths in the library
Lillecarl commentedon Nov 18, 2026
Two parts land with
Refs #1488:vivarium.spec.backend,seccompanduplinkProxyare StrEnums.kindstays a string, becausevivarium.kindsis open. No default remains for a field that Nix always writes.nix/uplink.nix, and the spec carries them asuplinkNetwork.RuleandControlSpeckeep their dataclass defaults: tests use them, and the parsers no longer read them.Needs a decision:
boot. This issue says to movebootintolaunch.config. #1493 says to make one boot description that does not depend on the backend. Those two point in opposite directions.Machinealso readsspec.bootfor reboot and for the display, and krun already has its ownlaunch.config.boot.boot, withdisplay,nestedandacpias separate fields, removes the krun double as well. Cost: it waits for the refactor.launch.confignow. Cost:Machine's reboot and screen code must then read backend config, and vivarium: Machine, backend.py and the session hold mechanism that belongs behind backend capabilities #1493 probably undoes it.Assisted-By: Claude Opus 5.5
vivarium: check every machine field of a spec strictly
vivarium: write the uplink addresses once, in nix/uplink.nix
Lillecarl commentedon Nov 18, 2026
Decided (User, 2026-11-18):
bootmoves in #1493, not here.#1493 makes one backend-neutral, checked boot description.
display,nestedandacpibecome their own fields, and krun's secondlaunch.config.bootgoes away. A move into each backend'slaunch.confignow would makeMachineread backend config for reboot and the screen, and #1493 would undo it.Everything else in this issue is landed. Closing.
Assisted-By: Claude Opus 5.5