Commit 9780aca
spec(047): Phase 3 prereqs — HandCoded* builders + TextBox descriptor proof
Ships the §14 Phase 3 prerequisites that unblock bulk control migration:
3.0.1 — HandCodedControlled / HandCodedEvent escape-hatch builders on
ControlDescriptor. Method-level TPayload generic threads a user-supplied
per-control event payload (e.g. TextBoxEventPayload) through subscription
without disturbing the existing single-event fast-path
DescriptorControlledPayload. Native TDelegate generic lets authors pass
the control's natural trampoline type (TextChangedEventHandler,
RoutedEventHandler) directly — no EventHandler<TArgs> bridge closure.
3.0.2 — TextBoxDescriptor as the 2-event proof point. Text via
HandCodedControlled (TextChanged), SelectionChanged via HandCodedEvent —
both sharing TextBoxEventPayload's existing slots. Trampolines stay
static (zero per-mount closures); subscription is gated on the live
element's callback presence and fires once per control lifetime.
Documented gap: the descriptor does not request rerender from
TextChanged, so controlled-mode snap-back differs from the hand-coded
handler on filtered-input-returns-same-state scenarios. Acceptable for
the proof point; matches the §14 thesis that the hand-coded escape
hatch retains nuances the declarative path can re-engage if needed.
3.0.3 — x64 advisory perf capture under
docs/specs/047/phase3-results/CPC-ander-YTZ3O-x64-advisory/. ALL Q1
gating benches land in the ≤5% band on this advisory capture
(M2 -2.2%, M10 +1.1% vs ReactorV2 — within the §9.2.1 ±3% thesis).
The README is explicit that this is NOT authoritative — a stable-AC
ARM64 re-capture on LAPTOP-4MEP83VI mirroring the Phase 2 methodology
should land before §14 Phase 3 is closed. The Phase 2 ARM64 verdict
(judgment-call band, descriptors as primary) stands until then.
Test infrastructure:
- 3 new Desc_TextBox_* self-test fixtures (16 TAP checks) covering
mount/update, 2-event subscription wiring, and the callback-gate.
- DescriptorVariantFactory now registers TextBoxDescriptor for the
ReactorDescriptors bench variant alongside the Q1 trio.
Validation on this branch (x64 Cloud PC):
- src/Reactor + Reactor.AppTests.Host + PerfBench.ControlModel: 0 errors.
- All 60 V1_* + Desc_* checks pass identically under V1 ON and V1 OFF
(REACTOR_USE_V1_PROTOCOL env var flipped both ways on the same exe).
- Reactor.Tests xUnit: 9086 passed / 0 failed / 62 skipped.
- Vulnerable-package gate: 0 vulnerable packages.
- Solution-wide build could not complete locally due to a Cloud PC disk
space constraint (415 MB free, copy step failed on native runtime
DLLs for StressPerf.{Direct,DirectX}). Reactor-scope projects all
built clean; the failures are environmental, not code, and CI will
exercise the full solution.
Deferred to a later session:
- 3.0.4 — author onboarding doc (docs/guide/descriptor-authoring.md),
per resume guidance.
- ARM64 stable-AC re-capture on LAPTOP-4MEP83VI to ratify the §9.2.1
thesis (see Phase 3 results README for capture protocol).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 64d5588 commit 9780aca
12 files changed
Lines changed: 1059 additions & 9 deletions
File tree
- docs/specs/047/phase3-results/CPC-ander-YTZ3O-x64-advisory/2026-05-27-textbox-proof-3x5
- src/Reactor/Core/V1Protocol/Descriptor
- Descriptors
- tests
- Reactor.AppTests.Host/SelfTest
- Fixtures
- perf_bench/PerfBench.ControlModel/Variants
Lines changed: 131 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
Lines changed: 122 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
0 commit comments