Public: anyone can read this; the crew can change it.
An owner can archive an app from its settings: it spins down, hides from lists and stays reachable by link #14131
Check · Review · Land · Live — Its check is queued.
working queued to check deploy 33ea5f5
Check queued 11m, place 51 of 64Check of 33ea5f5fast tier: queued · full gate runs on land
Website spec: 25 findings (report only)
- /board http://127.0.0.1:42739/board answered 303 — https://specification.website/
- /notes http://127.0.0.1:42739/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:42739/review answered 303 — https://specification.website/
- /releases http://127.0.0.1:42739/releases answered 303 — https://specification.website/
- /system http://127.0.0.1:42739/system answered 303 — https://specification.website/
- /maintenance http://127.0.0.1:42739/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:42739/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:42739/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:42739/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:42739/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:42739/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:42739/settings/crew?help answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:42739/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:42739/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/drop http://127.0.0.1:42739/preview-admin/sample/drop answered 303 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:42739/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:42739/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/next?pick expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/bets expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/waves expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/space the first focusable element is not a skip link (an in-page #target link) — skip-link
- /looks/missing http://127.0.0.1:42739/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:42739/looks/failed answered 500 — https://specification.website/
- /nope/nothing http://127.0.0.1:42739/nope/nothing answered 404 — https://specification.website/
2 earlier comments
Archive and Restore from settings now preview and receipt. The /apps hiding, direct-URL access and Restore were already on main, so I only closed the gaps. tsc is clean and the archive, settings, TUI and gate-list tests pass. gate.ts passes with a Direction: line, which I added in a second commit to satisfy its "pipeline first" rule. I did not run the forge's full check.
What already existed (#10890 and earlier):
- Archiving stops the app and its previews (
moveArchiveinsrc/actions/repos.ts). /appsomits archived apps, with an "N archived" link to/apps?archived=1./-/confirmalready carries an Archive preview.- Restore, and the MCP and TUI doors, were already in place.
What changed:
- Preview: the Settings → Archive button on a live app opened no preview and archived straight away. It is now a GET to the confirm page, and a same-origin POST then archives. Restore stays one tap, since it needs no preview.
- Receipt: the flash after archiving now says the app is stopped, hidden from home and
/apps, and its address still opens with a banner. The Restore flash says the app is listed again and wakes on its next visit. - Banner: the "Archived on <date>" banner with Restore appeared only on non-app repository pages. An archived app's own page, the one the direct URL opens, had none.
archivedLinemoved tosrc/web/pages/following.tsandsrc/web/studio/app.tsnow draws it. - TUI and docs: the archived-repositories screen now says an archived app is still at its address, and there is a
docs/features/app-archive.mdpage with an index row.
Tests:
- New
test/app-archive.test.tscovers the preview, a refused cross-origin POST, the receipt, hide, reach with banner, and restore with receipt. test/settings.test.tsexpected the old direct post for Archive. That expectation was wrong for the new behaviour, so I changed it to expect the confirm form.
Left alone: the Looks: line says "No look" because the change is a button and banner text. I did not change the confirm page's wording, which already says what archiving does.
Try it: open /<owner>/<app>/settings, press Archive, read the confirm page and confirm. The app leaves /apps and home, and its URL still opens with the banner and Restore.
🤖 Generated with Claude Code
<!-- look-pages a6e10b0e8018 --> Look pages for a6e10b0, from the gate:
look pages (inferred): this pull changes src/web/pages/following.ts, src/web/pages/repo.ts, src/web/pages/settings.ts and 1 more; the forge pictures /settings/crew (src/web/pages/following.ts), /settings/grants (src/web/pages/following.ts), /preview-admin/sample (src/web/pages/following.ts) and 3 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
Archiving an app now goes through the confirm page from Settings. The archive confirmation says what happened, and an archived app's page carries the banner with Restore in the studio too.
Fixed in this push: the first-view budget test failed because /settings/crew rendered 90 blocks against a budget of 89. The Archive block I added to settings carried an explainer paragraph, and I removed it. The confirm page already says the same thing. test/attention.test.ts, test/app-archive.test.ts and test/settings.test.ts pass locally. bun x tsc --noEmit, the gate and design-lint are clean.
The other failure: "a sleeping preview woken at the limit" in test/quotas-running.test.ts timed out at 120 seconds in the check. It passes here in 14 seconds, and nothing in this pull touches that path. I treated it as a flake and changed nothing, so it may come back on the next check.
Not done: the explainer text is gone from the settings page rather than moved elsewhere, to keep that page inside its budget.
To try: open /<owner>/<app>/settings and press Archive. Read the confirm page and confirm. /apps then omits the app, and its URL shows the banner with Restore.
Archive and Restore from settings now preview and receipt. The
/appshiding, direct-URL access and Restore were already on main, so I only closed the gaps.tscis clean and the archive, settings, TUI and gate-list tests pass.gate.tspasses with aDirection:line, which I added in a second commit to satisfy its "pipeline first" rule. I did not run the forge's full check.What already existed (#10890 and earlier):
moveArchiveinsrc/actions/repos.ts)./appsomits archived apps, with an "N archived" link to/apps?archived=1./-/confirmalready carries an Archive preview.What changed:
/apps, and its address still opens with a banner. The Restore flash says the app is listed again and wakes on its next visit.archivedLinemoved tosrc/web/pages/following.tsandsrc/web/studio/app.tsnow draws it.docs/features/app-archive.mdpage with an index row.Tests:
test/app-archive.test.tscovers the preview, a refused cross-origin POST, the receipt, hide, reach with banner, and restore with receipt.test/settings.test.tsexpected the old direct post for Archive. That expectation was wrong for the new behaviour, so I changed it to expect the confirm form.Left alone: the
Looks:line says "No look" because the change is a button and banner text. I did not change the confirm page's wording, which already says what archiving does.Try it: open
/<owner>/<app>/settings, press Archive, read the confirm page and confirm. The app leaves/appsand home, and its URL still opens with the banner and Restore.🤖 Generated with Claude Code
Closes #14085