SkilldexAll articles

Verify freshness after a skill finds a source

Use index results to discover candidates and refresh records before time-sensitive decisions.

A search index can surface the right document and still hold an old title, excerpt, or status. Treat discovery and confirmation as separate steps when the answer depends on current information. The result should say when a consequential fact was checked.

Decide which facts need confirmation

A historical question may be resolved by a pinned document. An active authorization or current availability needs an authoritative read. Document the decision about which records may be served from cache, which need validation, and what the system can say during an outage.

Preserve timestamps and validators

Keep the index timestamp, retrieval time, and content version distinct. An HTTP validator can support revalidation if the source supplies one and the client applies the cache rules correctly. Record the current source version used in the answer, so a later reader can understand why it differs from an older excerpt.

Handle a vanished candidate

If the live source moved, changed permissions, or no longer exists, report what can actually be confirmed. Only use a cached view when the request and data policy permit it. Test old, moved, and inaccessible records to ensure an index hit cannot silently become the authoritative answer.

Sources