GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(id): 2026-10-28 program investigations — TigerBeetle + Cloudflare Workers fit by dezren39 · Pull Request #2067 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 29, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Adds the first two investigation reports of the 2026-10-28 ID platform expansion program (epic #2056), filed in doc/ following the repo's timestamped design-doc convention (pkgs/id/doc symlinks there):

  • TigerBeetle currency backend (for id: investigate: TigerBeetle — multi-currency ledgers, conversions, per-coin vs balance model, 3-node cluster topology #2040): dynamic ledgers yes; native conversions NO (cross-ledger transfers are forbidden — conversions are application-composed linked pairs, design id: design: conversion engine — linked transfer pairs, rate authorisation, liquidity accounts #2063); balance-only (no per-coin identity); cluster = all-replicas-running VSR, not 1-active+backups (topology decision id: investigate: TigerBeetle cluster topology decision — 3 vs 6 replicas, site placement, commit latency #2064); refund/revocation gap with a pending-transfer mitigation (id: design: refundable grants via pending transfers — Steam premium tokens voidable through the refund window #2065).
  • Cloudflare Workers fit map (for id: investigate: Cloudflare Workers edition — isolates + Durable Objects + per-user SQLite fit for ID #2044): the hosted edition is an HTTP/WebSocket-shaped subset (no UDP in isolates, so no Iroh); per-user Durable Object + SQLite is the winning shape; D1-per-user capped at 50k databases; Google sub as the SSO key; custodial keys rejected.

These feed the currencies v1 synthesis (#2043) and the serverless edition v1 synthesis (#2046). Docs only; no code changes.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Muse Sweep
docs(id): 2026-10-28 program investigations — TigerBeetle + Cloudflar…
8bbefca
…e Workers fit

First two investigation reports of the ID platform expansion program
(epic #2056): TigerBeetle capability report for the currencies design
(#2040) and the Cloudflare Workers/DO/SQLite fit map for the serverless
edition (#2044). Filed under doc/ (the pkgs/id/doc symlink target).
@dezren39
dezren39 requested a review from a team as a code owner October 29, 2026 01:06
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 40 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c216784a-6972-4e95-aa3e-8e9d246f2ca6
Commits

Reviewing files that changed from the base of the PR and between 0fda29d and 9995a56.

Files selected for processing: 2
  • doc/2026-10-28T23-34-14Z_investigation_cloudflare_workers_fit/2026-10-28T23-34-14Z_investigation_cloudflare_workers_fit.md
  • doc/2026-10-28T23-34-15Z_investigation_tigerbeetle_currency_backend/2026-10-28T23-34-15Z_investigation_tigerbeetle_currency_backend.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T04:00:43.675455Z 9995a56 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Oct 29, 2026
epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056
Closed
3 tasks done
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Oct 29, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8bbefcab68

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...tigation_cloudflare_workers_fit/2026-10-28T23-34-14Z_investigation_cloudflare_workers_fit.md
Comment on lines +167 to +169
- **UDP: there is no UDP socket API.** Iroh's transport is QUIC, and QUIC runs
over UDP; hole punching and Iroh relay (DERP-style) flows are likewise
UDP/QUIC-shaped. None of that can execute inside a Worker or Durable Object.

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 29, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Evaluate relay-only Iroh before ruling out protocol compatibility

The lack of UDP rules out direct connections and hole punching, but not Iroh's relay transport. Iroh's official Wasm documentation describes browser peers that cannot send UDP and nevertheless communicate through relays, including an echo-server example. The repository also documents the WebSocket relay protocol in doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/cloudflare-workers/RESULTS.md. Workers compatibility and connection-lifetime costs still need investigation, but the UDP-only premise does not establish that an application-level HTTPS bridge is mandatory. Qualify the conclusion and assess the relay-only Wasm path separately.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...erbeetle_currency_backend/2026-10-28T23-34-15Z_investigation_tigerbeetle_currency_backend.md
Comment on lines +106 to +107
model issuance; a `credits_must_not_exceed_debits`-style constraint would
cap it. TigerBeetle does not pick for you.

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 29, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Correct the constraint recommended for limiting issuance

For the issuer → recipient minting model defined here, issuance increases the issuer's debits. credits_must_not_exceed_debits therefore does not cap issuance; it constrains incoming credits instead, so arbitrarily large mint transfers would still pass that constraint. The Account reference specifies this direction explicitly. Describe a prefunded issuance account with debits_must_not_exceed_credits, or a separate supply-limit construction, rather than recommending the opposite flag as a supply cap.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...erbeetle_currency_backend/2026-10-28T23-34-15Z_investigation_tigerbeetle_currency_backend.md
Comment on lines +409 to +411
- **Account closure exists but is narrow.** An account can be closed (via
`flags.closing_debit`/`closing_credit` pending transfers) once its net
balance is zeroed; a closed account "will reject further transfers, except

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 29, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Separate account freezing from zero-balance closing entries

The zero-balance prerequisite incorrectly excludes a database-enforced freeze for funded accounts. The Transfer reference defines the closing flags as setting Account.flags.closed when a pending transfer succeeds, without requiring the existing balance to be zero; balancing the account is a separate operation in the closing-entry recipe. A zero-amount closing pending transfer can therefore freeze an account with funds and be voided to reopen it. Correct this distinction and the earlier claim that no freeze primitive exists, so the design does not unnecessarily rely exclusively on gateway-side freezes.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...tigation_cloudflare_workers_fit/2026-10-28T23-34-14Z_investigation_cloudflare_workers_fit.md
Comment on lines +41 to +43
- Execution is single-threaded per object and requests to one object are
serialized, which is what makes the strong consistency cheap: no locks or
consensus are needed inside one user's store. For ID this matches the existing

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 29, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Qualify the request-serialization guarantee across async calls

When a handler awaits an external operation such as fetch(), another request can execute on the same Durable Object and change its state; single-threaded execution does not serialize complete asynchronous handlers. Cloudflare's concurrency documentation explicitly distinguishes synchronous SQLite operations and storage input gates from external async calls that permit interleaving. The unconditional guarantee here could lead the proposed graph/journal or shared-world handlers to read state, await external work, and then commit updates against stale state. State that invariant-sensitive check/update sequences must remain synchronous or use explicit concurrency protection when spanning external awaits.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot assigned dezren39 Oct 29, 2026
Muse Sweep
style: treefmt the two investigation reports (CI format-check)
9995a56
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Oct 29, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9995a56b2e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...erbeetle_currency_backend/2026-10-28T23-34-15Z_investigation_tigerbeetle_currency_backend.md
Comment on lines +119 to +120
would be two records of the same event, linked by storing the ID-graph object
ID in a transfer's `user_data_128` (128-bit, indexed) — the docs explicitly

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 29, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the full graph ID in the reconciliation link

For the signed ID-graph events described here, the proposed direct link does not fit: pkgs/id/src/event_store/range.rs:36–37 defines event IDs as 32-byte BLAKE3 hashes, whereas TigerBeetle's user_data_128 holds only 16 bytes. Storing the full event ID in this field is therefore impossible, and truncating it would lose the reference needed to retrieve and verify the signed source. Specify a control-plane mapping from a 128-bit surrogate to the full hash, or another lossless representation, as part of the reconciliation design.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
dezren39 merged commit 8124cc0 into main Oct 29, 2026
4 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the docs/id-program-investigations-2026-10-28 branch October 29, 2026 05:56
This was referenced Oct 29, 2026
id: investigate: multi-hop relay and P2P media paths — bridging peers, optional privacy relay, large-message chunking #2035
Closed
id: design: conversion engine — linked transfer pairs, rate authorisation, liquidity accounts #2063
Closed
id: investigate: TigerBeetle cluster topology decision — 3 vs 6 replicas, site placement, commit latency #2064
Closed
docs(id): TigerBeetle cluster topology investigation — 6 replicas / 3 near sites (#2064) #2291
Merged
ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599
Closed
id: PoC: conversion executor — linked transfer pairs, write-ahead intent, recovery scanner #2289
Closed
id: investigate: Cloudflare Workers edition — isolates + Durable Objects + per-user SQLite fit for ID #2044
Closed
id: investigate: TigerBeetle — multi-currency ledgers, conversions, per-coin vs balance model, 3-node cluster topology #2040
Closed
@dezren39 dezren39 mentioned this pull request Nov 8, 2026
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.