mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8293] [Feature]: Gacha Forge auto-equip the best available unassigned gear #8230
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8230
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8293
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Equipping a unit requires manually comparing available gear and assigning suitable pieces.
Proposed solution
Add an Auto button to a unit's equipment controls. It equips the best available suitable gear from inventory that is currently free/unassigned. Never take gear already attached to another unit. Use clear, consistent existing gear/stat rules to determine the best suitable equipment.
Alternatives considered
Keep manual gear selection available.
Additional context
Filed in Marinara-Engine at the maintainer's request. This concerns Gacha Forge package behavior; coordinate implementation with Pasta-Devs/Marinara-Agents, and keep any necessary host integration changes in Engine.
Template check
@SpicyMarinara commented on GitHub (Oct 25, 2026):
Owner: @SpicyMarinara / Codex. Implementation is starting in Marinara-Agents on
fix/gacha-issue-sweep-20261025, targetingstaging, as part of the authorized issue sweep. The package PR will link this Engine report; host changes, if any, remain Engine-owned.@SpicyMarinara commented on GitHub (Oct 25, 2026):
Addressed in Gacha Forge 1.16.0 through Agents PR #1674, merged to
stagingasdb10c82cd7f5522b34e5e3b1ee2fce63a752dea2.Auto-equip uses current displayed CP comparisons and reevaluates options after each slot; onlyFree requests are authoritatively rejected if gear is occupied or races into another unit ownership. Failure text belongs to the initiating run/unit and settled work repaints the current button.
Validation: Actual shipped equip-route tests reject occupied weapons/relics before transfer, preserve manual transfer behavior and lose an occupancy CAS race without taking another unit gear. Retained negative controls reproduce A-to-B error leakage, late rejection and a permanently busy B button. Current maintained actual-wire tests cover refusal/rejection/success after switching and retain B CP instead of adopting A response; A-to-B-to-A retains only A error.
Best follows the app existing CP metric at each slot, not an exhaustive build optimizer. No occupied gear is reassigned by Auto.
Publication and shared validation: https://github.com/Pasta-Devs/Marinara-Agents/pull/1674#issuecomment-6397209332