Repository navigation
fix: 修复公开物品规划、携带旅行与 NPC 叙事顺序 - #534
Merged
Ximaohu-LMX merged 4 commits intoSep 14, 2026
Merged
Ximaohu-LMX merged 4 commits into
Ximaohu-LMX merged 4 commits into
Conversation
badadal
self-requested a review
September 14, 2026 10:12
badadal
approved these changes
Sep 14, 2026
Fix the stale architecture assertion blocking CI for 1024XEngineer#533.
| texts.extend((info.title, info.summary, info.content)) | ||
| if planning_context is not None: | ||
| for turn in planning_context.recent_history.turns: | ||
| texts.append(turn.player_utterance.text) |
Contributor
There was a problem hiding this comment.
[P2] 不要把历史玩家原话加入内部 ID 放行列表
这里把 turn.player_utterance.text 加进 public_texts,而后面的内部 ID 检查会先从计划文本中删掉所有 public_texts。因此只要玩家在上一轮输入过类似 private_whistle 的字符串,本轮安全 Planner 就可以把这个 Keeper 内部 ID 写进 goal/semantic_goal 而不再触发 internal_target_id;这与本函数注释中“ID 不因出现在输入或历史元数据里而公开”的边界相冲突。当前输入不会绕过是因为它只在 allowed_texts、不在 public_texts,但历史输入会。建议历史玩家原话仅用于名称公开性判断,内部 ID 擦除时排除该来源(或分别维护公开名称文本与不可用于放行 ID 的正文)。
Preserve clarification and zero-write behavior for unknown destinations in 1024XEngineer#533.
Verify independent ordered bubbles, history and persisted plans with normalized SQLite room ids.
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.
问题与结果
背包已有“蛙蛙度假村传单”时,“查看传单,然后去蛙蛙村”仍可能因补全公开全名而被防泄漏检查误拦;携带青蛙和前往大厅的分步执行又可能产生重复抵达与“再次到来”的叙述。NPC 回复还会在前端逐字旁白完成前先显示和朗读。
本 PR 对齐公开名称判断、物品建模、当前步骤状态及消息展示顺序,修复以上问题。
Closes #533
改动
3.0.16:蛙群改为场景对象,单只青蛙有独立可携带实例;取得、携带、放下复用既有物品保管关系。NPC 才使用随行语义。验证
测试使用脚本模型与隔离数据库;文风调整未做真实模型重放,需通过新回合体验确认。验证青蛙新版建模和地图发布版本应新建
3.0.16房间,无旧存档迁移。实现与验证细节见 修复说明。