gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings

← Pull requests

#18Consolidate login and move handler logic into topic libraries (partial)

mergedl33-thin → mainby Caramboleyo · head ecd7e226

  • failureKunibert: kunibertKunibert review

Verdicts

  • Kunibertrequested changes

People’s approvals

Reviews

  1. Kunibertapprequested changesecd7e226 · current head · 2026-11-23 22:23:01 UTC

    The extraction largely preserves existing login and handler behavior. The PR still violates documented Hybriel requirements, including incomplete before-and-after validation.

    Correctness (0 new, 0 still open)

    No confirmed behavioral regression or external contract change found in the diff.

    Spec (0 new, 0 still open)

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

    Standards (8 new, 0 still open)

    Six new functions omit required parameter types, the callback route contains an unnamed function entry, and required validation remains incomplete.

    Not on changed lines:

    • 🔶 Major · Standards: L18: Complete the required before-and-after validation (reports/033-login-thin-projecthl.md:12) .kunibert/HL-STANDARD.md L18 requires cleanups to preserve “behavior, page output and green gates before/after.” The report leaves baseline gates, the short-id fixture failure, and verification after the final edits outstanding. Complete and record green baseline and final-head gates before merging.
    • 🔹 Minor · Standards: L10: Type the shared login's value parameters (lib/users.hl:226) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” Add types for code and invite while preserving malformed-input handling; only &session and &sessions are exempt.
    • 🔹 Minor · Standards: L10: Type confirmForSession's parameters (lib/connections.hl:241) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” All four parameters are untyped. Add appropriate types while preserving the existing validation responses.
    • 🔹 Minor · Standards: L10: Type inviteForSession's parameters (lib/invites.hl:86) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” All six parameters are untyped. Declare types that preserve the existing coercion and validation behavior.
    • 🔹 Minor · Standards: L10: Type makeProjectForSession's parameters (lib/projects.hl:330) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” title, slug and session have no types. Add appropriate types without changing the existing invalid-input responses.
    • 🔹 Minor · Standards: L10: Type createTicketForSession's parameters (lib/tickets.hl:713) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” project, subject, summary and session are untyped. Add types that retain the inputs and validation behavior supported by createTicket.
    • 🔹 Minor · Standards: L10: Type the session-store setter's parameter (lib/api.hl:561) .kunibert/HL-STANDARD.md L10 says “Type every function parameter.” sessions is a value parameter, so it is not exempt. Declare its type, or remove this setter by using hl:web's documented &server third route argument.
    • 🔹 Minor · Standards: L7: Remove the unnamed setter from the route record (project.hl:89) .kunibert/HL-STANDARD.md L7 warns that “bare names are ordered entries, not named-field shorthand.” useLoginSessions becomes an ordered function value that the router ignores; it does not wire the session store. Remove this stray entry and retain the startup call.

    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.