Prompt·Architecture and hidden complexity·A04
Two systems that disagree
Finds data kept in two places (a saved copy and a table, the browser and the server) that can quietly disagree.
Prompt
Find places where two systems can disagree about the same truth. Trace their ownership, synchronization, cache invalidation, and recovery behavior.
- What it returns
- Pairs of stores with the field, who writes each, how they sync, and a sequence of events that makes them diverge.
- Skip it when
- Read-only copies that are rebuilt from scratch on every load.
- Changes
- Changes nothing
- Sessions
- Look first, then fix in a new session
- Tools
- Repository and read-only database access.
- Also called
- Competing sources of truth
Related prompts
- Updates that overwrite each otherPromptFinds updates that overwrite newer data because two things wrote at once.
- Screens showing a change that was refusedPromptFinds screens that show a change right away and keep showing it after the server refused it.
- Where did this number come from?PromptChecks that every number on screen can be traced back to a source document.
- Map every place that writes to the databasePromptSeveral jobs, functions, APIs or agents change the same data, or nobody is sure who owns it.
- Are we storing the same truth multiple times?PromptCaches, aggregates, materialized views or derived columns drift from the raw facts.
More in Architecture and hidden complexity.