Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 29, 2026, 7:52 AM ET / 11:52 UTC. Summary PR surface: Source +47, Tests +72. Total +119 across 25 files. Reproducibility: not applicable. as a user bug, but yes for the PR defect from source: the PR head adds Review metrics: 1 noteworthy metric.
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: Ship one maintainer-approved DM directive contract documented across config and gateway surfaces, wired through embedded and CLI runners with session hashing, and backed by real DM/group proof. Do we have a high-confidence way to reproduce the issue? Not applicable as a user bug, but yes for the PR defect from source: the PR head adds Is this the best way to solve the issue? No. The direction is plausible, but this is not the best merge shape until CLI parity, session hashing, public docs/metadata, maintainer-approved semantics, and real DM proof are in place. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against db2488b6e3d6. Label changesLabel justifications:
Evidence reviewedPR surface: Source +47, Tests +72. Total +119 across 25 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
|
|
@molle-png thanks for the PR. ClawSweeper is still waiting on real behavior proof before this can move forward. Useful proof can be a screenshot, short video, terminal output, copied live output, linked artifact, or redacted logs that show the changed behavior after the fix. Please redact private tokens, phone numbers, private endpoints, customer data, and anything else sensitive. Once proof is added to the PR body or a comment, ClawSweeper or a maintainer can re-check it. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
@molle-png thanks for the PR. ClawSweeper is still waiting on real behavior proof before this can move forward. Useful proof can be a screenshot, short video, terminal output, copied live output, linked artifact, or redacted logs that show the changed behavior after the fix. Please redact private tokens, phone numbers, private endpoints, customer data, and anything else sensitive. Once proof is added to the PR body or a comment, ClawSweeper or a maintainer can re-check it. |
|
Closing per ClawSweeper review verdict |
Summary
Adds a DM-scoped active directive path so deployments can steer direct-message behavior for a turn without folding that directive into ambient group/subagent context.
The new
agents.defaults.dmDirectivesetting is routed asextraSystemPromptDirectivethrough the reply runner, CLI runner, and embedded runner paths. The system-prompt assembler renders it as the final system block after## Runtime:Ambient
extraSystemPromptbehavior is unchanged, so existing groupGroupSystemPromptcontent still renders under## Group Chat Context.Why
OpenClaw currently sends all per-turn extra prompt material through the same ambient context slot. That makes a direct-message override such as “for this context behave like X” compete poorly with durable persona/project context such as
SOUL.md.This keeps the existing context path intact and introduces one explicit directive path for DM-only steering.
Implementation notes
agents.defaults.dmDirectiveconfig/schema support.dmDirectiveonly for direct chats.extraSystemPromptand followup prompt fusion.Validation
Result: 2 test files passed, 163 tests passed.
Also ran:
Result: clean.