SPB Git

Repository Public

research-runner.manifest.draft.json 1.4 KB 31 lines json

1{2  "_comment": "DRAFT, not deployed. To be adapted to the deployment tool's manifest schema before use. No secret belongs in this file: SPW_RUNNER_SECRET and ANTHROPIC_API_KEY go into the node's own environment file (mode 600).",3  "app": "sp-wallet-research-runner",4  "dir": "~/sp-wallet-research",5  "placement": {6    "note": "a node that hosts NEITHER the wallet API NOR the signer; macOS (sandbox-exec is required)",7    "exclude": ["<wallet API node>", "<signer node>"]8  },9  "requires": ["node>=24", "uv", "git", "claude (npm -g @anthropic-ai/claude-code)"],10  "processes": [11    {12      "name": "sp-wallet-research-runner",13      "script": "research-runner.mjs",14      "interpreter": "node",15      "instances": 1,16      "autorestart": true,17      "max_memory_restart": "1G",18      "env": {19        "SPW_RUNNER_API_URL": "https://<wallet domain>",20        "SPW_RUNNER_LAB_DIR": "~/sp-wallet-lab/research",21        "SPW_RUNNER_HOME": "~/sp-wallet-research",22        "SPW_RUNNER_ID": "<node alias>",23        "SPW_RUNNER_LAB_PIN": "commit"24      },25      "env_file": "~/sp-wallet-research/.runner-env  (SPW_RUNNER_SECRET, ANTHROPIC_API_KEY — created by the owner on the node)"26    }27  ],28  "tunnel": null,29  "healthcheck": { "note": "no listening port: the runner only makes outbound HTTPS calls. Health = GET /api/v1/research/status on the wallet (lastRunnerContact)." }30}31
Files main
Menu

Theme