perf/native-s1a
docs/superpowers/plans/2026-11-22-native-redesign.md
+2 −2
docs/superpowers/plans/2026-11-22-native-redesign.mdLoading diff…
docs/superpowers/specs/2026-11-22-native-redesign-design.md
+13 −3
docs/superpowers/specs/2026-11-22-native-redesign-design.mdLoading diff…
fixtures/generate-peer-updates.mjs
+26 −0
fixtures/generate-peer-updates.mjsLoading diff…
internal/docs/native_realtime_audit_test.go
+171 −0
internal/docs/native_realtime_audit_test.goLoading diff…
native/.gitignore
+1 −0
native/.gitignoreLoading diff…
native/BUILDING.md
+14 −4
native/BUILDING.mdLoading diff…
native/apple/Package.swift
+9 −3
native/apple/Package.swiftLoading diff…
native/apple/Sources/DocsKit/CRDTProjection.swift
+21 −3
native/apple/Sources/DocsKit/CRDTProjection.swiftLoading diff…
native/apple/Sources/DocsKit/CRDTReplica.swift
+67 −6
native/apple/Sources/DocsKit/CRDTReplica.swiftLoading diff…
native/apple/Sources/DocsKit/DocsAttachments.swift
+11 −3
native/apple/Sources/DocsKit/DocsAttachments.swiftLoading diff…
native/apple/Sources/DocsKit/DocsEditorContext.swift
+2 −2
native/apple/Sources/DocsKit/DocsEditorContext.swiftLoading diff…
native/apple/Sources/DocsKit/DocsFormatInspector.swift
+6 −10
native/apple/Sources/DocsKit/DocsFormatInspector.swiftLoading diff…
native/apple/Sources/DocsKit/DocsModel.swift
+197 −27
native/apple/Sources/DocsKit/DocsModel.swiftLoading diff…
native/apple/Sources/DocsKit/DocsProbes.swift
+46 −0
native/apple/Sources/DocsKit/DocsProbes.swiftLoading diff…
native/apple/Sources/DocsKit/DocsToolsControls.swift
+10 −8
native/apple/Sources/DocsKit/DocsToolsControls.swiftLoading diff…
native/apple/Sources/DocsKit/DocsWorkspace.swift
+37 −21
native/apple/Sources/DocsKit/DocsWorkspace.swiftLoading diff…
native/apple/Sources/DocsKit/DocumentBlockIndex.swift
+99 −0
native/apple/Sources/DocsKit/DocumentBlockIndex.swiftLoading diff…
native/apple/Sources/DocsKit/DocumentBlockSpacing.swift
+54 −0
native/apple/Sources/DocsKit/DocumentBlockSpacing.swiftLoading diff…
native/apple/Sources/DocsKit/DocumentPageLayout.swift
+0 −1
native/apple/Sources/DocsKit/DocumentPageLayout.swiftLoading diff…
native/apple/Sources/DocsKit/DocumentRenderReconciliation.swift
+25 −6
native/apple/Sources/DocsKit/DocumentRenderReconciliation.swiftLoading diff…
native/apple/Sources/DocsKit/DocumentSurface.swift
+523 −0
native/apple/Sources/DocsKit/DocumentSurface.swiftLoading diff…
native/apple/Sources/DocsKit/EditorToolbar.swift
+9 −11
native/apple/Sources/DocsKit/EditorToolbar.swiftLoading diff…
native/apple/Sources/DocsKit/NativeDocumentTextView.swift
+61 −241
native/apple/Sources/DocsKit/NativeDocumentTextView.swiftLoading diff…
native/apple/Sources/DocsKit/NativeTextProjection.swift
+37 −5
native/apple/Sources/DocsKit/NativeTextProjection.swiftLoading diff…
native/apple/Tests/DocsKitTests/BlockIndexTests.swift
+66 −0
native/apple/Tests/DocsKitTests/BlockIndexTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/BlockRenderEquivalenceTests.swift
+123 −0
native/apple/Tests/DocsKitTests/BlockRenderEquivalenceTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/CRDTClipboardTests.swift
+3 −2
native/apple/Tests/DocsKitTests/CRDTClipboardTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/CRDTGenerationTests.swift
+2 −2
native/apple/Tests/DocsKitTests/CRDTGenerationTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/CRDTIncrementalTests.swift
+3 −2
native/apple/Tests/DocsKitTests/CRDTIncrementalTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/CRDTSourceReuseTests.swift
+10 −10
native/apple/Tests/DocsKitTests/CRDTSourceReuseTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DeltaSafetyTests.swift
+184 −0
native/apple/Tests/DocsKitTests/DeltaSafetyTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocsFontsTests.swift
+3 −3
native/apple/Tests/DocsKitTests/DocsFontsTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocsHistoryObservationTests.swift
+6 −0
native/apple/Tests/DocsKitTests/DocsHistoryObservationTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocumentListCommandTests.swift
+2 −1
native/apple/Tests/DocsKitTests/DocumentListCommandTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/FlushTriggerTests.swift
+121 −0
native/apple/Tests/DocsKitTests/FlushTriggerTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/NativeClipboardInputTests.swift
+25 −29
native/apple/Tests/DocsKitTests/NativeClipboardInputTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/NativeRenderTests.swift
+23 −43
native/apple/Tests/DocsKitTests/NativeRenderTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/RealtimeAuditE2ETests.swift
+300 −0
native/apple/Tests/DocsKitTests/RealtimeAuditE2ETests.swiftLoading diff…
native/apple/Tests/DocsKitTests/RealtimeAuditIOSTests.swift
+64 −0
native/apple/Tests/DocsKitTests/RealtimeAuditIOSTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/RealtimeAuditTests.swift
+270 −0
native/apple/Tests/DocsKitTests/RealtimeAuditTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/RenderIsolationTests.swift
+151 −0
native/apple/Tests/DocsKitTests/RenderIsolationTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/ReplicaDirtyLogTests.swift
+116 −0
native/apple/Tests/DocsKitTests/ReplicaDirtyLogTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/SurfaceChromeTests.swift
+184 −0
native/apple/Tests/DocsKitTests/SurfaceChromeTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/SurfaceLifecycleTests.swift
+98 −0
native/apple/Tests/DocsKitTests/SurfaceLifecycleTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/SurfaceTestSupport.swift
+181 −0
native/apple/Tests/DocsKitTests/SurfaceTestSupport.swiftLoading diff…
native/apple/Tests/DocsKitTests/SurfaceTimingTests.swift
+86 −0
native/apple/Tests/DocsKitTests/SurfaceTimingTests.swiftLoading diff…
native/apple/Tests/DocsSnapshots/EditorSnapshots.swift
+14 −20
native/apple/Tests/DocsSnapshots/EditorSnapshots.swiftLoading diff…
native/apple/Tests/DocsSnapshots/WindowSnapshots.swift
+2 −2
native/apple/Tests/DocsSnapshots/WindowSnapshots.swiftLoading diff…
native/benchmarks/README.md
+47 −0
native/benchmarks/README.mdLoading diff…
native/benchmarks/realtime/README.md
+85 −0
native/benchmarks/realtime/README.mdLoading diff…
native/benchmarks/realtime/run-e2e.py
+61 −0
native/benchmarks/realtime/run-e2e.pyLoading diff…
native/benchmarks/realtime/run-matrix.sh
+25 −0
native/benchmarks/realtime/run-matrix.shLoading diff…
native/benchmarks/realtime/run-ui.py
+114 −0
native/benchmarks/realtime/run-ui.pyLoading diff…
native/benchmarks/realtime/ui-probe/Package.swift
+9 −0
native/benchmarks/realtime/ui-probe/Package.swiftLoading diff…
native/benchmarks/realtime/ui-probe/Sources/UIProbe.swift
+159 −0
native/benchmarks/realtime/ui-probe/Sources/UIProbe.swiftLoading diff…
native/ios/project.yml
+18 −3
native/ios/project.ymlLoading diff…