# Current Platform State (PEDW) — feature/restart-from-sips Last updated: 2026-05-13 ## Summary PEDW is in a **late-stage refactor stabilization** phase. - New Appeal refactor stream (Slices 1–8) is complete per tracker/state docs. - Representations stream remains structurally complex and only partially decomposed. - Platform architecture direction remains valid: bounded, behaviour-preserving slices. ## What is complete - New Appeal slice stream documented complete (`context/refactor-tracker.md`, `context/newappeal-refactor-current-state.md`). - Significant route/breadcrumb decomposition and helper extraction completed. - Broad endpoint contract hardening completed across key clusters. ## What is incomplete - Auth/session reliability hardening (intermittent re-signin prompts). - SSR loader resilience normalization across myportal/representation/new appeal. - Logging hardening consistency in auth/file/account-sensitive paths. - Remaining decomposition hotspots (`components/elements/index.js`, representation flow internals). ## Operational risk profile (current) Top active risks: 1. Auth/session intermittency (callback/cookie/SSR timing interplay). 2. Fragile nested state assumptions in loader-heavy paths. 3. Production log noise and inconsistent redaction patterns. 4. Manual effort burden for EN/CY parity and journey regression checks. ## Notes on stale/legacy guidance - Some context docs still describe pre-refactor representation baseline; treat those as historical unless updated by active slice evidence. - Legacy commented code remains in active files (especially journey files) and should be treated as cleanup debt, not source-of-truth runtime behaviour.