Repository navigation
fix(gameobject): require opener for locked goobers - #440
Conversation
|
Warning Review limit reachedNext included review available in 28 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Comment |
2e7ed67 to
c668015
Compare
c668015 to
6c32518
Compare
|
Current-head verification for
The test used a new private local fixture and did not access an existing or production realm. Imported Defias Cannon behavior still needs the real 1.12 client acceptance tracked in #367, so this PR continues to use Current-head implementation review completed by GPT-6 Astra in Codex/T3 Code. |
|
@coderabbitai review |
|
A locked GOOBER could grant quest credit and fire Package hooks without its required opener. This let the imported Defias Cannon fire without Defias Gunpowder.
The GOOBER use path now applies the same
locked_shutGate as CHEST, DOOR and BUTTON before any effect. A private Standalone regression proves that a Refusal leaves quest credit, XP from anon_go_usedPackage script, GOOBER state and unlock state unchanged. It also proves success after the existing item opener writes the unlock row, and success for a lockless GOOBER.The existing item opener checks possession and keeps the key. The regression records that contract.
Remaining acceptance is a real 1.12 client use of the imported Defias Cannon. The Module test drives the production use and OPEN_LOCK cores with equivalent lock data.
Verification:
cargo test -p lyracore-module --test goober_lock locked_goober_use_is_atomic_until_an_opener_unlocks_it -- --ignored --nocapturecargo test -p lyracore-modulecargo test -p lyracore-module --lib --features=debug_reducers./lyracore preflightRefs #367
Implemented by GPT-5.6 Sol through Codex.