In a fictional recovery test, the assistant returns a launch date with a citation. The date was wrong when the note was written. The team already corrected it. A human reading the current note would know what happened. The assistant found an older copy that still looked convincing.

I worked on retrieval that preserves correction history and documented how to recover a notes workspace. Those two jobs meet in moments like this. Restoring a searchable workspace is only useful if it can still tell which decision is current and who is allowed to retrieve it. A clean search index on the day we build it gives me one kind of evidence. A restore drill gives me another.

Thesis: Search should follow the authority and access of the current note, even when historical material still exists.

Why now: Corrections, later decisions, and access changes can all happen while derived copies remain searchable.

Who should care: Teams relying on agents to retrieve current operational decisions.

Bottom line: Test both current retrieval and recovery with a note that changes in all three ways.

Follow the note through three changes

Imagine a note that says a product pilot will start on Tuesday. In this fictional example, Tuesday was a transcription error. The approved date was Thursday all along. Later, the team makes a new decision to start on Monday. The note is eventually restricted to a smaller group.

A correction says the earlier record was wrong. A superseding decision says a later choice took effect and the earlier one may still matter for understanding the past. I’d want a historical view, where authorized, to tell me what the team believed at a given time and what it later learned. A current answer should use the applicable decision. An access change can prevent even a current, correct decision from appearing in a given user’s answer.

flowchart TD
    A["Original note · Tuesday"] --> B["Correction · Thursday"]
    B --> C["New decision · Monday"]
    C --> D["Access restricted"]
    B --> E["Current answer · Thursday"]
    C --> F["Current answer · Monday"]
    D --> G["No result for an unauthorized user"]

The fictional lifecycle shows the expected current answer after each change. It describes retrieval behavior and says nothing about whether historical copies were erased.

ChangeExpected current searchWhat an authorized history view may retain
Tuesday is corrected to ThursdayReturn Thursday with current evidenceThe Tuesday error and when it was corrected
A new decision sets MondayReturn Monday once effectiveThursday as the earlier accepted decision
The note becomes restrictedSuppress its content, snippets, and citations for unauthorized usersRecords allowed under the operator’s access and retention policy

If the history view can answer questions the current agent would abstain from, I’d treat that view as a separate access surface. I’d also test the stale copy directly. Before a rebuild, can a cached snippet still reveal the date? Can an exact identifier lookup get around the filter? If an answer combines two notes, can it disclose the restricted conclusion through the remaining one? Those are all decisions about what the caller may see. Deleting a row from one index only deals with one of the places where the answer may have come from.

A checked-in note can come back from the repository at a known revision. A search index can be rebuilt from the authorized sources available in the restored workspace. Approved local-only files need a separate inventory and an approved recovery source. Cloning the repository supplies the repository content within the chosen clone’s scope. It doesn’t supply files that lived only on the original machine. Git also documents that ignore rules leave already tracked files unaffected. Git clone documentation · Git ignore documentation

I’d restore into a clean environment and check ownership and access before bringing the indexes back. Then I’d rerun the note scenario from an authorized account and an unauthorized one. I’d test a missing local-only file too. If that file contained the current decision, a gap in the restore should surface as a gap in the answer. The workspace should avoid quietly promoting an older note back to current status.

There is a separate decision about retention. Removing a result from search can leave the underlying content in a backup, a log, or Git history. An organization deciding whether to retain or erase it needs to identify those copies and apply the appropriate policy. I’d want a clear distinction in any incident or recovery record between “this caller can’t retrieve it” and “these copies were removed.”

What transfers

For an engineering leader, a recovery drill should establish that the people who need a correct answer can get it and that everyone else sees only what they’re authorized to see. For an engineer, write an expected retrieval result for each state of a single note, then replay the sequence after rebuilding from restored sources.

Try the lifecycle with invented notes before you give an agent access to live decisions. For a related piece on answering with incomplete or changing evidence, see Knowledge Systems Operate Between Uncertainties.