schema_version: 1
snapshot_version: 2

service_name: sports_center
commercial_product: Sports Center
current_version: "0.9.7.0"
current_phase: sports-center-9.7
last_completed_phase: sports-center-9.7
next_phase: sports-center-9.8

completed_phases:
  - sports-center-9.0
  - sports-center-9.1
  - sports-center-9.2
  - sports-center-9.3
  - sports-center-9.4
  - sports-center-9.5
  - sports-center-9.6
  - sports-center-9.7

remaining_phases:
  - sports-center-9.8
  - sports-center-9.9
  - sports-center-9.10

registered_modules:
  - foundation
  - membership_catalog
  - members
  - coaches
  - staff
  - booking
  - attendance
  - training
  - competitions

enabled_capabilities:
  - sports_center.foundation
  - sports_center.membership_catalog
  - sports_center.member_management
  - sports_center.coach_staff_management
  - sports_center.booking_engine
  - sports_center.attendance_engine
  - sports_center.training_management
  - sports_center.competition_management

enabled_bundles:
  - Sports Center

public_apis:
  - method: GET
    path: /health
    permission: public
  - method: GET
    path: /capabilities
    permission: public
  - method: POST
    path: /api/v1/competitions
    permission: sports_center.competitions.manage
  - method: POST
    path: /api/v1/competition-registrations
    permission: sports_center.competition_registrations.manage
  - method: POST
    path: /api/v1/competition-matches
    permission: sports_center.competition_matches.manage
  - method: POST
    path: /api/v1/competition-results
    permission: sports_center.competition_results.manage

published_events:
  - event_type: sports_center.competition.created
    version: "1"
  - event_type: sports_center.competition.result.recorded
    version: "1"
  - event_type: sports_center.competition.medal.awarded
    version: "1"

permission_prefix: sports_center.*

active_adrs:
  - ADR-001
  - ADR-003
  - ADR-006
  - ADR-014

integration_contracts:
  - service: accounting
    mode: api_and_events
  - service: crm
    mode: api_and_events
  - service: loyalty
    mode: api_and_events
  - service: communication
    mode: api_and_events

known_limitations:
  - Route-level permission enforcement deferred (JWT + X-Tenant-ID)
  - Events in-memory only (no durable outbox yet)
  - No financial integration (Phase 9.8)
  - Foundation sports_events shell unchanged; competition module is separate

open_todos: []

last_handover_reference: docs/phase-handover/phase-9-7.md
last_updated: "2026-07-26"
