| @@ -125,9 +125,17 @@ | ||
| 125 | 125 | } |
| 126 | 126 | $out = array(); |
| 127 | 127 | $count = 0; |
| 128 | 128 | foreach ( $raw as $key => $value ) { |
| 129 | - if ( $count >= 512 ) { | |
| 129 | + /* | |
| 130 | + * A size guard, not a design budget, and it needs headroom: | |
| 131 | + * Legacy answers every literal the palette declares, so it | |
| 132 | + * grows with the palette, and crossing this line is silent | |
| 133 | + * (a dropped entry falls back to the built-in value). What | |
| 134 | + * keeps a manifest safe is the namespace filter and the value | |
| 135 | + * grammar below, both per entry. | |
| 136 | + */ | |
| 137 | + if ( $count >= 2048 ) { | |
| 130 | 138 | break; |
| 131 | 139 | } |
| 132 | 140 | if ( ! is_string( $key ) ) { |
| 133 | 141 | continue; |
| @@ -873,8 +881,9 @@ | ||
| 873 | 881 | * ```json |
| 874 | 882 | * "recommendedOsSettings": { |
| 875 | 883 | * "dockSize": "large", |
| 876 | 884 | * "desktopLayout": "unified", |
| 885 | + * "dockPlacement": "left", | |
| 877 | 886 | * "windowRadius": "default", |
| 878 | 887 | * "adminBarMode": "dynamic", |
| 879 | 888 | * "dockRailRenderer": "default" |
| 880 | 889 | * } |