v0.245.0 — R-543: the household is asked for the recovery code, the page says "szunetel" until then
gates / gates (push) Successful in 14s

Off-site backup is ON by default and does not RUN until the household creates its
recovery code. The pause is the zero-knowledge escrow design and is untouched here;
what was missing is that nothing ASKED, while the app-backup page promised the very
copy that had never run.

- a reminder bar on every authenticated page while the off-site tier is configured
  and its escrow is not complete, linking /backup/escrow. It is the R-241 bar, second
  instance: same session-cookie dismissal, back next visit, gone for good when
  escrowed. No second banner system. It hangs off executeTemplate, the single render
  choke point, so it cannot reach only the pages someone remembered.
- the tier-1 file sentence renders by tier3State's own vocabulary instead of the
  app's shape: active -> "vedi", escrow_pending -> "vedene ... szunetel" + the route,
  no copy at all -> says so and names both ways out.
- both fixes red-proofed: the bar test fails on BOTH pages with the hook removed; the
  sentence test quotes the exact v0.244.0 promise when the state is ignored.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-09-16 21:02:51 +02:00
parent 2f8ff2414c
commit ad398b60d9
10 changed files with 436 additions and 9 deletions
@@ -174,6 +174,27 @@
</div>
</div>
{{end}}
{{/* R-543 (v0.245.0) — the escrow reminder bar. The off-site tier is ON by default and does NOT RUN
until the household creates its recovery code (zero-knowledge escrow: their code is the only key).
The pause is the design; what was missing was ASKING. Same mechanism as the R-241 bar above —
dismissable for the visit, back at the next one, gone for good when the escrow completes. */}}
{{if .EscrowBanner}}
<div class="alerts-container">
<div class="alert-banner alert-banner-warning">
<span class="alert-icon"><svg class="ico"><use href="#i-triangle-alert"/></svg></span>
<span class="alert-message">
A távoli mentés szünetel, amíg nem hozod létre a helyreállítási kódot.
<a href="/backup/escrow"><strong>Helyreállítási kód létrehozása &rarr;</strong></a>
</span>
<span class="alert-actions">
<form method="POST" action="/backup/escrow/banner/dismiss" style="display:inline">
{{.CSRFField}}<input type="hidden" name="back" value="{{.EscrowBannerBack}}">
<button type="submit" class="btn btn-sm btn-outline">Most nem</button>
</form>
</span>
</div>
</div>
{{end}}
{{if .Alerts}}
<div class="alerts-container">
{{range .Alerts}}