@praxisui/dynamic-form 10.0.0-rc.5 → 10.0.0-rc.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,134 @@
1
+ # P1 form authoring — issues #631, #632 and #633
2
+
3
+ Classification: public behavior change with cross-library consumers. Canonical owners are Dynamic Form (rules bridge, form client/context and hydration) and Metadata Editor (cascade authoring). No exported type, endpoint, workspace configuration or dependency change.
4
+
5
+ ## Scope and compatibility
6
+
7
+ - Preserve wizard JSON Logic and both property branches through Apply/Save/reopen. Invalid graphs remain available for repair and cannot silently become unconditional rules.
8
+ - Preserve non-identity cascade filter maps and extraction paths. Table rows own the current edit draft; suggestions fill missing mappings.
9
+ - Give each mounted form its own mutable CRUD client and editor context. This is a breaking beta DI correction; ancestor GenericCrudService replacements must migrate to supported component inputs or component-level test overrides. Shared HTTP infrastructure remains inherited.
10
+ - Make the Quickstart dependency demo a local relationship explorer. Selectors query real resources individually; fields are omitted from domain payloads. Its new document identities avoid inheriting old schema-backed connections.
11
+ - Open field customization from the current canonical materialization, rather than stale selection/render snapshots.
12
+
13
+ Existing contracts cover these behaviors: already supported but incorrectly materialized. No parallel contract or new authoring vocabulary was introduced.
14
+
15
+ ## Review and gate resolution
16
+
17
+ The implementation was isolated on main 8da9401a8; unrelated dirty checkout changes and unrelated documentation hunks were excluded. Reviewers different from the authors inspected conversion/diagnostics, cascade editing, DI ownership, demo and both remaining gates.
18
+
19
+ The old label test conflated a selected snapshot with the current materialization. Regression tests now preserve the Cargo expectation while giving the canonical document/presentation that label, and making selection/cache explicitly obsolete.
20
+
21
+ The earlier host-test compilation failure involved a nullable assertion in an unrelated dirty test. That test is absent from this main baseline; the demo target is compiled and executed without importing the unrelated changes or altering TypeScript configuration.
22
+
23
+ Additional review covered deleting the last invalid rule, repairing through the properties panel, diagnostics for conditions outside the graph subset and loading rules without formRulesState. Valid runtime-only conditions must remain intact; invalid conditions must remain blocked. JSON Logic var:'' is a valid root-data reference, not an invalid field path.
24
+
25
+ ## Validation
26
+
27
+ All selected gates passed on the isolated source tree:
28
+
29
+ | Gate | Result |
30
+ | --- | --- |
31
+ | Rule converters, configuration editor, diagnostics and isolation | 114 passed |
32
+ | Dynamic Form main/config/editorial/presentation/manifest/hydration/protocol | 334 passed |
33
+ | Cascade service and tab | 17 passed |
34
+ | CRUD dialog host consumer | 50 passed |
35
+ | Additional DI consumers: entity selection, schema recovery, layout tabs, presentation preset and widget editor | 77 passed |
36
+ | Dependency demo host target | 1 passed |
37
+ | Official build helper: Metadata Editor, Dynamic Form, CRUD + dependency closure | Passed |
38
+ | Final Dynamic Form and CRUD builds after gate repairs | Passed |
39
+ | Published documentation assets | Passed, 5 packages |
40
+ | MatSelect content model and diff whitespace | Passed |
41
+
42
+ The isolated dependency tree was installed using npm ci. No broad full-test-suite
43
+ or release certification is claimed. Counts represent separate lanes, not a
44
+ claim about unique test coverage.
45
+
46
+ Exact focal spec includes and commands are reproducible from the changed spec
47
+ paths; the main lane also includes first/external hydration, authoring protocol
48
+ and the authoring manifest. Builds use development configuration. Artifact logs
49
+ are retained in the workspace under artifacts/form-p1-fixes-20261022/clean-*.log.
50
+
51
+ ## Final local browser smoke
52
+
53
+ The isolated checkout was served frozen on official UI4003, with its proxy
54
+ explicitly directed to unavailable local API8088. This smoke exercised the local
55
+ editor only and did not attempt option loading or domain submission.
56
+
57
+ Through the visible JSON tab of dependency-fields-demo, a malformed condition
58
+ (`{"===": []}`) produced an invalid-condition diagnostic and disabled Apply and
59
+ Save. Correcting the document by removing rule/state through the same JSON tab
60
+ re-enabled both buttons. Drafts were cancelled and tabs closed; nothing was
61
+ saved to the host or remote configuration.
62
+
63
+ ![Invalid condition blocks Apply and Save](final-invalid-blocked.png)
64
+
65
+ ![Corrected document re-enables Apply and Save](final-recovered-enabled.png)
66
+
67
+ The native confirmation for the visual Remove button could not be accepted by
68
+ the browser-control adapter because its focus command timed out. That attempt
69
+ was abandoned and its tab closed. Visual deletion via that button is not claimed
70
+ as passed; the component regression covers deletion and reopen. The rule list
71
+ also retained a stale row after JSON replacement while canonical diagnostics
72
+ were empty: the remaining UI coherence work belongs to #635. The screenshots
73
+ record this limit rather than hiding it.
74
+
75
+ Tests are unit/component tests using ChromeHeadless, without a database. Dependency builds use the official build-libs helper and its dependency closure. No release workflow, deployment or domain mutation is performed.
76
+
77
+ ## Earlier visual audit evidence
78
+
79
+ The analyst journeys were repeated in Chrome on the previous shared source snapshot, using official UI4003/API8088 and assigned remote Neon branches with runtime identities/TLS. Those screenshots are historical visual evidence, not proof of this isolated revision. Current revision validation is listed separately above.
80
+
81
+ - #631: wizard Ativo=true/false controlled Foto visibility and required state; persisted expression and both effects survived reload.
82
+ - #632: Cargo/Departamento non-identity mapping survived explicit Edit, Save, Apply and reload.
83
+ - #633: RH, Base/Equipe/Membro and Ameaça/Missão/Incidente/Indenização chains completed with real filtered option requests; parent replacement/clear emptied descendants; no-result search and sibling-tab independence were checked.
84
+ - CRUD native Add dialog loaded its command schema and was closed without submission.
85
+
86
+ Limits retained: Foto originally arrived formHidden and required temporary exposure in the visible JSON editor. After reload the target catalog again omitted it, a remaining #635 issue. Structural dotted mapping proof does not certify backend acceptance of that filter. No narrow-screen, screen-reader, adverse-latency, remote ETag/concurrency or latest-release certification is claimed.
87
+
88
+ Detailed original audit artifacts are retained in the workspace artifacts/form-p1-fixes-20261022 directory and linked from the issue discussions. No credentials/network headers are published.
89
+
90
+ ## Derived artifacts and skills
91
+
92
+ README/JSON API owner documentation explains DI migration and the explorer; Metadata Editor README explains lossless cascade editing. No public-api, AI operation/path, manifest shape, HTTP corpus or landing-page contract changed, so no parallel derived contract was created. Authoring manifest tests and published documentation asset checks cover the existing surfaces.
93
+
94
+ Canonical cascade and runtime DI skill updates were previously integrated through praxis-codex-skills#826 and #827 and selectively synchronized. Existing form roundtrip guidance remains adequate: formRulesState is derived, canonical rules are preserved, and runtime discovery does not own persisted semantics. The additional gate repairs enforce that existing guidance.
95
+
96
+ ## Final review before integration — 2026-10-23
97
+
98
+ A new independent review of cad84dd00 found and corrected three cases before
99
+ integration:
100
+
101
+ - A missing or targetless rule root was silently dropped, so the new empty-rule
102
+ branch could delete the last accepted rules. Projection now rejects every
103
+ referenced invalid root, including a mixed valid/invalid graph. The editor
104
+ keeps the accepted document and invalid draft and blocks saving; an explicit
105
+ rootNodes=[] still supports intentional deletion.
106
+ - Blocking diagnostics used a built-in-only JSON Logic instance and rejected a
107
+ valid host operator. Editor diagnostics and command validation now share the
108
+ injected runtime service. A real registered operator is tested through runtime
109
+ evaluation and editor Save/reopen; unknown operators and invalid arity fail.
110
+ - Removing a cascade dependency retained its extraction override record. The
111
+ save path now removes both mapping and extraction override for removed
112
+ dependencies; save/reopen/re-add and last-dependency/default cases are covered.
113
+
114
+ An additional consumer inventory found four test fixtures still providing the
115
+ CRUD mock in the ancestor injector. They now use the documented component-level
116
+ replacement. The entity-selection fixture also supplies the current HttpResponse
117
+ read API while preserving request, error and cancellation assertions. The widget
118
+ editor fixture does not mount Dynamic Form and was intentionally left unchanged.
119
+
120
+ Before/after evidence: missing-root regressions failed before the fix; the host
121
+ operator regression failed before registry propagation; the extra DI lane had
122
+ 19 failures before fixture updates and finished 77/77. Final focused rules lane
123
+ 114/114 and cascades 17/17 passed. The 334-test form lane, 50-test CRUD lane and demo lane were also rerun after
124
+ the production repairs and passed. All three owner/consumer builds were rerun after production repairs.
125
+ No database or remote release workflow was required for these review repairs.
126
+
127
+ The earlier native-dialog/browser and #635 limitations remain unchanged. They
128
+ are not presented as newly validated by these unit/component regressions.
129
+
130
+ The two narrowly scoped guidance additions were independently reviewed and
131
+ integrated through praxis-codex-skills#829 (merge fb0fb5c). Both affected skills
132
+ were selectively synchronized and audited; the other 787 installed skill files
133
+ remained byte-identical and seven unrelated drifts were preserved. No new skill
134
+ or public contract was introduced.
@@ -0,0 +1,58 @@
1
+ # Dynamic Form em páginas governadas
2
+
3
+ O adapter do owner mantém `definition.inputs.config` como a única fonte de configuração do filho.
4
+ A página guarda autoria; o documento nativo é reconstruído a partir desses inputs. A projeção de
5
+ execução é transitória e nunca deve ser gravada de volta no documento da página.
6
+
7
+ O perfil inicial vem do contrato P0 `page-publication-p0` de `praxis-config-starter` (PR #506).
8
+ Core valida estrutura, referências, limites e exige validators dos owners. Este adapter valida o
9
+ perfil nativo local; não autoriza uma fonte, registra uma seed ou substitui a admissão no servidor.
10
+
11
+ `decodeDynamicFormPageInputs` reconstrói `praxis.dynamic-form.editor` v1:
12
+ config, bindings presentes (`mode`, `emptyState`, `presentationModeGlobal`) e contexto presente
13
+ (`backConfig`, `presentation`, `schemaPrefs`). Schema prefs só existe se algum dos três inputs
14
+ `notifyIfOutdated`, `snoozeMs`, `autoOpenSettingsOnOutdated` estiver presente. Ausência, `false`,
15
+ zero, objeto vazio admitido e `null` são preservados. Null em objetos mesclados de config é negado;
16
+ null dentro de arrays atômicos permanece autoria. `layoutScope` não cabe neste perfil.
17
+
18
+ Os cinco modos nativos são `create`, `edit`, `view`, `presentation` e `dossier`. O editor visual
19
+ continua preferindo os três modos de operação com `presentationModeGlobal` separado. Abrir um
20
+ documento nativo dos demais modos não deve convertê-lo. Filter Form mantém somente seus três modos.
21
+
22
+ `encodeDynamicFormPageInputs` é a projeção inversa sem defaults. Campos fora do perfil,
23
+ blocos vazios sem representação nos inputs, identidade/storage e dados de execução recebem
24
+ diagnóstico. O adapter não filtra silenciosamente autoria incompatível.
25
+
26
+ `projectDynamicFormPageEditorChanges(authoredInputs, editorBaseline, editorValue)` aplica apenas
27
+ deltas explícitos sobre a autoria original usando o reconciliador nativo do owner. Capture o
28
+ baseline após a normalização/montagem do editor e preserve-o durante aquela sessão. Alterar
29
+ bindings ou contexto do mesmo widget retorna `seed.replacement-required`; a página precisa
30
+ substituir o widget com nova key e nova fonte admitida. A API de projeção altera somente o draft
31
+ que o chamador recebe; ela não salva preferências nem persiste a página.
32
+
33
+ `materializeDynamicFormPageRuntimeInputs(inputs, pageId, widgetKey)` usa o helper canônico Core para
34
+ identidades `page:<pageId>:widget:<widgetKey>`, projeta `configPersistenceStrategy: 'volatile'`
35
+ e desabilita customização/copiloto independentes no filho. Submit e dados continuam nos contratos
36
+ de domínio existentes. Não existe input runtime `authoringDocument`.
37
+
38
+ A estratégia `volatile` impede leitura, gravação e limpeza de preferências próprias e conexão
39
+ persistida. O Form preserva identidade operacional para montar o formulário, mas as trilhas de
40
+ config/bindings/contexto/schema preferences ficam sem I/O de storage.
41
+ Defaults visuais/materializações transitórias permanecem internos ao runtime e ao editor.
42
+
43
+ Limites: JSON lossless, 256 KiB UTF-8 e profundidade 64 pelo helper Core compartilhado; o documento
44
+ integral da página também tem o mesmo orçamento. Não há host publicado, endpoint de publicação,
45
+ fonte admitida, banco ou release novos neste incremento. A integração Page Builder/host governado
46
+ é trabalho posterior; os wrappers comuns continuam atendendo os fluxos não governados existentes.
47
+
48
+ `volatile` também exclui overlays pessoais de configuração global nos defaults/estado de autoria
49
+ que o owner consome. A instância compartilhada `GlobalConfigService` pode ler sua chave global;
50
+ isso não é prova de zero leitura na aplicação. Tenant, cache, locale e CSP continuam infraestrutura
51
+ do host. O gate comprova ausência de I/O nas chaves do filho e ausência de influência da autoria
52
+ pessoal sobre a configuração publicada. Em Table, `TableDefaultsProvider.getDefaults(id,
53
+ { includeGlobal: false })` preserva defaults nativos sem duplicá-los; mudanças globais e reset
54
+ seguem a mesma política, inclusive o fallback de timezone usado em regras JSON Logic.
55
+
56
+ Respostas e filas de preferências capturam a geração, a identidade e a estratégia do filho. Trocar identidade, documento ou estratégia (inclusive A → volatile → A), ou destruir a instância, invalida a continuação antiga antes do próximo I/O ou da materialização. Uma requisição já enviada não é cancelada retroativamente. Respostas tardias de erro também passam pelo mesmo fence.
57
+
58
+ O fence segue a chave do recurso: conexão, inputs e schema preferences usam identidade do owner e geração do host; apresentação acrescenta a chave `form-pres:<id>:<mode>`. Hidratar mode/path das próprias preferências iniciais não troca o owner. Eventos de inputs do host invalidam a geração e iniciam uma resolução atual. Schema, config e escritas também capturam os bindings de runtime.
@@ -19,11 +19,10 @@ tags:
19
19
  - "hot-metadata"
20
20
  - "runtime"
21
21
  - "dynamic-fields"
22
- last_updated: "2026-03-07"
22
+ last_updated: "2026-11-01"
23
23
  toc: true
24
24
  sidebar: true
25
25
  related_docs:
26
- - "dynamic-form-overview"
27
26
  - "praxis-dynamic-form-json-api"
28
27
  - "dynamic-fields-host-custom-field-guide"
29
28
  keywords:
@@ -50,6 +49,13 @@ flowchart LR
50
49
  Runtime --> Rebuild["buildFormFromConfig como fallback"]
51
50
  ```
52
51
 
52
+ Em create com objeto `initialValue` explícito (inclusive `{}`), o seed continua
53
+ autoritativo durante rebuilds: preservar edições compatíveis sem ressuscitar
54
+ defaults em campos omitidos ou novos. `false`/`null` não equivalem à ausência do
55
+ seed. Create sem objeto seed mantém os defaults ordinários. Consulte o contrato
56
+ de valores iniciais no README e na API do Form; não implementar política de
57
+ cópia de domínio no handler de metadata.
58
+
53
59
  ## Pre-requisitos
54
60
 
55
61
  - entendimento basico de `FormConfig`, `FieldMetadata` e `DynamicFieldLoaderDirective`
@@ -95,6 +101,22 @@ Regra operacional:
95
101
  - se o loader da coluna for localizado, apenas ele e atualizado;
96
102
  - se o loader nao puder ser localizado, o runtime usa fallback seguro de rebuild do form.
97
103
 
104
+ ## Saved configuration after request schema removal
105
+
106
+ When reconciling saved configuration with the current request schema, Core retains
107
+ removed schema-backed fields for authored layout continuity, but marks them hidden,
108
+ disabled and `submitPolicy: "omit"`. A required orphan with a null value therefore
109
+ does not invalidate the group, and a value still returned by the read projection
110
+ cannot reenter the request payload through `getRawValue()`.
111
+
112
+ A field whose `source` is absent is schema-backed for this reconciliation. Explicit
113
+ `source: "local"` fields preserve existing local/transient policies and may opt into
114
+ submission with `submitPolicy: "include"`. Hidden fields still present in the request
115
+ schema remain submit-eligible; do not turn all hidden controls into omitted fields.
116
+ If the server publishes a retained field again, current server validation, visibility,
117
+ enabled state and submit semantics replace the orphan state. No host payload strip,
118
+ new flag or layout deletion is needed.
119
+
98
120
  ## Melhorias no DynamicFieldLoader
99
121
 
100
122
  O guard de rerender do loader passou a incluir no snapshot:
@@ -22,9 +22,9 @@ Specialized review approved the direction and blocked implementation readiness u
22
22
 
23
23
  Praxis Dynamic Form already consumes backend metadata and can generate form layouts from schema-derived fields. In practice, hosts still repeat `FormConfig.sections` locally for read-only detail views and for create/edit command forms, even when the backend DTOs publish `x-ui` metadata such as `group`, `order`, `width`, labels, help text, read-only hints and presentation metadata.
24
24
 
25
- The Ergon migration exposed this as a recurring platform issue. The `ERGadm00034` screen for codigos de frequencia currently needs local section configs for detail and command forms although the Java DTOs already publish grouped metadata. The same pattern appears in other migrated forms, including regras de frequencia, tipos de rubrica and vinculos funcionais.
25
+ The Workforce migration exposed this as a recurring platform issue. The `WF-00034` screen for codigos de frequencia currently needs local section configs for detail and command forms although the Java DTOs already publish grouped metadata. The same pattern appears in other migrated forms, including regras de frequencia, tipos de rubrica and vinculos funcionais.
26
26
 
27
- This is not an Ergon-only design problem. If every migrated screen must author local `FormConfig.sections`, the platform loses the main benefit of schema-driven UI: one canonical backend contract feeding many hosts consistently.
27
+ This is not an Workforce-only design problem. If every migrated screen must author local `FormConfig.sections`, the platform loses the main benefit of schema-driven UI: one canonical backend contract feeding many hosts consistently.
28
28
 
29
29
  ## Classification
30
30
 
@@ -35,9 +35,9 @@ The affected public surface is the Dynamic Form layout contract around schema ma
35
35
  ## Impact Map
36
36
 
37
37
  - Canonical subprojects affected: `praxis-ui-angular`, primarily `@praxisui/dynamic-form` and `@praxisui/core`.
38
- - Consumers impacted: `ergon-web`, `@praxisui/crud`, surface action launchers, official examples, playgrounds and any host using `schemaUrl`, `resourcePath` or local `FormConfig`.
38
+ - Consumers impacted: `workforce-web`, `@praxisui/crud`, surface action launchers, official examples, playgrounds and any host using `schemaUrl`, `resourcePath` or local `FormConfig`.
39
39
  - Public docs potentially affected: Dynamic Form README, JSON API docs, authoring docs, docs shell registry, landing-page published guides and AI authoring manifests.
40
- - Examples and recipes potentially affected: Dynamic Form examples, CRUD dialog examples, schema-driven resource examples and Ergon migration recipes.
40
+ - Examples and recipes potentially affected: Dynamic Form examples, CRUD dialog examples, schema-driven resource examples and Workforce migration recipes.
41
41
  - Minimum validations needed for implementation: focused unit tests for the shared materializer, Dynamic Form runtime tests, CRUD dialog-host tests and visual checks for desktop and narrow viewports.
42
42
  - Breaking-change risk: medium if defaults are changed; low if the new behavior is opt-in and authored configs keep precedence by default.
43
43
 
@@ -70,7 +70,7 @@ The backend can already publish the metadata required for a reasonable layout. T
70
70
  - Centralize the layout algorithm so Dynamic Form, CRUD and surface action launchers do not diverge.
71
71
  - Keep the backend as the canonical owner of field semantics.
72
72
  - Allow host config to continue owning non-layout concerns such as actions, messages, hooks and behavior.
73
- - Provide a migration path for Ergon and other hosts to remove repeated local layout sections gradually.
73
+ - Provide a migration path for Workforce and other hosts to remove repeated local layout sections gradually.
74
74
 
75
75
  ## Non-goals
76
76
 
@@ -78,7 +78,7 @@ The backend can already publish the metadata required for a reasonable layout. T
78
78
  - Do not move domain semantics from backend DTOs into Angular configs.
79
79
  - Do not change Dynamic Form defaults in this RFC.
80
80
  - Do not overwrite or silently discard authored `FormConfig.sections`.
81
- - Do not create an Ergon-specific preset.
81
+ - Do not create an Workforce-specific preset.
82
82
  - Do not introduce new backend `x-ui` metadata until existing metadata is proven insufficient.
83
83
 
84
84
  ## Proposed Design
@@ -352,11 +352,11 @@ Core surface action materializers must stop injecting local `config.sections` fo
352
352
  - Use `compactPresentation` with detail intent for read-only detail actions where appropriate.
353
353
  - Replace duplicated `SurfaceOpenMaterializerService` local section generation with the shared materializer or by passing the policy downstream.
354
354
 
355
- ### Phase 5 - Ergon migration cleanup
355
+ ### Phase 5 - Workforce migration cleanup
356
356
 
357
357
  - Remove local repeated `FormConfig.sections` from migrated screens that can rely on schema metadata.
358
358
  - Keep local config only for screen-specific actions, labels, hooks or behavior that are not field layout.
359
- - Validate ERGadm00034 as the reference screen before applying the pattern broadly.
359
+ - Validate WF-00034 as the reference screen before applying the pattern broadly.
360
360
 
361
361
  ## Acceptance Criteria
362
362
 
@@ -368,7 +368,7 @@ Core surface action materializers must stop injecting local `config.sections` fo
368
368
  - Generated section ids are stable.
369
369
  - Runtime and presentation mode suppress generated or authored sections/rows/columns that do not contain any visible field or visible rich content block; customization mode still exposes empty containers for authoring.
370
370
  - Documentation explains when to use authored config versus schema materialization.
371
- - Ergon reference screens can remove repeated local layout sections without losing grouping quality.
371
+ - Workforce reference screens can remove repeated local layout sections without losing grouping quality.
372
372
  - Detail layout has consistent label/value hierarchy, readable null and long-value states, no horizontal scroll on narrow viewports and no editable controls.
373
373
  - Command layout handles required, invalid, dirty, disabled, read-only and saving states without shifting or hiding actions.
374
374
  - Actions distinguish primary, secondary and destructive intent visually and accessibly.
@@ -389,7 +389,7 @@ Implementation should use focused validation:
389
389
  - JSON API docs, README, docs manifest and public docs registry review where applicable.
390
390
  - Documentation manifest validation where applicable.
391
391
  - Visual validation on desktop and narrow viewport for at least one read-only detail and one command form before promoting the pattern as a migration template.
392
- - ERGadm00034 visual validation with realistic PT-BR data, empty values, long text, small and large groups, invalid required fields, option source loading/empty states, disabled/read-only states, submit/saving state and dialog/drawer narrow viewport.
392
+ - WF-00034 visual validation with realistic PT-BR data, empty values, long text, small and large groups, invalid required fields, option source loading/empty states, disabled/read-only states, submit/saving state and dialog/drawer narrow viewport.
393
393
 
394
394
  Broad workspace builds are not required for the RFC-only step.
395
395
 
@@ -417,17 +417,17 @@ Broad workspace builds are not required for the RFC-only step.
417
417
  - Adding new metadata too early would expand the public contract before proving existing `x-ui` fields are insufficient.
418
418
  - Persisting transient generated layouts by accident would turn schema materialization into silent authored config.
419
419
  - Using the wrong operation schema could leak detail-only fields into create/edit forms.
420
- - Promoting ERGadm00034 as a template before visual validation could institutionalize poor layouts across hundreds of screens.
420
+ - Promoting WF-00034 as a template before visual validation could institutionalize poor layouts across hundreds of screens.
421
421
 
422
- ## Relationship To Ergon Migration
422
+ ## Relationship To Workforce Migration
423
423
 
424
- The immediate trigger was ERGadm00034, but the problem already appears across read-only and editable forms in the Ergon migration.
424
+ The immediate trigger was WF-00034, but the problem already appears across read-only and editable forms in the Workforce migration.
425
425
 
426
- Ergon may continue using local configs as a temporary bridge, but the intended platform direction is to remove repeated `FormConfig.sections` when the backend DTO already publishes complete field metadata.
426
+ Workforce may continue using local configs as a temporary bridge, but the intended platform direction is to remove repeated `FormConfig.sections` when the backend DTO already publishes complete field metadata.
427
427
 
428
428
  ## ErgonX Migration Playbook
429
429
 
430
- Use this section as the operational checklist before promoting a migrated Ergon screen as a reusable example.
430
+ Use this section as the operational checklist before promoting a migrated Workforce screen as a reusable example.
431
431
 
432
432
  ### 1. Prove the DTO/schema is ready
433
433
 
@@ -459,7 +459,7 @@ For command forms, `schemaUrl` must identify the request operation. A create/edi
459
459
 
460
460
  Large enterprise forms should not render every DTO description inline. Inline help is useful for short guidance, but dense groups become noisy when every toggle, select and date field owns multiple lines of explanatory text.
461
461
 
462
- Recommended default for Ergon-style command drawers:
462
+ Recommended default for Workforce-style command drawers:
463
463
 
464
464
  ```ts
465
465
  helpPresentation: {
@@ -486,7 +486,7 @@ Use `fieldIconPolicy: "all"` only when icons are part of the field affordance or
486
486
 
487
487
  ### 5. Preserve Praxis actions and loading patterns
488
488
 
489
- Migrated screens should use native Praxis action discovery, surfaces and capabilities for row, collection and global actions. Do not implement an Ergon-local action launcher when the backend publishes actions or surfaces that Praxis can discover.
489
+ Migrated screens should use native Praxis action discovery, surfaces and capabilities for row, collection and global actions. Do not implement an Workforce-local action launcher when the backend publishes actions or surfaces that Praxis can discover.
490
490
 
491
491
  For loading states, avoid whole-page flicker. Prefer stable shells, table/detail skeletons or top progress indicators that preserve layout while data refreshes. A migration example should prove that refresh, filter, pagination and row selection do not blank the whole screen.
492
492
 
@@ -504,9 +504,9 @@ Before using a screen as a migration template, run at least one desktop browser
504
504
 
505
505
  Mobile can be deferred when the product decision says it is not priority, but narrow drawer behavior still needs enough validation to avoid broken desktop split-screen usage.
506
506
 
507
- ### 7. Handoff artifact for each Ergon screen
507
+ ### 7. Handoff artifact for each Workforce screen
508
508
 
509
- Each migrated screen should record the following in its Ergon migration folder:
509
+ Each migrated screen should record the following in its Workforce migration folder:
510
510
 
511
511
  - DTO/schema readiness result and unresolved semantic gaps;
512
512
  - chosen `layoutPolicy`, `helpPresentation` and `fieldIconPolicy`;
@@ -514,4 +514,4 @@ Each migrated screen should record the following in its Ergon migration folder:
514
514
  - visual QA evidence and known accepted deviations;
515
515
  - temporary authored config sections that should be removed after DTO/schema hardening.
516
516
 
517
- This keeps ERGadm00034 useful as a repeatable migration reference instead of a one-off visual implementation.
517
+ This keeps WF-00034 useful as a repeatable migration reference instead of a one-off visual implementation.