How-to / A guided look at how we build

Why: a memory you cannot restore after a disk dies, a mistake, or an attack was never really yours to keep.

Recoverability — why it's needed

Side post for "How to use analyst-server" (part 4). Kind: why it's needed.

The problem it answers

Rob's words: "I am building routines to ensure data and code is recoverable in case of disaster."

Everything in analyst-server builds up over time: years of mail, the intents you stated, the initiatives and criteria that grew from them, the briefings, the code that runs it all. The value is in the accumulation. One bad event can erase it:

  • Hardware fails. Disks die without warning.
  • People make mistakes. A wrong command, a bad migration, a script that deletes the wrong folder. Agents make these mistakes too, and faster.
  • Attackers encrypt or wipe. Ransomware does not care how careful you were last week.
  • Providers change. A hosted service can lose data or close an account.

What the routines do

  • Copies on a schedule. The database, the guests' data and the site content are dumped every night by scheduled triggers, not by someone remembering.
  • Copies somewhere else. A copy on the same disk is not a backup. Dumps are encrypted and sent off the machine.
  • Code lives in more than one place. Repositories are pushed to a remote, and a check reports any repository that has no remote copy.
  • Restores are rehearsed. A backup that has never been restored is a guess. Restore drills run on a schedule and write down whether they worked and how long they took.
  • Drift is reported. If a backup shrinks sharply, stops running, or a new data store appears that nothing backs up, an alarm says so.

Why rehearsal matters most

Most backup stories end badly at the restore step: the file is empty, the key is lost, the format changed. Rehearsing turns "we have backups" into "we restored last Tuesday in twenty minutes". That second sentence is the only one worth trusting.

How it connects

Recoverability is one of the ten security classes ("loss and runaway cost"). It depends on scheduled triggers to run, and it pairs with local LLM capacity: one keeps the memory, the other keeps something able to use it.

What it is not

It is not a promise nothing will ever be lost. It is a promise about how much: a known window of loss, a known time to restore, both checked rather than assumed.