16 lines
2.7 KiB
Markdown
16 lines
2.7 KiB
Markdown
# Queue57 fixed first-predicate diagnostics
|
|
|
|
Base b9d4dfed. Only current_pet_command_unit in native/world_translation.cpp changes runtime text. The six existing bar predicates and seven existing control predicates retain their order and short-circuit behavior. Each throws the original prefix plus a fixed `[reason=...]` tag. No GUID, field value, name or state mutation is added. Bound-GUID parsing still happens first, and the outer gameplay transfer rejection remains earlier where applicable.
|
|
|
|
Bar tags, in order: self-not-created, pending-teleport, far-transfer, bar-missing, bar-unshown, bar-unit-mismatch.
|
|
|
|
Control tags, in order: actor-missing, actor-unsent, actor-ineligible, actor-generation-mismatch, control-unknown, control-unit-mismatch, control-presentation-mismatch.
|
|
|
|
Existing tests/native_pet_command_test.cpp now checks all13 exact strings with later predicates also failing, proving first-failure precedence. It invokes the real current_pet_command_unit guard directly for this diagnostic matrix: the outer gameplay far-transfer guard would otherwise reject earlier. Missing/unsent actor defensive cases use the existing self GUID binding with deliberately inconsistent synthetic bar state, because ordinary absent/unsent actors fail GUID binding before reaching those checks. No production binding is weakened. An additional successful gameplay stop-attack check verifies exact source2ea/petGUID output unchanged; existing command tests also pass.
|
|
|
|
Final changed fixture on unchanged private native library: FAIL(exit1), expected self-not-created tag but got old prefix. Same fixture linked with the changed world_translation compilation unit: PASS(exit0),14 new counted checks plus existing native pet commands. The initial test attempt combined outer gameplay dispatch and all failing predicates, so it hit the pre-existing outer transfer rejection; the final matrix correctly targets the actual diagnostic method without changing production order. Saved final before/after logs are reflected in receipt.json.
|
|
|
|
Built one changed world_translation object and fixture in own worktree against private copies of the b9-matched native/protocol libraries retained by queue57. No new Roll quantity_known ABI was mixed into this old-base executable. Parent integrates just the independent method/test changes into the new boundary and rebuilds its consumers. No parent edits, codec rebuild, fullgate or client action.
|
|
|
|
This improves future existing GatewayRequests rejection messages; it does not recover past state, repair the bar, establish the cause of report224743 or close queue57. Earlier guards can still reject before this method, and a tag identifies its first failed predicate, not the packet that caused that state.
|