Skip to content

[codex] Fix Manifold clones and sacrificed-owner token cleanup - #7

Merged
HarcoChen merged 1 commit into
mainfrom
codex/fix-summon-owner-lifecycle
Nov 13, 2026
Merged

HarcoChen merged 1 commit into
mainfrom
codex/fix-summon-owner-lifecycle

Conversation

@HarcoChen

Copy link
Copy Markdown
Contributor

Failure observed

An existing 800-route Desperation PPO run recorded nine Clone skill is executing failures and two Unknown public entity UID reference failures. A failed route excludes its four-route world group from the policy update. The cloning failure also left some evaluation worlds incomplete.

Manifold split cloning

When Muelsyse creates a ranged Manifold split, the shared summon path finds the already deployed prepared Manifold and returns its identity. The split handler then attempts to disable that original unit's skill while the attack callback owns the skill runtime, producing Clone skill is executing.

Detect the active Manifold split context and exclude prepared-token reuse for that request. The existing creation path then creates an independent clone and applies its lifetime.

Sacrificed owner cleanup

The consumable offer branch removes its sacrificed operator while leaving that operator's tokens on the board or in reserve. The next public observation references an owner UID that is absent from the entity projection and fails encoding.

Call the existing remove_tokens routine immediately after taking the sacrificed operator and before returning its equipment. Both retained failing routes were reproduced with the historical Windows library. World 543270027 left a reserve token owned by removed UID30 after its 263rd action. World 543270174 left two board tokens owned by removed UID23 after its 282nd action, which equipped chess_item_5_04_e_a.

Evidence and build

Diagnosis used existing reports, recorded action prefixes and the historical native library. The patched native library still needs behavioral evaluation.

Use the existing native-build GitHub Actions workflow for Python 3.12 release builds and module import checks on Linux x64, Windows x64, macOS ARM64 and macOS x64. The workflow publishes _native, _rust_routes and _native_slots artifacts for each platform.

@HarcoChen
HarcoChen marked this pull request as ready for review November 12, 2026 15:00
@HarcoChen
HarcoChen added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit af553b8 Nov 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant