hindsight icon indicating copy to clipboard operation
hindsight copied to clipboard

Report whether an asynchronous knowledge page refresh left usable content

Open prmartinow opened this issue 1 week ago • 0 comments

Use Case

We poll refresh operations before consuming repository and topic pages from an agent. In our tested Linux environment, weaker models sometimes produced off-topic page content, so the workflow already reads and verifies the page after a job finishes.

Problem Statement

A refresh can finish cleanly when its evidence scope is empty. Operation completion alone leaves the caller to infer whether the page contains a usable body, preserves an older body, or still shows its initial placeholder.

How This Feature Would Help

Clients can separate successful job completion, an empty source scope, and the presence of usable page content. They can surface the correct state before handing a page to an agent.

Proposed Solution

Expose content_ready and no_sources_in_scope in refresh operation details, and expose content_ready in MCP get_page. A populated body can be older content. Callers can still inspect its source evidence and freshness separately.

Priority

Important - affects my workflow

Additional Context

318 focused tests passed. The generated refresh operation schema matches the checked-in OpenAPI component.

Focused patch

prmartinow avatar Nov 21 '26 10:11 prmartinow