Record original-alignment implementation and traceability checkpoint
Capture current source, content data, tests, asset licenses, and original-specification traceability. Original implementation remains incomplete. The accepted matching UI generation passed 154 suites and 12,253 checks, with eight rendered staff-contract screens reviewed. Latest native Windows and full-original acceptance remain outstanding.
This commit is contained in:
@@ -371,9 +371,15 @@ func _validate_facility(definition: FacilityDefinition, requested_path: String)
|
||||
if definition.staff_min < 0 or definition.staff_max < definition.staff_min:
|
||||
_add_error(&"value_out_of_range", facility_id, requested_path, &"staff_min", "Staff limits are inconsistent.")
|
||||
valid = false
|
||||
if definition.customer_capacity < -1 or definition.service_attribute not in [&"", &"appetite", &"relaxation", &"sexual", &"gambling"]:
|
||||
_add_error(&"value_out_of_range", facility_id, requested_path, &"customer_capacity", "Customer capacity or service attribute is invalid.")
|
||||
valid = false
|
||||
if definition.capacity < 0 or definition.queue_capacity < 0:
|
||||
_add_error(&"value_out_of_range", facility_id, requested_path, &"capacity", "Service and queue capacities cannot be negative.")
|
||||
valid = false
|
||||
if definition.faith_per_service < 0:
|
||||
_add_error(&"invalid_service_reward", facility_id, requested_path, &"faith_per_service", "Service Faith must be non-negative.")
|
||||
valid = false
|
||||
if definition.base_service_minutes <= 0 or definition.base_price < 0:
|
||||
_add_error(&"value_out_of_range", facility_id, requested_path, &"base_service_minutes", "Service duration must be positive and price cannot be negative.")
|
||||
valid = false
|
||||
|
||||
Reference in New Issue
Block a user