Skip to content

feat(ranking): record audited tie resolutions - #20

Merged
DAVstudy merged 1 commit into
feat/t11-persisted-rankingfrom
feat/store-monthly-ranking-flow
Nov 16, 2026
Merged

DAVstudy merged 1 commit into
feat/t11-persisted-rankingfrom
feat/store-monthly-ranking-flow

Conversation

@DAVstudy

Copy link
Copy Markdown
Owner

Closes #10

Summary

  • Record organizer tie-break decisions only for the actual persisted Top Cut boundary tie.
  • Derive tied players and starting position from persisted ranking data instead of caller input.
  • Document persisted ranking, monthly continuity, and audited correction behavior.

Changes

File Change
src/modules/ranking/record-store-tie-break-resolution.ts Validates and records the real store/month boundary tie with an application-controlled timestamp.
src/modules/ranking/record-store-tie-break-resolution.test.ts Covers successful recording and rejection without side effects.
README.md Documents persisted ranking and audited tie-resolution behavior.

Test plan

  • Focused tie-recording tests pass: 3/3.
  • TypeScript typecheck passes.
  • Full Vitest suite passes.
  • Independent high-risk verification passes.
  • Native assessment returned medium / under_budget; no additional review was due.

Contributor checklist

  • Linked an approved issue.
  • Added exactly one type:* label.
  • No shell scripts changed; shellcheck is not applicable.
  • Behavior is covered by focused and full-suite tests.
  • Documentation is updated for changed behavior.
  • Commits use Conventional Commit format.
  • No Co-Authored-By trailers.

Chain Context

Field Value
Chain T11 persisted monthly ranking
Tracker PR Not needed
Position 3 of 3
Base feat/t11-persisted-ranking
Depends on #19, which depends on #18
Follow-up None
Review budget 277 / 400
Starts at Persisted monthly ranking from #19
Ends with Complete audited tie-resolution application flow and documentation

Chain Overview

main
 └── #18 Audited tie-resolution persistence
      └── #19 Persisted monthly ranking
           └── 📍 PR 3: tie-resolution application flow and docs

Scope

  • Includes: organizer recording flow, trusted timestamps, validation, and documentation.
  • Excludes: public ranking projection, authentication sessions, and UI.

Autonomy

  • CI is expected to pass for this PR branch.
  • This PR has one deliverable scope.
  • This PR can be rolled back without unrelated changes.
  • Tests and documentation cover this unit.

@DAVstudy DAVstudy added the type:feature Nueva funcionalidad label Nov 16, 2026
@DAVstudy
DAVstudy merged commit fd4b3d7 into feat/t11-persisted-ranking Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature Nueva funcionalidad

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant