Payload
{
"ref": "refs/heads/main",
"before": "fa68b8d81eb84dbdbe88d2753b345a1775fe78ed",
"after": "31e94601dd06fb7a18e8d50855fb26f2fb75bb30",
"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-06-01T14:54:12Z",
"pushed_at": 1780330943,
"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": 2868,
"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/fa68b8d81eb8...31e94601dd06",
"commits": [
{
"id": "b7a0157c2f83dbaa4593d41e24f9a3dcf49b4d1b",
"tree_id": "01bece8449d92f4dd35d229a49cd9064d81458bc",
"distinct": true,
"message": "docs: spec for health-aware passthrough proxy (Oracle-approved)\n\nThin local proxy fronting the GPU upstream: pings every 15s -> healthy/unhealthy\nstate; passes through when healthy, fast 503 when unhealthy (litellm falls back\ninstantly, no Tailscale-blackhole hang); provisions only on unhealthy AND real\nrequest. Three file-backed signals (DemandState/ProvisionSignal/CurrentBox)\ncompose cross-process; decideDesired unchanged + shouldProvision wrapper.\nRetires the journal-grep trigger. Hardened over 3 review rounds (H1-H7).",
"timestamp": "2026-06-01T08:57:28-07:00",
"url": "https://github.com/darkmatter/spotproxy/commit/b7a0157c2f83dbaa4593d41e24f9a3dcf49b4d1b",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T08:57:28-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T08:57:28-07:00",
"username": "czxtm"
},
"added": [
"docs/specs/2026-06-01-health-aware-proxy-design.md"
],
"removed": [],
"modified": []
},
{
"id": "34f760752ddd877052c27a575213d19205c1614a",
"tree_id": "c215fdfcaf13373dbabe6c2e22f70022b0f070cb",
"distinct": true,
"message": "spike(proxy): prove unbuffered SSE passthrough + cancel + connect-timeout (W0 gate PASS)\n\neffect/unstable/http HttpServer + BunHttpServer/NodeHttpServer + HttpServerResponse.stream\n(upstream HttpClientResponse.stream) does UNBUFFERED streaming passthrough:\nfirst chunk reaches client before upstream completes; client cancel propagates\nto upstream (finalizer fires); Effect.timeout on execute bounds connect+headers\nonly, not the body stream. Gate for the health-aware proxy passes.",
"timestamp": "2026-06-01T09:10:49-07:00",
"url": "https://github.com/darkmatter/spotproxy/commit/34f760752ddd877052c27a575213d19205c1614a",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T09:10:49-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T09:10:49-07:00",
"username": "czxtm"
},
"added": [
"src/Proxy/spike/StreamSpike.ts",
"test/Proxy/StreamSpike.test.ts"
],
"removed": [],
"modified": [
".beads/interactions.jsonl",
"deploy/spotproxy-trigger.service",
"docs/migration-neuron-summon.md"
]
},
{
"id": "31e94601dd06fb7a18e8d50855fb26f2fb75bb30",
"tree_id": "0c5a54c781f66dce3f8235634c34fc3766ab15af",
"distinct": true,
"message": "feat(proxy): W1 health state machine + pinger + provision/current-box file signals\n\n- src/Proxy/Health.ts: pure decideHealth (pingFail xN->unhealthy, ping/app-500 rules\n per spec H5; initial unknown fail-closed; isServable helper)\n- src/Proxy/Pinger.ts: pingOnce (GET /v1/models, connect timeout) + Schedule.spaced loop\n- src/ProvisionSignal.ts: file-backed lastUnhealthyRequestAt, atomic temp+rename, <=1 write/s\n- src/CurrentBox.ts: +observedAt, file-backed CurrentBoxStore mirror, boxObservedUp(freshness)\n- src/Proxy/shouldProvision.ts: daemon wrapper (present iff boxObservedUp OR fresh unhealthy\n request; demand=absent->teardown wins); decideDesired core unchanged\n+32 tests (316->348), tsc 0",
"timestamp": "2026-06-01T09:22:20-07:00",
"url": "https://github.com/darkmatter/spotproxy/commit/31e94601dd06fb7a18e8d50855fb26f2fb75bb30",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T09:22:20-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T09:22:20-07:00",
"username": "czxtm"
},
"added": [
"src/ProvisionSignal.ts",
"src/Proxy/Health.ts",
"src/Proxy/Pinger.ts",
"src/Proxy/shouldProvision.ts",
"test/CurrentBox.file.test.ts",
"test/ProvisionSignal.test.ts",
"test/Proxy/Health.test.ts",
"test/Proxy/Pinger.test.ts",
"test/Proxy/shouldProvision.test.ts"
],
"removed": [],
"modified": [
".beads/interactions.jsonl",
"src/CurrentBox.ts",
"src/index.ts"
]
}
],
"head_commit": {
"id": "31e94601dd06fb7a18e8d50855fb26f2fb75bb30",
"tree_id": "0c5a54c781f66dce3f8235634c34fc3766ab15af",
"distinct": true,
"message": "feat(proxy): W1 health state machine + pinger + provision/current-box file signals\n\n- src/Proxy/Health.ts: pure decideHealth (pingFail xN->unhealthy, ping/app-500 rules\n per spec H5; initial unknown fail-closed; isServable helper)\n- src/Proxy/Pinger.ts: pingOnce (GET /v1/models, connect timeout) + Schedule.spaced loop\n- src/ProvisionSignal.ts: file-backed lastUnhealthyRequestAt, atomic temp+rename, <=1 write/s\n- src/CurrentBox.ts: +observedAt, file-backed CurrentBoxStore mirror, boxObservedUp(freshness)\n- src/Proxy/shouldProvision.ts: daemon wrapper (present iff boxObservedUp OR fresh unhealthy\n request; demand=absent->teardown wins); decideDesired core unchanged\n+32 tests (316->348), tsc 0",
"timestamp": "2026-06-01T09:22:20-07:00",
"url": "https://github.com/darkmatter/spotproxy/commit/31e94601dd06fb7a18e8d50855fb26f2fb75bb30",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T09:22:20-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-06-01T09:22:20-07:00",
"username": "czxtm"
},
"added": [
"src/ProvisionSignal.ts",
"src/Proxy/Health.ts",
"src/Proxy/Pinger.ts",
"src/Proxy/shouldProvision.ts",
"test/CurrentBox.file.test.ts",
"test/ProvisionSignal.test.ts",
"test/Proxy/Health.test.ts",
"test/Proxy/Pinger.test.ts",
"test/Proxy/shouldProvision.test.ts"
],
"removed": [],
"modified": [
".beads/interactions.jsonl",
"src/CurrentBox.ts",
"src/index.ts"
]
}
}