10 Commits

Author SHA1 Message Date
greebo
239b32a246 fix(core): stabilize editor lifecycle, transactional versions, and runtime config 2026-03-20 12:38:10 +03:00
greebo
77496dac46 feat(backend): add editor context, draft bootstrap flow and draft summary endpoints
- add editor context endpoint for published and draft state introspection
- add ensure-draft endpoint to create or reuse the current editable draft
- add draft summary endpoint with validation, diff and publish readiness summary
- align draft read endpoints with optimistic concurrency via expected_scheme_version_id
- fix startup, import and schema issues in editor entry flow
- update smoke regression coverage for editor entry flow
2026-03-19 22:04:31 +03:00
greebo
4c15f4c201 feat(backend): add editor context, draft flow bootstrap, and draft summary endpoints
add backend endpoints for editor context and draft summaries

ensure draft flow bootstrap for editor-driven workflows
improve draft-aware initialization and summary reads for clients
2026-03-19 21:47:38 +03:00
greebo
64ec1c5180 feat(backend): add draft validation and single-record draft read endpoints
add backend endpoint for draft validation

add single-record read endpoints for draft entities
support targeted draft inspection and version-aware validation flows
2026-03-19 19:51:21 +03:00
greebo
35fc170cef feat(backend): add single-record draft read endpoints
add backend read endpoints for single draft records

support direct fetch of individual draft entities
improve draft inspection and targeted editor workflows
2026-03-19 19:42:03 +03:00
greebo
56aadf848b feat(backend): add draft validation endpoint with stale version guard
add backend endpoint for draft validation

protect validation requests against stale version state
keep draft checks version-aware and consistent with mutation flows
2026-03-19 19:32:22 +03:00
greebo
d060828256 feat(backend): prevent duplicate draft sector and group bindings
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
2026-03-19 19:29:00 +03:00
greebo
62550d5cb5 feat(backend): add stale draft guards and reference validation for draft mutations
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
2026-03-19 19:25:44 +03:00
greebo
c7c9184a71 feat: add optimistic concurrency guards for draft editor, pricing and publish 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
2026-03-19 18:58:03 +03:00
greebo
c91c5abf15 Implement display artifacts, pricing integrity, draft base and publish preview bundle 2026-03-19 17:58:17 +03:00