Skip to content

CAP-PFM-DJE-017Reset a loading workspace and review its release

Markdown

CAP-PFM-DJE-017

Reset a loading workspace and review its release

Markdown
  • DocumentDraft
  • Product intentConfirmed
  • ImplementationPartially observed

KindCapabilityProduct areaPlatformModuleData Job EngineRevision1

Read atservices-platform ad3f6a65services-crm a8d1364f

The Formal Contract

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

Outcomes
Reset clears loaded domain data while retaining implementation support records.The cited reload fixtures preserve records and numbering.Activation has separate authority and a planned readiness gate.
Surfaces
api
Intent sources
services-platform:docs/milestones/PLAT-M19-data-job-engine-foundations.md#D5services-platform:docs/milestones/plans/PLAT-M19-plan.md#S23services-platform:docs/milestones/plans/PLAT-M22-plan.md#A1services-platform:docs/milestones/plans/PLAT-M22-plan.md#A3services-platform:docs/milestones/plans/PLAT-M22-plan.md#9. Acceptance scenarios

Controls

33 controls apply, from the corpus control catalogue.

TC-AVL-001 TC-AVL-004 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-AZ-005 TC-CHG-001 TC-CHG-002 TC-CHG-003 TC-CHG-004 TC-CHG-005 TC-CHG-006 TC-CHG-007 TC-DAT-001 TC-DAT-002 TC-DAT-003 TC-DAT-006 TC-IAM-003 TC-LOG-001 TC-LOG-004 TC-LOG-005 TC-MON-001 TC-PI-001 TC-PI-002 TC-PI-004 TC-PI-005 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-VEN-001 TC-VEN-002 TC-VEN-003

Permissions

KeyChecked atScope
hq.data-runs.manageapiglobal
hq.tenants.activateapiglobal

Business Rules

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

IdRuleKindEnforced atProvenance
01must prove
Confirmed
The reset contract requires implementation status, loading lifecycle and the workspace identifier as confirmation, with eligibility checked before recording and processing the reset.
validationservicedocumented
02must prove
Confirmed
The reset contract clears participating domain data, jobs and producer mappings while preserving security, uploads, run records and retained implementation configuration; CRM fixtures demonstrate removal of loaded CRM records.
policyservicetest
services-crm:modules/data-jobs/tests/integration/services/jobs/initial-import-guarantees.integration.spec.js#removes everything the load wrote: no contact, organization, imported type or crosswalk row is left
03must prove
Confirmed
The reset contract refuses unsupported service participants before any removal.
validationservicedocumented
04must prove
Confirmed
In the cited reset fixtures, repeating reset removes nothing, another workspace remains intact and reloading the package reproduces records and numbers.
invariantservice, databasetest
services-crm:modules/data-jobs/tests/integration/services/jobs/initial-import-guarantees.integration.spec.js#reloads the same records as the load before the reset, numbers included
05
Confirmed
A failed reset can leave domain data partly removed while the workspace remains loading; another attempt starts the participant sequence again.
lifecycleservicedocumented
06must prove
Confirmed
Activation uses permission separate from loading and reset, restoring active lifecycle without changing workspace status.
permissionapidocumented
services-platform:docs/data-jobs/data-runs.md#7. The summary and the readiness verdict
07must prove
Confirmed
The product should refuse activation while load-readiness blockers remain; the cited activation implementation does not yet apply that gate.
policydocumented
08must prove
Confirmed
A loading workspace permits its users to reach allowed job and reconciliation routes while ordinary routes report unavailable.
policyapidocumented

Scenarios

IdGivenWhenThenProvenance
01A loading workspace received input with incorrect mappings.Staff reset its data and register corrected input.The earlier loaded records are removed and the new load uses retained implementation support, including uploads and users.test
services-crm:modules/data-jobs/tests/integration/services/jobs/initial-import-guarantees.integration.spec.js#applies every item of every file of the reload, nothing being recognised from before the reset

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.