Skip to content
View RaycarlLei's full-sized avatar

Block or report RaycarlLei

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
RaycarlLei/README.md

Ray

I build backend systems for AI tools: durable execution, failure recovery, deterministic controls, and evaluation. I also maintain software that works offline.

Selected engineering

Project What to inspect
tool-journal A TypeScript/SQLite execution journal with lease fencing, bounded retry admission, and explicit uncertainty. Start with the failure contract, run the LangGraph recovery example, or inspect the runtime experiment.
WordAI Community Offline vocabulary learning in Flutter and SQLite. Inspect meaning-level progress, content-bound answer transactions, and transactional recovery and system file export.

A failure you can reproduce: a service commits an action, then the HTTP receipt is lost. In tool-journal's synthetic HTTP example, recovery with downstream idempotency makes two calls for one effect; subsequent replay needs no service call. Process tests and experiment controls separate the journal's contribution from the provider's deduplication guarantee.

Provider keys can expire. A fixed retry admission window prevents new retry leases after the cutoff, while preserving a live owner's ability to save its receipt. The regressions also demonstrate the limit: local admission cannot stop a delayed request from arriving after the provider forgets its key.

Product work

I build TraderBear, a paper-first AI trading and research product at Awesome Bears. Its production implementation is private. tool-journal is an independent reference implementation informed by that work, with synthetic examples and its own tests; it is not a mirror of the product.

I care about evidence that someone else can check: runnable examples, explicit failure boundaries, regression tests, and design decisions with their tradeoffs.

Pinned Loading

  1. tool-journal tool-journal Public

    TypeScript execution journal for retryable tools: SQLite durability, lease fencing, explicit uncertainty, and reproducible crash tests.

    TypeScript 105

  2. WordAI WordAI Public

    Offline vocabulary learning in Flutter and SQLite: meaning-level progress, review preparation, and pronunciation regression tests.

    Dart