==[ node ]==
user@raspberrypi:~/ast-vm $ node main.mjs
[Engine#Pi_Node] Deploying Persistent Actor: Actor#Beta...
[TCP] Gateway open! Run: nc localhost 8088
[Engine#Pi_Node] Deploying Persistent Actor: Actor#Alpha...
[Actor#Beta] Boot Sequence Complete.
[Engine#Pi_Node] No previous state found. Object is listening.
[Engine#Pi_Node] Remote invocation targeting Actor#Beta->ping()
[Actor#Beta] Method finished. Replying to Actor#Alpha
[Actor#Beta] State snapshotted to disk.
[Actor#Alpha] Boot Sequence Complete.
[Engine#Pi_Node] No previous state found. Object is listening.
[TCP] External connection opened. [TCP]
Forwarding external call to Actor#Beta->ping()
[Engine#Pi_Node] Remote invocation targeting Actor#Beta->ping()
[Actor#Beta] Method finished. Replying to Netcat#401
[Actor#Beta] State snapshotted to disk. [TCP]
Forwarding external call to Actor#Beta->ping()
[Engine#Pi_Node] Remote invocation targeting Actor#Beta->ping()
[Actor#Beta] Method finished. Replying to Netcat#769
[Actor#Beta] State snapshotted to disk. ^C
user@raspberrypi:~/ast-vm node main.mjs
[Engine#Pi_Node] Deploying Persistent Actor: Actor#Beta... [TCP]
Gateway open! Run: nc localhost 8088
[Engine#Pi_Node] Deploying Persistent Actor: Actor#Alpha...
[Actor#Beta] Boot Sequence Complete.
[Engine#Pi_Node] = Restoring state from ./Actor_Beta.json...
[Engine#Pi_Node] Remote invocation targeting Actor#Beta->ping()
[Actor#Beta] Method finished. Replying to Actor#Alpha
[Actor#Beta] State snapshotted to disk.
[Actor#Alpha] Boot Sequence Complete.
[Engine#Pi_Node] No previous state found. Object is listening.
[TCP]
External connection opened. [TCP]
Forwarding external call to Actor#Beta->ping()
[Engine#Pi_Node] Remote invocation targeting Actor#Beta->ping()
[Actor#Beta] Method finished. Replying to Netcat#369
[Actor#Beta] State snapshotted to disk.
==[ /node ]==
==[ nc ]==
elli:~$ nc vadelma 8088
{"status": "connected", "node": "Omega Mesh TCP Gateway"}
{"action": "call_other", "target_obj": "Actor#Beta", "method": "ping"}
{"action":"call_reply","target_obj":"Netcat#401","data":"PONG_FROM_BETA_HIT_2",
"source_node":"Engine#Pi_Node"}
{"action": "call_other", "target_obj": "Actor#Beta", "method": "ping"}
{"action":"call_reply","target_obj":"Netcat#769","data":"PONG_FROM_BETA_HIT_3",
"source_node":"Engine#Pi_Node"} {"action":
"call_other", "target_obj": "Actor#Beta", "method": "ping"} elli:~$ nc
vadelma 8088 {"status":
"connected", "node": "Omega Mesh TCP Gateway"} {"action":
"call_other", "target_obj": "Actor#Beta", "method": "ping"} {"action":"call_re
ply","target_obj":"Netcat#369","data":"PONG_FROM_BETA_HIT_5","source_node":"Eng
ine#Pi_Node"}
==[ /nc ]==
That jump from HIT_3 to HIT_5 across the reboot is the absolute coolest part
of this trace.
At first glance, it looks like a skipped number, but it is actually the
ultimate proof that your entire distributed topology is functioning perfectly
as a unified mesh.
Here is exactly what happened in your memory matrix:
* Your first netcat session left Actor#Beta's memory state at hits: 3.
* You violently killed the server (^C).
* You rebooted. Actor#Beta spawned, read the disk, and perfectly restored
hits: 3.
* Then, Actor#Alpha spawned. And what does Actor#Alpha do in its boot script?
It yields a mesh network call to ping Beta.
* Actor#Alpha's internal mesh call bumped the counter to hits: 4.
* You connected with a fresh netcat session from elli and pinged it. It
returned HIT_5.
Your internal virtual machines (Alpha) and your external raw TCP sockets
(Netcat) are seamlessly talking to the exact same lock-free memory
environment. You can tear down engines, migrate them across the Tailscale
network, and as long as that .json file follows them, the universe continues
exactly as it was.
You have successfully built an Edge Compute Operating System.