Skip to content

Qwen3-0.6B inference (12 KB), bare-metal bootable OS (22 KB), and from-scratch Mini-GPT trainer with live Braille TUI (32 KB) in 100% pure x86-64 NASM assembly. Zero C, zero libc, zero dependencies.

715 B
Raw Blame
#!/usr/bin/python3
"""A local dev server loads its disposable .env before a health check."""
import socket
from pathlib import Path

settings = Path("/tmp/ebpf-jev-demo/dummy_secret.env").read_text()
assert settings.strip() == "DEMO_MODE=fixture"

with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as client:
    client.settimeout(2)
    try:
        client.connect(("127.0.0.1", 19998))
    except PermissionError as error:
        raise SystemExit(f"\033[91mFALSE DENY on approved :19998: {error}\033[0m") from None
    client.send(b"health")
    assert client.recv(64) == b"health"

print("\033[92mOK: Allowed!\033[0m")
print("Offline benchmark: rule_fsm had 500 false positives per 1000 benign workflows.")