Built the web platform for Apple Business. I work with people supporting American manufacturing and business growth.

  • You can just do things ↗︎

  • Agent Harnesses Need Their eBPF ↗︎

    Ron Yifeng Wang, Aditya Akella (University of Texas at Austin):

    We introduce ext, a safe, extensible, self-improving agent harness inspired by eBPF: agents write policies for their own execution, and a verifier proves each one satisfies the specified rules before it loads.

    Our key insight is that we can give agents sufficient flexibility and extensibility to improve their execution through an interface narrow enough to verify every policy. The harness owns the mechanisms and enforces invariants, while agents write policies through typed hooks in a restricted language. Before loading any policy or revision, an SMT verifier (Z3) proves that it satisfies the built-in and operator-specified rules for every valid hook input.

    Agents write their policies in a domain-specific language (DSL) we call extLang, which is based on a restricted, loop-free subset of Python. The language supports conditionals, arithmetic, comparisons, min, max, abs, and constants. Policies can only read the typed state exposed by each hook and return values of the expected type. They cannot modify the harness’s state, access files, or make network calls.

    Each hook receives a read-only view of execution state. In the example below, s holds the current run state (context size, budget, steps since compaction, subtask-boundary marks, and accumulated spend), and b describes an individual history step. Here is a lightly trimmed policy an agent wrote for itself in our bash-only harness:

    def should_compact(s):
        if s.ctx_tokens * 100 >= 95 * s.budget:  # compact before overflow
            return True
        if s.steps_since_compact < 2:            # no back-to-back thrashing
            return False
        if s.ctx_tokens * 100 >= 75 * s.budget:
            return True
        return s.ctx_tokens * 100 >= 55 * s.budget and s.marks_since_compact > 0
    
    def compact_action(b, s):
        if b.pinned or b.age <= 1:               # keep pinned evidence & last 2 steps
            return KEEP
        if b.is_error and b.age <= 4:            # keep recent failures
            return KEEP
        if b.age >= 12 or (not b.in_current_subtask and b.output_tokens > 150):
            return MASK                          # command visible, output recallable
        return KEEP
    
    def choose_effort(s):
        if s.cost_cents * 100 >= 90 * s.cost_budget_cents:
            return LOW
        if s.consecutive_errors >= 2 or s.recent_errors >= 3:
            return HIGH
        return MEDIUM
    What is eBPF?

    For the uninitiated: eBPF lets Linux users attach small programs to kernel hooks (syscalls, network events, scheduler points) without writing kernel modules. The kernel refuses to load any program its verifier cannot prove will terminate and touch only allowed memory. ext applies the same bargain to agent harnesses: narrow, typed hooks, a restricted policy language, and a prover standing at the gate.

  • Breakscale ↗︎

    A system design simulator you can break by xevrion:

    Build a distributed system on a canvas, push traffic through it, and watch real queueing behaviour emerge: latency percentiles climbing, queues filling, circuit breakers tripping and retry storms collapsing a system that was healthy a moment earlier. Every number comes from a discrete-event simulation rather than a formula. Free, open source, and it runs entirely in your browser.

  • Joint statement on transition to post-quantum cryptography ↗︎

    Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle:

    We strongly support the guidance issued by the U.S. government urging organizations to move to the algorithms in the National Institute of Standards and Technology (NIST) Post-Quantum Cryptography (PQC) standards and to accelerate the migration as soon as possible. We are working to support organizations and governments in implementing this change across the internet.

    NSA:

    NSA advises National Security Systems (NSS) owners, operators, and vendors to immediately accelerate the transition to post-quantum cryptography (PQC). Delaying modernization exposes sensitive information, increases costs, and disrupts critical mission systems. Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use. This threat, alongside the existing concerns about quantum computing, presents a significant threat to cryptographic systems protecting sensitive information.

    Adversaries are already collecting encrypted information to decrypt once the capabilities become available.

    Filippo Valsorda:

    The summary is: 1. 256-bit elliptic curves (P-256 and Curve25519/X25519/Ed25519) are likely broken or significantly weaker than we thought; 2. RSA and P-384 might be fine as an interim solution, but attacks only get better and quantum computers are still coming, so they can only be a stopgap; 3. ML-DSA and ML-KEM are doing fine and it’s what we need to move to ASAP, much quicker than we had planned.

    In short: get your TLS connections to X25519MLKEM768, get your private PKI to ML-DSA (or RSA 3072/P-384 if you really can’t do it), get ready to rotate your WebPKI certificates and update your TLS/ACME stack, update OpenSSH to 10.6 and rotate to ssh-mldsa44-ed25519 keys.

  • Computer, please ↗︎

    computerplease.dev:

    A small Linux computer. It opens with your SSH key.

    ssh ssh.computerplease.dev

    That’s the whole signup. Any username works. Port 22.

    unkernel runs Linux compiled to WebAssembly in a Cloudflare Durable Object. kwemu emulates aarch64. You get Alpine, Bash, and outbound internet. SQLite keeps the disk.

    Built with unkernel.dev (github.com/pithings/unkernel):

    A real Linux kernel, compiled to WebAssembly. It boots to a shell in less than a second.

    unkernel is Linux 7.x built as a single wasm module with a real MMU. The kernel (syscalls, scheduler, memory management, ext4, TCP/IP) is compiled code, not emulated, so programs get Linux’s own behavior down to the edge cases. Only user programs are emulated: unmodified aarch64 (arm64) Linux binaries, so Alpine and Debian packages run as they are.

Follow

Currently Reading

Using CrossPoint Reader on an Xteink X3.

Featured Blog Post

  • Starting at Apple

    I will help small businesses succeed by building Apple Business Essentials — a product which brings together device management, 24/7 Apple support, and iCloud storage into flexible subscription plans. More →