Problem
The Apple PlatformPlugin relocation is substantially complete, but CONTEXT.md still records one
remaining body-level branch: buildPerfResponseData in daemon perf handling.
Scope
- Move the remaining Apple/platform-specific perf sampling body behind the existing plugin-owned
perf facet or a neutral perf contract below daemon.
- Preserve existing support-gate behavior and payload bytes.
- Add parity coverage that compares the old branch behavior across representative Apple, Android,
web, and unsupported devices before deleting it.
- Remove the corresponding deferred note from
CONTEXT.md only when the production call site is
plugin-routed.
Constraints
- Do not expose daemon-owned types from the platform layer.
- Do not change public perf semantics or add new sampling metrics in this refactor.
- Keep Apple frame-health feature work separate.
Acceptance criteria
buildPerfResponseData no longer contains the platform branch owned by the plugin.
- Table/facet parity and routing tests pass.
- Layering, typecheck, lint, focused perf tests, Fallow, and build pass.
Origin: CONTEXT.md deferred b.3 perf sampling body and post-#1174 architecture follow-up.
Problem
The Apple
PlatformPluginrelocation is substantially complete, butCONTEXT.mdstill records oneremaining body-level branch:
buildPerfResponseDatain daemon perf handling.Scope
perf facet or a neutral perf contract below daemon.
web, and unsupported devices before deleting it.
CONTEXT.mdonly when the production call site isplugin-routed.
Constraints
Acceptance criteria
buildPerfResponseDatano longer contains the platform branch owned by the plugin.Origin:
CONTEXT.mddeferred b.3 perf sampling body and post-#1174 architecture follow-up.