Repository navigation
fix(framework): a second quest re-reports its monsters, and em_vhook latches only a big one - #121
Merged
Merged
Conversation
The species band passes a Popo's vtable too, and the first spawn seen took the latch, so a second quest wrapped the Popo. The entity's species must be one of the quest's target groups (the species list when it has none). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rs again The registry empties at a quest's end and refills at the next load, both while the poll sleeps (it runs only in an area), and a monster comes back at its old address: the slot read unchanged and no spawn event fired. QUEST_BEGINNING makes the poll forget what it reported. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…r a swapped record Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 21, 2026
# Conflicts: # framework/tests/test_em_brain.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A second quest without a cold boot wrapped the wrong monster: em_vhook took a Popo's vtable and the port's own moves, rules and fatigue went dead (measured on lane 3 with the Brute port).
QUEST_BEGINNINGnow makes the poll forget what it reported (registry_watch.h); the registry is empty at that moment, so nothing stale is reported again.install_fortook the first spawn in the vtable band, a Popo's too. It now takes a big monster: one of the framework's species list, or of the quest's target groups.Tests: the poll's memory across a forget, the latch for targets, extra groups, a wild group count, a host under a swapped record, no groups.
🤖 Generated with Claude Code