Skip to content

CAP-PFM-TNL-009Maintain the baseline of existing workspaces

Markdown

CAP-PFM-TNL-009

Maintain the baseline of existing workspaces

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationPartially observed

KindCapabilityProduct areaPlatformModuleWorkspace Lifecycle Across ApplicationsRevision2

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
Deployment reconciliation adds missing CRM defaults without repeating existing seeds.Staff can initialize a participant on demand.Workspace failures are collected while reconciliation continues elsewhere.
Surfaces
apijob
Intent sources
services-platform:docs/tenants/tenant-lifecycle-plan.md#§6.5services-platform:docs/standards/baseline-configuration.md#§3services-platform:docs/standards/baseline-configuration.md#§4

Controls

27 controls apply, from the corpus control catalogue.

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-004 TC-IAM-001 TC-IAM-003 TC-IAM-006 TC-LOG-001 TC-LOG-005 TC-MON-001 TC-PI-001 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.tenants.provisionapiglobal

Business Rules

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

IdRuleKindEnforced atProvenance
01must prove
Proposed
Staff can initialize a participant for an existing workspace, applying unledgered defaults and selecting sets where the local implementation supports that selection.
policyapi, servicetest
02must prove
Proposed
Staff initialization accepts active or provisioning-failed workspaces and rejects other lifecycle states, unknown participants and disabled participants.
validationservicetest
03must prove
Confirmed
CRM deployment reconciles defaults for active, loading and provisioning-failed workspaces regardless of business status.
policyservicetest
services-crm:modules/tenant-lifecycle/tests/unit/lifecycle/baseline-reconciliation.spec.js#runs the reconciliation on every update, which is every deployment
04must prove
Confirmed
An uncustomized older CRM workspace receives the seeded types and ledger entries of a workspace provisioned with the current baseline.
invariantservicetest
05must prove
Confirmed
Reconciliation records a workspace’s failure, continues with others and then fails deployment with the collected errors.
policyservicetest
services-crm:modules/tenant-lifecycle/tests/unit/lifecycle/baseline-reconciliation.spec.js#fails the deployment when any tenant failed, naming the tenant and its message
06must prove
Confirmed
Platform currently applies its own defaults through provisioning or staff initialization, without a deployment reconciliation pass.
no proof recorded yet
policyservicedocumented
07must prove
Proposed
Existing-workspace provisioning retains the workspace’s status and applies missing work, rejecting workspaces outside active live or implementation mode.
policyservicetest
08must prove
Proposed
Remote initialization calls provisioning without passing the requested seed-set selection.
policyserviceobserved

Scenarios

IdGivenWhenThenProvenance
01CRM declares another follow-up task default.The release reconciles eligible workspaces.Each workspace lacking its seed receives it, and repeating reconciliation adds no second copy.test
services-crm:modules/tenant-lifecycle/tests/integration/services/lifecycle/baseline-reconciliation.integration.spec.js#gives a tenant that predates the seeds the five task types, follow-up among them

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.