From 5490b22275ab0f5dc440dbd0205728260c8f87a4 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Sun, 11 Oct 2026 18:35:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D1=84=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D1=83=D1=8E=20=D0=B4=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D1=83=D0=BF=D0=BD=D0=BE=D1=81=D1=82=D1=8C=20production?= =?UTF-8?q?=20=D0=B4=D0=BE=D0=BC=D0=B5=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/operations/CURRENT_STATE.md | 13 +++++++++---- docs/operations/INFRASTRUCTURE.md | 6 ++++-- infra/inventory/production.yml | 2 ++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/docs/operations/CURRENT_STATE.md b/docs/operations/CURRENT_STATE.md index 64465fd..98381d1 100644 --- a/docs/operations/CURRENT_STATE.md +++ b/docs/operations/CURRENT_STATE.md @@ -21,6 +21,9 @@ from planned configuration. - UFW is reported active in the supplied VPS notes, but the audit account could not independently read its status. Treat firewall state and rules as unverified. +- `akyldash.kg` resolves to Cloudflare IPv4/IPv6 edge addresses from the VPS. + Both HTTP and HTTPS return Cloudflare `521`; the origin is currently + unreachable through the proxy. ## Application and Gitea facts @@ -29,7 +32,9 @@ from planned configuration. PRs enabled. `main` is protected and requires one approval; the current API principal cannot push or merge directly to `main`. - The Gitea token lacks `read:user` and `read:package`; runner status and package - publishing permissions could not be checked. No workflow existed at audit. + publishing permissions could not be checked. This change adds + `.gitea/workflows/ci.yaml`; PR #42's run remains `Waiting to run` at the last + status check, so a compatible runner is not confirmed. - Production Compose describes Python Search API `0.11.3`, SQLite account and review data, and OpenSearch `3.7.0` with `analysis-icu`. Nothing is running. - Compose binds the API to `127.0.0.1:8080`, leaves OpenSearch private, uses a @@ -45,9 +50,9 @@ from planned configuration. - SSH completed with the user config explicitly selected; plain SSH was blocked by permissions on a system config include. The private key was not read. - UFW rules require root and remain unverified. -- DNS delegation, HTTPS, Cloudflare Full (strict), public application health, - Actions runner availability, registry publishing, and production deployment - have not been tested. +- The Cloudflare edge response was checked, but origin DNS configuration, + Cloudflare Full (strict), certificate validity, Actions runner availability, + registry publishing, and production deployment have not been tested. - No packages or services were installed or changed on the VPS. ## Next owner actions diff --git a/docs/operations/INFRASTRUCTURE.md b/docs/operations/INFRASTRUCTURE.md index 8aafd4d..5a19667 100644 --- a/docs/operations/INFRASTRUCTURE.md +++ b/docs/operations/INFRASTRUCTURE.md @@ -47,8 +47,10 @@ application, or grant `codex` Docker/root access. Target public TCP listeners are SSH `22` and HTTPS proxy `80`/`443`. Backend `8080` must remain loopback-only and OpenSearch `9200` private to Compose. The firewall state could not be independently verified because the SSH account has -no sudo; do not change it without owner approval. DNS, HTTPS, Cloudflare origin -mode, and production health have not been verified. +no sudo; do not change it without owner approval. The domain resolves to +Cloudflare edge addresses, but HTTP and HTTPS return `521`, so the origin is +unreachable. Cloudflare origin mode, certificate validity, and production +health have not been verified. Use [DEPLOYMENT.md](DEPLOYMENT.md), [BACKUP.md](BACKUP.md), [ROLLBACK.md](ROLLBACK.md), and [RECOVERY.md](RECOVERY.md) for operational diff --git a/infra/inventory/production.yml b/infra/inventory/production.yml index 1c632e0..8f98a1d 100644 --- a/infra/inventory/production.yml +++ b/infra/inventory/production.yml @@ -18,6 +18,8 @@ facts: disk_free_gib: 93 network_interface: ens3 ipv4: 206.223.249.118/32 + domain_resolution: akyldash.kg resolves to Cloudflare IPv4 and IPv6 edge addresses + domain_http_status: Cloudflare 521 on HTTP and HTTPS from the VPS user_groups: [codex, users] sudo_noninteractive: false installed: