Skip to content

feat(prematch): auto prayer roll accepts itself (T31) - #422

Merged
Alountk merged 2 commits into
mainfrom
feat/auto-prayer-accept
Nov 17, 2026
Merged

Alountk merged 2 commits into
mainfrom
feat/auto-prayer-accept

Conversation

@Alountk

@Alountk Alountk commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Qué

T31 (L101) — tu regla: si tiras automático, la tirada se autoacepta.

  • «Tirar automático» commitea y bloquea al instante: un 1D16 real, con re-tiro interno si repite algo ya aceptado (regla del reglamento, acotado) — sin paso de «Aceptar» y sin posibilidad de repetir tras un auto-roll
  • El camino manual queda intacto: escribes tu dado → «Aceptar» bloquea → aviso de repetidos

2 pins de T30 reescritos con su WHY (el auto-fill editable y el «Aceptar rechaza duplicado» ya no aplican al auto).

Verificación

  • RED implícito por cambio de regla → verdes las 2 suites (102 passed + 6 skipped) · tsc 0

Risk: none

T31 (L101, user verbatim: «si tira de manera automática la tirada es autoaceptada. No tiene sentido que deje repetir la tirada»): «Tirar automático» now COMMITS itself — one 1D16 with an internal re-take loop until distinct from the team's accepted rolls (bounded 32), locked immediately; no «Aceptar» step and no repeat possibility after an auto roll. Manual entry keeps its path untouched (1-16 entry, Aceptar lock, duplicate warning). Two T30 pins rewritten with WHY notes (auto-fill/edit → auto-accept; Aceptar-refuses-duplicate-on-auto → internal re-take). Inline small task per the small-unit rule.
@Alountk Alountk added the type:feature New feature label Nov 17, 2026
T31 follow-up (L102, user): an automatic roll that repeats an accepted result now INFORMS the coach with the pinned «Resultado repetido: vuelve a tirar el 1D16 en mesa.» and commits nothing — the silent internal re-take is gone; the coach throws again (auto or manual) and a fresh result commits. Same copy as the manual path.
@Alountk
Alountk merged commit e5df56e into main Nov 17, 2026
12 checks passed
@Alountk
Alountk deleted the feat/auto-prayer-accept branch November 17, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant