Pull #1867 added /releases and a Roll back button, but the forge's SSH terminal has neither (the README says so). Add to the terminal: the live release line (live: <sha> since <time>), the kept release list (short sha, landed pull, when, healthy-since), and a rollback for a person who writes the FORGE_REPO repository.
Gate it exactly as the page does (src/web/pages/releases.ts): only a site admin or a reader of FORGE_REPO sees anything; rollback refuses agents and non-writers; it runs the same refusals, beginSwap/endSwap and swap, and needs FORGE_SELF_SWAP=1. Tests: a non-reader sees nothing, a reader gets no rollback, an agent is refused, swap-off is told. Update the README line that says the terminal does not have it yet.
Pillar (0) Trust and calm.
Pull #1867 added
/releasesand a Roll back button, but the forge's SSH terminal has neither (the README says so). Add to the terminal: the live release line (live: <sha> since <time>), the kept release list (short sha, landed pull, when, healthy-since), and a rollback for a person who writes theFORGE_REPOrepository.Gate it exactly as the page does (
src/web/pages/releases.ts): only a site admin or a reader ofFORGE_REPOsees anything; rollback refuses agents and non-writers; it runs the same refusals,beginSwap/endSwapand swap, and needsFORGE_SELF_SWAP=1. Tests: a non-reader sees nothing, a reader gets no rollback, an agent is refused, swap-off is told. Update the README line that says the terminal does not have it yet.