Shinobi

忍び

Shinobi — The One Who Endures

The One Who Endures.

Beneath restless waves,
a hidden current holds fast,
carrying the dawn.

Shinkai opened a world beneath the seabed. LunarDepth brought its own light into that world, and new sandbox networking made more of it accessible.

But reaching somewhere new is only the beginning. The harder question comes afterward: what keeps working when the current turns?

LunarWing v2.2.1.0, Shinobi (忍び), is about endurance. Not the spectacle of a new frontier, but the quiet discipline of making its foundations more dependable. Sandbox connections gain stronger host-policy handling, tunnel networking receives broader real-world testing, and failures across tenants, services, and agent runs become easier to recognize and recover from.

The unseen boundary

Shinkai introduced kernel-enforced public-network access and optional NetBird or WireGuard tunnels for sandboxed code. Shinobi returns to those boundaries and makes their behavior more deliberate.

On SELinux-enabled hosts, the sandbox proxy relay now attempts to create its Unix-socket listener with a container-compatible security label. Before starting a sandbox, LunarWing probes whether the host’s own policy permits the connection. A refused label falls back safely rather than changing the host’s policy or running the sandbox unconfined.

This is an important improvement.

Tunnel networking has firmer evidence. The live suite now runs on rootless Docker as well as Podman, exercising the WireGuard paths on both. That does not yet establish coverage for every cloud or systemd deployment, but it closes an important gap between the supported runtimes.

The principle remains unchanged: useful networking should not require abandoning the sandbox’s boundaries.

Endurance in the machinery

A service can fail without taking its bookkeeping with it. Shinobi pays attention to exactly those moments.

On systemd hosts, if a tenant’s user manager has died, stop-tenant no longer mistakes the resulting Podman errors for ordinary shutdown failures. It preserves the egress keeper deliberately, explains how to recover the user manager, and avoids claiming a tenant was fully removed while its networking state remains. Health monitoring now raises an actionable alert for that failed manager instead of letting the condition disappear into noisy diagnostics.

OpenRC monitoring becomes more observant too. A degraded component can trigger an alert even when there is no individual failing service to restart, including the case where the health scheduler itself is missing or disabled.

The agent runtime gains a smaller but valuable form of honesty. When a thread exhausts its recovery opportunities, its terminal error now identifies the actual limits involved, rather than suggesting a configuration knob that does not apply to that thread. If two failure counters trip together, the final recovery turn still gets the chance it was promised.

None of these changes is meant to draw attention during a healthy run. That’s precisely their value.

Keeping the foundation current

Shinobi also advances the security baseline. Wasmtime/WASI moves to 36.0.23, incorporating the fix for a WASI filesystem sandbox escape. Two previously accepted Wasmtime advisory records were removed after RustSec corrected their applicability to the older runtime line.

The external workers move forward as well: Kimi Code 2.6.3, OpenCode v1.19.6, and OpenCode 2 v2.3.2. Pebble and LunarDepth retain their existing source revisions. OpenCode 2’s managed policy now disables additional console-related capabilities while preserving LunarWing’s existing exposure restrictions.

All eleven LunarWing-owned packages advance to 2.2.1, alongside refreshed channel and tool extensions.

Upgrading to Shinobi

Rebuild and restart the daemon and XMPP bridge, reinstall the updated WASM channels and tools, and rebuild enabled worker images through the normal candidate, scan, and promotion process. Updating the source alone does not replace deployed images.

A few operational checks are particularly worthwhile:

  • SELinux: Review sandbox networking on enforcing hosts. If the relay still fails, use lunarwing-sandbox-proxy-diag.sh rather than assuming the new labeling path has solved the host-policy issue.
  • PostgreSQL: An existing tenant’s database image does not update with the daemon. Use mt-admin’s pg-image-status and refresh-pg-image commands per tenant if you have not yet moved to the reviewed PostgreSQL 16.16 image.
  • Host services: Check that LUNARWING_SERVICE_MANAGER matches the host, finish any older mt-admin processes before switching lock paths, and initialize the new lock tree on systemd hosts if required.

NetBird continues to use its managed nameserver groups, not custom SANDBOX_TUNNEL_DNS. Wingtip also remains on HTTP/SSE; its direct Unix-socket transport is not part of this release.

For full commands, compatibility details, and the remaining security and deployment limitations, consult the v2.2.1.0 release notes in the LunarWing project.


The deep sea does not become still simply because we’ve learned to enter it. Currents shift. Lights disappear behind the water. The journey continues anyway, carried by work that holds when no one is watching.

Shinobi is that quiet work.

忍び