Skip to content

CAP-CRM-ACT-004Retain supporting files with an activity

Markdown

CAP-CRM-ACT-004

Retain supporting files with an activity

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
Managed attachment referencesFiles released with their owning activity
Surfaces
consoleapi
Preconditions
The workspace has configured managed file storage.

Controls

19 controls apply, from the corpus control catalogue.

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

Permissions

KeyChecked atScope
crm.activities.createapitenant
crm.activities.updateapitenant

Business Rules

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

IdRuleKindEnforced atProvenance
01must prove
Proposed
An activity accepts no more than 20 attachments, with file names limited to 255 characters.
no proof recorded yet
validationservice, databasetest
02must prove
Proposed
New attachment references must come from the shared file pipeline, which prepares a permanent copy for the activity and rejects unprepared references.
no proof recorded yet
validationservicetest
03must prove
Proposed
Submitting an attachment list retains unchanged files and removes entries absent from that list, while a partial edit that omits the list preserves it.
no proof recorded yet
policyservicetest
04
Proposed
The attachment list determines the display order of its files.
policyserviceobserved
05must prove
Proposed
Activity deletion requests cleanup of released file references; the shared file service owns physical deletion.
no proof recorded yet
lifecycleserviceobserved
06must prove
Confirmed
An activity create replay does not copy its attachments again.
no proof recorded yet
invariantservicetest
07must prove
Proposed
The activity editor displays existing attachments and permits removal, but provides no upload control.
no proof recorded yet
policyconsoletest

Scenarios

IdGivenWhenThenProvenance
01An activity has an attachment prepared through the file pipeline.Submit an unprepared file reference as a new attachment.The activity save rejects the file reference.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.