Repository navigation
fix(collector): isolate codex warmup from user instructions and tool calls - #76
Merged
Merged
Conversation
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.
背景与实战发现
在今晚 20:45 Codex
five-hour窗口到期后的实机触发中,虽然quota-warmup成功在睡眠唤醒后(21:06)拉起了codex exec并开启了新的 5 小时窗口(1794333985,次日 02:06 重置),但观察到codex exec加载了全局AGENTS.md(“Given only a workspace location, use its recovery entry to find the relevant task”),导致gpt-6-luna收到ready后尝试连续执行 4 轮 shell 命令去寻找仓库恢复入口,最终触及 45 秒超时。变更内容
warmupCodexTarget调用codex exec时加上--ignore-user-config与-c 'base_instructions="Reply with one word only and do not call any tools."',避免加载全局插件/记忆并禁止模型调用工具,使单次开窗请求稳定在 1 轮(输出 ~10 tokens)内结束。tests/quota-warmup.test.ts与docs/collector.md。