CR89: Tresor counts the tries at each room's lock; SDK 0.91.0 #25

Merged
oliver.maklott merged 1 commit from cr89-tresor-counts into main 2026-11-29 01:19:29 +01:00

Auftrag CR89 (Code-Review 3, Befund K5; aivopod-app D636–D641). Kein Versionssprung des Pakets.

  • Drei Zählungen, je Raum und Fähigkeit: shift, frequency, factors; gezählt werden die Versuche am Schloss
  • pass 0,5, min 1: erster oder zweiter Versuch richtig, ab dem dritten oder bei geschlossenem Schloss falsch, ohne Versuch nichts
  • tresor 1.3.0, dieselbe Hauptversion; neues Zustandsfeld triesAt, alte Logs füllen es beim Nachspielen
  • Tests: expectJudgement (stark, verziehen, schwach, festgefahren, zu kurz), checkRandomPlay, zwei Logs der freigegebenen Logik
  • Namen der Schlüssel auf Deutsch, README beschreibt, was zählt; @aivopod/sdk 0.91.0
  • tsc, pack test (112 bestanden), pack build --previous

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2

Auftrag CR89 (Code-Review 3, Befund K5; aivopod-app D636–D641). Kein Versionssprung des Pakets. - [x] Drei Zählungen, je Raum und Fähigkeit: `shift`, `frequency`, `factors`; gezählt werden die Versuche am Schloss - [x] `pass` 0,5, `min` 1: erster oder zweiter Versuch richtig, ab dem dritten oder bei geschlossenem Schloss falsch, ohne Versuch nichts - [x] `tresor` 1.3.0, dieselbe Hauptversion; neues Zustandsfeld `triesAt`, alte Logs füllen es beim Nachspielen - [x] Tests: `expectJudgement` (stark, verziehen, schwach, festgefahren, zu kurz), `checkRandomPlay`, zwei Logs der freigegebenen Logik - [x] Namen der Schlüssel auf Deutsch, README beschreibt, was zählt; `@aivopod/sdk` 0.91.0 - [x] `tsc`, `pack test` (112 bestanden), `pack build --previous` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2
CR89: Tresor counts the tries at each room's lock; SDK 0.91.0
All checks were successful
pack / pack (pull_request) Successful in 10s
pack / pack (push) Successful in 11s
a024effc7a
The vault cannot be lost (its outcome is running or won), so "won is right"
said nothing (code review 3, K5; aivopod-app D636-D641). It now reports
counts with `results`, and the platform judges them once per run and key,
however the run ended.

- tresor 1.3.0: three keys, one per room and skill – `shift`
  (crypto.shift-cipher), `frequency` (crypto.frequency-analysis), `factors`
  (security.two-factor). A decision is a try at the lock, right when the code
  was; a lock opens once, so a room counts 1 of its tries, or 0 while shut.
  `pass` 0.5, `min` 1: opened at the first or second try is right, at the
  third (1 of 3) or never is wrong, a room without a try says nothing. No
  `choices`: a lock has 26^4 codes and more. Cards, wheels, the group word,
  waiting and stars are not counted.
- `skills.tiers` is gone: a game with `results` is not judged by its end.
- The tries per room are a new field of the state (`triesAt`), filled by the
  reducer: every action of an old log is taken as before and leads to the
  same visible state, so runs of the released versions can be judged again
  from their logs. Same major.
- Tests: strong, forgiven, weak, stuck and too-short runs per key
  (expectJudgement), checkRandomPlay, and two logs written with the released
  logic – one to the end, one on the clock with a lockout.
- Labels of the keys in de (the pack's only language); README says what is
  counted.

No pack version yet: the release sets it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4hWqPfFUKC4KEEmcM2
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Geheimschrift!25
No description provided.