All Projects

02 / Version Control

Treesumé

A resume editor built on version control. One Trunk holds your full professional history. Each application gets a Branch. Changes move between them through reviewable pulls and pushes with real three-way merging, so improving a bullet once can propagate to the versions that need it without anyone copy-pasting across twenty files.

Company

Personal Project

Role

Sole PM, designer and builder

Live

treeresume.lovable.app(opens in a new tab)

Tags

Version ControlReactTypeScriptTipTapPostgres
The Treesumé editor with a resume open in it. A toolbar across the top shows the document name, a branch control reading My Resume on the Trunk branch, a running word count and a save button. Below it the resume itself is laid out on a page, with every heading, bullet and line wrapped in its own faint outline to show that each one is a separate tracked block rather than a run of text.

01 / Role & Scope

Scope

Sole product manager, designer and builder. I defined the model, scoped the constraints before writing anything, made the architectural calls, and shipped it. It is live and usable.

02 / Problem

Divergence Without Reconciliation

The folder everyone recognises: resume_v3_FINAL_final2.pdf, each file a fork of the last, none of them traceable to each other. People tailor per application because tailoring works, and the cost shows up later.

The sequence is always the same. Duplicate, rename, edit, export. Repeat twenty times. Then improve one bullet and realise the other nineteen are now stale, so either skip the fix and send weaker applications or spend an hour copy-pasting. Three months on, "which version did I send to Stripe?" has no answer.

The pain is not editing. Word, Docs and every resume builder handle editing fine. The pain is divergence without reconciliation, because all of them treat each document as an island.

03 / Users

The Serial Tailorer

The core persona applies to fifteen to fifty roles: a new grad, a career switcher, or someone in a competitive field. They already know resumes should be tailored and they already do it. Their system is the folder.

Two more sit behind that one. The meticulous updater, who applies less often but every few months has to add a job or a skill to every variant and dreads it. And the mentor or coach, who keeps a master and spins versions off for mentees or industries.

The jobs are narrow and concrete. When I find a posting I want, help me make a tailored version without losing track of what I changed or where I sent it. When I improve something, help me propagate it to the versions that need it. When two versions have both changed, help me reconcile them without destroying work. The functional job is version management; the emotional job is confidence, knowing exactly what you sent and that nothing is lost.

04 / Constraints

What Scoping Settled First

Git already solves this problem, and git is a non-starter for this user. So the solution had to borrow the model and hide the machinery. No CLI, no staging, no commit messages.

A resume is structured, not plain text, which makes line-based diffing the wrong instrument. The unit of change had to be the block: a bullet, a heading, a section. That single decision drove the document model and the block-level diffing on top of it.

Everything runs client side on documents small enough that quadratic comparison is fine, but reorder detection still had to be smart. Moving one block should not flag every block it displaced, which is what a naive diff does.

Blocks get deleted and recreated, so identity cannot rest on array position or a generated id. That later forced origin tracing, so a block's lineage survives edits, moves and branch creation.

Export has to be a pixel-faithful PDF, which constrains the editor to a paper-like canvas with print-isolated CSS. And merging is a trust problem before it is an algorithm: auto-merging silently would terrify people, so every decision has to be visible and reversible.

05 / Build

Reliability Before Features

The first iterations went to the unglamorous half. Persistence, so work survives a tab switch and reopens on the branch you left. Auto-snapshots moved off an unmounting component, because they were silently failing to save, with a visible Autosave Snapshots section so people can see they exist. Undo and redo across every structural action, not just text.

Then the edges. Font control moved out of the title bar into the editor toolbar as a full-name dropdown applied globally. A security pass over password storage, row-level security and session handling, which surfaced gaps worth closing. And reach: the mobile gate started as a hard block and became a real tablet mode, because telling someone their device is wrong is not a feature.

06 / The Pivot

Automation Traded For Legibility

The sharpest call on this project was deciding that automatic syncing was doing too much, silently. It was faster, and it violated the promise the product is built on: people could not see or control what changed. So I rebuilt the model on GitHub's.

Pulls became manual and reviewable. Diffs compute on demand rather than running in the background, covering text edits, added and deleted blocks, and reorders. Reorder detection uses a longest-increasing-subsequence pass so moving one block surfaces one move instead of twelve false diffs, which is the same problem git solves with rename detection.

Full three-way merge with conflict detection came next. Edit the same block on both trunk and branch and you get a theirs-versus-yours resolution rather than a silent winner. Push works the same way in reverse, with symmetric review.

The review interface matured through actual use: fullscreen side-by-side previews, zoomed change highlighting, scroll sync, a mini navigator, keyboard shortcuts, and progress tracking with undo. It converged on the diff experience people already know from VS Code and GitHub, except what you are comparing is two rendered resumes rather than two columns of text. You review documents, not code.

This was not feature creep. It was the product converging on its own thesis: give non-technical people the power of version control by making every operation visible, reviewable and undoable.

07 / Architecture

The Bet That Paid Off

The editor runs on TipTap over ProseMirror, which is the real engine under the product. A textarea gives you a blob of text and you cannot diff, branch or conflict-detect against a blob. A typed tree of blocks you can. Two custom extensions handle the rough edges: one preserves pasted formatting instead of stripping it, one kills phantom trailing nodes.

The version control itself is hand-written TypeScript in a single context that holds the document tree, branch relationships, origin tracing, merge bases, the three-way merge engine, reorder detection, push and pull diffing, and the undo stacks. There is no version-control library in here, because no off-the-shelf git-in-the-browser tool fit a non-technical resume product. Building it in-house on top of the block tree was a scoping decision, not an accident.

The backend is deliberately thin: Postgres with two tables, one holding the live document tree per user and one holding snapshots and the edit log, both under row-level security, plus a single function for hard account deletion. PDF export goes through the browser print pipeline with dedicated print CSS, so the paper layout is real HTML rather than a generated file.

The bet was storing the document tree as JSON rather than relational rows. That is why the pivot was cheap: adding the origin and merge-base fields that made three-way merging possible needed zero database migrations. A blocks table with foreign keys would have meant a schema change, a backfill and a migration window at exactly the moment I needed to move fast.

The trade I took in exchange: the database cannot answer questions like which documents mention Python, and every save rewrites the whole tree. For a personal tool where one person owns one resume family, that is a good trade. It stops being one the day collaboration enters scope, because two people editing the same tree needs block-level records and conflict resolution at the storage layer, not just in the app. This is a single-player architecture by design, and that is the line item to revisit if sharing with a recruiter or a friend ever becomes a feature.

Next Project

03 / AI Agents

RagResume