Skip to content

Phase 5 residual: remove definition-XML dual-run shim when criteria met #2852

Description

@natechadwick-intsof

Parent

Parent: #2632
Grandparent: #2626
Slice residual from: #2835

Goal

When definition-XML shim removal criteria are met with evidence, remove (or hard-disable) the time-boxed dual-run runtime path and rewire consumers to modern-only selection. Do not start this work until the criteria doc says M1–M3 + G1–G6 pass.

Canonical criteria + inventory:
docs/ai-generated/tasks/template-assembler-normalization/definition-xml-shim-removal-criteria.md

Prerequisites (hard)

In scope (when prerequisites met)

  1. Rewire production consumers (PSWidgetDao and any package-root loaders) to modern Component Package Manifest; fail clearly when modern absent (no silent invent)
  2. Delete or hard-disable PSLegacyDefinitionXmlShim legacy fallback only after consumers no longer need it; keep upgrade-input compilers (PSWidgetXml*, page/gadget compilers) unless a separate decision retires them
  3. Gadget WebUI dual-load (GadgetRegistry modern → legacy XML) only if M2 covers gadgets in the same change set — otherwise leave a focused residual
  4. Unit/integration tests for modern-only behavior; module standalone mvnw clean install on each changed module
  5. Update dual-run + criteria docs status to retired/met; product-docs only if operator-facing load behavior changes

Out of scope

Acceptance

Modules

modules/perc-packages (required); likely projects/sitemanage (widget DAO); possibly WebUI (gadget dual-load)

Labels

p2 · 8.2 · enhancement

Leave unassigned.

Refs #2835 #2632 #2626 #2630

Co-Authored by Grok Build using grok-4.5 with agent main.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    8.2This issue found in 8.2 releasedocumentationImprovements or additions to documentationenhancementNew feature or requestmodel:grok-4.5Grok 4.5 modeloperator:grokChanges authored by Grokoperator:night-issue-prsnight-issue-prs workflowp2Priority 2 (p1 highest, p8 lowest)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions