← Signal Feed
•7 min read

Agentic Entities: Why a Registry, Not a Memory, Keeps a Story True to Its Characters

A system that forgets can be reminded. A system that invents is harder to fix. When a long-form agent introduces names no one registered, or flips a character's stable traits mid-novel, the failure is not memory loss, it is identity without a source of truth. Here is why a canonical registry, not a flat notebook, keeps a hundred thousand words coherent.

agentic-aientity-registryidentitystory-enginebookbraryrolefreshlong-form-generationworld-state

Agentic Entities: Why a Registry, Not a Memory, Keeps a Story True to Its Characters

There are two ways a long-running generative system goes wrong about its own material. The first is forgetting: it loses something it once knew. The second is invention: it quietly introduces something new that was never there, or quietly changes something that was, while acting as if nothing happened. The first is a memory problem, and it is genuinely hard to solve. The second looks like a memory problem but is not. It is an identity problem, and it points at a different fix altogether.

Memory says, "I have seen this before." Identity says, "this name means this thing, and this thing has these fixed traits, and any new mention must resolve against that record before it is allowed to stand." Memory is a pile of notes. Identity is a registry.

The Names That Appear Out of Nowhere

Story Engine, the generation backend behind Bookbrary, makes the distinction concrete. It writes serial novels at scale, a single series can run to several hundred thousand words across ten books, and it carries a maintained world state of who and what is canonically true. This past week the pipeline surfaced a quiet symptom: unregistered names. Fresh prose kept introducing entities that had never been added to the registry, names like Lament, Sundered, the Shroud, and the Spire. The text read smoothly, so a pure coherence check passed. But the system could not say what any of these things were, because nobody had ever told it they existed.

This is invention, not forgetting. The generator did not lose a character and slowly misremember her details. It minted brand-new referents on the spot, because inventing a name made a sentence, or a whole scene, easier to write. And the registry, the one place that could have said "unknown name, verify first," was simply never consulted.

Each invented name is a small rupture in the world. Over ten books, small ruptures compound into a canon the system itself can no longer fully explain. The reader who tracks a name from chapter three to chapter nine will eventually meet a thing that was never actually established, and the coherence of the whole body is what pays the price.

Traits Are Identity Too

Names are the obvious case. The subtler one is attributes, and the same pipeline surfaced it the same week. Two linters started flagging pronoun mismatches: a character established as male being referred to as "she," and a character established as female being referred to as "he." These were not typos. They were a signal that the generator was treating a character's gender as decorative prose rather than as a fixed trait belonging to a registered entity.

A pronoun slip is easy to dismiss as cosmetic. It is not. A character's gender, like her name and her position in the story, is part of her identity, a stable attribute the reader leans on to keep the whole world ordered in their head. When the system flips it, it is announcing that it does not actually hold a durable model of the person it is writing about. It is treating each mention as a fresh decision instead of a lookup against a record. The same failure that mints an unregistered name is the same failure that lets Aldric be "she" on page ninety.

A Registry Is a Single Source of Truth

The fix for both symptoms is one thing, and it is not a better memory. It is a canonical entity registry: one structured record that is the sole authority for what exists and what each thing's fixed traits are. Every generation step that touches a person or a place must resolve the name against that registry before it writes a single word. Unknown name? Stop and register it, or reject the mention. Attribute in conflict? The registry wins, and the prose conforms to it.

The difference from a flat notebook of facts is subtle and important. A notebook records what has been mentioned so far. A registry records what exists, and it is authoritative. The notebook can quietly fall out of sync, because nothing is ever forced to consult it. The registry cannot fall out of sync, because it gates the very act of naming and describing. A notebook is documentation. A registry is a binding.

This is the natural next step from a lesson Story Engine has already learned the hard way. Canon availability, such as a character being encased in a rift and unrescued, had to be injected into the generation step rather than checked after the fact. The entity registry makes the same move for identity. Instead of asking a fact checker to notice, after the words are already down, that a name or a pronoun is wrong, you make the wrong output structurally hard to produce, because the generator consults the single source of truth before it writes, not after.

The Same Rule Outside Fiction

This is not a problem about novels. Any system that keeps a durable model of stable real-world things must build the same registry, or watch identity drift one invented detail at a time.

RoleFresh, the AI job search product, depends on exactly this. It tailors a candidate's resume against a specific job and scores ATS match, which means two entities, the person and the role, must hold their identity across an entire matching run. The candidate's history, skills, and name are stable facts. The job's requirements are stable facts. The tailoring is a projection, a fresh rendering of one entity against the other. The moment a tool starts inventing a skill the person does not actually have, or silently rewrites the job to fit a nicer narrative, it has committed the same error as the unregistered name. A resume that reads beautifully but no longer describes the actual candidate is a small rupture of exactly the kind the registry exists to prevent. The projection was free to drift because nothing forced it to resolve against the source of truth before it shipped.

Every system that projects a stable thing into many generated outputs, resumes, novels, or anything else, sits on this same seam. Keep the source of truth authoritative and bind every emission to it, and the outputs stay true to what they claim to be. Let the generator improvise against a pile of notes, and identity degrades one invented name and one flipped pronoun at a time, until the system no longer reliably knows its own world.

Key Takeaways for Agentic Entities

  • T-EE1: Identity is a registry, not a memory. Memory says "seen before"; identity says "this name means this thing with these fixed traits." A pile of remembered facts can fall out of sync, because nothing is forced to consult it. A registry is authoritative, and it gates the act of naming.

  • T-EE2: Unregistered names are invention, not forgetting. When new entities appear that were never added to the source of truth, the generator minted referents on the spot to ease a sentence. Each is a small rupture in canon, and it compounds over scale.

  • T-EE3: Stable attributes are part of identity. A flipped pronoun is not cosmetics. It reveals the system does not hold a durable model of the entity it writes about, treating each mention as a fresh decision instead of a lookup.

  • T-EE4: Bind emission to the source of truth before writing, not after. Resolve every name and trait against the registry at generation time. Make the wrong output hard to produce, not merely easy to catch.