All builds

Software notebook / 2026 / In progress

The Tesseract Memory.

The portfolio you are reading, which puts online only the exact version I reviewed and none of the editing tools

The hard part
Making sure the page that goes online is exactly the version I reviewed, and that the editing tools never go online with it.
Works today
You are reading this site through it, and each page here went online only after I named the version I reviewed.
Role
Design and build, with Codex
Built with
Next.js · React · TypeScript · Three.js · SQLite · MCP · ChatGPT Sites · Node.js · JavaScript ESM · JSON · SHA-256 · Shared content validator · CLI

01What I built

The problem.

I change this site often, and three things can go wrong. I could check a page, edit it again, and then put the unchecked version online by mistake. A note could link to a build that is not online yet. And if the editing tools went online with the public site, only a hidden address would keep visitors away from them.

What I built.

The Tesseract Memory has three parts. The first is a private content service, a program that keeps the site's words. It saves every edit as a new version in SQLite, and it decides what can go online. The second is an exporter, which builds the public site from the pages that are online. It leaves out Studio, the screen where I edit. It also leaves out the private services and the A technical wordAPIA set of web addresses that one program uses to ask another program for data, or to ask it to do something. routes, the web addresses that programs call. The third is the reader, the pages visitors see. Its homepage has an animated figure drawn with 3D graphics code. On a computer, the figure follows the page sections as you scroll. On a phone, it sits in the page with the text.

The publishing system

TypeScript, SQLite, MCP

Saved versions
Each edit becomes a new version with a SHA-256 fingerprint. Rules inside the database stop anyone changing a saved version later.The storyPublishing only the exact draft that was reviewed
Publishing check
To publish, I must name the reviewed version and its fingerprint, and say who is publishing. A setting on this computer must allow it, and I must confirm.The storyPublishing only the exact draft that was reviewed
Safe retries
A repeated request with the same key gets the first answer back. A request with changed details is refused.
Input checks
Before saving, it limits the size and shape of the content. It refuses private file paths, text that looks like a password or key, and unknown fields.

The public site

Next.js, React, Three.js

Exporter
Checks the pages that are online, and copies only what the reading pages need into the public site.
Reading pages
Each page reads the same kind of record, from the published pages stored on this computer or from the fixed public copy.
Homepage figure
One animated figure. On a computer it changes pose as you pass each section. On a phone it breathes in place.The storiesMaking the homepage figure follow the page as you scrollA seam in the homepage figure that smoother scrolling couldn’t fixA matching fingerprint doesn't mean the figure looks right

The program

Node.js, JavaScript ESM, JSON, SHA-256

Working Memory Content Operations
File discovery
Finds the website and draft folders, and picks out the draft file names it recognises.
Shared checking code
Loads the site's own check, and the code that makes content fingerprints, from the chosen copy of the website's code.
Record checks
Each draft must pass the check and stay a Draft with no publish date. Its content fingerprint must stay the same.The storyWhen the check changes the draft you reviewed
Bundle checks
Refuses two drafts with the same identity, and any note whose linked project isn't in the bundle.
Report
Lists fingerprints of the exact file bytes, the content and the checking code file. It leaves out the full drafts.The storyWhen the check changes the draft you reviewed

02The journey

What broke, and what changed.

Broke, then fixedA decisionA milestone

  1. 01 of 11DecidedThe Tesseract Memory

    Put online the exact version I reviewed

    The questionA draft can keep changing after I review it. If the site put online whatever is newest, it could show words nobody checked.

    What I choseEach edit is saved as a The Tesseract Memory · The publishing systemSaved versionsEach edit becomes a new version with a SHA-256 fingerprint. Rules inside the database stop anyone changing a saved version later.See it in the map above, with a fingerprint of its content. A fingerprint is a short code that changes when the content changes. To publish, I must name the version I reviewed and its fingerprint. The site keeps a marker on the version readers see. The marker moves only if both match, in one A technical worddatabase transactionA group of database changes saved together, so either all of them are saved or none are., so the move is saved all at once or not at all.

03Today

Where it stands.

The The Tesseract Memory · The publishing systemPublishing checkTo publish, I must name the reviewed version and its fingerprint, and say who is publishing. A setting on this computer must allow it, and I must confirm.See it in the map above make sure what goes online is what I reviewed. They can't judge the writing or the animation. A person still has to read the page and watch it move. I checked the phone layout in a browser pretending to be a phone, not on every real phone.