Payload
{
"ref": "refs/heads/main",
"before": "0000000000000000000000000000000000000000",
"after": "e29c2ca0a38181795e5b8b7c76fad82eb437eec3",
"repository": {
"id": 1255349830,
"node_id": "R_kgDOStMeRg",
"name": "infiscal",
"full_name": "darkmatter/infiscal",
"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/infiscal",
"description": "edgeq — TS Worker fronts a Go container. Reference for darkmatter's worker-fronts-go-container pattern.",
"fork": false,
"url": "https://api.github.com/repos/darkmatter/infiscal",
"forks_url": "https://api.github.com/repos/darkmatter/infiscal/forks",
"keys_url": "https://api.github.com/repos/darkmatter/infiscal/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/darkmatter/infiscal/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/darkmatter/infiscal/teams",
"hooks_url": "https://api.github.com/repos/darkmatter/infiscal/hooks",
"issue_events_url": "https://api.github.com/repos/darkmatter/infiscal/issues/events{/number}",
"events_url": "https://api.github.com/repos/darkmatter/infiscal/events",
"assignees_url": "https://api.github.com/repos/darkmatter/infiscal/assignees{/user}",
"branches_url": "https://api.github.com/repos/darkmatter/infiscal/branches{/branch}",
"tags_url": "https://api.github.com/repos/darkmatter/infiscal/tags",
"blobs_url": "https://api.github.com/repos/darkmatter/infiscal/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/darkmatter/infiscal/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/darkmatter/infiscal/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/darkmatter/infiscal/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/darkmatter/infiscal/statuses/{sha}",
"languages_url": "https://api.github.com/repos/darkmatter/infiscal/languages",
"stargazers_url": "https://api.github.com/repos/darkmatter/infiscal/stargazers",
"contributors_url": "https://api.github.com/repos/darkmatter/infiscal/contributors",
"subscribers_url": "https://api.github.com/repos/darkmatter/infiscal/subscribers",
"subscription_url": "https://api.github.com/repos/darkmatter/infiscal/subscription",
"commits_url": "https://api.github.com/repos/darkmatter/infiscal/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/darkmatter/infiscal/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/darkmatter/infiscal/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/darkmatter/infiscal/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/darkmatter/infiscal/contents/{+path}",
"compare_url": "https://api.github.com/repos/darkmatter/infiscal/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/darkmatter/infiscal/merges",
"archive_url": "https://api.github.com/repos/darkmatter/infiscal/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/darkmatter/infiscal/downloads",
"issues_url": "https://api.github.com/repos/darkmatter/infiscal/issues{/number}",
"pulls_url": "https://api.github.com/repos/darkmatter/infiscal/pulls{/number}",
"milestones_url": "https://api.github.com/repos/darkmatter/infiscal/milestones{/number}",
"notifications_url": "https://api.github.com/repos/darkmatter/infiscal/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/darkmatter/infiscal/labels{/name}",
"releases_url": "https://api.github.com/repos/darkmatter/infiscal/releases{/id}",
"deployments_url": "https://api.github.com/repos/darkmatter/infiscal/deployments",
"created_at": 1780250996,
"updated_at": "2026-05-31T18:09:57Z",
"pushed_at": 1780251003,
"git_url": "git://github.com/darkmatter/infiscal.git",
"ssh_url": "git@github.com:darkmatter/infiscal.git",
"clone_url": "https://github.com/darkmatter/infiscal.git",
"svn_url": "https://github.com/darkmatter/infiscal",
"homepage": null,
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"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": true,
"deleted": false,
"base_ref": null,
"compare": "https://github.com/darkmatter/infiscal/compare/b33bad266bed^...e29c2ca0a381",
"commits": [
{
"id": "b33bad266bedbe3ca03e35bed588b90d18030e48",
"tree_id": "2dad3f528d5b8764efb70729c199c4339d3424cb",
"distinct": true,
"message": "Initial commit (by create-cloudflare CLI)\n\nDetails:\n C3 = create-cloudflare@2.68.1\n project name = infiscal\n package manager = pnpm@10.33.2\n wrangler = wrangler@4.88.0\n git = 2.53.0",
"timestamp": "2026-05-09T21:23:36-07:00",
"url": "https://github.com/darkmatter/infiscal/commit/b33bad266bedbe3ca03e35bed588b90d18030e48",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-09T21:23:36-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-09T21:23:36-07:00",
"username": "czxtm"
},
"added": [
".gitignore",
"AGENTS.md",
"Dockerfile",
"README.md",
"container_src/go.mod",
"container_src/main.go",
"package-lock.json",
"package.json",
"pnpm-lock.yaml",
"src/index.ts",
"tsconfig.json",
"worker-configuration.d.ts",
"wrangler.jsonc"
],
"removed": [],
"modified": []
},
{
"id": "e29c2ca0a38181795e5b8b7c76fad82eb437eec3",
"tree_id": "4aeb108509de621e12caf8570be8987d96361d59",
"distinct": true,
"message": "Rewrite as edgeq: TS Worker fronts Go container\n\nReplaces the create-cloudflare starter with a real darkmatter reference:\na Hono Worker that routes per-account requests into a Cloudflare Container\nrunning a Go binary, with KV stale-while-revalidate, R2 for backtest\nblobs, and a cron that warms the funding cache. The Go binary is\ndual-mode — the same binary is `edgeq funding scan` on a laptop and\n`edgeq serve` behind the Worker, so routes mirror subcommands 1:1.\n\n- container_src/: cobra root with funding/vault/backtest/serve/health.\n All subcommands work as CLI and as HTTP routes. 5 tests pass, vet clean.\n- src/: Hono app + MyContainer DO addressed by account, bearer-token\n middleware that requires X-DM-Account, KV cache wrapper with\n background revalidation, R2 backtest result blobs, 5-minute cron\n trigger that warms the funding scan into KV.\n- Dockerfile: multi-stage Go build → distroless static, non-root.\n- wrangler.jsonc: DO + KV + R2 + cron bindings, KV id populated.\n- docs/: TLDR.md + ARCHITECTURE.md + INDEX.md and research/ outputs\n from five parallel sub-agents — bleeding-edge web research (38\n sources), 40 new applications enabled by the pattern, org-wide\n migration targets (apollo + platform), an alternate design that\n ditches DO-per-account for Workflows+Queues+RLS, and the codex\n retry stub (quota wall, re-run after 2026-05-31).\n\nCo-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>",
"timestamp": "2026-05-31T11:09:42-07:00",
"url": "https://github.com/darkmatter/infiscal/commit/e29c2ca0a38181795e5b8b7c76fad82eb437eec3",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T11:09:42-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T11:09:42-07:00",
"username": "czxtm"
},
"added": [
".sops.yaml",
"container_src/cmd/backtest.go",
"container_src/cmd/funding.go",
"container_src/cmd/health.go",
"container_src/cmd/root.go",
"container_src/cmd/serve.go",
"container_src/cmd/vault.go",
"container_src/go.sum",
"container_src/internal/funding/fixture.go",
"container_src/internal/funding/hyperliquid.go",
"container_src/internal/funding/screen.go",
"container_src/internal/funding/screen_test.go",
"container_src/internal/vault/stats.go",
"container_src/internal/vault/stats_test.go",
"docs/ARCHITECTURE.md",
"docs/INDEX.md",
"docs/TLDR.md",
"docs/research/alternate-implementation.md",
"docs/research/codex-alternate-implementation.md",
"docs/research/codex-alternate-implementation.prompt.txt",
"docs/research/new-applications.md",
"docs/research/org-migration-targets.md",
"docs/research/web-research-bleeding-edge.md",
"secrets.sops.yaml",
"src/container.ts",
"src/lib/auth.ts",
"src/lib/cache.ts",
"src/lib/forward.ts",
"src/routes/backtest.ts",
"src/routes/funding.ts",
"src/routes/vault.ts"
],
"removed": [],
"modified": [
".gitignore",
"Dockerfile",
"README.md",
"container_src/go.mod",
"container_src/main.go",
"package.json",
"src/index.ts",
"worker-configuration.d.ts",
"wrangler.jsonc"
]
}
],
"head_commit": {
"id": "e29c2ca0a38181795e5b8b7c76fad82eb437eec3",
"tree_id": "4aeb108509de621e12caf8570be8987d96361d59",
"distinct": true,
"message": "Rewrite as edgeq: TS Worker fronts Go container\n\nReplaces the create-cloudflare starter with a real darkmatter reference:\na Hono Worker that routes per-account requests into a Cloudflare Container\nrunning a Go binary, with KV stale-while-revalidate, R2 for backtest\nblobs, and a cron that warms the funding cache. The Go binary is\ndual-mode — the same binary is `edgeq funding scan` on a laptop and\n`edgeq serve` behind the Worker, so routes mirror subcommands 1:1.\n\n- container_src/: cobra root with funding/vault/backtest/serve/health.\n All subcommands work as CLI and as HTTP routes. 5 tests pass, vet clean.\n- src/: Hono app + MyContainer DO addressed by account, bearer-token\n middleware that requires X-DM-Account, KV cache wrapper with\n background revalidation, R2 backtest result blobs, 5-minute cron\n trigger that warms the funding scan into KV.\n- Dockerfile: multi-stage Go build → distroless static, non-root.\n- wrangler.jsonc: DO + KV + R2 + cron bindings, KV id populated.\n- docs/: TLDR.md + ARCHITECTURE.md + INDEX.md and research/ outputs\n from five parallel sub-agents — bleeding-edge web research (38\n sources), 40 new applications enabled by the pattern, org-wide\n migration targets (apollo + platform), an alternate design that\n ditches DO-per-account for Workflows+Queues+RLS, and the codex\n retry stub (quota wall, re-run after 2026-05-31).\n\nCo-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>",
"timestamp": "2026-05-31T11:09:42-07:00",
"url": "https://github.com/darkmatter/infiscal/commit/e29c2ca0a38181795e5b8b7c76fad82eb437eec3",
"author": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T11:09:42-07:00",
"username": "czxtm"
},
"committer": {
"name": "Cooper Maruyama",
"email": "me@cooperm.com",
"date": "2026-05-31T11:09:42-07:00",
"username": "czxtm"
},
"added": [
".sops.yaml",
"container_src/cmd/backtest.go",
"container_src/cmd/funding.go",
"container_src/cmd/health.go",
"container_src/cmd/root.go",
"container_src/cmd/serve.go",
"container_src/cmd/vault.go",
"container_src/go.sum",
"container_src/internal/funding/fixture.go",
"container_src/internal/funding/hyperliquid.go",
"container_src/internal/funding/screen.go",
"container_src/internal/funding/screen_test.go",
"container_src/internal/vault/stats.go",
"container_src/internal/vault/stats_test.go",
"docs/ARCHITECTURE.md",
"docs/INDEX.md",
"docs/TLDR.md",
"docs/research/alternate-implementation.md",
"docs/research/codex-alternate-implementation.md",
"docs/research/codex-alternate-implementation.prompt.txt",
"docs/research/new-applications.md",
"docs/research/org-migration-targets.md",
"docs/research/web-research-bleeding-edge.md",
"secrets.sops.yaml",
"src/container.ts",
"src/lib/auth.ts",
"src/lib/cache.ts",
"src/lib/forward.ts",
"src/routes/backtest.ts",
"src/routes/funding.ts",
"src/routes/vault.ts"
],
"removed": [],
"modified": [
".gitignore",
"Dockerfile",
"README.md",
"container_src/go.mod",
"container_src/main.go",
"package.json",
"src/index.ts",
"worker-configuration.d.ts",
"wrangler.jsonc"
]
}
}