R-799 metube add body, R-761 logo name, R-391 no observations section (burn-down)
gates / gates (push) Successful in 2s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-10-05 16:55:06 +02:00
1 parent 7a19491898
commit 29ac711d26
8 files changed
+56 -12

No files matched your search

+9
View File
@@ -1,3 +1,12 @@
## 2026-10-05 — burn-down: three small fixes (R-799, R-761, R-391)
- **R-799:** the MeTube fixture's `POST /add` sends `download_type: video` (upstream lists it as required);
`MeTube.add_body()`, pinned by `scripts/test_upgrade_fixtures_metube.py` (red-proof: without the field → FAIL).
- **R-761:** the canonical template comment (`templates/paperless-ngx/.felhom.yml`) and `REUSE.md` name the logo the box
really loads — `{slug}-logo.svg`, then `.png` — not `.webp`. Comment-only; no image or version moves.
- **R-391:** `CLAUDE.md` states that this repo's `REPORT.md` carries no observations section by convention, so the shared
observations gate has nothing to read here.
## The persistence re-sweep (R-801) and its follow-ups; papra's memory limit (R-803) (2026-10-02, afternoon)
- **`check-volume-persistence.py`:** an EMPTY declared volume after the exercise is UNDETERMINED, never CLEAN (R-788,
+3
View File
@@ -32,6 +32,9 @@ deployed `app.yaml` (customer secrets) is never overwritten. Full deploy details
- Update `REUSE.md` in the same commit that changes a catalog-wide convention.
- `README.md` is the format spec — update its app tables when adding an app.
- Update `CHANGELOG.md` (newest on top) and overwrite `REPORT.md` with every pushed change.
**This repo's `REPORT.md` carries NO observations section, by convention** (R-391): a finding goes straight into
`felhom.eu/documentation/backlog/OPEN-ITEMS.md` (or is fixed, if small). That is why the shared observations gate
(`felhom.eu/scripts/observations_gate.py`) is not registered in `catalog_gates.py` — there is nothing for it to read.
- No secrets in any committed file; secrets are generated at deploy time via `deploy_fields`
`generate:` specs.
- **Run `python3 scripts/catalog_gates.py <app>` after ANY template change** — it is the ONE entry
+1 -1
View File
@@ -127,7 +127,7 @@ well-formed, and may say `open`.
|---|---|---|---|---|
| 8.1 | 2026-10-01 | Hungarian + English, informal „te", no „kérjük"; parity green; freeze updated | **gate `copy-i18n`** (`check-copy-i18n.py --capture-freeze` after a copy change) | operator rule; R-560 |
| 8.2 | 2026-10-01 | `app_info`: tagline, use_cases, first_steps, default_creds (if any), add_people — and each one TRUE on 9202 | read on 9202's app page and follow the first steps | paperless's page named a login that did not exist (R-515); first steps named a literal `wiki.DOMAIN` (R-498) |
| 8.3 | 2026-10-01 | Logo + screenshots on felhom.eu by `slug` | `https://felhom.eu/assets/<slug>-logo.svg` (or `.png`, the controller's fallback) and `<slug>-screenshot-<n>.webp` answer 200 — NOT `-logo.webp`, which the canonical template's comment still names (R-761) | the card is blank otherwise |
| 8.3 | 2026-10-01 | Logo + screenshots on felhom.eu by `slug` | `https://felhom.eu/assets/<slug>-logo.svg` (or `.png`, the controller's fallback) and `<slug>-screenshot-<n>.webp` answer 200 — NOT `-logo.webp` (the canonical template's comment said so until 2026-10-05, R-761) | the card is blank otherwise |
| 8.4 | 2026-10-01 | README tables, FIRST-ADMIN row, `category`, `catalog_since` | review | REUSE.md §5 |
| 8.5 | 2026-10-01 | The website's app count still holds | `ls templates | wc -l` against `felhom.eu/website` claims; record a drift | felhom-app-catalog skill §6 |
+8 -8
View File
@@ -1,10 +1,10 @@
# REPORT — the persistence re-sweep with the fixed gate (R-801); papra's memory limit (R-803) (2026-10-02, afternoon)
# REPORT — 2026-10-05 burn-down: three small fixes
Session report: `felhom.eu/REPORT-persistence-sweep-2026-10-02.md`.
Full session report: `felhom.eu/REPORT-burndown-2026-10-05.md`. Baseline `7a19491`.
- **Gate** (`check-volume-persistence.py`): an empty declared volume after the exercise is UNDETERMINED (R-788,
red-proofed); the app's own upgrade-fixture seed is called when a volume stays empty (one call, never a copy).
- **All 58 templates on the bench:** CLEAN 40 · UNDETERMINED 18 · BROKEN 0 (papra counted CLEAN after its fix). No
data-loss finding. Verdicts: `audits/persistence-sweep-2026-10-02/verdicts.txt`; `EXISTING-APPS-GAPS.md` regenerated.
- **papra:** 256M → 768M (`mem_request` 256M) — a fresh install was OOM-killed in its migration (R-803); measured from birth.
- Open follow-ups: R-805 (empty binds), R-806 (https backends), R-807 (seeds that write only the database), R-804 (plant-it image gone).
- R-799 — MeTube fixture `POST /add` body has `download_type`; `scripts/test_upgrade_fixtures_metube.py` (2 tests; red-proof
convicts). Not run against a live box (the fixture's next MeTube step will).
- R-761 — logo name in the template comment, `REUSE.md`, `NEW-APP-CHECKLIST.md`: `.svg` then `.png`.
- R-391 — `CLAUDE.md`: no observations section here, by convention.
`catalog_gates.py --fast paperless-ngx` green. No template version, image or ladder moved.
+1 -1
View File
@@ -59,7 +59,7 @@ Templates are config; the few script helpers other scripts must REUSE, never re-
- Controller pulls this repo (default 15m) and copies `templates/<app>/docker-compose.yml` + `.felhom.yml` to `/opt/docker/stacks/<app>/`; it NEVER overwrites deployed `app.yaml` / `.env`; SHA-256 change detection. Contract description: `README.md` §"How It Works".
- `.felhom.yml` is the contract surface consumed by felhom-controller (repo `felhom-controller/`): `deploy_fields` drive the deploy wizard, `resources` the deploy screen hints, `healthcheck.checks` the controller-side probe, `smtp_mapping` the app-email injection at deploy/redeploy.
- Assets are NOT in this repo: logo/screenshots resolve from felhom.eu via `slug` (`{assets.base_url}/assets/{slug}-logo.webp` — see comment block in `templates/paperless-ngx/.felhom.yml`).
- Assets are NOT in this repo: logo/screenshots resolve from felhom.eu via `slug` (`{assets.base_url}/assets/{slug}-logo.svg`, falling back to `-logo.png` — NOT `.webp`; screenshots `{slug}-screenshot-{n}.webp`; see the comment block in `templates/paperless-ngx/.felhom.yml`, R-761).
- Commit+push to main IS the deploy: the controller picks changes up on next sync.
## 5. Extension points (adding a new app)
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env python3
"""R-799: the MeTube fixture's POST /add body carries every field upstream's validator lists as required.
Run: python3 scripts/test_upgrade_fixtures_metube.py"""
import os
import sys
import unittest
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import upgrade_fixtures_box as u # noqa: E402
class MeTubeAddBody(unittest.TestCase):
def test_required_fields_present(self):
b = u.MeTube.add_body()
for k in ("url", "download_type", "quality", "format"):
self.assertIn(k, b, "POST /add without %s" % k)
self.assertEqual(b["download_type"], "video")
def test_seed_sends_add_body(self):
src = open(u.__file__).read()
self.assertIn("json.dumps(self.add_body())", src, "MeTube.seed no longer sends add_body()")
if __name__ == "__main__":
unittest.main()
+7 -1
View File
@@ -2168,6 +2168,12 @@ class MeTube:
sub = "video"
URL = "https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4"
@classmethod
def add_body(cls):
"""The `POST /add` body. `download_type` is listed as REQUIRED by upstream's validator; 2026.09.28/.29 answered
200 without it (R-799), a later tag may not. Pinned by test_upgrade_fixtures_metube.py."""
return {"url": cls.URL, "download_type": "video", "quality": "best", "format": "any", "auto_start": True}
def _hist(self, w, sub):
rc, code, out = w.app_curl(sub, "/history")
try:
@@ -2180,7 +2186,7 @@ class MeTube:
self.tried = "/ never answered 200"
return None
rc, code, out = w.app_curl(sub, "/add", "-H", "Content-Type: application/json", "-H", f"Origin: https://{sub}.{w.DOMAIN}",
data=json.dumps({"url": self.URL, "quality": "best", "format": "any", "auto_start": True}), method="POST")
data=json.dumps(self.add_body()), method="POST")
say(f" metube: POST /add http={code} {(out or '')[:40]}")
if code != "200":
self.tried = f"add -> {code} {(out or '')[:80]}"
+2 -1
View File
@@ -19,7 +19,8 @@ subdomain: "paperless" # -> paperless.<domain>
# --- Asset slug ---
# Used to construct URLs for logo and screenshots from felhom.eu:
# Logo: {assets.base_url}/assets/{slug}-logo.webp
# Logo: {assets.base_url}/assets/{slug}-logo.svg (the box asks for .svg first, then
# {assets.base_url}/assets/{slug}-logo.png .png — controller config.go AppLogoURL/AppLogoPNGURL; R-761)
# Screenshot: {assets.base_url}/assets/{slug}-screenshot-{n}.webp
# App page: {assets.base_url}/alkalmazasok#{slug}
# Falls back to directory name if not set.