# Put the measured before/after directly above setup_done_probe: for the three morning probes (R-715 gate). import os, sys R = sys.argv[1] NOTE = {"immich": "# measured on 9202 2026-09-29: isInitialized false -> true after the admin sign-up (audits/login-gate-2026-09-29/C).", "n8n": "# measured on 9202 2026-09-29: showSetupOnFirstLoad true -> false after the owner setup (audits/login-gate-2026-09-29/C).", "audiobookshelf": "# measured on 9202 2026-09-29: isInit false -> true after POST /init; the gate opened ~20 s later (audits/login-gate-2026-09-29/C)."} for app, note in NOTE.items(): p = os.path.join(R, "templates", app, ".felhom.yml"); s = open(p).read() assert s.count("\nsetup_done_probe:") == 1 and note not in s, app s = s.replace("\nsetup_done_probe:", "\n" + note + "\nsetup_done_probe:") open(p, "w").write(s) print("probe comments placed")