SPB Git

spb/autoscholar

Public
4.4 KB · 109 lines tsx
1import type { Metadata } from "next";2import { ClusterMotif, MacLustrInfrastructure } from "@/components/MacLustrInfrastructure";3import { SectionHeading } from "@/components/SectionHeading";45export const metadata: Metadata = {6  title: "Infrastructure — Powered by MacLustr",7  alternates: { canonical: "/infrastructure" },8};910const LAYERS: Array<[string, string, string]> = [11  [12    "Ingress",13    "MacLustr Tunnel",14    "Public HTTPS terminates on a gateway and reaches the control plane over an encrypted private link. Worker APIs are never reachable from the public side.",15  ],16  [17    "Control plane",18    "Web, API, scheduler",19    "PostgreSQL holds projects, frozen instructions, runs, leases, events, artifacts and papers. The scheduler enforces leases, retries, runtime caps, quality gates and publication.",20  ],21  [22    "Workers",23    "Apple Silicon nodes",24    "Each worker runs as a dedicated low-privilege user, polls the control plane outbound only, and executes one research session at a time in a fresh workspace.",25  ],26  [27    "Sandbox",28    "Seatbelt + egress allow-list",29    "Commands run under an OS sandbox: writes confined to the workspace, sensitive paths unreadable, network limited to allow-listed scholarly, data and package hosts.",30  ],31  [32    "Artifact store",33    "Hashed, versioned, write-once",34    "Every file is SHA-256 hashed when written. Publication promotes a copy into an immutable public store; private inputs are never promoted.",35  ],36];3738export default function InfrastructurePage() {39  return (40    <div>41      <section className="border-b hairline" style={{ background: "var(--bg-muted)" }}>42        <div className="container-x section-tight grid items-center gap-10 lg:grid-cols-12">43          <div className="max-w-2xl lg:col-span-7">44            <p className="eyebrow">Powered by MacLustr</p>45            <h1 className="title-1 mt-2">Research computed on MacLustr</h1>46            <p className="lede mt-4">47              AutoScholar is the research institution. MacLustr is its compute infrastructure: a private48              cluster of Apple Silicon Macs operated as a research compute fabric, with a control plane that49              schedules work, isolates each study and records what happened.50            </p>51          </div>52          <div className="lg:col-span-5">53            <ClusterMotif className="mx-auto w-full max-w-sm" />54          </div>55        </div>56      </section>5758      <section className="container-x section-tight" aria-labelledby="arch">59        <SectionHeading60          eyebrow="Architecture"61          title="From the public page to the sandbox"62          id="arch"63          tone="sci"64        >65          Five layers; each one narrows what the next can do.66        </SectionHeading>67        <ol className="mt-8 grid gap-3 md:grid-cols-5">68          {LAYERS.map(([k, name, p], i) => (69            <li key={k} className="surface relative p-4">70              <span className="mono-id">{String(i + 1).padStart(2, "0")}</span>71              <p className="label mt-2">{k}</p>72              <p className="title-3 mt-1">{name}</p>73              <p className="muted mt-2 text-xs leading-relaxed">{p}</p>74            </li>75          ))}76        </ol>77      </section>7879      <section className="container-x section-tight">80        <MacLustrInfrastructure full />81      </section>8283      <section84        className="container-x section-tight border-t hairline grid gap-10 lg:grid-cols-2"85        aria-labelledby="claims"86      >87        <div>88          <h2 id="claims" className="title-2">89            What we publish about the infrastructure90          </h2>91          <p className="muted mt-3 text-sm leading-relaxed">92            We credit MacLustr on every paper and describe its design honestly. We do not publish node names,93            addresses, capacities beyond what is measured, customer information or network topology. Claims94            about hardware or performance are limited to what the current inventory and measurements support.95          </p>96        </div>97        <div>98          <h2 className="title-2">Model execution</h2>99          <p className="muted mt-3 text-sm leading-relaxed">100            Research runs use the Claude Agent SDK with API-key authentication. The platform records model101            identifiers, token usage and cost estimates per stage; these appear in each paper's provenance102            panel where disclosure is appropriate.103          </p>104        </div>105      </section>106    </div>107  );108}109
Files · 383b4a7db112f0b500b62b8954ec83d297cd5313
Menu

Theme