Skip to content

Phase 2c: handler protocol analysis (extract with MAUI in phase 3) - #6

Draft
jfversluis wants to merge 2 commits into
maui/fix-rerender-depthfrom
maui/phase-02c-protocol
Draft

jfversluis wants to merge 2 commits into
maui/fix-rerender-depthfrom
maui/phase-02c-protocol

Conversation

@jfversluis

Copy link
Copy Markdown
Owner

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: d17672c40ad3763c69eb99581821f6eaada68053

Dimension Assessment Rationale
Change confidence 8.5/10 ↑ Docs only (spec §12, gate report); no code change beyond #5.
↑ Findings checked against both renderers by three mapping passes and a cross-family design review (gpt-6.1-sol: agree with changes, all applied).
↓ The recommendation defers §1's protocol goal to phase 3; its cost there is estimated, not measured.

Summary

Phase 2c analysis: the handler protocol is WinUI-shaped in its public signatures, the two renderers' protocols differ in structure (children, contexts, registry policy, echo, lifecycle order), and MAUI doesn't use WinUI's protocol yet. Spec 067 §12 weighs five options and recommends extracting each protocol piece in phase 3, when MAUI adopts it as a second consumer, through the gates in §12.3. Gate report: docs/reports/2026-11-24-phase-2c-protocol.md.

Linked issue / spec

Implements docs/specs/067-shared-core.md §12. Stacked on #5.

Test plan

  • Spec facts checked against the code (inventory corrected after the cross-family review).
  • Docs only; no code change. CI runs on the branch.

Risk / breaking changes

  • None. WinUI's public protocol types are unchanged; the decision on making them neutral (options A or A′) moves to a phase 3 gate.

jfversluis and others added 2 commits November 24, 2026 21:00
Recommends extracting each protocol piece when MAUI adopts it in phase 3 (option C), with the
gates those extractions must pass. Reviewed cross-family (gpt-6.1-sol): agree with changes,
applied (A-prime and B-lite options, echo/registry/descriptor gates, corrected inventory).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jfversluis

Copy link
Copy Markdown
Owner Author

Phase 2c gate: ready for approval

Result: two things.

  • Fix: re-render loop guard counts a request once, not per ancestor #5, the deep-tree fix. It was reproduced first on unchanged code. CI is green, /perf is within noise, and two cross-family reviews found issues (2 high, 1 medium) that are fixed.
  • This PR, the analysis. Making the handler protocol neutral now would design it from WinUI alone. Spec 067 §12 recommends extracting each protocol piece in phase 3, when MAUI adopts it.

Report: docs/reports/2026-11-24-phase-2c-protocol.md.

Gate Status
#5: reproduction on unchanged code ✅ fails as predicted in 3 tiers
#5: CI, /perf ✅ green first attempt; within noise
#5: review ✅ gpt-6.1-sol ×2; findings fixed
#6: design review ✅ gpt-6.1-sol: agree with changes (applied)

Decisions needed

  1. Option C: no protocol extraction in phase 2. Each piece (echo, descriptors, registry, children) moves in phase 3 with MAUI as its second consumer, through the gates in §12.3. WinUI's public protocol types are unchanged until a phase 3 gate. Recommend: accept.
  2. Fold 2d (tooling) into phases 3–4, so phase 3 is next: re-host MAUI's components and hooks on the core first. Recommend: accept.
  3. Accept Fix: re-render loop guard counts a request once, not per ancestor #5's fix. Recommend: accept.

@jfversluis

Copy link
Copy Markdown
Owner Author

Gate approved (2026-11-24): all 3 recommendations accepted. The user pre-approved following the recommendations at later gates too, so each later gate is recorded and work continues without stopping. Next: phase 3, re-hosting MAUI on the shared core.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant