Repository navigation
Commit 9ed2524
fix: strip unmodeled item components + full view-distance on join + autocomplete perms
Three tracked follow-ups (Codex reviews + wiring audit).
- items: into_validated now STRIPS unmodeled in-range components instead of
keeping them as a trusted Opaque passthrough, so a hostile creative slot's
malformed item_name/use_remainder bytes can never be re-emitted as trusted
clientbound data. Component representation fields made private (OpaqueComponent
newtype + checked ctors/accessors). (trust boundary)
- chunk streaming: a standing, non-moving player now fills to the FULL advertised
view distance - the load diff runs every tick from the current center
(center-out, bounded 16 cols/tick) instead of only on a position packet. No
more small island surrounded by void.
- commands: the Brigadier graph is permission-FILTERED (predicate, not just
level), dead-end parent literals are pruned with rebuilt child indices, and
tab-complete ranges use char units (non-ASCII safe). (autocomplete invariants)
Gate green: fmt + clippy -D warnings + xtask generate --check + 999 tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8f56ee5 commit 9ed2524
10 files changed
Lines changed: 588 additions & 172 deletions
File tree
- server
- app/src
- crates
- ferrumc-command/src
- ferrumc-items/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| |||
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
97 | 111 | | |
98 | 112 | | |
99 | 113 | | |
| |||
154 | 168 | | |
155 | 169 | | |
156 | 170 | | |
| 171 | + | |
157 | 172 | | |
158 | 173 | | |
159 | 174 | | |
| |||
197 | 212 | | |
198 | 213 | | |
199 | 214 | | |
| 215 | + | |
| 216 | + | |
200 | 217 | | |
201 | 218 | | |
202 | 219 | | |
| |||
256 | 273 | | |
257 | 274 | | |
258 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
259 | 279 | | |
260 | 280 | | |
261 | 281 | | |
| |||
291 | 311 | | |
292 | 312 | | |
293 | 313 | | |
| 314 | + | |
294 | 315 | | |
295 | 316 | | |
296 | 317 | | |
| |||
309 | 330 | | |
310 | 331 | | |
311 | 332 | | |
| 333 | + | |
312 | 334 | | |
313 | 335 | | |
314 | 336 | | |
315 | 337 | | |
316 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
317 | 347 | | |
318 | 348 | | |
319 | 349 | | |
| |||
0 commit comments