Skip to content
View freshtonic's full-sized avatar
🎯
Open to senior IC & contract roles
🎯
Open to senior IC & contract roles

Block or report freshtonic

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. 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
freshtonic/README.md

Hi, I'm James 👋

Principal engineer and former CTO in Sydney. I work in Rust, PostgreSQL internals and applied cryptography, and I build with LLM agents every day, designing the test oracles and evals that make agent-written code trustworthy.

Most recently I was CTO, then Principal Engineer, at CipherStash (2021–2026), where I led the wire-protocol implementation and SQL type checker / transpiler in CipherStash Proxy: a Rust PostgreSQL proxy that keeps equality, range, ordering, grouping and search working over encrypted data.

What I'm building

  • pgtk: PostgreSQL's own understanding of SQL, as Rust libraries. Parse, analyse and type-check SQL the way the server does, with no server.
    • pgtk-sql, the fastest independent Postgres parser: 39 MB/s, 2.2× faster than sqlparser, 1,533 tests. Accepts exactly what PostgreSQL 14–19 beta accepts, with 0 differences from PostgreSQL's raw parser across its regression suite.
    • pgtk-analyze returns result-column and parameter types, or the server's exact error and SQLSTATE, without a server.
    • Try it in the browser: pgtk playground.
  • recursa: an AST-first parser generator for Rust. Write the AST as Rust types; get an LR parser, visitors, a pretty-printer and railroad diagrams. pgtk-sql is built on it. 874 tests.
  • pgtk-proto: a session-typed PostgreSQL wire protocol library for proxies, poolers, drivers and servers. Illegal protocol sequences are compile errors.
  • git-queue and tree-pool: tooling for agent-driven development (stacked PRs; pools of pre-warmed clones for parallel coding agents).

What I'm looking for

Senior hands-on IC roles (Principal / Staff / Lead Engineer) and contract work: systems, databases, security and encryption, back end. Based in Sydney; open to remote.

📫 freshtonic@gmail.com · LinkedIn

Pinned Loading

  1. pgtk pgtk Public

    PostgreSQL's own understanding of SQL, as Rust libraries: a parser, catalog model and type checker that agree with the server, with no server.

    Rust 4

  2. cipherstash/proxy cipherstash/proxy Public

    Encrypt and search your sensitive data in PostgreSQL, with no SQL changes

    Rust 67 4

  3. pg-proto pg-proto Public

    Session-typed PostgreSQL wire protocol in Rust (crate: pgtk-proto) for proxies, poolers, drivers and servers: illegal protocol sequences are compile errors.

    Rust 1

  4. recursa recursa Public

    AST-first parser generator for Rust: write the AST as Rust types, get the lexer, LR parser, visitors, pretty-printer and railroad diagrams.

    Rust 4

  5. pgtk-playground pgtk-playground Public

    Type SQL in the browser and see what pgtk's parser and type checker say about it before PostgreSQL (PGlite) runs it.

    Rust 1

  6. git-queue git-queue Public

    A git subcommand for managing stacks of dependent branches and their numbered pull requests

    Rust