Skip to content

v0.49.0: Deliver managed deadlines and bounded escalation #8

Description

@grove

Outcome

Evaluate overdue review cases while business tables remain idle and deliver at most one permitted escalation per MDM case occurrence and configured level. Preserve existing deadlines and prevent repeated escalation after retries, restarts, audit updates, or human edits.

Scope and boundaries

  • Reuse the supported React temporal path and ordinary poll/worker runtime. First map the installed public API and prove time-only liveness. Missing temporal functionality requires re-estimation before further implementation.
  • Use one authoritative database-time sample per evaluation unit, timezone-aware timestamps, and the qualified UTC elapsed-time profile. Document the due boundary, proposed as equality counting as due. Freeze numeric detection/dispatch latency and admission bounds before acceptance.
  • Request typed ESCALATE through the existing transactional MDM adapter. Require the v0.48.0 transaction, deduplication, binding, and stale-work gates plus real MDM M2 escalation support and exact receipt fixtures. MDM retains authority over eligibility, manual protection, recurrence, level limits, and acceptance.
  • Obtain owner agreement on level and catch-up semantics. The proposed first profile advances at most one next permitted level per case per evaluation, emits at most one condition row per case_key, and bounds total levels and per-cycle admissions. Prevent repeated applied levels across new request keys, lifecycle generations, human edits, retries, and restore.
  • Preserve deadlines unless an explicitly reviewed policy replacement authorizes a change. Exclude audit-only fields from action-driving revisions, converge to a no-op after delivery, preserve immutable attempted work, and block stale or incompatible queued escalation after human changes, replacement, or the pause barrier.
  • Expose public evidence for deadlines, configuration, sampled time, requested/applied levels, protection/no-op reasons, pending work, receipts, and stale/rejected outcomes. Keep control delivery distinct from case closure and business resolution.
  • Qualify deterministic time boundaries and real managed-runtime idle-case liveness, concurrency, bounded backlog/catch-up, adjacent upgrade, restart, coherent restore, and clone startup isolation. Apply common gates C01-C12 to present behavior. Repeated controls and unauthorized actions have zero tolerance. Upgrades preserve request codecs and applied levels and cannot silently enable escalation.

The budget is 30 person-days, including independent review and operational documentation. Excluded are rolling/hopping windows, business calendars, arbitrary event sequences, network alerts, human approval routing, a generic temporal DSL, a separate scheduler, and a broad temporal-engine rewrite.

Extra profiles and convenience metrics may be cut. Real time-only testing, recurrence identity, duplicate prevention across new keys, and restart catch-up safety may not.

Source specification

The linked specification and its referenced release gates remain authoritative. This issue does not replace them with an acceptance contract.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions