Why shouldn't an HR agent trust an old procedure?

Why shouldn’t an HR agent trust an old procedure?

Why can an answer based on an accessible document still be wrong? Access tells us whether someone may read a passage; it does not tell us whether the passage still governs the work. Imagine two versions of an employee benefits procedure. Both remain in an HR folder. One describes an approval step that was later replaced. A search system that finds the most similar paragraph without checking its version can turn yesterday’s process into today’s advice. Even a file labelled “current” may not be the version actually in force.

Suppose an HR colleague asks an agent how a new starter should complete a request. The folder contains an onboarding checklist, an older leave procedure and a note in that employee’s personnel file. This is an illustrative situation, not a customer story. The colleague might be allowed to read the personnel file while another employee is not. Yet even if the right person asks the question, the older procedure may still lead to a mistaken answer. Preventing disclosure and selecting the valid version are separate tasks. A system that does one well cannot claim to have solved the other.

The order of operations matters

Accepted ADR-0015 in agentic-organization describes a proposed company-document pipeline. It would extract structure from files, divide them into passages, attach source, version and access metadata, find candidates through keyword and semantic search, and rank the permitted results. That sounds like a relevance project, but for HR the sequence is more important than the score. Passages outside the caller’s permissions must be filtered before a ranking service receives any candidates. The ranker should not decide what the caller is entitled to see.

Doing the access check after writing the answer would be too late. By then a restricted passage might already have been sent to a model or an external ranking provider. A prompt instruction saying “do not reveal private records” does not remove those records from the candidate set. The ADR proposes an access list on each document passage, covering company, departments, roles and classification, with filtering in the database query. It is a design for an enforcement boundary, not evidence that every installation currently enforces document access in this manner. The distinction between a decision recorded in an ADR and code a team can run matters especially when discussing personnel records.

Once the candidate list contains only accessible passages, versioning is still unresolved. ADR-0015 calls for repeat ingestion to be idempotent by document hash, with superseded versions excluded from retrieval rather than deleted. Keeping a retired version can help with review; serving it as the answer to a new employee question is another matter. A newer upload is not necessarily an approved replacement either. A draft could have arrived yesterday while the effective procedure was approved weeks earlier. Someone in the organisation must define ownership, effective dates and what replaces what. A ranking model can compare passages with a question; it cannot be the authority that approves an HR policy.

A citation is evidence of a source, not approval of it

The ADR chooses hybrid candidate retrieval, then a separate ranking stage. TypeSafe Jev is the planned cloud option where installation settings permit it; a local cross-encoder is the planned option for documents that must remain on premises. The design keeps a small set of passages above a calibrated threshold and calls for the answer to cite document, section and version. If none passes the threshold, it should say so rather than invent a rule. This would give the HR colleague a chance to inspect why an answer was given, rather than trusting fluent prose on its own.

But a citation is not a seal of validity. A perfect reference to a superseded document still supports the wrong advice. Neither does a high relevance score prove that the cited passage is appropriate for a particular employee. Cloud ranking introduces a separate decision: candidate passages would leave the organisation for a paid external service. The ADR asks for an explicit installation choice, visible in the admin interface and audit record. For HR, that choice should depend on the classification of what might be sent, not simply on whether one ranking option feels convenient. Local ranking avoids that particular transfer but has an operating cost of its own.

There is an important limit to what the current code does. backend/services/rag_service.py indexes assistant messages, task results and agent memories in EmbeddingRecord. That record carries fields such as company, person and human owner, but not the document-version, department, role and classification fields that the planned DocumentChunk table would require. Its search concerns similarity over those existing records. The repository’s docs/ROADMAP.md places the Docling ingestion worker, document access table and Jev ranker for ADR-0015 in the not-built column. An accepted architectural choice is not a deployed company-document feature. If an HR team needs this boundary today, it must assess the actual implementation and the surrounding document process rather than assume the proposed pipeline already handles its files.

The same document has several owners

Production may need the latest maintenance instruction, procurement the current supplier terms, and finance the procedure that defines spending authority. HR needs to separate a generally applicable policy from information about a particular person. IT must know both whether the caller’s permissions were applied before ranking and whether an old version remains searchable. These are examples of organisational questions, not claims that the product has finished departmental workflows for each one. They also show why a single “search quality” metric would hide significant errors. A result can be relevant to the wording of the question and still be the wrong version or outside the caller’s access.

A useful trial starts with one family of procedures, not an entire archive. Ask who owns that family and which approved version supersedes which. Then have two people with different roles ask the same question. Check whether a restricted passage is absent from the candidate list, not merely absent from the final answer. Check why the older version was excluded and whether the cited passage in the answer displays its version. If no permitted, current source can be found, the honest observation is that this test did not find a verifiable source. It is not proof that the organisation has no rule. The earlier document-order article considered candidate selection generally; HR brings effective dates and document ownership into sharper focus.

An old procedure can sound entirely reasonable while telling a new colleague to take the wrong step. ADR-0015 in agentic-organization provides a way to discuss that problem without collapsing access, version and relevance into one score. In your own archive, could you show which version each of two conflicting answers came from, and who declared that version effective?

Verification note: The design and implementation boundary were checked against agentic-organization ADR-0015, docs/ROADMAP.md, backend/services/rag_service.py and backend/models.py. The proposed company-document ingestion and ranking pipeline is not presented as a built feature.