---
apiVersion: data-spec/v1
id: autonumber-v2-seed-20260418
description: "Autonumber v2 format seed — 132 field formats + 9 RecordType codes + scope-source map for cutover"
title: "Autonumber v2 format seed"
issue: ""
created: 2026-04-18
scope: both
status: pending-staging
tables_modified:
  - _System_Field
  - _System_RecordType
tables: [_System_Field, _System_RecordType]
idempotent: true
risk: medium
reviewers: ["@codeowners"]
depends_on: []
---

# Autonumber v2 Format Seed

## Summary

Seeds `_System_Field.auto_number_format` + `auto_number_scope` + `auto_number_start` for 129 Salesforce autonumber fields surveyed from `pingcap.my.salesforce.com` (v60.0, 2026-04-17), plus 3 NexusCRM-native compound fields (`Contract.Name`, `Quote.Name`, `Order.Name`), plus `_System_RecordType.RecordTypeCode` for 9 Contract RecordType DeveloperNames. This discharges the Lane C1 (Wave 1) seed contract for the Autonumber Engine v2 cutover (PRD §8.1).

All seeded fields are `scope=global` at cutover (user decision, Round-2 review). `counter_scope=per_day` is reserved for post-cutover admin toggles and is NOT exercised by any seeded format.

`auto_number_token_refs` and `auto_number_canonical_hash` are intentionally left NULL by this spec. Lane C2 (`SeedAutoNumberCounters`, Wave 2) uses the engine's canonicalizer to populate them.

## Changes

### 1. Seed 129 Salesforce autonumber fields

Source: `docs/sf-autonumber-spec.md` + survey JSON `autonumber_survey.json` (SF API v60.0).

| ObjectName | FieldApiName | Format | Start |
|---|---|---|---|
| `Account` | `Account_ID__c` | `IBG-B-{YYYY}{MM}{DD}-{000000}` | 1 |
| `Address` | `Name` | `{0}` | 1 |
| `AssetRelationship` | `AssetRelationshipNumber` | `{0}` | 1 |
| `AssociatedLocation` | `AssociatedLocationNumber` | `{0}` | 1 |
| `CLDR__Assigned_Users__c` | `Name` | `U-{00}` | 1 |
| `CLDR__CL_Application_Settings__c` | `Name` | `CAS-{0}` | 1 |
| `CLDR__CL_Dialer_Settings__c` | `Name` | `CDS-{0}` | 1 |
| `CLDR__CL_Exception_Logs__c` | `Name` | `{0}` | 1 |
| `CLDR__CL_KPM_Logs__c` | `Name` | `{0}` | 1 |
| `CLDR__CL_License_Settings__c` | `Name` | `CLS-{0}` | 1 |
| `CLDR__CL_Phone_Type__c` | `Name` | `PT-{0}` | 1 |
| `CLDR__CL_ROI__c` | `Name` | `{0}` | 1 |
| `CLDR__CL_User_Settings__c` | `Name` | `CUS-{0}` | 1 |
| `CLDR__CL_Workflow_Field_Mapping__c` | `Name` | `CWF-{0}` | 1 |
| `CLDR__CallOutcome_for_Opportunity__c` | `Name` | `{0}` | 1 |
| `CLDR__Dial_List_Response__c` | `Name` | `{0}` | 1 |
| `CLDR__KPM_Data__c` | `Name` | `{0}` | 1 |
| `CLDR__User_Contacts__c` | `Name` | `{0}` | 1 |
| `CLDR__VoiceMessage__c` | `Name` | `{0}` | 1 |
| `Case` | `CaseNumber` | `{00000000}` | 1 |
| `CommSubscriptionTiming` | `Name` | `{0}` | 1 |
| `ContactRequest` | `Name` | `{0}` | 1 |
| `Contract` | `ContractNumber` | `{00000000}` | 1 |
| `DOZISF__ZoomInfo_Intent__c` | `Name` | `I-{00000}` | 1 |
| `DOZISF__ZoomInfo_Scoop__c` | `Name` | `{0}` | 1 |
| `DuplicateRecordItem` | `Name` | `DRI-{0000000000}` | 1 |
| `DuplicateRecordSet` | `Name` | `DRS-{0000000000}` | 1 |
| `Elvance__Activity_Log__c` | `Name` | `AL-{00000}` | 1 |
| `Elvance__Elvance_Assignment_Request__c` | `Name` | `ELR-{0000}` | 1 |
| `Elvance__Elvance_Log__c` | `Name` | `EL-{000000}` | 1 |
| `Elvance__Elvance_Risk_Entry__c` | `Name` | `ELR-{0000}` | 1 |
| `Elvance__Feature_Gap_Entry__c` | `Name` | `EFGE-{0000}` | 1 |
| `Elvance__Opp_Scorecard__c` | `Name` | `SC-{0000}` | 1 |
| `Feature_Request__c` | `Name` | `FR{0000000}` | 1 |
| `FlowOrchestrationInstance` | `Name` | `{0}` | 1 |
| `FlowOrchestrationLog` | `Name` | `{0}` | 1 |
| `FlowOrchestrationWorkItem` | `Name` | `{0}` | 1 |
| `Google_Form_API_Log__c` | `Name` | `log-{00000000}` | 1 |
| `Integration_Log__c` | `Name` | `{00000000000000}` | 1 |
| `Interface_Log__c` | `Name` | `2026-04-17-{0000000}` | 1 |
| `Invoice_Collection__c` | `Name` | `C{0000000000}` | 1 |
| `Joint_Marketing_Event__c` | `Name` | `{0}` | 1 |
| `LocationTrustMeasure` | `Name` | `{0}` | 1 |
| `Month_End_ARR__c` | `Name` | `ARR#2026-04-13-{00000}` | 1 |
| `OperatingHoursHoliday` | `OperatingHoursHolidayNumber` | `{0}` | 1 |
| `Opportunity_Product__c` | `Name` | `OppPro-{00000000}` | 1 |
| `Order` | `OrderNumber` | `{00000000}` | 1 |
| `OrderItem` | `OrderItemNumber` | `{0000000000}` | 1 |
| `Order_Product__c` | `Name` | `OrderPro-{00000000}` | 1 |
| `POC_Result__c` | `Name` | `2026-04-05-{0000000}` | 1 |
| `PoC__c` | `Name` | `PoC{0000000000}` | 1 |
| `ProcessException` | `ProcessExceptionNumber` | `{0}` | 1 |
| `ProfileSkillEndorsement` | `Name` | `{0}` | 1 |
| `ProfileSkillUser` | `Name` | `{0}` | 1 |
| `QuestionnaireQuestion__c` | `Name` | `Q-{0000}` | 1 |
| `Quote` | `QuoteNumber` | `{00000000}` | 1 |
| `QuoteLineItem` | `LineNumber` | `{0}` | 1 |
| `Quote_Product__c` | `Name` | `QuotePro-{00000000}` | 1 |
| `Region_All__c` | `Name` | `{0000}` | 1 |
| `Revenue__c` | `Name` | `R{00000000000}` | 1 |
| `ScorecardAssociation` | `Name` | `{0}` | 1 |
| `Service_Man_day__c` | `Name` | `SM{00000000}` | 1 |
| `Solution` | `SolutionNumber` | `{0}` | 1 |
| `Support__c` | `Name` | `S{0000000000}` | 1 |
| `Surveyresults__c` | `Name` | `QR202206-{0000}` | 1 |
| `SvcCatalogRequest` | `Name` | `{0}` | 1 |
| `TimeSlot` | `TimeSlotNumber` | `TS-{0000}` | 1 |
| `UserProvisioningRequest` | `Name` | `{0}` | 1 |
| `VoiceCall` | `Name` | `{0}` | 1 |
| `affectlayer__AffectLayer_Admin_Setting__c` | `Name` | `{0}` | 1 |
| `affectlayer__AffectLayer_User_Setting__c` | `Name` | `{0}` | 1 |
| `awsapn__Field_Mapping_Detail__c` | `Name` | `FMD-{0000}` | 1 |
| `awsapn__Field_Mapping__c` | `Name` | `FMAP-{0000}` | 1 |
| `awsapn__ScheduleLog__c` | `Name` | `SCH-{0000}` | 1 |
| `awsapn__Sync_Log__c` | `Name` | `SYL-{000000}` | 1 |
| `pqcrush__Account_Map_Member__c` | `Name` | `{0}` | 1 |
| `pqcrush__Account_Plan_Opportunity__c` | `Name` | `{0}` | 1 |
| `pqcrush__CRUSH_Settings_Obj__c` | `Name` | `CRUSH-{0000}` | 1 |
| `pqcrush__Cell_Relationship_Configuration__c` | `Name` | `{0}` | 1 |
| `pqcrush__Contact_Extended_Field__c` | `Name` | `{0}` | 1 |
| `pqcrush__Key_Stakeholder_Lead__c` | `Name` | `{0}` | 1 |
| `pqcrush__Key_Stakeholder__c` | `Name` | `{0}` | 1 |
| `pqcrush__Map_Member_Lead__c` | `Name` | `L-{0000}` | 1 |
| `pqcrush__Map_Member_User__c` | `Name` | `MU-{0000}` | 1 |
| `pqcrush__Mapping_Condition_Group__c` | `Name` | `{0}` | 1 |
| `pqcrush__Mapping_Condition__c` | `Name` | `{0}` | 1 |
| `pqcrush__Master_Account_Plan_Associations__c` | `Name` | `{0}` | 1 |
| `pqcrush__NoteSection__c` | `Name` | `{0}` | 1 |
| `pqcrush__Objective_Opportunity__c` | `Name` | `{0}` | 1 |
| `pqcrush__Opportunity_List_User_Filter__c` | `Name` | `OLUF-{0000}` | 1 |
| `pqcrush__Org_Chart_Field__c` | `pqcrush__Order__c` | `{0000000000}` | 1 |
| `pqcrush__RM_Chart_Setting__c` | `Name` | `RM-2025-12-11-{00}` | 1 |
| `pqcrush__RM_Node_Coordinate__c` | `Name` | `RMNodeCoordinate-{0000}` | 1 |
| `pqcrush__RM_Svg_Account_Plan_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__RM_Svg_Map_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__Relationship_Map_Member_Auto_History__c` | `Name` | `{0}` | 1 |
| `pqcrush__Relationship_Map_Member__c` | `Name` | `CHM-{0000}` | 1 |
| `pqcrush__Relationship_Type_Account_Plan_Assoc__c` | `Name` | `{0}` | 1 |
| `pqcrush__Relationship_Type_Map_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__Team_Member__c` | `Name` | `TM-{0000}` | 1 |
| `pqcrush__WS_Data_Type_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__WS_Data_Type__c` | `Name` | `{0}` | 1 |
| `pqcrush__WS_Highlight__c` | `Name` | `{0}` | 1 |
| `pqcrush__WS_Summary_Formula__c` | `Name` | `{0}` | 1 |
| `pqcrush__WS_User_Setting__c` | `Name` | `{0}` | 1 |
| `pqcrush__White_Space_Amount_Type_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__White_Space_Highlight_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__pq_Account_Plan_Matrix_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__pq_Account_Plan_Score_History__c` | `Name` | `APSH-{0000}` | 1 |
| `pqcrush__pq_CRUSH_Account_Plan_User_Setting__c` | `Name` | `APUS-{0000}` | 1 |
| `pqcrush__pq_Condition__c` | `Name` | `{0}` | 1 |
| `pqcrush__pq_Influence_Matrix_Association__c` | `Name` | `pqIM-{0000}` | 1 |
| `pqcrush__pq_Opportunity_Effectiveness_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__pq_Opportunity_Effectiveness_Index__c` | `Name` | `{0}` | 1 |
| `pqcrush__pq_Opportunity_Manager_Setting__c` | `Name` | `OMS-{0000}` | 1 |
| `pqcrush__pq_Opportunity_Plan_Score_History__c` | `Name` | `{0}` | 1 |
| `pqcrush__pq_Relationship_Map_Matrix_Association__c` | `Name` | `{0}` | 1 |
| `pqcrush__pq_Support_Matrix_Association__c` | `Name` | `pqSM-{0000}` | 1 |
| `slackv2__Slack_Auth__c` | `Name` | `{0}` | 1 |
| `slackv2__Slack_Message__c` | `Name` | `{0}` | 1 |
| `slackv2__Subscription_Condition__c` | `Name` | `SC-{000000}` | 1 |
| `slackv2__Subscription__c` | `Name` | `S-{00000}` | 1 |
| `zoom_app__Zoom_Call_Backup_Log__c` | `Name` | `{0}` | 1 |
| `zoom_app__Zoom_Call_Log__c` | `Name` | `{0}` | 1 |
| `zoom_app__Zoom_Event__c` | `Name` | `{0}` | 1 |
| `zoom_app__Zoom_Webinar_Attendee__c` | `Name` | `{0}` | 1 |
| `zoom_app__Zoom_Webinar_History__c` | `Name` | `{0}` | 1 |
| `zoom_app__Zoom_Webinar_Registrant__c` | `Name` | `{0}` | 1 |
| `zoom_app__Zoom_Webinar__c` | `Name` | `{0}` | 1 |

**Inference notes**:

- `Account.Account_ID__c` — `displayFormat` authoritative from SF Metadata API (custom field).
- `pqcrush__Org_Chart_Field__c.pqcrush__Order__c` — `displayFormat` not exposed (managed package); format inferred from most-recent sample value.
- 127 SF standard fields — `displayFormat` not exposed by SF platform; format inferred from the most-recent observed value. Fields with no observed rows default to `{0}` (SF default for unconfigured autonumber).
- Fields where the surveyed samples show prefix drift across time (e.g. `Interface_Log__c.Name` changed from `2022-06-28-` to `2026-04-17-`) use the MOST-RECENT prefix as canonical. Running `cmd/setup verify` after cutover reports any format/live-data mismatch for post-hoc admin correction.

### 2. Seed 3 NexusCRM compound fields

Ports existing `CompoundAutoNumberListener` (`backend/internal/features/automation/compound_autonumber_listener.go`) + Unified Identifier Engine seeds (`platform_config.go:355-394`).

| ObjectName | FieldApiName | Format | Start |
|---|---|---|---|
| `Quote` | `Name` | `{Account.BillingCountryCode}-QT-{YY}{MM}{DD}{00}` | 1 |
| `Contract` | `Name` | `{Account.BillingCountryCode}-{RecordType.RecordTypeCode}-{YY}{MM}{DD}{00}` | 1 |
| `Order` | `Name` | `{Account.BillingCountryCode}-OF-{YY}{MM}{DD}{00}` | 1 |

Cross-record token resolution:

- `{Account.BillingCountryCode}` on Quote — depth-2 fallback: `OpportunityId → Opportunity.AccountId → Account.BillingCountryCode`, then direct `AccountId → Account.BillingCountryCode`. DirectField fast-path: `Account_Country_Code__c` (formula). **This multi-chain cannot be derived from the format string alone**, so the seed generator writes the explicit `CrossRecordRef` JSON into `_System_Field.AutoNumberTokenRefs` at apply time (Round-5 Codex V2-Codex-H6 — see `tokenRefsOverrides` in `scripts/gen/autonumber_seeds.go`). The JSON is canonicalized via `autonumber.CanonicalizeTokenRefs` so re-apply is byte-idempotent.
- `{Account.BillingCountryCode}` on Contract and Order — depth-1: `AccountId → Account.BillingCountryCode`. The parser can derive this from the token; `AutoNumberTokenRefs` stays NULL and the engine uses the parser-derived default.
- `{RecordType.RecordTypeCode}` on Contract — implicit FK `RecordTypeId → _System_RecordType.RecordTypeCode` (new column from Section 3).

### 3. Seed 9 RecordType codes

Ports `contractTypeCodeForName` keyword map (`compound_autonumber_listener.go:267-296`) from substring-scan form into exact-match column form (Approach α per PRD §4.5).

| DeveloperName (existing) | RecordTypeCode (new) |
|---|---|
| `Services Agreement` | `CSA` |
| `Services Agreement Online` | `TCSA` |
| `Customer Reference Agreement` | `CRA` |
| `Non-Disclosure Agreement` | `NDA` |
| `Partner Network Agreement` | `PNA` |
| `Payment Agreement` | `PA` |
| `Cloud POC Agreement` | `TCPA` |
| `Enterprise POC Agreement` | `TEPA` |
| `Master Agreement` | `MA` |

Any Contract RecordType referenced by `{RecordType.RecordTypeCode}` but missing a code here causes `cmd/setup verify` V6 (PRD §5.3.3) to fail deploy.

### 4. Per-field scope-source map (Round-2 fixpack F8)

Each scope=global field declares its legacy counter source so Lane C2's `SeedAutoNumberCounters` can compute `GREATEST(live_max+1, legacy.CurrentNumber+1, field.AutoNumberStart)` with scope-aware semantics (PRD §8.2 step 3.d, §8.2 step 3.e).

**Scope-source groups:**

- **`_System_AutoNumber`** — 129 fields (all 129 surveyed Salesforce autonumber fields). Legacy row match: `(ObjectApiName, FieldApiName)`. Field with no legacy row → seed falls back to `live_max+1` ∨ `start`.
- **`_System_CompoundAutoNumber`** — 3 fields (Contract.Name, Quote.Name, Order.Name). Legacy row match: `ObjectApiName` (prefix-grouped `counter_state` rows; seed takes MAX across prefixes). Note: `Order.Name` has no `_System_CompoundAutoNumber` history (never ran through listener); falls back to `live_max+1` ∨ `start`.
- **`none`** — 0 fields at Wave 1. Reserved for future net-new admin-created autonumber fields.

**Source table (machine-parseable)**:

| ObjectName | FieldApiName | LegacySource |
|---|---|---|
| `Account` | `Account_ID__c` | `_System_AutoNumber` |
| `Address` | `Name` | `_System_AutoNumber` |
| `AssetRelationship` | `AssetRelationshipNumber` | `_System_AutoNumber` |
| `AssociatedLocation` | `AssociatedLocationNumber` | `_System_AutoNumber` |
| `CLDR__Assigned_Users__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_Application_Settings__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_Dialer_Settings__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_Exception_Logs__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_KPM_Logs__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_License_Settings__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_Phone_Type__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_ROI__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_User_Settings__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CL_Workflow_Field_Mapping__c` | `Name` | `_System_AutoNumber` |
| `CLDR__CallOutcome_for_Opportunity__c` | `Name` | `_System_AutoNumber` |
| `CLDR__Dial_List_Response__c` | `Name` | `_System_AutoNumber` |
| `CLDR__KPM_Data__c` | `Name` | `_System_AutoNumber` |
| `CLDR__User_Contacts__c` | `Name` | `_System_AutoNumber` |
| `CLDR__VoiceMessage__c` | `Name` | `_System_AutoNumber` |
| `Case` | `CaseNumber` | `_System_AutoNumber` |
| `CommSubscriptionTiming` | `Name` | `_System_AutoNumber` |
| `ContactRequest` | `Name` | `_System_AutoNumber` |
| `Contract` | `ContractNumber` | `_System_AutoNumber` |
| `DOZISF__ZoomInfo_Intent__c` | `Name` | `_System_AutoNumber` |
| `DOZISF__ZoomInfo_Scoop__c` | `Name` | `_System_AutoNumber` |
| `DuplicateRecordItem` | `Name` | `_System_AutoNumber` |
| `DuplicateRecordSet` | `Name` | `_System_AutoNumber` |
| `Elvance__Activity_Log__c` | `Name` | `_System_AutoNumber` |
| `Elvance__Elvance_Assignment_Request__c` | `Name` | `_System_AutoNumber` |
| `Elvance__Elvance_Log__c` | `Name` | `_System_AutoNumber` |
| `Elvance__Elvance_Risk_Entry__c` | `Name` | `_System_AutoNumber` |
| `Elvance__Feature_Gap_Entry__c` | `Name` | `_System_AutoNumber` |
| `Elvance__Opp_Scorecard__c` | `Name` | `_System_AutoNumber` |
| `Feature_Request__c` | `Name` | `_System_AutoNumber` |
| `FlowOrchestrationInstance` | `Name` | `_System_AutoNumber` |
| `FlowOrchestrationLog` | `Name` | `_System_AutoNumber` |
| `FlowOrchestrationWorkItem` | `Name` | `_System_AutoNumber` |
| `Google_Form_API_Log__c` | `Name` | `_System_AutoNumber` |
| `Integration_Log__c` | `Name` | `_System_AutoNumber` |
| `Interface_Log__c` | `Name` | `_System_AutoNumber` |
| `Invoice_Collection__c` | `Name` | `_System_AutoNumber` |
| `Joint_Marketing_Event__c` | `Name` | `_System_AutoNumber` |
| `LocationTrustMeasure` | `Name` | `_System_AutoNumber` |
| `Month_End_ARR__c` | `Name` | `_System_AutoNumber` |
| `OperatingHoursHoliday` | `OperatingHoursHolidayNumber` | `_System_AutoNumber` |
| `Opportunity_Product__c` | `Name` | `_System_AutoNumber` |
| `Order` | `OrderNumber` | `_System_AutoNumber` |
| `OrderItem` | `OrderItemNumber` | `_System_AutoNumber` |
| `Order_Product__c` | `Name` | `_System_AutoNumber` |
| `POC_Result__c` | `Name` | `_System_AutoNumber` |
| `PoC__c` | `Name` | `_System_AutoNumber` |
| `ProcessException` | `ProcessExceptionNumber` | `_System_AutoNumber` |
| `ProfileSkillEndorsement` | `Name` | `_System_AutoNumber` |
| `ProfileSkillUser` | `Name` | `_System_AutoNumber` |
| `QuestionnaireQuestion__c` | `Name` | `_System_AutoNumber` |
| `Quote` | `QuoteNumber` | `_System_AutoNumber` |
| `QuoteLineItem` | `LineNumber` | `_System_AutoNumber` |
| `Quote_Product__c` | `Name` | `_System_AutoNumber` |
| `Region_All__c` | `Name` | `_System_AutoNumber` |
| `Revenue__c` | `Name` | `_System_AutoNumber` |
| `ScorecardAssociation` | `Name` | `_System_AutoNumber` |
| `Service_Man_day__c` | `Name` | `_System_AutoNumber` |
| `Solution` | `SolutionNumber` | `_System_AutoNumber` |
| `Support__c` | `Name` | `_System_AutoNumber` |
| `Surveyresults__c` | `Name` | `_System_AutoNumber` |
| `SvcCatalogRequest` | `Name` | `_System_AutoNumber` |
| `TimeSlot` | `TimeSlotNumber` | `_System_AutoNumber` |
| `UserProvisioningRequest` | `Name` | `_System_AutoNumber` |
| `VoiceCall` | `Name` | `_System_AutoNumber` |
| `affectlayer__AffectLayer_Admin_Setting__c` | `Name` | `_System_AutoNumber` |
| `affectlayer__AffectLayer_User_Setting__c` | `Name` | `_System_AutoNumber` |
| `awsapn__Field_Mapping_Detail__c` | `Name` | `_System_AutoNumber` |
| `awsapn__Field_Mapping__c` | `Name` | `_System_AutoNumber` |
| `awsapn__ScheduleLog__c` | `Name` | `_System_AutoNumber` |
| `awsapn__Sync_Log__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Account_Map_Member__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Account_Plan_Opportunity__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__CRUSH_Settings_Obj__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Cell_Relationship_Configuration__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Contact_Extended_Field__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Key_Stakeholder_Lead__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Key_Stakeholder__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Map_Member_Lead__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Map_Member_User__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Mapping_Condition_Group__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Mapping_Condition__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Master_Account_Plan_Associations__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__NoteSection__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Objective_Opportunity__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Opportunity_List_User_Filter__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Org_Chart_Field__c` | `pqcrush__Order__c` | `_System_AutoNumber` |
| `pqcrush__RM_Chart_Setting__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__RM_Node_Coordinate__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__RM_Svg_Account_Plan_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__RM_Svg_Map_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Relationship_Map_Member_Auto_History__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Relationship_Map_Member__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Relationship_Type_Account_Plan_Assoc__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Relationship_Type_Map_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__Team_Member__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__WS_Data_Type_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__WS_Data_Type__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__WS_Highlight__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__WS_Summary_Formula__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__WS_User_Setting__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__White_Space_Amount_Type_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__White_Space_Highlight_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Account_Plan_Matrix_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Account_Plan_Score_History__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_CRUSH_Account_Plan_User_Setting__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Condition__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Influence_Matrix_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Opportunity_Effectiveness_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Opportunity_Effectiveness_Index__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Opportunity_Manager_Setting__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Opportunity_Plan_Score_History__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Relationship_Map_Matrix_Association__c` | `Name` | `_System_AutoNumber` |
| `pqcrush__pq_Support_Matrix_Association__c` | `Name` | `_System_AutoNumber` |
| `slackv2__Slack_Auth__c` | `Name` | `_System_AutoNumber` |
| `slackv2__Slack_Message__c` | `Name` | `_System_AutoNumber` |
| `slackv2__Subscription_Condition__c` | `Name` | `_System_AutoNumber` |
| `slackv2__Subscription__c` | `Name` | `_System_AutoNumber` |
| `zoom_app__Zoom_Call_Backup_Log__c` | `Name` | `_System_AutoNumber` |
| `zoom_app__Zoom_Call_Log__c` | `Name` | `_System_AutoNumber` |
| `zoom_app__Zoom_Event__c` | `Name` | `_System_AutoNumber` |
| `zoom_app__Zoom_Webinar_Attendee__c` | `Name` | `_System_AutoNumber` |
| `zoom_app__Zoom_Webinar_History__c` | `Name` | `_System_AutoNumber` |
| `zoom_app__Zoom_Webinar_Registrant__c` | `Name` | `_System_AutoNumber` |
| `zoom_app__Zoom_Webinar__c` | `Name` | `_System_AutoNumber` |
| `Quote` | `Name` | `_System_CompoundAutoNumber` |
| `Contract` | `Name` | `_System_CompoundAutoNumber` |
| `Order` | `Name` | `_System_CompoundAutoNumber` |

### 5. SQL

Idempotent UPDATEs. All three sections can be re-applied without data inflation; `auto_number_token_refs` and `auto_number_canonical_hash` (if present) are deliberately NOT set — Lane C2 owns those columns.

#### 5.1 Upsert `auto_number_*` columns for 129 Salesforce autonumber fields

```sql
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'IBG-B-{YYYY}{MM}{DD}-{000000}', f.auto_number_scope = 'per_prefix', f.auto_number_start = 1
  WHERE o.ApiName = 'Account' AND f.ApiName = 'Account_ID__c';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Address' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'AssetRelationship' AND f.ApiName = 'AssetRelationshipNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'AssociatedLocation' AND f.ApiName = 'AssociatedLocationNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'U-{00}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__Assigned_Users__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'CAS-{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_Application_Settings__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'CDS-{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_Dialer_Settings__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_Exception_Logs__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_KPM_Logs__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'CLS-{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_License_Settings__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'PT-{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_Phone_Type__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_ROI__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'CUS-{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_User_Settings__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'CWF-{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CL_Workflow_Field_Mapping__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__CallOutcome_for_Opportunity__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__Dial_List_Response__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__KPM_Data__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__User_Contacts__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CLDR__VoiceMessage__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Case' AND f.ApiName = 'CaseNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'CommSubscriptionTiming' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'ContactRequest' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Contract' AND f.ApiName = 'ContractNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'I-{00000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'DOZISF__ZoomInfo_Intent__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'DOZISF__ZoomInfo_Scoop__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'DRI-{0000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'DuplicateRecordItem' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'DRS-{0000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'DuplicateRecordSet' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'AL-{00000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Elvance__Activity_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'ELR-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Elvance__Elvance_Assignment_Request__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'EL-{000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Elvance__Elvance_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'ELR-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Elvance__Elvance_Risk_Entry__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'EFGE-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Elvance__Feature_Gap_Entry__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'SC-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Elvance__Opp_Scorecard__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'FR{0000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Feature_Request__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'FlowOrchestrationInstance' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'FlowOrchestrationLog' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'FlowOrchestrationWorkItem' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'log-{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Google_Form_API_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{00000000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Integration_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '2026-04-17-{0000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Interface_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'C{0000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Invoice_Collection__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Joint_Marketing_Event__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'LocationTrustMeasure' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'ARR#2026-04-13-{00000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Month_End_ARR__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'OperatingHoursHoliday' AND f.ApiName = 'OperatingHoursHolidayNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'OppPro-{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Opportunity_Product__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Order' AND f.ApiName = 'OrderNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'OrderItem' AND f.ApiName = 'OrderItemNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'OrderPro-{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Order_Product__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '2026-04-05-{0000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'POC_Result__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'PoC{0000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'PoC__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'ProcessException' AND f.ApiName = 'ProcessExceptionNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'ProfileSkillEndorsement' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'ProfileSkillUser' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'Q-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'QuestionnaireQuestion__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Quote' AND f.ApiName = 'QuoteNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'QuoteLineItem' AND f.ApiName = 'LineNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'QuotePro-{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Quote_Product__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Region_All__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'R{00000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Revenue__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'ScorecardAssociation' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'SM{00000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Service_Man_day__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Solution' AND f.ApiName = 'SolutionNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'S{0000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Support__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'QR202206-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'Surveyresults__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'SvcCatalogRequest' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'TS-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'TimeSlot' AND f.ApiName = 'TimeSlotNumber';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'UserProvisioningRequest' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'VoiceCall' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'affectlayer__AffectLayer_Admin_Setting__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'affectlayer__AffectLayer_User_Setting__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'FMD-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'awsapn__Field_Mapping_Detail__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'FMAP-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'awsapn__Field_Mapping__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'SCH-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'awsapn__ScheduleLog__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'SYL-{000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'awsapn__Sync_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Account_Map_Member__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Account_Plan_Opportunity__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'CRUSH-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__CRUSH_Settings_Obj__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Cell_Relationship_Configuration__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Contact_Extended_Field__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Key_Stakeholder_Lead__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Key_Stakeholder__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'L-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Map_Member_Lead__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'MU-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Map_Member_User__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Mapping_Condition_Group__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Mapping_Condition__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Master_Account_Plan_Associations__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__NoteSection__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Objective_Opportunity__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'OLUF-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Opportunity_List_User_Filter__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0000000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Org_Chart_Field__c' AND f.ApiName = 'pqcrush__Order__c';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'RM-2025-12-11-{00}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__RM_Chart_Setting__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'RMNodeCoordinate-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__RM_Node_Coordinate__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__RM_Svg_Account_Plan_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__RM_Svg_Map_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Relationship_Map_Member_Auto_History__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'CHM-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Relationship_Map_Member__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Relationship_Type_Account_Plan_Assoc__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Relationship_Type_Map_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'TM-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__Team_Member__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__WS_Data_Type_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__WS_Data_Type__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__WS_Highlight__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__WS_Summary_Formula__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__WS_User_Setting__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__White_Space_Amount_Type_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__White_Space_Highlight_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Account_Plan_Matrix_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'APSH-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Account_Plan_Score_History__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'APUS-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_CRUSH_Account_Plan_User_Setting__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Condition__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'pqIM-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Influence_Matrix_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Opportunity_Effectiveness_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Opportunity_Effectiveness_Index__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'OMS-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Opportunity_Manager_Setting__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Opportunity_Plan_Score_History__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Relationship_Map_Matrix_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'pqSM-{0000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'pqcrush__pq_Support_Matrix_Association__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'slackv2__Slack_Auth__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'slackv2__Slack_Message__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'SC-{000000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'slackv2__Subscription_Condition__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = 'S-{00000}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'slackv2__Subscription__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'zoom_app__Zoom_Call_Backup_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'zoom_app__Zoom_Call_Log__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'zoom_app__Zoom_Event__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'zoom_app__Zoom_Webinar_Attendee__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'zoom_app__Zoom_Webinar_History__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'zoom_app__Zoom_Webinar_Registrant__c' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{0}', f.auto_number_scope = 'global', f.auto_number_start = 1
  WHERE o.ApiName = 'zoom_app__Zoom_Webinar__c' AND f.ApiName = 'Name';
```

**Idempotency**: SET values are final state; re-running converges. Rows where the target `_System_Field` does not exist are silently skipped by the JOIN.

#### 5.2 Upsert `auto_number_*` columns for 3 compound fields

```sql
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{Account.BillingCountryCode}-QT-{YY}{MM}{DD}{00}', f.auto_number_scope = 'per_prefix', f.auto_number_start = 1
  WHERE o.ApiName = 'Quote' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{Account.BillingCountryCode}-{RecordType.RecordTypeCode}-{YY}{MM}{DD}{00}', f.auto_number_scope = 'per_prefix', f.auto_number_start = 1
  WHERE o.ApiName = 'Contract' AND f.ApiName = 'Name';
UPDATE `_System_Field` f JOIN `_System_Object` o ON o.Id = f.ObjectId
  SET f.auto_number_format = '{Account.BillingCountryCode}-OF-{YY}{MM}{DD}{00}', f.auto_number_scope = 'per_prefix', f.auto_number_start = 1
  WHERE o.ApiName = 'Order' AND f.ApiName = 'Name';
```

**Idempotency**: Same as 5.1.

#### 5.3 Seed `_System_RecordType.RecordTypeCode` (9 rows)

```sql
UPDATE `_System_RecordType` SET RecordTypeCode = 'CSA'
  WHERE DeveloperName = 'Services Agreement' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'TCSA'
  WHERE DeveloperName = 'Services Agreement Online' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'CRA'
  WHERE DeveloperName = 'Customer Reference Agreement' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'NDA'
  WHERE DeveloperName = 'Non-Disclosure Agreement' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'PNA'
  WHERE DeveloperName = 'Partner Network Agreement' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'PA'
  WHERE DeveloperName = 'Payment Agreement' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'TCPA'
  WHERE DeveloperName = 'Cloud POC Agreement' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'TEPA'
  WHERE DeveloperName = 'Enterprise POC Agreement' AND RecordTypeCode IS NULL;
UPDATE `_System_RecordType` SET RecordTypeCode = 'MA'
  WHERE DeveloperName = 'Master Agreement' AND RecordTypeCode IS NULL;
```

**Idempotency**: `AND RecordTypeCode IS NULL` guard prevents overwriting admin-edited codes on re-run. `cmd/setup verify` V6 (PRD §5.3.3) catches any Contract RecordType referenced by the Contract compound format whose code is still NULL after this seed.

## Rollback

```sql
-- Revert Section 5.1 + 5.2: clear autonumber columns for all seeded fields.
-- Narrow rollback: only fields touched by this spec will have non-NULL auto_number_format before Lane C2 runs.
UPDATE `_System_Field` SET auto_number_format = NULL, auto_number_scope = 'global', auto_number_start = 1
  WHERE auto_number_format IS NOT NULL;

-- Revert Section 5.3
UPDATE `_System_RecordType` SET RecordTypeCode = NULL
  WHERE DeveloperName IN (
    'Services Agreement',
    'Services Agreement Online',
    'Customer Reference Agreement',
    'Non-Disclosure Agreement',
    'Partner Network Agreement',
    'Payment Agreement',
    'Cloud POC Agreement',
    'Enterprise POC Agreement',
    'Master Agreement'
  );
```

## Generator contract

This markdown is the SINGLE canonical source (PRD §8.1 C#5). `scripts/gen/autonumber_seeds.go` parses:

- Section 1 + Section 2 tables → `AutoNumberFormatSeeds []AutoNumberFormatSeed{ObjectName, FieldApiName, Format, Scope, Start, LegacySource}`
- Section 3 table → `RecordTypeCodeSeeds []RecordTypeCodeSeed{DeveloperName, Code}`
- Section 4 `LegacySource` column joins by `(ObjectName, FieldApiName)` onto Section 1+2 rows.

The generator emits `backend/internal/controlplane/packs/platform_config_autonumber_formats.go` with banner `// Code generated by scripts/gen/autonumber_seeds.go; DO NOT EDIT.`. The Makefile `verify-generated` target enforces drift detection (Round-2 fixpack F17).
