add backend readiness contract for publish prechecks
guard publish flow with explicit validation and version-aware checks
make publish behavior more predictable for clients and safer against stale state
add backend readiness contract for publish prechecks
add pricing diagnostics to explain publish-blocking conditions
make publish decisions more explicit and easier to debug for clients
add backend endpoint for publish readiness checks
enforce publish gate contract before version publication
make publish preconditions explicit and consistent for clients
standardize typed error responses across draft, pricing and publish endpoints
reduce contract drift between related flows
keep client-side handling more predictable and consistent
reject duplicate sector and group bindings within draft mutations
harden draft structure consistency at the backend layer
prevent conflicting bindings before they reach publish flow
add stale draft protection for mutation flows
validate referenced entities before applying draft changes
reduce invalid draft writes caused by stale state and broken references
keep mutation behavior explicit and version-aware
- add typed response schemas for pricing write endpoints
- add stale draft version guard for pricing mutations
- unify pricing API contract around expected_scheme_version_id
- update API route map
- add smoke regression checklist for backend routes and artifact flows
add optimistic concurrency guards via expected scheme version id
protect draft editor, pricing snapshot, remap and publish flows from stale mutations
protect version creation from stale current version state
keep backward compatibility with optional query guards
verify 409 conflict behavior for stale clients and 200 for valid flows