8000 fix(collector): isolate codex warmup from user instructions and tool calls by InfinityPacer · Pull Request #76 · InfinityPacer/meterleaf · GitHub
[go: up one dir, main page]

Skip to content

fix(collector): isolate codex warmup from user instructions and tool calls - #76

Merged
InfinityPacer merged 1 commit into
mainfrom
fix/codex-warmup-single-turn
Nov 10, 2026
Merged

InfinityPacer merged 1 commit into
mainfrom
fix/codex-warmup-single-turn

Conversation

@InfinityPacer
Copy link
Copy Markdown
Owner

背景与实战发现

在今晚 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。

@InfinityPacer
InfinityPacer merged commit 73238eb into main Nov 10, 2026
@InfinityPacer
InfinityPacer deleted the fix/codex-warmup-single-turn branch November 10, 2026 13:17
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

0