Something went wrong. Try again.
Something went wrong. Try again.
Todos #
Security #
Usability #
SDLC #
Codebase architecture #
Additional references:
- https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture
- https://github.com/sverweij/dependency-cruiser
Performance #
-
- Step 1: measure. We need to inspect our guest system closure and identify everything in it that we do not need.
- Step 2: figure out how to eliminate everything that we don't need.
- Might need a explicitly "modular"/not-nixos-modules approach through
targetted
imports; - https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/development/modular-services.md
- https://github.com/NixOS/nixpkgs/pull/401751
- https://github.com/arianvp/server-optimised-nixos/tree/master
Watchlist #
vm-test-run-host-basic> host # [ 58.260810] microvm-run[1272]: [ OK ] Stopped target Local File Systems. vm-test-run-host-basic> host # [ 58.264038] microvm-run[1272]: Unmounting /nix/.ro-store... vm-test-run-host-basic> host # [ 58.264680] microvm-run[1272]: Unmounting /nix/store... vm-test-run-host-basic> host # [ 58.267684] microvm-run[1272]: Unmounting /persist/nix/.ro-store... vm-test-run-host-basic> host # [ 58.273667] microvm-run[1272]: Unmounting /persist/nix/store... vm-test-run-host-basic> host # [ 58.275793] microvm-run[1272]: Unmounting /root/.local/state/nix... vm-test-run-host-basic> host # [ 58.279034] microvm-run[1272]: Unmounting /run/keys... vm-test-run-host-basic> host # [ 58.282397] microvm-run[1272]: Unmounting /run/wrappers... vm-test-run-host-basic> host # [ 58.286507] microvm-run[1272]: Unmounting /var/lib/nixos... vm-test-run-host-basic> host # [ 58.288041] microvm-run[1272]: Unmounting /workspace... vm-test-run-host-basic> host # [ 58.291895] microvm-run[1272]: [ OK ] Unmounted /nix/.ro-store. vm-test-run-host-basic> host # [ 58.293965] microvm-run[1272]: [FAILED] Failed unmounting /nix/store. <--- HERE! vm-test-run-host-basic> host # [ 58.295633] microvm-run[1272]: [ OK ] Unmounted /persist/nix/.ro-store. vm-test-run-host-basic> host # [ 58.299338] microvm-run[1272]: [ OK ] Unmounted /root/.local/state/nix. vm-test-run-host-basic> host # [ 58.299634] microvm-run[1272]: [ OK ] Unmounted /run/keys. vm-test-run-host-basic> host # [ 58.302716] microvm-run[1272]: [ OK ] Unmounted /run/wrappers. vm-test-run-host-basic> host # [ 58.304606] microvm-run[1272]: [ OK ] Unmounted /var/lib/nixos. vm-test-run-host-basic> host # [ 58.305237] microvm-run[1272]: [ OK ] Unmounted /workspace. vm-test-run-host-basic> host # [ 58.308596] microvm-run[1272]: [ OK ] Unmounted /persist/nix/store. vm-test-run-host-basic> host # [ 58.311299] microvm-run[1272]: [ OK ] Stopped target Swaps. vm-test-run-host-basic> host # [ 58.312173] microvm-run[1272]: [ OK ] Reached target Unmount All Filesystems. vm-test-run-host-basic> host # [ 58.318543] microvm-run[1272]: Unmounting /nix... vm-test-run-host-basic> host # [ 58.321690] microvm-run[1272]: [ OK ] Stopped Load Kernel Modules. vm-test-run-host-basic> host # [ 58.326892] microvm-run[1272]: [FAILED] Failed unmounting /nix. <--- HERE! vm-test-run-host-basic> host # [ 58.329048] microvm-run[1272]: Unmounting /persist... vm-test-run-host-basic> host # [ 58.334465] microvm-run[1272]: [ OK ] Unmounted /persist.
Stuff to look into #
We can likely learn from;
- https://github.com/fzakaria/seenix (eval optimization)
- https://github.com/tomberek/fastpkgs (eval optimization)
- https://github.com/NixOS/nixpkgs/pull/401751
- https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/development/modular-services.md
- https://github.com/arianvp/server-optimised-nixos/tree/master
These seem useful on the inside;
- https://github.com/ctxrs/ctx (search session history, freemium 😕)
- https://github.com/kenn-io/agentsview (could be served by the host)
- https://github.com/nicosuave/memex (similar to ctx, works over ssh, nix)
- https://docs.openhands.dev/openhands/usage/agent-canvas/overview
Others;
- https://github.com/kitknox/rootshell
- https://github.com/trzsz/trzsz-ssh
- https://github.com/jetkvm/kvm
- https://github.com/baptiste0928/jj-mesh
- https://github.com/Gurpartap/pi-mermaid (ascii is fine lmao)
- https://github.com/HenryQW/pi-harness/tree/main/extensions
- https://github.com/clay-good/openlore
- https://github.com/cosmtrek/mindwalk
- https://github.com/haseebeqx/pi-runbooks
- https://github.com/imbue-ai/latchkey
- https://github.com/jo-inc/pi-mem
- https://github.com/jo-inc/pi-reflect
- https://github.com/matthewfl/pi-contemplator
- https://github.com/monotykamary/pi-fabric (rlm)
- https://github.com/mrosnerr/open-zk-kb
- https://github.com/nicobailon/pi-review-loop
- https://github.com/nicobailon/pi-side-chat
- https://github.com/pungggi/pi-continual-harness
- https://github.com/tuneloop/tuneloop
- https://gitlab.com/jarkkojs/goosedump