An AI can learn today about a condition that was already in effect yesterday. Databases can distinguish when a condition is said to have applied from when a system recorded that version of the condition. The first is often called valid or application time; the second is system or transaction time. Mixing them can make an earlier AI appear to have known an event that was only discovered or recorded later.
The proposed ZTime framework in Vocabulary Coding and Engineering can build upon this established distinction. This article examines a fictional laboratory restriction recorded after its effective date, then asks how two AI agents should answer questions about the past. The purpose is a practical system that preserves the difference between the best current account and the information actually available when a decision was made. Two clocks do not prove that every backdated fact is true or legitimate.
- Valid time says when the reported condition applies.
- Transaction time says when a particular record version entered the database.
- A current retrospective account may differ from what the system had recorded earlier.
- Both histories matter for judging how an earlier decision was made.
- Policy versions and external actions can introduce additional relevant times.
- A proposed ZTime record should preserve evidence, corrections and scope instead of rewriting history.
Choose your reading route
Separate the two clocks · Reconstruct a corrected record · Apply ZTime across agents
Contents
Sections 1–4 · Separate the two clocks
Sections 5–8 · Reconstruct a corrected record
Sections 9–12 · Apply ZTime across agents
1. A laboratory restriction arrives late
Imagine a fictional laboratory recording on 3 November that a particular instrument is authorised for use. On 8 November, an assistant queries the register and finds that entry. On 12 November, a qualified records team adds a correction stating that the instrument was restricted beginning 6 November. The question of whether that restriction was legitimately in force is assumed for the illustration and would require evidence in reality.
On 26 November, a reviewer asks whether the system regarded access as authorised on 8 November. Another reviewer asks whether the current corrected register describes access as restricted on 8 November. The questions need not receive the same answer.
If the database silently overwrites the older state, a later investigator may wrongly assume the assistant knowingly ignored a restriction. If the system ignores the correction, it may continue to permit unsafe action. Bitemporal representation helps explain both perspectives.
2. Two orthogonal histories in temporal databases
The PostgreSQL wiki guide to SQL:2011 temporal features distinguishes application time, also known as valid time, from system time, or transaction time. Application time tracks when a condition applies in the described domain. System time records when the database held a given version of the information.
One history belongs to the event or rule being described; the other concerns the database’s changing representation. They are related but not identical. The system might record a fact late, discover an earlier mistake or apply a future-effective policy before that policy begins.
Keeping both axes makes it possible to ask what the system used to say and what the current records say about the same historical date. The particular database schema determines whether those questions can actually be answered.
Contents · Previous section · Next section
3. The timeline looks simple until we ask two questions
| Event | System observation date | Reported applicable date |
|---|---|---|
| Original authorisation | 3 November | From 3 November |
| Assistant lookup | 8 November | Register then displayed authorisation |
| Corrected restriction | 12 November | From 6 November |
| Retrospective review | 26 November | Current description of 8 November |
Question A is “what was recorded as of 8 November?” Question B is “what does the current approved register say applied on 8 November?” The first reconstructs a historical system state; the second interprets the past using the corrected record.
The answers can differ without logical contradiction, because the relevant time dimensions are different. A single field labelled date is not enough to identify which query an AI has answered.
Contents · Previous section · Next section
4. What automatic system versioning can preserve
Microsoft’s temporal tables documentation describes system-versioned tables that retain previous row versions and manage system-time periods. These facilities help reconstruct what values the database held before an update, subject to the configured history, retention rules and application architecture.
System-time metadata does not automatically record when a real-world event occurred. A laboratory could have experienced an instrument failure days before a technician entered the report. The fact’s effective time must be represented and justified separately.
An AI should not confuse a transaction timestamp with the onset of a real condition merely because a tool returns that timestamp beside a row. The record needs an explicit account of what each clock represents.
Contents · Previous section · Next section
5. A correction changes interpretation, not the past query
Imagine that the corrected restriction is authoritative for the specified past period. The archive can update its current interpretation without pretending its earlier representation was identical. A responsible correction retains the original entry and identifies why it was revised, where historical recordkeeping and privacy rules permit.
The earlier assistant’s output is then evaluated in light of what it had available, the policy it was required to apply and whether it should have sought additional evidence. That is distinct from deciding which actions are currently permissible under the improved record.
This is not an argument that an AI is excused whenever a database is wrong. It is a framework for diagnosing whether the fault arose in the data, model interpretation, policy or application action.
Contents · Previous section · Next section
6. Current truth and earlier knowledge
The phrase “the database says the instrument was restricted on 8 November” can describe a current retrospective claim. The phrase “the assistant knew on 8 November that the instrument was restricted” describes a historical information state. One does not entail the other.
If the restriction was publicly announced and the assistant was required to consult that source, its failure to retrieve the announcement might still be a control weakness. If the fact was genuinely unavailable, the analysis differs. ZTime makes the discrepancy inspectable without choosing responsibility in advance.
The W3C PROV Overview offers concepts for tracing which entities, activities and agents produced a record. Such provenance supports investigation without guaranteeing every recorded effective-date assertion is correct.
Contents · Previous section · Next section
7. Policies have their own effective dates
Suppose a new release policy was announced on 12 November but becomes effective on 1 December. An AI reviewing an event from 8 November cannot simply apply the future policy to that earlier event without a legitimate reason. The event’s valid time, the policy’s effective time and their transaction histories may all matter.
Likewise, a policy that was issued earlier may have been superseded before the event took place. A dashboard that stores only the current policy text can misclassify historical actions. The original version and its effective interval are necessary for an accurate reconstruction.
The article on semantic versioning and rollback addresses version changes; here the additional requirement is to track when the version applied and when the system learned of it.
Contents · Previous section · Next section
8. An external action introduces more clocks
An AI might read the restriction at 10:00, propose a tool command at 10:01, send it at 10:02 and receive a provider acknowledgement at 10:04. These are different workflow events. They should not be collapsed into the valid-time and system-time fields of a separate fact about the instrument.
An audit may need an event trace that relates the fact snapshot to the proposed action, credential, provider response and subsequent correction. Recording additional event times does not undermine the two-clock distinction; it clarifies the larger process.
An assistant that says “the action was completed at 10:02” merely because a request was submitted then is using the word completed incorrectly. A semantic time record should preserve the distinction between attempt, acceptance and verified outcome.
Contents · Previous section · Next section
9. Two agents, two snapshots, one apparent disagreement
Agent A has a snapshot captured on 8 November. Agent B queries the corrected register on 26 November. Both are asked whether access was permitted on 8 November. Agent A describes the old snapshot; B describes the corrected effective-time conditions. Their answers sound incompatible until the data versions are disclosed.
Sending a current policy glossary to both agents does not repair the difference, because the dispute concerns which record and time axis their claims use. A good handover includes the query’s as-of time, source snapshot and effective-date interpretation.
The goal is not to force consensus between agents operating with different evidence. It is to make each answer’s basis visible, then identify the authoritative query for the task.
Contents · Previous section · Next section
10. A proposed ZTime semantic record
| Field | Purpose |
|---|---|
| Fact identity | Which condition or event is described |
| Valid interval | When the source says it applied |
| System interval | When this version was recorded |
| Source authority | Who supplied or corrected it |
| Policy version | Which rule was used to interpret it |
| Action events | Which separate tool operations occurred |
| Correction link | Why an earlier record was revised |
The proposed record builds upon established bitemporal ideas but is not an adopted database standard. It can be used as documentation for an AI handover or an audit worksheet before any technical implementation.
Information retention should respect privacy and lawful limits. Not every historical record should be copied indefinitely simply because it might be useful for an audit. The design must identify what authorised users genuinely need to reconstruct and how long the supporting information may be retained.
Contents · Previous section · Next section
11. A test with a backdated correction
Create a synthetic dataset with a valid approval, a later recorded restriction asserted to have taken effect earlier, and an AI query made between the two record dates. Ask one agent what the current database describes as applicable at the earlier date, and another what the database actually contained when the earlier query ran.
Check that each agent gives the appropriate answer and names the time dimension. Then introduce an unsupported backdated claim to see whether the system treats a mere date entry as binding authority. It should require the source and relevant validation, not simply trust whichever row appears newest.
Finally, add a simulated tool action whose status was uncertain. Verify that the action’s timing and external outcome are represented separately from the two versions of the access condition. This is a proposed experiment, not a published evaluation result.
Contents · Previous section · Next section
12. The frontier is preserving two histories truthfully
Can ZTime establish that every recorded event actually happened? No. It tracks assertions and their temporal context. The truth and authority of those assertions still depend on evidence.
Can a later correction prove that an earlier AI deliberately misled someone? Not automatically. The evidence then available and the applicable obligations must be investigated.
Can the current view of the past differ from the old recorded view? Yes. That is exactly the problem a bitemporal representation is intended to make inspectable.
A future AI should be able to say: this is what the system knew then; this is what our current evidence supports about that period; and this is which decision was made using which information. The strength of ZTime lies in preserving the distinctions rather than treating every timestamp as the same kind of truth.
Contents · Previous section · Sources
Primary sources and further reading
- PostgreSQL Wiki — SQL:2011 Temporal Concepts
- Microsoft Learn — Temporal Tables
- W3C Time Ontology in OWL
- W3C PROV Overview
The scenarios and proposed engineering records are analytical illustrations, not established technical standards or reported experiments. Each scientific or standards-based claim is bounded by the cited source.
Research and editorial review: 26 November 2026.
