Merge pull request #425 from ryan4yin/docs/agents-rule-gaps

fix: close rule gaps behind repeated corrections and sync stale docs and recipes
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-10 08:50:13 +08:00
commit b52e242bb1
23 files changed
+206 -198

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
NixOS VM running under libvirt on `shoryu`, used to run AI agents. It owns the shared agent and
computer-use modules (`packages.nix`, `computer-use.nix`, `oci-containers/`) that
[`idols-kana`](../idols-kana/) imports, and is the only host with a `*-nixos-tests` output.
[`idols-kana`](../idols-kana/) imports.
- Deploy from the VM with `just local`.
- Host inventory and role context: [`../README.md`](../README.md).
+7 -4
View File
@@ -31,12 +31,15 @@ complete Nix closure to the physical host, installs it under `/var/lib/microvms/
activates the guest:
```sh
just microvm-deploy <guest> <physical-host> <guest-ip>
just microvm-deploy <guest> <physical-host>
```
For example, `just microvm-deploy k3s-test-1-master-3 shushou 192.168.5.116`. The recipe installs
the runner on the physical host first, then activates the guest with the microvm.nix SSH deployment
interface.
For example, `just microvm-deploy k3s-test-1-master-3 shushou`. The recipe copies the runner to the
physical host, then restarts `microvm@<guest>` there; microvm.nix's SSH switch is not used because
it cannot write the guest's read-only `/nix/store` (WA-026 in
[WORKAROUNDS.md](../../WORKAROUNDS.md)). A later activation of the physical host re-points the guest
at the runner baked into the host's system, so switch the host after installing a guest from a newer
tree.
Use `just build-microvm <guest>` to build a runner without deploying it. Preserve the guest's
`etc.img`, `var.img`, and `home.img` when updating it; they contain its identity and K3s state.