DOCUMENT LOADER · CODE CHECKS
Check a troubleshooting guide before agents can use it.
How this step works
The loader checks the document’s format and metadata, screens for secrets and instructions aimed at manipulating agents, and keeps unreviewed or tainted content out of search. Passing a format check does not make advice trustworthy.
EXAMPLE · CONNECTION EXHAUSTION RUNBOOKA runbook explains symptoms and recovery steps
Required metadata, sources and content fingerprint
Invalid documents are quarantined; unsafe content is excluded
ENGINEER · HUMAN KNOWLEDGE REVIEW
An engineer verifies the advice and its source.
How this step works
Seed runbooks are reviewed in Git, through normal code review. Postmortems drafted by investigations are reviewed on an audited endpoint restricted to approvers; that review is bound to a digest, or content fingerprint, so an agent cannot approve its own report or reuse an approval after an edit. Search returns only stable, untainted documents.
WHAT MAKES THE GUIDE SEARCHABLESource: reviewed Git troubleshooting guide
Status: stable · untainted
Changing the content requires a new review
DOCUMENT LOADER · ALLOYDB
Make the reviewed guide searchable by words and meaning.
How this step works
The loader splits the runbook at headings and keeps the title and section context. Embeddings represent a passage’s meaning as numeric vectors. They come from a committed cache produced earlier by Vertex AI, so loading makes no model calls. AlloyDB stores the vectors alongside full-text search data. Each load creates a new index version, activated in one step. The application calls Vertex AI using its service identity, without a database service-account key.
ALLOYDB · DOCUMENTS AND SEARCH PASSAGESkb_documents: full text, source and review status
kb_chunks: passages, meaning vectors and word tokens
knowledge_loads: index version, model and content hashes
history_agent · search_knowledge
Find advice for checkout connection timeouts.
How this step works
Both searches include only stable, untainted documents from the run’s pinned index version (or the active one). Filters also limit the service and corpus, or document collection. The Ask screen searches the active index the same way, without a run. One search ranks word matches; the other ranks meaning matches. Reciprocal rank fusion (RRF) combines rank positions because the raw scores are not comparable.
TWO CLUES FROM THE CHECKOUT OUTAGEExact error text: QueuePool limit … connection timed out
Symptom: checkout waits for free database connections
Exact vector + full-text rankings → reciprocal rank fusion
EVIDENCE STORE · CODE VALIDATION
Save the exact advice supporting the proposed response.
How this step works
The passage is treated as evidence data, not instructions to the agent. Code stores it with its source and search metadata in run_evidence for this investigation. Proposal checks reject citations not issued to that investigation. Later index edits cannot alter the saved excerpt.
ILLUSTRATIVE CITATION · CONNECTION EXHAUSTIONkb:runbooks/db-pool-exhaustion#0
“Raising capacity buys time; inspect connection release.” (illustrative excerpt)
Git runbook · human reviewed · current (illustrative)
Matched by error name and symptom · index version recorded
INCIDENT REPORT AGENT · ENGINEER REVIEW
Turn the checkout outcome into reviewed advice for next time.
How this step works
A postmortem records what caused the outage, what was attempted and what happened. Its draft stays out of search. After screening and a digest-bound human review, it becomes stable and joins a new index version; runs pinned to an older version do not see it. Past advice supports the next investigation without overriding fresh evidence.
POSTMORTEM · A REPORT OF CAUSE AND OUTCOMEAI drafts a report from saved investigation results
Code adds observed recovery and failed remedies
An engineer reviews it before search can return it