Skip to content

保留预算等待轮次并在派发时重新采样会话请求 - #86

Draft
qinjunw wants to merge 2 commits into
codex/npc-conversation-budget-reproductionfrom
codex/npc-conversation-turn-wakeup
Draft

qinjunw wants to merge 2 commits into
codex/npc-conversation-budget-reproductionfrom
codex/npc-conversation-turn-wakeup

Conversation

@qinjunw

@qinjunw qinjunw commented Sep 14, 2026

Copy link
Copy Markdown
Owner

日程变更后,已交付会面的发言请求会在滚动预算释放前过期,NPC 留在三句交谈直至会面到期。本次保留由事件唤醒的待发言轮次,预算及真实在途请求允许后,用当前世界重新构造完整请求;保留原事件时间,沿用原预算、超时、候选校验及单次交付约束。

等待按世界、会面、说话人和轮次去重。派发尝试消费标记,失败不逐帧重试;终态及换轮清理对应等待,旧回复不能发布或清除新等待,其他居民普通活动队列继续保留。ADR-0016 记录等待与执行请求的区别。

验证:保留修复前目标失败;24 项 Runtime、4 项 F/S 场景控制覆盖默认八次预算在 855.2 释放后派发第九次并完成第四句。完整隔离 EditMode 852、PlayMode 196 项通过,6 项真实入口默认跳过。唯一真实批次使用 v4-flash,四个新世界、18 次调用、78,367 Token;两次交付交谈与两次缺鱼拒绝均通过资产和日程恢复检查。该真实批次未耗尽八次预算,不能作为预算等待恢复的直接证据。

输入审计记录两项精确哈希的 Unity 设置例外,保留首次严格失败及冻结审计;未纳入共享美术、农田修改。自由台词依据、结构化重复与浮点时间显示仍留给正式表达票据。

资产:漂移审计修复验证与原始证据ADR-0016

关联:保留预算等待中的会话轮次并重新采样请求。独立后继:明确 Agent 会话的对象装配边界

此 Draft PR 叠加在 codex/npc-conversation-budget-reproduction 上;当前依赖链均未合并,不表示 main 已交付。

Retain event-woken post-delivery turns while budgets or old requests block dispatch. Rebuild the full request from the current world, consume the turn on dispatch attempt, and preserve existing candidate, timeout, and resource guards.

The retained red test reproduces queue expiry. Runtime lifecycle controls and free-text/structured scene controls pass; record the audit, ADR amendment, and bounded live-test plan.
Publish the retained failing target, passing runtime and scene controls, isolated input audits, and one four-world v4-flash batch. EditMode 852 and PlayMode 196 tests pass; the real batch used 18 calls and all four worlds recovered without saturating the rolling budget.

Update the PRD, observation specification, and iteration pointers. Preserve both Unity settings exceptions and the original strict-audit failure; keep expression-quality limits and composition-boundary follow-up explicit.
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