# Lawn Bowls staging: deny direct HTTP requests to audited PHP include-only helpers.
# This does not block server-side require/include. Apache 2.4 required.
<FilesMatch "^(?:bowls_admin_expected_lock_id_v1\.php|bowls_admin_swap_policy_staging\.php|bowls_admin_swap_receipt_staging\.php|bowls_admin_transaction_cleanup_v1\.php|bowls_completion_retry_policy_staging\.php|bowls_lock_db_location_v1\.php|bowls_lock_green_capacity_v1\.php|bowls_lock_match_location_v1\.php|bowls_lock_owner_identity_v1\.php|bowls_lock_request_provenance_v1\.php|bowls_lock_request_rink_v1\.php|bowls_lock_time_v1\.php|bowls_referee_scoring_mutex_v1\.php|bowls_reservation_index_plan_v1\.php|bowls_reservation_lock_wait_v1\.php|bowls_reservation_mysql_mutex_adapter_v1\.php|bowls_reservation_revision_contract_v1\.php|bowls_reservation_scan_contract_v1\.php|bowls_reservation_shadow_batch_v1\.php|bowls_reservation_shadow_sync_v1\.php|bowls_reservation_shadow_write_plan_v1\.php|bowls_reservation_transaction_executor_v1\.php|bowls_reservation_transaction_guard_v1\.php|bowls_rink_access_code_helper_v1_staging\.php|bowls_rink_reservation_helper_v2\.php|bowls_scoring_rules_v1_staging\.php|bowls_standalone_cleanup_gate_v1\.php|bowls_standalone_commit_gate_v1\.php|bowls_standalone_creation_response_v1\.php|bowls_standalone_db_reconcile_v1\.php|bowls_standalone_recovery_gate_v1\.php|bowls_standalone_reservation_date_v1\.php|bowls_standalone_reservation_snapshot_v1\.php|bowls_standalone_reservation_transaction_v1\.php|bowls_standalone_retry_contract_v1\.php|bowls_standalone_retry_reconciliation_v1\.php|bowls_standalone_schema_gate_v1\.php)$">
    Require all denied
</FilesMatch>

<FilesMatch "^(?:qr_endpoint_adapter|qr_login_service|qr_authorization|qr_attempt_limit|qr_attempt_cleanup|numeric_attempt_limit|scoped_session|scoring_grant_guard|credential_repository|match_credentials|assigned_recovery|assigned_recovery_repository|rotation_policy|access_card_metadata)\.php$">
    Require all denied
</FilesMatch>
