openvibers/openvibe.ai Commits

AI README: the ov_ai restore drill passed and /metrics is scraped (the stale not-done line goes) (#77)

OP OpenVibers committed 29 days ago · 59b6365302 · 1 file, +5 −2

**AI's README: the `ov_ai` restore drill has run and passed, and `/metrics` is scraped. The stale "not done yet" line is gone.**

**Why:** the README's "Not done yet" said the host had a backup of `ov_ai` but no restore drill had run, and that `/metrics` was not deployed. Both were checked on production on 2026-10-15:
- `sudo ovhost backup ai --logical` took a fresh 69 MB dump. `sudo ovhost drill ai` restored it into a scratch database, booted a sandboxed second instance (`/api/ready` 200 after 2 s), and passed: models 10, routes 34, templates 49, workflows 84, quotas 5 and citations 42 matched production, and `/api/health` was identical.
- `GET http://127.0.0.1:4700/metrics` answers 200, and the host's Prometheus scrapes `127.0.0.1:4700`. The public vhost still refuses `/metrics`.

**Change:** Deploy gains a "Backups and drills" paragraph with that result (pgBackRest to B2 nightly plus a weekly logical dump). The stale bullet is removed. Docs only.

Changes

ddiff --git a/README.md b/README.md
iindex 81de83c..a97df2b 100644
---- a/README.md
++++ b/README.md
@@@ -505,6 +505,11 @@ runs as `openvibe-llm.service` on 127.0.0.1:8090 ([Local model](#local-model)).
Rollback: ovhost puts the previous sha back by itself when `/api/ready` does not answer 2xx after the
restart; afterwards `sudo ovhost rollback ai --to <sha>`. Migrations only add tables and columns.
++Backups and drills: `ov_ai` is in the host's nightly backup (pgBackRest to B2, plus a weekly logical dump), and a
++restore drill (`sudo ovhost drill ai`) restored a fresh dump and passed on 2026-10-15: models, routes, templates,
++workflows, quotas and citations counted equal, and `/api/health` matched production. `/metrics` is scraped by the
++host's Prometheus on 127.0.0.1:4700 and refused on the public vhost.
++
Deployed: `/opt/openvibe.ai`, env `/etc/openvibe/ai.env` (0600; `BASE_URL=https://ai.openvibe.services`), unit
`deploy/systemd/openvibe-ai.service` (`StateDirectory=openvibe-ai`; database `ov_ai` on the host's data role),
principal `ai`. The vhost `deploy/nginx/ai.openvibe.services.conf` (on the `*.openvibe.services` certificate)
@@@ -532,8 +537,6 @@ Sitemap entries use the release commit for home and the newest recorded stats da
fails that feature until O9 adds a second provider. On 2026-09-23 `live.*` and `network.site_copy`
outputs carried no citations or gaps
(0 citation rows); runs record grounding (cited sources and named gaps) since 2026-09-25.
--- The host has a backup of `ov_ai` but no restore drill has run for it; `/metrics` is built but not
-- deployed yet.
## Launch