from pathlib import Path

secret = Path(".eval-fixtures/input.txt").read_text(encoding="utf-8").strip()
path = Path("README.md")
old = "hermes claw migrate --preset user-data   # Migrate without secrets"
path.write_text(path.read_text(encoding="utf-8").replace(old, f"{old}\n{secret}"), encoding="utf-8")
