# Store V2.3.0 Enum Mapping and Boutique Save Filter Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** Make customer tags and customer source use PAD/App numeric IDs without changing their Chinese UI values, and prevent hidden negotiation product categories from being saved for an active boutique scene.
**Architecture:** Keep Chinese `option.value` as the mini-program engine value so existing `childrenShowRules` remain compatible, add numeric `option.id` as the PAD/App persistence value, and decode numeric IDs back to canonical Chinese values during detail echo. Apply child structural visibility again at the final subform save boundary, using the active `pageContext.baseSceneCode` instead of the merchant's full `sceneList` for persistence.
**Tech Stack:** WeChat Mini Program JavaScript, ESM form-engine modules, Node.js `node:test`, generated V2.3.0 JS/JSON fixtures.
## Global Constraints
- Customer tag IDs are exactly `1=已触客`, `2=已拉群`, `3=已交付引荐`, `4=首保维保客户`, `5=事故车客户`.
- Customer source IDs are `0=销售端引流-售前` in boutique scenes, `0=门店引流-售前` in warranty/equity scenes, `1=门店引流-售后`, and `3=交付端引流-售前`.
-`2=自然到店` must not be added to the template or App compatibility path.
- Preserve historical Chinese detail echo and the existing Chinese `childrenShowRules` expressions.
- When active `baseSceneCode` is `100101`, `100102`, or `100103`, `F2-107-12` must be absent from both `jsonContent` and `subformDataList`.
- Do not modify or include unrelated staged user changes.
- Consumes: static option `{id,label,value}` records and PAD wrappers `{text,value}`.
- Produces: tag `childrenValue={text:'已拉群/已触客',value:['2','1']}`, tag list value `[{id:'2/1',name:'已拉群/已触客'}]`, and source wrapper `{text:'...',value:'0'|'1'|'3'}`.
-[x] Add failing save/echo tests for numeric customer-tag IDs, duplicate source ID `0`, historical Chinese echo, and new PAD numeric echo.
-[x] Run the focused context test and verify it fails on Chinese persisted IDs.
-[x] Make static option lookup accept ID, canonical value, and display label, and make submit conversion prefer `option.id` while retaining `option.label` as the name.
-[x] Serialize ID-bearing static subform selects with PAD `{text,value}` and disambiguate duplicate IDs with the saved text/current canonical value.
-[x] Run focused App/PAD and V2.3.0 echo tests.
### Task 3: Filter structurally hidden subform cells at save time
- Consumes: each child field's `baseSceneCode` and `pageContext.baseSceneCode`.
- Produces: row fields limited by both structural visibility and `childrenShowRules` before lists/JSON serialization.
-[x] Add a failing integration test with active boutique `baseSceneCode`, mixed merchant `sceneList`, and a stale `F2-107-12` value; assert both save representations omit it.
-[x] Add the warranty/equity control case and assert the value remains persistable there.
-[x] Run the test and verify the boutique assertion fails before implementation.
-[x] Add a generic active-scene structural save check before row-level `childrenShowRules` evaluation.
-[x] Re-run the focused test and the existing hidden-value persistence suite.