Skip to content

CAP-CRM-ACT-015Route overdue work to the people responsible for it

Markdown

CAP-CRM-ACT-015

Route overdue work to the people responsible for it

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationPartially observed

KindCapabilityProduct areaCRMModuleActivities, Follow-ups and Task WorkRevision2

Read atservices-crm a8d1364freact-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
Calendar-aware overdue classificationAudience aligned with task routingAttention resolved when work no longer qualifies
Surfaces
consolejob
Preconditions
Attention publishing is enabled for the execution.
Intent sources
services-crm:docs/attention.md#2. Attention definitions

Controls

18 controls apply, from the corpus control catalogue.

TC-DAT-001 TC-DAT-002 TC-DAT-003 TC-IAM-001 TC-IAM-005 TC-IAM-006 TC-LOG-005 TC-MON-001 TC-MON-002 TC-PI-001 TC-PI-002 TC-PI-004 TC-PI-005 TC-PRV-001 TC-PRV-002 TC-TEN-001 TC-TEN-002 TC-TEN-003

Business Rules

8 rules, 7 to be proved before approval. A rule's product intent is derived from its origin: 0 confirmed by a product decision, the rest inheriting this capability's proposed.

IdRuleKindEnforced atProvenance
01must prove
Proposed
An open task becomes overdue when its due day precedes today in the workspace calendar, so work due today is not yet overdue.
no proof recorded yet
calculationservicetest
services-crm:modules/tasks/tests/integration/services/persistence/task-attention-items.integration.spec.js#publishes nothing for a task due today, which is not overdue until the day ends
02must prove
Proposed
An overdue item addresses the holder, otherwise the responsibility for its queue, otherwise workspace administrators.
no proof recorded yet
policyservicetest
services-crm:modules/tasks/tests/integration/services/persistence/task-attention-items.integration.spec.js#addresses a queued task nobody holds to the task queue responsibility at its queue
03must prove
Proposed
A task write that leaves work overdue republishes its attention item within the same transaction, updating audience and details.
no proof recorded yet
policyservicetest
services-crm:modules/tasks/tests/integration/services/persistence/task-attention-items.integration.spec.js#moves the item to the new holder when an overdue task is assigned, in the same generation
04must prove
Proposed
Closing, deleting or moving an overdue task’s due day to today or later resolves its attention item in the same transaction with the corresponding reason.
no proof recorded yet
lifecycleservicetest
05must prove
Proposed
The daily sweep publishes overlooked overdue work and resolves attention items whose tasks no longer qualify.
no proof recorded yet
lifecycleservicetest
06must prove
Proposed
Rolling back a task write also rolls back its attention changes.
no proof recorded yet
invariantservicetest
07
Proposed
An overdue item carries the title, due day, priority and contact name without granting task access.
policyservicedocumented
services-crm:docs/attention.md#2. Attention definitions
08must prove
Proposed
The pinned attention record describes publishing disabled by default pending Platform readiness, without verifying current deployment settings.
no proof recorded yet
policyservicedocumented

Scenarios

IdGivenWhenThenProvenance
01Publishing is enabled and a held task is already overdue.Run the overdue sweep.The emitted item addresses its holder; Home delivery remains outside this service proof.test

Edge Cases

IdGivenWhenThenProvenance
02A previously overdue task has been completed.Reopen it while its due day remains past.An overdue attention item is published again.test

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.