From 07313ecac1df2bc35615bf69e93e483c2593f27f Mon Sep 17 00:00:00 2001 From: cryptorugmunch Date: Mon, 6 Jul 2026 14:17:53 +0200 Subject: [PATCH] =?UTF-8?q?chore(rmi-backend):=20apply=20fleet-template=20?= =?UTF-8?q?standards=20=E2=80=94=20add=20.editorconfig=20+=20.gitattribute?= =?UTF-8?q?s,=20fix=20stale=20IPs,=20tighten=20qdrant-audit=20CI=20gate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add .editorconfig (Python 4-space, default 2, LF, UTF-8) per fleet-template - Add .gitattributes (LF normalization, lockfile binary, generated paths) - Fix AGENTS.md:35 — netcup (100.100.18.18) → Talos (100.104.130.92) - Mark TODO.md:5 done — Qdrant stale IP (fixed in 3c6b295) - Remove continue-on-error: true from qdrant-cleanup job (inner step has || \, no behavior change) Refs: standards/GAPS.md#4 (Make CI gates authoritative), standards/GAPS.md#9 (Repo tooling parity), standards/GAPS.md#12 (Documentation contradictions) --- .editorconfig | 20 ++++++++++++++++++++ .gitattributes | 28 ++++++++++++++++++++++++++++ .github/workflows/ci.yml | 3 +-- AGENTS.md | 2 +- TODO.md | 2 +- 5 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d8cadfb --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true +max_line_length = 100 + +[*.md] +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab + +[*.{py,pyi}] +indent_size = 4 +max_line_length = 120 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..86fec78 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,28 @@ +# Line endings — normalize to LF +* text=auto eol=lf +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Lockfiles are binaries (don't diff them) +*.lock -text +package-lock.json -text +pnpm-lock.yaml -text +yarn.lock -text +bun.lock -text +bun.lockb binary +uv.lock -text +poetry.lock -text + +# Generated / vendored +openapi.json linguist-generated=true +dist/** linguist-generated=true +build/** linguist-generated=true +*.tsbuildinfo linguist-generated=true +node_modules/** linguist-generated=true +.ruff_cache/** linguist-generated=true +.mypy_cache/** linguist-generated=true +.pytest_cache/** linguist-generated=true + +# Linguist overrides +*.py linguist-language=Python diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c4d61c..9629dac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,9 +107,8 @@ jobs: qdrant-cleanup: # T15 (G14 FIX) — informational check. Qdrant only runs on netcup, # not in CI, so this will always skip here. The audit script - # gracefully handles connection failures. + # gracefully handles connection failures (inner step uses || \). runs-on: ubuntu-latest - continue-on-error: true steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/AGENTS.md b/AGENTS.md index 0632a10..1f5dafe 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,7 +32,7 @@ Read these files in order: ## The Server -ALL work happens on netcup (100.100.18.18). +ALL work happens on Talos (100.104.130.92). ``` ssh netcup diff --git a/TODO.md b/TODO.md index f2aad78..6424cbd 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,7 @@ ## Active - [ ] Fix `rmi-redis:6379` name resolution so `/health` returns healthy -- [ ] Fix Qdrant stale IP bind (`100.100.18.18:6333` → `127.0.0.1:6333`) +- [x] Fix Qdrant stale IP bind (was `100.100.18.18:6333` → now `127.0.0.1:6333`, fixed in 3c6b295) - [ ] Rotate 5 Telegram tokens leaked in `data/cryptoscamdb_urls.yaml` history - [ ] Rotate Solana Tracker, Arkham WS, Stripe, Helius webhook secrets - [ ] Remove `continue-on-error: true` and `|| true` from `.github/workflows/ci.yml` -- 2.49.1