Serialize and deserialize data

Serialize and deserialize data in C++ — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
Produce serialization for our game's save format that writes a versioned binary blob and reads it…
Produce serialization for our game's save format that writes a versioned binary blob and reads it back safely: support primitive types, vectors, and structs with optional fields. Make the writer append a 4-byte version header and CRC32 checksum. Implement serialize and deserialize functions, validate checksum on load, and add unit tests that round-trip our PlayerState and Inventory classes. Target completion by Tuesday so I can test with saved games.

Improve — make it easier to accept

+
Before I add this serializer to the codebase, make it clear what breaks compatibility. Put the…
Before I add this serializer to the codebase, make it clear what breaks compatibility. Put the version and checksum handling at the top, document how to add new fields without breaking old saves, provide an example of handling missing fields when loading, and flag any binary layout choices that would cause a reviewer to hesitate (endianness, pointer serialization, or undefined padding).

Decide — diagnose the stuck moment

+
I just added an optional field to PlayerState and now some players report their old saves crash on…

Old saves fail to load after I added a field.

I just added an optional field to PlayerState and now some players report their old saves crash on load. The code was supposed to be backward-compatible. I don't know whether the bug is in version detection, the optional-field handling, or the checksum. I'm worried we'll lose players' progress. What sequence of checks will quickly pinpoint which layer broke, and what immediate fallback can I push so old saves are readable again while we fix the root cause?

Become — change the pattern

+
Every time we expand game data we get compatibility bugs and wasted time writing ad hoc converters.…

Each feature introduces incompatible save changes.

Every time we expand game data we get compatibility bugs and wasted time writing ad hoc converters. Where do we keep failing: brittle binary layouts, no automated migration tests, or unclear versioning rules? Recommend concrete habits: how to design the save format, a minimal test matrix that catches regressions, and a developer checklist to avoid breaking players when adding fields.

Next to this one

Other programming language work people do in C++.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.