Where should planted retaining walls sit around a patio?

https://backyardlevels.dovetailscope.com/posts/where-should-planted-retaining-walls-sit-around-a-patio

Planted retaining walls should sit a short distance away from a patio, not tight against it. This gap leaves room for drainage, prevents soil from washing onto the paving during rain, and keeps wall moisture away from the patio surface. For a low wall that also functions as a seat, the offset can be minimal, just enough for a narrow gravel or pebble strip. Higher retaining walls need a wider separation to accommodate the root balls of plants and to allow easy maintenance access.