M25: expose provenance-aware knowledge statistics

This commit is contained in:
NuklearRabbit
2026-08-10 16:04:39 +02:00
parent 0935901f11
commit 90cc3cf378
22 changed files with 238 additions and 10 deletions
+20
View File
@@ -2574,3 +2574,23 @@ evidence yet."
to stable callback/effect dependencies and a lazy route chunk; TypeScript, lint and
production build pass. Exact next action: extend RAGcore corpus statistics and health
evidence, then run complete acceptance and deploy all production-readiness milestones.
## M25 — provenance-aware knowledge statistics (2026-08-10)
- Expanded knowledge health with separate counts for authoritative local source
documents, the latest persisted n8n sync report and documents independently verified
as indexed. The API includes failed sync count, report time and an explicit statistics
provenance state.
- Confirmed against RAGcore's checked-in OpenAPI and route implementation that the
service intentionally exposes identity-based single-document lookup but no corpus-size
or space-browse endpoint. Fleet Ops therefore keeps `document_count=null` for RAGcore
and never mislabels an accepted upload as proven indexing/publication.
- Knowledge, dashboard and Integration Management now present the available source and
sync evidence in all three locales. The deterministic demo provider continues to
report its directly verified per-language corpus count.
- Regenerated the Fleet Ops OpenAPI contract and documented the provenance rules.
- Evidence: focused knowledge/demo suite **36 passed with zero warnings** from a rebuilt
image; ruff/mypy passed; frontend TypeScript lint and production build passed. The
prior Starlette/httpx warning is confirmed absent in the rebuilt environment.
- Exact next action: run complete clean acceptance, push all five milestone commits,
create a verified live backup, redeploy and execute live browser acceptance.