fix(codex): expose bound conversation dynamic tools#85213
fix(codex): expose bound conversation dynamic tools#85213wizdomhall-hash wants to merge 1 commit into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 29, 2026, 4:10 AM ET / 08:10 UTC. Summary PR surface: Source +477, Tests +854. Total +1331 across 9 files. Reproducibility: yes. source-reproducible. Current main starts bound Codex app-server threads without Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Rebase onto current main, implement the bridge through the current Codex dynamic-tool execution/lifecycle helpers, preserve additive Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible. Current main starts bound Codex app-server threads without Is this the best way to solve the issue? No, not as written. The bridge is the right layer for the upstream Codex contract, but the stale helper duplication, allowlist regression, dirty branch, schema drift, and missing real behavior proof make this PR unsafe to merge now. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 96c8338d5bfa. Label changesLabel justifications:
Evidence reviewedPR surface: Source +477, Tests +854. Total +1331 across 9 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
This comment was marked as spam.
This comment was marked as spam.
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(codex): expose bound conversation dynamic tools This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Summary
Motivation
On macOS, the Kynver AgentOS OpenClaw plugin could be loaded and runtime inspection could see its
agent_os_*contracts, but native Codex conversation threads did not receive those dynamic tool specs as callable tools. That meantagent_os_get_contextand related tools were visible to OpenClaw inspection but missing from the Codex-visible tool surface.This PR recovers the working local Track 2 patch from a macOS OpenClaw/Codex install where the AgentOS tools became callable after the Codex bridge change.
Before / After
Before:
After:
Verification
Focused tests run in the prepared recovery checkout:
Result:
Additional checks:
git diff --cached --check -- .The same whitespace check passed again after replaying the patch onto a fresh
openclaw/openclawclone. The fresh clone did not have dependencies installed, so the focused test command there stopped at missingvitest/package.jsonbefore tests started.MacOS smoke from the patched local setup:
agent_os_get_contextScope
The patch is limited to the Codex conversation binding / dynamic tool bridge and supporting plugin registry behavior needed for that path. No secrets or local machine paths are included.