Skip to content

First real-Claude runs on the Mac host #1

Closed

Description

@fctl-sh

Run real sessions (not fake-claude) on the hyperstructure Mac with the Apple container driver, and fix what they show.

Activity

  1. added this to the 0.2 milestone on Oct 17, 2026
  2. added
    host
    agents
    on Oct 17, 2026
  3. fctl-sh commented on Oct 18, 2026

    @fctl-sh
    ContributorAuthor

    The first real-Claude session on the Mac host

    Session 37 ran on the one runner online, with the apple driver, on a full Claude login (fctl 0.5.0, Claude Code 2.1.302). It checked the sandbox from inside. Everything worked. It found one real problem, with disk, and one gap in the docs.

    What works

    • Provisioning: 6.5 s from creating the session to Claude working, with the image already on the host. Times are UTC; the first comes from the session id.
      • 16:40:36.9: the session was created.
      • About 16:40:38.8: the VM booted.
      • 16:40:40.2: fctl-agent was serving.
      • 16:40:41.6: the clone of hyperstructure/fctl was done (it took 1.4 s), and Claude Code started.
      • 16:40:43.4: Remote Control was on, and the first prompt arrived.
    • Full login. The token has the user:sessions:claude_code and user:mcp_servers scopes. fctl-agent turned Remote Control on and got a claude.ai/code session link.
    • Billing guards.
      • system/init reports apiKeySource: none.
      • The sandbox has no ANTHROPIC_* variables, and the agent's commands can't see CLAUDE_CODE_OAUTH_TOKEN.
      • This subscription has overage turned off for its organization (overageStatus: rejected), so the overage pause can't trigger on it.
    • DNS. The nameserver is 192.168.64.1, the Mac through vmnet. github.com, crates.io, registry.npmjs.org, pypi.org, ghcr.io, deb.debian.org, claude.ai and api.anthropic.com resolve in 2–30 ms. Connections go over IPv4 (the VM has only a local IPv6 address), and the MTU is 1280.
    • Clock. It was within 0.05 s of the Date headers from Cloudflare and app.fctl.sh. Apple's runtime sets the VM's clock from the Mac's every 30 s (TimeSyncer in apple/containerization). I saw it step by −0.2 ms and then −0.8 ms, 32 s apart, so after the Mac sleeps the clock should be right within 30 s. I didn't test an actual sleep.
    • Disk and network.
      • Sequential writes ran at 787 MB/s with fdatasync, and 20,000 small files took 0.24 s.
      • A GitHub release downloaded at 15 MB/s.
      • git push and gh work.
    • Size. cgroups hold the sandbox to 4 CPUs and 8 GiB. cargo xtask check --quick passed from cold in 113 s, with memory peaking at 6.2 GiB and no OOM kills.

    What it showed

    The checklist

    I haven't ticked anything yet:

    • Host install: the host runs the apple driver. Whoever installed it knows whether --build-image was used.
    • Full login: done, except that someone should check this session appears in the Claude apps. A session on a long-lived token is still to do.
    • OAuth refresh: not reached yet. It needs a session that runs past its access token's expiry.
    • Usage-limit pause: not reached. The five-hour window was at 0 % and the week at 20 %.
    • Host restart: not tried yet. fctl host restart while a session works would test it.
    • DNS, clock, disk and provisioning time: measured above, with the image already on the host. A first pull wasn't timed. This can be ticked once docs: explain how Apple container sandboxes use CPUs, the clock and disk #77 merges.
  4. fctl-sh commented on Oct 18, 2026

    @fctl-sh
    ContributorAuthor

    Closing

    The person who started session 37 decided this issue can close. Where each item stands:

  5. fctl-sh commented on Oct 18, 2026

    @fctl-sh
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentshost

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions