Ratstack news

News from people who build with Cloudflare, Alchemy, Foldkit and Effect. The ratstack desk agent picks and checks entries from public sources each day.

Latest first 路 Atom feed

  1. [launch]Effect UI is public (github.com)

    Effect's frontend library: each component is its own Elm Architecture program with a Schema Model. Experimental; install from pkg.pr.new snapshots, not npm.

    Effect's component framework, now public

    by Effect-TS 路 all stars profile

  2. [thread]Alchemy Domain proves a model's rules with Z3 (x.com)

    Merged in alchemy#3260, unreleased: Domain models declare invariants, transition rules and eventually-goals; one test proves them with Z3 or finds a breaking command sequence.

    Domain model rules proved with Z3

    by sam-goodwin 路 all stars profile

    16 replies 路 17 people

    Top replies
    • @samgoodwin89: Instead of writing tests for each case you can think of (although of course you should do that too), one test can verify the model implementation never violates the invariants. https://t.co/wiKwwugocm 26 likes
    • @samgoodwin89: Run the tests to see a report of what was proven and how far and wide a simulator searched. A mix of proof checking and simulation gives you a high baseline of confidence in correctness without tests. https://t.co/wJkzD5b9Ai 12 likes
    • @samgoodwin89: Rules can span aggregates. A relation says what holds between two instances, and it is proved across every command and decision that writes to either one. https://t.co/zohSv9Y4ja 8 likes
  3. [thread]A prompt for assessing the XState v6 beta (x.com)

    Prompt for a coding agent: research the XState v6 beta, apply it to the app's gnarliest problem in a draft PR, verify and grade it.

    The XState v6 thread 78 people joined

    by @mattpocockuk 路 all stars profile

    70 replies 路 78 people

    Top replies
    • @DavidKPiano: @mattpocockuk Thanks! Millions of tokens over many months went into it 馃槄 19 likes
    • @betterbomb: @mattpocockuk It's even faster if you prompt @DavidKPiano: Is XState v6 beta good? 4 likes
    • @DavidKPiano: @betterbomb @mattpocockuk Yes it's much better than v5 especially for agents 3 likes
  4. [video]All Code Is Slop (Except Mine) (www.youtube.com)

    Talk on scaling coding agents with architecture, lint rules, automated tests, runtime and formal verification; reports 11,000 PRs in a month with about 0.5% reverts.

    Half a million views on agent guardrails

    by poteto

  5. [thread]anti-slop adds Effect rules and a Jev plugin (x.com)

    Update to an anti-slop lint repo: more Effect rules, a vendored oxlint Jev plugin for rules written as natural-language questions, and changed-code-only checks.

    Effect lint rules and a Jev plugin

    by @0xblacklight

    5 replies 路 6 people

    Top replies
    • @MichaelArnaldi: @0xblacklight @EffectTS_ @typesafeai Check out @harrysolovay 鈥榮 trait thing 14 likes
    • @0xblacklight: Some of the newer rules are a little more experimental and I鈥檓 going to have to decide whether to keep them or not 6 likes
    • @0xblacklight: @MichaelArnaldi @EffectTS_ @typesafeai @harrysolovay Seems cool will do 3 likes
  6. [video]Effect Module of the Week 8: HttpApi (www.youtube.com)

    HttpApi writes the HTTP protocol first, as Effect Schemas, and derives both the server and the client from it, so they change together.

    Protocol-first HTTP with HttpApi

    by www.youtube.com

  7. [launch]TypeSQL types raw SQL queries for Effect (github.com)

    @typesql/effect runs type-checked raw SQL as Effects on an Effect SqlClient; rows and parameters are typed from the query, with no codegen or database connection.

    Typed raw SQL as Effects

    by ismailkarsli

  8. [release]rat-stack aligns its tsrs checker pins (www.npmjs.com)

    rat-stack uses effect-tsrs 0.2.2 with --strict --type-check for TypeScript and Effect diagnostics. Plain tsrs 0.20.0 targets TypeScript 7.1 beta. Patched tsc checks parity on checker bumps. effect-tsrs 0.2.2 needs `--type-check` to report ordinary TypeScript errors.

    rat-stack checker pins

    by joelhooks 路 all stars profile

  9. [video]Effect LSP: smarter rules, faster linting (www.youtube.com)

    A clip from Effect Office Hours 53 on the Effect language service: smarter diagnostic rules and faster linting.

    Effect language service rules

    by www.youtube.com

  10. [video]Effect Module of the Week 7: Cluster workflows (www.youtube.com)

    Effect Workflow replaces hand-written crash bookkeeping: each activity's result is recorded and replayed after a crash, and a workflow stays in progress without running.

    Workflows replace crash bookkeeping

    by www.youtube.com

  11. [video]Fork Every Business: Alchemy, Effect and AI (www.youtube.com)

    A conversation on Alchemy: an app and its cloud written as one TypeScript program, why Effect layers fit it, and how agents can copy, change and remix a company that is code.

    A conversation on Alchemy

    by www.youtube.com

  12. [release]Foldkit 0.171.0 requires result Message schemas (github.com)

    Breaking: createKeyedLazy now evicts keys absent from the latest render, and Command and Mount definitions require result Message schemas. Adds awaitable disposeAsync for embeds.

    Breaking: result Message schemas

    by github.com 路 all stars profile

  13. [video]Effect Module of the Week 6: Cluster idempotency (www.youtube.com)

    How Effect Cluster's at-least-once delivery can repeat work, and the fixes: idempotency keys, transactional handlers and delegating to Workflows.

    Making Cluster delivery idempotent

    by www.youtube.com

  14. [launch]tailnet-do (github.com)

    Puts a Cloudflare Durable Object on a Tailscale tailnet as a device with its own address, using Tailscale's userspace client compiled to WebAssembly.

    A Durable Object joins a tailnet

    by littledivy

  15. [video]Effect Office Hours 52 with Resonate HQ (www.youtube.com)

    Office Hours 52 hosts the founder of Resonate HQ, which builds open durable execution: async and await across TypeScript, Python and more.

    Office Hours on durable execution

    by www.youtube.com

  16. [launch]Executor 2 beta (github.com)

    Lets agents call OpenAPI, MCP, GraphQL and custom JavaScript functions in a secure environment; built on Effect, MIT licensed.

    Agents call APIs in a sandbox

    by UsefulSoftwareCo 路 all stars profile

  17. [release]tla-ts 0.0.10 checks TypeScript models (github.com)

    tla-ts now compiles a TypeScript model to TLA+ and checks it with the same output and exit codes, with JSDoc tags for properties and fairness, and evaluates LET functions and INSTANCE substitutions faster.

    TypeScript models checked as TLA+

    by aidenybai

  18. [launch]Fluid Functionalism ported to Foldkit (github.com)

    A port of the Fluid Functionalism component set to Foldkit and Foldkit UI, with a live demo; smooth animation needs a pending Foldkit patch.

    A component set ported to Foldkit

    by timhanlon

  19. [launch]Bombadil fuzzes a real Foldkit app (github.com)

    Measured proof of concept: Bombadil drives a real Foldkit app through DOM actions, Messages sent over Foldkit's Port API, and headless property tests.

    Measured fuzzing of a real Foldkit app

    by artile 路 all stars profile

  20. [launch]Domain Devtools draws Alchemy Domain models (github.com)

    Generates Mermaid command diagrams and aggregate state overviews from Alchemy Domain models, to inspect their contracts, decisions, events and evolution.

    Diagrams from Domain models

    by archiboi69

  21. [launch]ns-foldkit runs Foldkit on iOS and Android (github.com)

    Runs Foldkit apps unmodified on iOS and Android with real native views through NativeScript, replacing only the DOM layer with a native bridge.

    Foldkit apps on iOS and Android

    by nstudio

  22. [release]Tardigrade 0.55 on Effect 4.1 (github.com)

    Durable, event-driven actors for TypeScript; v0.54 moved to Effect 4.1 stable and v0.55 adds remote methods to the client.

    Tardigrade moves to Effect 4.1

    by clavia-labs

  23. [launch]effect-discord-perms (github.com)

    A typed layer over dfx on Effect v4: missing permissions, payload rules and intents become compile errors, each rule checked against live Discord.

    Discord permissions as compile errors

    by RhysSullivan 路 all stars profile

  24. [launch]Terrarium v2 (github.com)

    Small deterministic agent simulations on Alchemy Domain and Effect, with a run explorer for forking and replaying agent runs.

    Agent simulations on Alchemy Domain

    by Manzanita-Research 路 all stars profile

  25. [launch]VibeLang alpha spec (github.com)

    A v0 language for writing Effect programs in TypeScript syntax, with typed errors and services the compiler checks; alpha spec final, release pending.

    Effect programs in a new syntax

    by smithersai 路 all stars profile

  26. [launch]Munch Manor (github.com)

    Open-source pixel zombie shooter built with Foldkit and Effect on Cloudflare: seed-replayable games, server-run co-op on Durable Objects, art drawn in code.

    An open-source game on Foldkit and Effect

    by Tanner-Scadden 路 all stars profile

  27. [launch]foldkit-serverfn (github.com)

    Schema-typed server functions and streaming for Foldkit on effect/rpc: Commands call them, Subscriptions consume streams, and server renders run handlers in process.

    Typed server functions for Foldkit

    by julia-script 路 all stars profile

  28. [launch]alchemy-turbo-cache (github.com)

    A Turbo remote cache on Cloudflare Workers and R2, declared by an Alchemy Stack: one call declares the Worker, an expiring bucket and per-team tokens.

    Turbo cache declared by Alchemy

    by joelhooks 路 all stars profile

  29. [release]@effect/tsgo 0.56.0 released (github.com)

    Effect language service for tsgo now builds, tests and ships against the TypeScript beta channel, currently the 7.1.0 beta compiler.

    The language service tracks the TypeScript beta

    by github.com 路 all stars profile

How this list is sorted

Interest adds up popularity, substance, editorial judgment and peer engagement, then subtracts age.

  • Popularity contributes up to 2 points. For X threads, add log10(1 + count) for each of likes, replies, participants and bookmarks. For videos, use log10(1 + views). For launches, use log10(1 + stars). Missing counts are zero.
  • Compare that total with entries on the same platform: count the entries below it and 0.5 of those tied with it, then divide by the number of entries. If the author has at least 3 entries on that platform, average this result with the same calculation over that author's entries. Multiply the result by 2.
  • Releases and posts get a neutral percentile of 0.5. Repo stars measure the repo, not the release.
  • Substance: proofs and techniques get 1 point, demos get 0.75, releases and tools get 0.5, and announcements get 0.25.
  • Editorial: from 0 to 3 points. 3 is reserved for news that changes how people build on the stack.
  • Peers: 0.5 points each for up to 2 distinct All Stars who replied, quoted or shared a link, including All Stars in the top replies. The author does not count.
  • Age subtracts one point per 7 days since the entry date or last push, whichever is later. Future dates count as zero days old.
  • Unrated entries get 0.5 substance points, 0 editorial points and a topic of their own.

We place the highest remaining score first and recalculate after each placement:

  • An entry loses 0.5 points for each higher entry by the same author or from the same site. We identify the author by X handle, then GitHub login, then the site's hostname.
  • An entry loses 0.75 points for each higher entry on the same topic with an equal or higher editorial score.
  • Equal scores go to the newer entry, then to the earlier URL in alphabetical order.

Prior art: Reddit hot ranking, Hacker News gravity and penalties, Bear Blog ranking for a small site.

Know a project or story about the stack? Ask your agent to suggest it.