Repository navigation
Conversation
be6e974 to
12b9749
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs real behavior proof before merge. Reviewed July 14, 2026, 6:11 AM ET / 10:11 UTC. Summary PR surface: Source +21, Tests +4. Total +25 across 3 files. Reproducibility: yes. —the current-main runner construction and the issue's presence-boolean middleware path provide a high-confidence source reproduction, although this review did not execute a live installed-plugin run. Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. 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:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Forward the authoritative active Do we have a high-confidence way to reproduce the issue? Yes—the current-main runner construction and the issue's presence-boolean middleware path provide a high-confidence source reproduction, although this review did not execute a live installed-plugin run. Is this the best way to solve the issue? No—the general context-threading approach is appropriate, but explicitly dropping the active Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e052d122d6ac. Label changesLabel justifications:
Evidence reviewedPR surface: Source +21, Tests +4. Total +25 across 3 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
Review history (9 earlier review cycles; latest 8 shown)
|
12b9749 to
80f85b4
Compare
|
Addressed ClawSweeper P1 finding: removed empty-string sentinels from identity fallbacks. Before: |
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
5c0f293 to
122fc6f
Compare
122fc6f to
df1773e
Compare
707c244 to
90e71f1
Compare
…eware
The OpenClaw runtime constructed the AgentToolResultMiddlewareRunner with
only { runtime: 'openclaw' }, omitting agentId, sessionId, sessionKey,
and runId. This differed from the Codex runtime which passes the full
toolResultHookContext.
Add the missing fields so middleware can attribute and scope OpenClaw
events at parity with Codex.
Fixes openclaw#106910
90e71f1 to
d30e4e2
Compare
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Closing to re-trigger ClawSweeper review — the review appeared stuck after 'picked up' for 2+ days. Will reopen with the same code. |
Summary
agentId,sessionId,sessionKey, andrunIdtocreateAgentToolResultMiddlewareRunneron the OpenClaw runtime path.{ runtime: "openclaw" }was passed, while the Codex runtime passes the fulltoolResultHookContext.What Problem This Solves
The OpenClaw runtime invoked
AgentToolResultMiddlewarehandlers without agent, session, or run identity, even though those fields are part of the public middleware context (AgentToolResultMiddlewareContext). Middleware could not attribute or scope OpenClaw events.The Codex runtime (
dynamic-tools.ts:460-462) already passes the full context viatoolResultHookContext.User Impact
Origin / follow-up
Fixes #106910.
Evidence
node scripts/run-vitest.mjs src/agents/embedded-agent-runner/extensions.test.ts src/agents/embedded-agent-runner/run/attempt-session.test.ts # 7/7 tests passedFixes #106910