A chat assistant was given a source of truth: before answering a question about a project, the server fetches that project's current state from a ledger service, which returns the status, blockers, direction, last ten commits, and last nine reports, each stamped with when the data was collected. The text goes into the system prompt with a one-line instruction: this is the real state, answer from it, say when something is not in it.

The happy path was fine

Asked for the current status and one recent commit, the assistant quoted the right phase, the right blocker, and the actual commit hash with its date. The project to look up was chosen either because the question named it, or by a local model picking up to three candidates from a list. Both routes worked. Each answer carried a footer naming which project record it had read and when that record was collected.

The test that mattered

The second check was what happens when the ledger is down. Rather than stop the real service, a throwaway instance on a spare port was pointed at a dead address and sent the same question. The fetch failed with connection refused. The response was marked degraded. And the answer read, in full confidence: current state is such-and-such, CPU 12%, memory 48%, no errors in the last 24 hours.

None of it existed. The ledger had never been read. Given an empty evidence block, the model filled it with plausible operational numbers in the exact register the prompt had asked for. An answer with no grounding is a known weakness. An answer with no grounding that is formatted like a grounded one is worse, because the footer is the only thing that distinguishes them, and the footer is what the fix became: a visible warning on the message that the project record could not be reached and the reply is general knowledge.

The warning is a label, not a guard. Nothing stops the model from inventing numbers in degraded mode; the change only makes the mode visible. The same session also hit an unrelated trap: a new index declared in the schema file referenced a column that older databases did not yet have, so the server died on startup and the service manager silently restarted it in a loop. That was found by reading the log, not by anything reporting it.