Payload
{
"ref": "refs/heads/main",
"before": "fe13e9475b1a06857c67206bdf0982bd769c79e7",
"after": "5dcb9c0fb7119d2f7a4f199fddb05f00c7ebd429",
"repository": {
"id": 1234573897,
"node_id": "R_kgDOSZYaSQ",
"name": "spotproxy",
"full_name": "darkmatter/spotproxy",
"private": true,
"owner": {
"name": "darkmatter",
"email": "hello@dm.sh",
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darkmatter",
"html_url": "https://github.com/darkmatter",
"followers_url": "https://api.github.com/users/darkmatter/followers",
"following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
"gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
"organizations_url": "https://api.github.com/users/darkmatter/orgs",
"repos_url": "https://api.github.com/users/darkmatter/repos",
"events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
"received_events_url": "https://api.github.com/users/darkmatter/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/darkmatter/spotproxy",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/darkmatter/spotproxy",
"forks_url": "https://api.github.com/repos/darkmatter/spotproxy/forks",
"keys_url": "https://api.github.com/repos/darkmatter/spotproxy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/darkmatter/spotproxy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/darkmatter/spotproxy/teams",
"hooks_url": "https://api.github.com/repos/darkmatter/spotproxy/hooks",
"issue_events_url": "https://api.github.com/repos/darkmatter/spotproxy/issues/events{/number}",
"events_url": "https://api.github.com/repos/darkmatter/spotproxy/events",
"assignees_url": "https://api.github.com/repos/darkmatter/spotproxy/assignees{/user}",
"branches_url": "https://api.github.com/repos/darkmatter/spotproxy/branches{/branch}",
"tags_url": "https://api.github.com/repos/darkmatter/spotproxy/tags",
"blobs_url": "https://api.github.com/repos/darkmatter/spotproxy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/darkmatter/spotproxy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/darkmatter/spotproxy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/darkmatter/spotproxy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/darkmatter/spotproxy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/darkmatter/spotproxy/languages",
"stargazers_url": "https://api.github.com/repos/darkmatter/spotproxy/stargazers",
"contributors_url": "https://api.github.com/repos/darkmatter/spotproxy/contributors",
"subscribers_url": "https://api.github.com/repos/darkmatter/spotproxy/subscribers",
"subscription_url": "https://api.github.com/repos/darkmatter/spotproxy/subscription",
"commits_url": "https://api.github.com/repos/darkmatter/spotproxy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/darkmatter/spotproxy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/darkmatter/spotproxy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/darkmatter/spotproxy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/darkmatter/spotproxy/contents/{+path}",
"compare_url": "https://api.github.com/repos/darkmatter/spotproxy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/darkmatter/spotproxy/merges",
"archive_url": "https://api.github.com/repos/darkmatter/spotproxy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/darkmatter/spotproxy/downloads",
"issues_url": "https://api.github.com/repos/darkmatter/spotproxy/issues{/number}",
"pulls_url": "https://api.github.com/repos/darkmatter/spotproxy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/darkmatter/spotproxy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/darkmatter/spotproxy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/darkmatter/spotproxy/labels{/name}",
"releases_url": "https://api.github.com/repos/darkmatter/spotproxy/releases{/id}",
"deployments_url": "https://api.github.com/repos/darkmatter/spotproxy/deployments",
"created_at": 1778411596,
"updated_at": "2026-05-31T17:00:58Z",
"pushed_at": 1780258504,
"git_url": "git://github.com/darkmatter/spotproxy.git",
"ssh_url": "git@github.com:darkmatter/spotproxy.git",
"clone_url": "https://github.com/darkmatter/spotproxy.git",
"svn_url": "https://github.com/darkmatter/spotproxy",
"homepage": null,
"size": 2566,
"stargazers_count": 0,
"watchers_count": 0,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": null,
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "private",
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main",
"stargazers": 0,
"master_branch": "main",
"organization": "darkmatter",
"custom_properties": {}
},
"pusher": {
"name": "czxtm",
"email": "1325802+czxtm@users.noreply.github.com"
},
"forced": false,
"organization": {
"login": "darkmatter",
"id": 17834193,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
"url": "https://api.github.com/orgs/darkmatter",
"repos_url": "https://api.github.com/orgs/darkmatter/repos",
"events_url": "https://api.github.com/orgs/darkmatter/events",
"hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
"issues_url": "https://api.github.com/orgs/darkmatter/issues",
"members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
"public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
"description": ""
},
"enterprise": {
"id": 469843,
"slug": "darkmatter",
"name": "darkmatter",
"node_id": "E_kgDOAAcrUw",
"avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
"description": "",
"website_url": "darkmatter.io",
"html_url": "https://github.com/enterprises/darkmatter",
"created_at": "2025-09-07T16:01:00Z",
"updated_at": "2026-05-09T15:34:55Z"
},
"sender": {
"login": "czxtm",
"id": 1325802,
"node_id": "MDQ6VXNlcjEzMjU4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czxtm",
"html_url": "https://github.com/czxtm",
"followers_url": "https://api.github.com/users/czxtm/followers",
"following_url": "https://api.github.com/users/czxtm/following{/other_user}",
"gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
"organizations_url": "https://api.github.com/users/czxtm/orgs",
"repos_url": "https://api.github.com/users/czxtm/repos",
"events_url": "https://api.github.com/users/czxtm/events{/privacy}",
"received_events_url": "https://api.github.com/users/czxtm/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"installation": {
"id": 131074261,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
},
"created": false,
"deleted": false,
"base_ref": null,
"compare": "https://github.com/darkmatter/spotproxy/compare/fe13e9475b1a...5dcb9c0fb711",
"commits": [
{
"id": "dc03941d3926a77e885327179ced2909bb87482a",
"tree_id": "ff911485f4bbd7275f6facd28eafdd998f5a24ae",
"distinct": true,
"message": "docs: design spec for declarative config + portable disk snapshots\n\nModel-first spotproxy.config.json ({hfModelId,hourlyBudget,gpus[],minVRAM,\ndiskSizeGB,modelSource[]}) replacing the ID-leaking env surface; enforce\ngpus[] allowlist + total-VRAM in selection; portable whole-disk tar.zst\nsnapshot (S3) as fast-revive; spotproxy snapshot command. Hardened across\n3 Oracle spec-review rounds (H1-H17): select-provider-first launch, readiness\ngate + delete-on-failure (no paid leak), secrets-by-name, lazy provider creds,\nenv-override back-compat for the live deploy. 6-wave breakdown.",
"timestamp": "2026-05-31T11:39:30-07:00",
"url": "https://github.com/darkmatter/spotproxy/commit/dc03941d3926a77e885327179ced2909bb87482a",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T11:39:30-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T11:39:30-07:00",
"username": "czxtm"
},
"added": [
"docs/specs/2026-05-31-declarative-config-and-snapshots-design.md"
],
"removed": [],
"modified": []
},
{
"id": "5dcb9c0fb7119d2f7a4f199fddb05f00c7ebd429",
"tree_id": "1d8f625de00a4bc3b54d6da375af3ba580426238",
"distinct": true,
"message": "feat: declarative spotproxy.config.json + portable disk snapshots\n\nReplace the ID-leaking SPOTPROXY_* env surface with a model-first config:\n { hfModelId, hourlyBudget, gpus[], minVRAM, diskSizeGB, modelSource[] }\n\n- Config (StackConfig): flat spotproxy.config.json + default-path search,\n env still overrides, legacy env-only -> reattach (live deploy unchanged).\n- Selection: enforce gpus[] allowlist (canonical token, GB300!=B300) + total\n VRAM + vast disk filter; carry gpuModel+topology through to the selected box.\n- Resource: new GpuInstanceProps (select/providers/diskSizeGB/serveSpec/\n modelSource); select-provider-first launch derivation; diff/replace on\n launch-affecting fields; viability-filtered provider registry (no unused creds);\n readiness HARD gate (/v1/models contains servedModelName) + delete-on-failure\n (no paid leak); create-time secret injection (HF_TOKEN, AWS_*) never in state.\n- Serve: pure vLLM onstart generator (TP=gpuCount, shell-escaped, ${HF_TOKEN:-}).\n- Snapshots: portable whole-disk tar.zst restore (manifest + df + sha256 +\n fail-loud, no HF fallback) replacing Verda-locked volume reattach; `spotproxy\n snapshot` create command (local, S3, AWS CLI v2).\n\nSpec docs/specs/2026-05-31-declarative-config-and-snapshots-design.md\n(Oracle-approved over 3 review rounds, H1-H17). Feature Oracle-reviewed LGTM\nafter fixing 5 found bugs. bun tsc -b green, 264 tests, scripts/ci green.",
"timestamp": "2026-05-31T13:15:01-07:00",
"url": "https://github.com/darkmatter/spotproxy/commit/5dcb9c0fb7119d2f7a4f199fddb05f00c7ebd429",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T13:15:01-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T13:15:01-07:00",
"username": "czxtm"
},
"added": [
"deploy/spotproxy.config.example.json",
"spotproxy.config.example.json",
"src/ModelSource.ts",
"src/Serve/VllmOnstart.ts",
"src/Snapshot/Create.ts",
"src/Snapshot/Manifest.ts",
"src/Snapshot/RestoreBash.ts",
"src/StackConfig.ts",
"test/GpuInstance.declarative.test.ts",
"test/GpuInstance.servedModel.test.ts",
"test/Healthcheck.test.ts",
"test/ModelSource.test.ts",
"test/Providers.test.ts",
"test/Serve/VllmOnstart.test.ts",
"test/Snapshot/Create.test.ts",
"test/Snapshot/Manifest.test.ts",
"test/Snapshot/RestoreBash.test.ts",
"test/StackConfig.test.ts",
"test/Vast/VastProvider.secret.test.ts"
],
"removed": [],
"modified": [
".beads/interactions.jsonl",
"alchemy.run.ts",
"deploy/env.example",
"deploy/install.sh",
"docs/migration-neuron-summon.md",
"src/Budget.ts",
"src/Cli.ts",
"src/Endpoint.ts",
"src/EndpointPublisher.ts",
"src/GpuInstanceProvider.ts",
"src/GpuInstanceTypes.ts",
"src/GpuSpec.ts",
"src/Healthcheck.ts",
"src/Laptop.ts",
"src/LaunchSpec.ts",
"src/ProviderTypes.ts",
"src/Providers.ts",
"src/Selection.ts",
"src/Topology.ts",
"src/Vast/Client.ts",
"src/Vast/Mapping.ts",
"src/Vast/Types.ts",
"src/Vast/VastProvider.ts",
"src/Verda/VerdaProvider.ts",
"src/index.ts",
"test/Budget.test.ts",
"test/Cli.test.ts",
"test/EndpointPublisher.test.ts",
"test/GpuInstance.provider.test.ts",
"test/GpuInstance.seam.test.ts",
"test/GpuProvider.test.ts",
"test/GpuSpec.test.ts",
"test/Selection.test.ts",
"test/Topology.test.ts",
"test/Vast/Mapping.test.ts",
"test/Vast/VastProvider.test.ts",
"test/Verda/VerdaProvider.test.ts",
"test/integration/MultiProviderSelection.test.ts",
"test/integration/ResourceLifecycle.test.ts"
]
}
],
"head_commit": {
"id": "5dcb9c0fb7119d2f7a4f199fddb05f00c7ebd429",
"tree_id": "1d8f625de00a4bc3b54d6da375af3ba580426238",
"distinct": true,
"message": "feat: declarative spotproxy.config.json + portable disk snapshots\n\nReplace the ID-leaking SPOTPROXY_* env surface with a model-first config:\n { hfModelId, hourlyBudget, gpus[], minVRAM, diskSizeGB, modelSource[] }\n\n- Config (StackConfig): flat spotproxy.config.json + default-path search,\n env still overrides, legacy env-only -> reattach (live deploy unchanged).\n- Selection: enforce gpus[] allowlist (canonical token, GB300!=B300) + total\n VRAM + vast disk filter; carry gpuModel+topology through to the selected box.\n- Resource: new GpuInstanceProps (select/providers/diskSizeGB/serveSpec/\n modelSource); select-provider-first launch derivation; diff/replace on\n launch-affecting fields; viability-filtered provider registry (no unused creds);\n readiness HARD gate (/v1/models contains servedModelName) + delete-on-failure\n (no paid leak); create-time secret injection (HF_TOKEN, AWS_*) never in state.\n- Serve: pure vLLM onstart generator (TP=gpuCount, shell-escaped, ${HF_TOKEN:-}).\n- Snapshots: portable whole-disk tar.zst restore (manifest + df + sha256 +\n fail-loud, no HF fallback) replacing Verda-locked volume reattach; `spotproxy\n snapshot` create command (local, S3, AWS CLI v2).\n\nSpec docs/specs/2026-05-31-declarative-config-and-snapshots-design.md\n(Oracle-approved over 3 review rounds, H1-H17). Feature Oracle-reviewed LGTM\nafter fixing 5 found bugs. bun tsc -b green, 264 tests, scripts/ci green.",
"timestamp": "2026-05-31T13:15:01-07:00",
"url": "https://github.com/darkmatter/spotproxy/commit/5dcb9c0fb7119d2f7a4f199fddb05f00c7ebd429",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T13:15:01-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T13:15:01-07:00",
"username": "czxtm"
},
"added": [
"deploy/spotproxy.config.example.json",
"spotproxy.config.example.json",
"src/ModelSource.ts",
"src/Serve/VllmOnstart.ts",
"src/Snapshot/Create.ts",
"src/Snapshot/Manifest.ts",
"src/Snapshot/RestoreBash.ts",
"src/StackConfig.ts",
"test/GpuInstance.declarative.test.ts",
"test/GpuInstance.servedModel.test.ts",
"test/Healthcheck.test.ts",
"test/ModelSource.test.ts",
"test/Providers.test.ts",
"test/Serve/VllmOnstart.test.ts",
"test/Snapshot/Create.test.ts",
"test/Snapshot/Manifest.test.ts",
"test/Snapshot/RestoreBash.test.ts",
"test/StackConfig.test.ts",
"test/Vast/VastProvider.secret.test.ts"
],
"removed": [],
"modified": [
".beads/interactions.jsonl",
"alchemy.run.ts",
"deploy/env.example",
"deploy/install.sh",
"docs/migration-neuron-summon.md",
"src/Budget.ts",
"src/Cli.ts",
"src/Endpoint.ts",
"src/EndpointPublisher.ts",
"src/GpuInstanceProvider.ts",
"src/GpuInstanceTypes.ts",
"src/GpuSpec.ts",
"src/Healthcheck.ts",
"src/Laptop.ts",
"src/LaunchSpec.ts",
"src/ProviderTypes.ts",
"src/Providers.ts",
"src/Selection.ts",
"src/Topology.ts",
"src/Vast/Client.ts",
"src/Vast/Mapping.ts",
"src/Vast/Types.ts",
"src/Vast/VastProvider.ts",
"src/Verda/VerdaProvider.ts",
"src/index.ts",
"test/Budget.test.ts",
"test/Cli.test.ts",
"test/EndpointPublisher.test.ts",
"test/GpuInstance.provider.test.ts",
"test/GpuInstance.seam.test.ts",
"test/GpuProvider.test.ts",
"test/GpuSpec.test.ts",
"test/Selection.test.ts",
"test/Topology.test.ts",
"test/Vast/Mapping.test.ts",
"test/Vast/VastProvider.test.ts",
"test/Verda/VerdaProvider.test.ts",
"test/integration/MultiProviderSelection.test.ts",
"test/integration/ResourceLifecycle.test.ts"
]
}
}