Open source

I contribute fixes to the open-source tools I use.

A few fixes, up close

What broke, and what changed.

01 · Money

Money that shouldn’t move

In DeepBook v3, asking to repay nothing repaid everything. A truthy check treated zero as “everything”, in code that moves money.

  • MystenLabs · DeepBook v3

02 · Input

Input nobody expected

Most of my Sui merges harden the parsers in the TypeScript and Rust SDKs against input they weren’t expecting. In Rust, property-based tests now generate the whole grammar instead of guessing at it.

  • MystenLabs · TypeScript and Rust SDKs

03 · Timing

State read at the wrong moment

In GitLab’s Language Server, the rejected token was read after the upgrade had already replaced it. In Pinia Colada, a retry stayed armed after its request was cancelled.

  • GitLab · the Language Server behind Duo
  • Pinia Colada · merged by posva

Where my code lives

MystenLabs · the company behind Sui

A fund-safety fix in DeepBook v3: asking to repay nothing no longer repays everything.

Most of my Sui merges harden the TypeScript and Rust SDKs against input they weren’t expecting, the kind a financial SDK can’t afford to accept.

Read the write-up: Repaying zero repaid everything

GitLab

The Language Server behind GitLab Duo in your editor

Both fixes in the Language Server are small, and each one ships with a test. The third change is on contributors.gitlab.com, GitLab’s contributor platform.

All of them on GitLab: every merge at GitLab

Pinia Colada · Vue ecosystem

Retries and cache restore, merged by posva

posva also wrote Pinia and Vue Router. My fixes cover state that broke when a request was cancelled, collided or resolved out of order.

All of them on GitHub: every merge at Pinia Colada

Every merge and package (21 merges · 3 live packages)

Twenty-one of my changes are merged in repositories I don’t own, and three packages are live on npm. Each row links to its record. Read from GitHub, GitLab and npm on 11 November 2026: a dated snapshot, not a live feed.

MystenLabs

13 merged · 4 repositories

Thirteen merged across four of Sui’s repositories — the TypeScript SDKs, the Rust SDK, the core repo and the Move book. Eight are one problem: what a parser in a financial SDK does with input it was not expecting.

  • ts-sdks #1032deepbook-v3: repay_base / repay_quote no longer drain balance when amount is 020 Jul 2026
  • sui-rust-sdk #218sui-sdk-types: property-based tests for type_tag parsing01 May 2026
  • ts-sdks #898parseStructTag rejects malformed inputs30 Mar 2026

Ten more at MystenLabs, on GitHub

GitLab

3 merged · 2 repositories

The GitLab Language Server is the backend for GitLab Duo in the editor. Both fixes there are small, and each one ships with a test. The third change moves a utility on contributors.gitlab.com, GitLab’s contributor platform, to TypeScript.

Pinia Colada

3 merged · 1 repository

Three merged by posva — who wrote Pinia Colada, and also Pinia and Vue Router. All three are the same class of bug: state that stays correct right up until something is cancelled, collides, or resolves out of order.

  • pinia-colada #568retry: a cancelled operation no longer leaves a retry armed28 Apr 2026
  • pinia-colada #563retry: structurally distinct keys no longer collide in the retry map20 Apr 2026
  • pinia-colada #562cache-persister: await the captured promise on async restore20 Apr 2026

Elsewhere

2 merged · 2 repositories

OpenPencil is an open-source writing tool with an agent surface. The Vue one is from 2022 and is the oldest row here — it stays because the admission test is about whose repository it is, not about how recent.

  • openpencil #176cli: validate the document before starting the headless MCP server13 Jul 2026
  • docs #1724component-basics.md25 May 2022

Published on npm

3 live

Three that stand on their own — each solves one problem end to end and has no dependency on anything else here.

Published, then retired

13 still on npm

Libraries

Published, then retired. They stay listed because shipped work is still evidence.

  • s4020.9.0The agentic-payments protocol · retired Sept 2026since Feb 2026
  • colada-db0.1.0Local-first client database · retired Nov 2026since Aug 2026

@sweefi

Retired September 2026 in favor of x402. One system in eleven parts — the s402 protocol with a client, a server, two chains and the adapters between them. Published together, versioned together, and listed here as one thing because that is what they are.