Tenant Drift Detector
Compares configuration snapshots across preview, test, staging, and production tenants. Detects changes in business rules, picklists, foundation objects, MDF objects, event reasons, workflows, RBP roles, and metadata fields. Classifies each drift item by release impact and whether it is intentional, missing transport, hotfix, or unknown. Produces a release gate decision with blockers and recommended reconciliation order.
When to Use
- Compare sandbox and production so releases do not fail because the tenants quietly diverged.
- Client asks for an evidence-backed review in the Release Governance area
- Preparing a workshop, release gate, audit pack, or remediation plan
- Converting raw SF configuration into a client-safe recommendation
Prerequisites
- Inputs: Metadata/config snapshots from two or more SF tenants
- Expected outputs: Drift report, release risk score, deploy blockers, rollback watchlist
- Confirm client audience and whether output should be board-level, technical, or mixed
- Never store credentials or employee-sensitive data in the repo or final deliverable
Workflow
- Snapshot - gather evidence, classify impact, and create a client-safe output.
- Diff - gather evidence, classify impact, and create a client-safe output.
- Classify - gather evidence, classify impact, and create a client-safe output.
- Release Gate - gather evidence, classify impact, and create a client-safe output.
Analysis Checklist
- Confirm the configuration objects and source tenant/snapshot date
- Separate configuration evidence from assumptions
- Score findings by business impact, not just technical severity
- Group repeated findings into themes so the client gets a short action list
- Flag internal-only notes before writing the client-facing summary
- Produce remediation actions with owner, effort, dependency, and success metric
Edge Cases
- Intentional hotfix in production: validate explicitly before final recommendation
- Preview tenant upgraded before production: validate explicitly before final recommendation
- Different country rollout scope per tenant: validate explicitly before final recommendation
- Inactive config present in only one tenant: validate explicitly before final recommendation
- Config Center export missing some objects: validate explicitly before final recommendation
- Emergency release overlapping SAP release cycle: validate explicitly before final recommendation
Example Prompt
Compare our preview and production SF tenants and tell us what drift could break the next release.
Example Output Shape
412 objects compared. 37 drift items found: 4 blockers, 12 review required, 21 informational. Top blocker: business rule BR-HIRE-014 differs between preview and production and writes different eventReason values on hire. Release gate: no-go until production hotfix is reconciled.
Common Pitfalls
- Delivering raw technical noise: Summarise by business impact and put raw details in an appendix.
- Ignoring country or legal-entity variation: Many SF issues are only defects in one population.
- Missing downstream impact: Always map the finding to payroll, compliance, reporting, integration, or user experience.
- No rollback plan: Every remediation step needs a safe fallback.
- No validation step: Re-run the relevant check after fixing config and compare before/after evidence.
Verification Checklist
1---2name: sf-tenant-drift-detector3description: Use when you need to compare sandbox and production so releases do not fail because the tenants quietly diverged.4license: MIT5---67# Tenant Drift Detector89Compares configuration snapshots across preview, test, staging, and production tenants. Detects changes in business rules, picklists, foundation objects, MDF objects, event reasons, workflows, RBP roles, and metadata fields. Classifies each drift item by release impact and whether it is intentional, missing transport, hotfix, or unknown. Produces a release gate decision with blockers and recommended reconciliation order.1011## When to Use1213- Compare sandbox and production so releases do not fail because the tenants quietly diverged.14- Client asks for an evidence-backed review in the Release Governance area15- Preparing a workshop, release gate, audit pack, or remediation plan16- Converting raw SF configuration into a client-safe recommendation1718## Prerequisites1920- Inputs: Metadata/config snapshots from two or more SF tenants21- Expected outputs: Drift report, release risk score, deploy blockers, rollback watchlist22- Confirm client audience and whether output should be board-level, technical, or mixed23- Never store credentials or employee-sensitive data in the repo or final deliverable2425## Workflow26271. **Snapshot** - gather evidence, classify impact, and create a client-safe output.282. **Diff** - gather evidence, classify impact, and create a client-safe output.293. **Classify** - gather evidence, classify impact, and create a client-safe output.304. **Release Gate** - gather evidence, classify impact, and create a client-safe output.3132## Analysis Checklist3334- Confirm the configuration objects and source tenant/snapshot date35- Separate configuration evidence from assumptions36- Score findings by business impact, not just technical severity37- Group repeated findings into themes so the client gets a short action list38- Flag internal-only notes before writing the client-facing summary39- Produce remediation actions with owner, effort, dependency, and success metric4041## Edge Cases4243- **Intentional hotfix in production**: validate explicitly before final recommendation44- **Preview tenant upgraded before production**: validate explicitly before final recommendation45- **Different country rollout scope per tenant**: validate explicitly before final recommendation46- **Inactive config present in only one tenant**: validate explicitly before final recommendation47- **Config Center export missing some objects**: validate explicitly before final recommendation48- **Emergency release overlapping SAP release cycle**: validate explicitly before final recommendation4950## Example Prompt5152> Compare our preview and production SF tenants and tell us what drift could break the next release.5354## Example Output Shape5556412 objects compared. 37 drift items found: 4 blockers, 12 review required, 21 informational. Top blocker: business rule BR-HIRE-014 differs between preview and production and writes different eventReason values on hire. Release gate: no-go until production hotfix is reconciled.5758## Common Pitfalls59601. **Delivering raw technical noise**: Summarise by business impact and put raw details in an appendix.612. **Ignoring country or legal-entity variation**: Many SF issues are only defects in one population.623. **Missing downstream impact**: Always map the finding to payroll, compliance, reporting, integration, or user experience.634. **No rollback plan**: Every remediation step needs a safe fallback.645. **No validation step**: Re-run the relevant check after fixing config and compare before/after evidence.6566## Verification Checklist6768- [ ] Source evidence captured with tenant/snapshot date69- [ ] Findings scored by severity and business impact70- [ ] Edge cases reviewed explicitly71- [ ] Remediation actions include owner, effort, dependency, and success metric72- [ ] Client-safe summary produced73- [ ] Internal-only notes separated74- [ ] Follow-up validation plan included