Skip to content

README: download the published SN94 policy in setup (bootstrap 4) - #320

Merged
fredesere merged 1 commit into
mainfrom
docs/readme-policy-step
Nov 3, 2026
Merged

fredesere merged 1 commit into
mainfrom
docs/readme-policy-step

Conversation

@fredesere

@fredesere fredesere commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Makes the README work today. #318 removed --snp-policy from the setup command, but fresh installs still get bootstrap 4, and its setup requires the flag. Anyone following main would have failed.

  • Setup downloads deploy/validator-update/sn94-snp-policy.json (byte-identical to the live mainnet policy) and passes --snp-policy /root/sn94-snp-policy.json.
  • Docker mounts the same file.
  • When bootstrap 5 is published, the pin PR drops the download line again.

pytest -q tests/thin/test_operator_docs_safety.py: 15 passed.


Note

Low Risk
README-only changes to installation and Docker instructions; no runtime or security logic is modified.

Overview
Updates operator docs so bootstrap 4 installs succeed again: setup must pass --snp-policy, which had been dropped from the README while the signed bootstrap still required it.

What you need now points at the repo-published policy (deploy/validator-update/sn94-snp-policy.json) instead of a policy bundled in the signed bootstrap. Install adds an HTTPS curl step to write /root/sn94-snp-policy.json and passes --snp-policy to cathedral-validator-setup. The Docker example mounts that same path at /etc/cathedral/snp-policy.json, with wording aligned to the install flow.

Reviewed by Cursor Bugbot for commit 71ba7c1. Bugbot is set up for automated code reviews on this repo. Configure here.

#318 dropped --snp-policy from the README, but the published installer is
still bootstrap 4, whose setup requires it. Until bootstrap 5 is out, the
README downloads deploy/validator-update/sn94-snp-policy.json and passes
it, for systemd and Docker alike.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T00:42:38.140620Z 71ba7c1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@fredesere
fredesere merged commit e0ae523 into main Nov 3, 2026
8 checks passed
@fredesere
fredesere deleted the docs/readme-policy-step branch November 3, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant