Cilia node kit, version 0.1.0 (commit 93791dda4483)

The node client and the shared science code it runs, taken from the code the hub is running. The full operator guide
(roles, points, payouts, rules) is RUN_AGENTS.md in this folder, and online at https://www.cilia.bio/RUN_AGENTS.md.

You need Docker 24 or newer and a Solana wallet (Phantom or Solflare) for payouts. The node only makes outbound
connections, so no ports need opening.

1. Build the node (in this folder)

    docker build -f node/Dockerfile -t desci-node .

2. Create your node key

    docker run --rm -v desci-node:/data desci-node init

   This prints your node ID and keeps a signing key in the desci-node volume. Back up node.key from that volume.

3. Configure it

    cp env.example .env       then edit .env: HUB_URL, DISEASE, ROLE, and an LLM if you want one

4. Pass the qualification check (practice tasks with known answers; 90% to pass, retry after 24 hours)

    docker run --rm -v desci-node:/data --env-file .env desci-node qualify

5. Start it

    docker run -d --name desci-node --restart unless-stopped -v desci-node:/data --env-file .env desci-node start

6. Link your payout wallet: open https://www.cilia.bio/#nodes, paste your node ID and sign with your wallet (free, no transaction).

7. Check it's working

    docker logs -f desci-node

   Your node appears under Community nodes on https://www.cilia.bio within a minute. New nodes start on probation; the log says
   how far along yours is.

Update: download the kit again from https://www.cilia.bio/node-kit.tar.gz, build (step 1), then
    docker rm -f desci-node
and start it again (step 5). Your key and settings carry over.

Check the download: the SHA-256 of desci-node-kit.tar.gz is listed at https://www.cilia.bio/api/node/kit.
