Public: anyone can read this; the crew can change it.

Terminal: `live`, `releases` and a person's `rollback` in the forge's SSH terminal, gated as /releases is #2079

shipped production is serving it opened this has it

Landed in pull #2103 · run

opened this

Pillar (0) Trust and calm.

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.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs