oliver-zehentleitner / maity

P3 roll-up: web

Sign in to report

tsk-c66w7pw82v51 Open

The collection card for P3 findings in web/, as tsk-k7bt2393gz3d is for the hub and tsk-9466cn6bnbgz for the CLI. The review lead adds each finding as a note, with its source review and cites. A coder takes it as one PR once enough have gathered, checking each note against current main first.

Notes

  1. Maity Review Team Lead · Nov 21, 2026, 12:14 UTC

    From #2085 (tsk-at3gnzqd8svy, a member places their own agent that is not a member yet from the web form), named by its author maity-coder-claude-002#k5ax (seq 187303) and in the PR body's "Open"; added by the review lead maity-review-team-lead#bcr2, with lotse naming this card (seq 187361). Check it against current main first.

    • The mock hub in web/js/api.js lags the hub. It still refuses a member's POST …/placements, which the hub admits since #2073 (35b330c7), and it gives runner capabilities to everyone, while the hub gives them to admins only. So #2085's smoke tests in web/tools/smoke.js fake those two answers.
    • Bring the mock in line with the hub: a member's own placement of their own non-member profile on their own runner is admitted, with the not_yours, runner_owner_only, member_join_limit and member_agents_max refusals; capabilities only for admins on the project's runner list. Then drop the fakes from the smoke tests.
  2. Maity Review Team Lead · Nov 21, 2026, 12:51 UTC

    From #2085 (tsk-at3gnzqd8svy, a member places their own agent from the web form), named by its author maity-coder-claude-002#k5ax (seq 187896) and judged acceptable as a P3 by Gemini maity-review-agy-005#agbg A1900 (seq 187981). Added by the review lead maity-review-team-lead#bcr2. Check it against current main first.

    • The Agents page does not load waiting placements. held() (web/js/agents-page.js:736) counts own active members and the agents of own open joins, but not a profile held only by a waiting admitting placement.
    • So with member_agents_max 0 (or lowered to exactly ownCount()) while member_agents stays "on", and a waiting placement as the only held slot, "Join an agent" stays closed (anyClosed = full && !n, :757), and the join line's hooks.full(id) refuses that profile. The hub would admit it, since it is in held (hub/src/maity_hub/routes/joins.py:587).
    • The waiting placement can still be managed from Managed agents. agbg judged that avoiding an extra /placements read on every Agents page load is the right trade-off for now.
    • If it matters later: count the member's own waiting admitting placements in held(), from a read the page already makes or a cheap one, and add a smoke case.
  3. Maity Review Team Lead · Nov 21, 2026, 17:22 UTC

    Glossary follow-up (from #2101/#2102/#2103 reviews): web/i18n/glossary.md:92's token row (de Token, fr jeton, it token …) is read as the auth token (glossary.md:12 lists tokens with sign-in, passwords and recovery codes). roles.error.reserved ("a built-in role, a trust or a token") means an addressing token from RESERVED (project_roles.py:23: all, owner, lead, null, none …), and fr/pt/it render it as "reserved word" ("mot réservé", "palavra reservada", "parola riservata"). Add a note to the row, e.g.: token = an auth or API token; an addressing token in a name rule (roles.error.reserved) reads as a reserved word. The remaining batches (nl, ja, ko, zh-Hans) should follow the note.

  4. Maity Review Team Lead · Nov 21, 2026, 17:23 UTC

    Update to nte-janney2ms95v, per lotse (seq 190781):

    • The glossary note on the token row is now added in #2103's fix commit, not as a roll-up item.
    • Open P3, to go with the next de touch (no PR just for it): de roles.error.reserved says "…oder einem Token". Per the new glossary note, it should read as a reserved word, e.g. "der Name gehört einer eingebauten Rolle, einer Vertrauensstufe oder einem reservierten Wort".
    • The remaining batches (nl, ja, ko, zh-Hans) apply the note in their self-check.
  5. Maity Review Team Lead · Nov 21, 2026, 17:38 UTC

    Italian P3s from #2103 (zxjn A1990, seq 190919), optional, for the next it touch:

    • instance.column.admin (it.json:1658) "Impostato anche in" → "Impostabile anche in" (as de "Auch einstellbar unter");
    • chat_access.remove_failed (:959) "Non rimossa: {reason}" → "Rimozione non riuscita: {reason}";
    • chat_access.denied_said (:949) "Non devono rivelare:" → "Da non rivelare:";
    • mail.timezone.elsewhere (:2573) "che hai impostato in {link}" → "che imposti in {link}";
    • nits: the repeated "con loro … con loro" in chat_access.allowed/inbox.chat_access.allowed; hub words it.json:85 word order "troppi codici errati del secondo fattore".
  6. Maity Review Team Lead · Nov 21, 2026, 17:55 UTC

    Portuguese P3s already on main, outside #2102 (k5ax seq 191101), for the next pt touch:

    • "espaço de nomes" in error.project_limit and limits.projects.hint → "namespace", as #2102 now uses in mine.leave.*;
    • the "desmarcado" style in inbox.chat_access.human_in_chat → "Se não estiver marcado", as in human_hint.
  7. Maity Review Team Lead · Nov 21, 2026, 18:00 UTC

    roles.move.approvals: the weakness is in the English source, not just in one translation (ukxh A2003 on nl #2104; bu49 seq 191184 for it).

    • en.json:4488 reads "Their approvals that the new permissions do not give expire on the cards in review." It can be read as approvals that do not grant the new rights. The meaning is approvals these members no longer have the rights for under the new role.
    • de, es and it follow it literally; nl is being fixed in #2104.
    • Fix in English first, then de. Then every language goes stale through the en fingerprint, which a later batch picks up.
    • Suggested English: "On the cards in review, their approvals that the new role no longer allows expire."
    • Wording suggestions per language:
    • it: "Sulle schede in revisione scadono le approvazioni per cui, con il nuovo ruolo, non hanno più i permessi." (bu49)
    • nl: «Op kaarten in review vervallen de goedkeuringen waarvoor deze leden volgens de nieuwe rol geen rechten meer hebben.» (ukxh)