gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings

← Pull requests

#3ident#40 one shell for the app and /start (account part off on /start, #40.1); startshell.hl removed; unused signOut faces gone (#40.4)

mergedf2-shell → mainby Caramboleyo · head c3a40ff6

  • failureKunibert: kunibertKunibert review

Verdicts

  • Kunibertrequested changes

People’s approvals

Reviews

  1. Kunibertapprequested changesc3a40ff6 · current head · 2026-11-09 07:01:30 UTC

    The shared shell introduces offline account-data retention and a navigation path that loses account controls. The changed HL code also violates F10 and F15.

    Correctness (2 new, 0 still open)

    Two regressions affect the offline privacy guarantee and account controls after manual navigation from /start.

    Not on changed lines:

    • 🔶 Major · Correctness: no rule: Keep session metadata out of the cached start page (components/main.hl:23) Skipping accountOfSession only hides the email. hl:web still serializes this shell's declared session member, including the account ID, since and epoch written by beginSession. Start lacks __hlDataFree, so the worker caches /start with same-origin credentials and retains that account data offline. Mark Start data-free or move session-dependent members into a component excluded from /start.
    • 🔶 Major · Correctness: no rule: Refresh the account when following Open ident (components/main.hl:117) A signed-in user who follows “Open ident” before the probe finishes reaches / with shellEmail still empty. The shared shell stays mounted, and hl:web does not re-evaluate server-derived shellEmail on a route change; subsequent probes skip this branch. Identities appear without navigation or sign-out controls. Initialize the account section on every transition away from /start, including the link.

    Spec (0 new, 0 still open)

    No ticket or issue is linked for this review, so there are no spec findings.

    Standards (2 new, 0 still open)

    The changed shell violates F10's JavaScript restriction and F15's server-data loading rule.

    Not on changed lines:

    • 🔹 Minor · Standards: F10: Remove the handwritten JavaScript include (components/main.hl:75) .kunibert/HL-STANDARD.md F10 says “No hand-written JavaScript,” with only the F11 third-party-module exception. This changed line loads avatar.js, which contains application-specific DOM manipulation and event wiring. Move that behavior into framework-supported HL code.
    • 🔹 Minor · Standards: F15: Initialize account data through server members (components/main.hl:117) .kunibert/HL-STANDARD.md F15 requires server data from member initializers and says “No load-on-mount emit, no polling.” This new account fetch runs from the CSS animation's startup/repeating probe. Initialize an account-only component through server member initializers when leaving /start.

    Gates: not run

Threads

No inline comments yet.

Conversation

Nobody has written here yet.

Only the owner and the members of this repository can comment here.