Skip to content

fix(agents): handle explicit empty tool lists in system prompt - #59898

Closed
martinfrancois wants to merge 1 commit into
openclaw:mainfrom
martinfrancois:fix-empty-tools-issue
Closed

martinfrancois wants to merge 1 commit into
openclaw:mainfrom
martinfrancois:fix-empty-tools-issue

Conversation

@martinfrancois

@martinfrancois martinfrancois commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Describe the problem and fix in 2-5 bullets:

  • Problem: when tools are explicitly disabled for a session, OpenClaw can still build a prompt that looks partly like a normal tool-enabled session. That can leave behind leaked skills content or other tool-only guidance.
  • Why it matters: if the prompt says the session has tools when it actually does not, the model can try to use tools that are unavailable and behave like a tool-enabled session instead of a chat-only one.
  • What changed: this PR makes the no-tools case consistent in the code that builds and adjusts the system prompt. The final prompt, prompt report, CLI path, embedded-runner path, and OpenAI-specific no-tools wording now all agree when a session really has no tools. It also fixes skills reporting in cases where the prompt contains another <available_skills> block or a skill body contains headings like # Project Context. Before this change, the prompt report could read the wrong block or stop too early, which could make it show missing or partial skills even though the real prompt still contained them.
  • Additional behavior corrected: sessions that only have hosted/client tools no longer advertise OpenClaw built-in tool flows such as exec or subagents when those built-in tools are not actually available.
  • Small contract update: provider-specific prompt code now receives toolNames in the transformSystemPrompt context, so plugins see the same advertised tool list that the main prompt builder is using.
  • Scope boundary: this PR does not broadly redesign all capability handling. Sessions with omitted tool lists or non-empty filtered tool lists are still left mostly unchanged unless a narrow fix was needed to keep the no-tools and hosted-tool-only cases truthful.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor required for the fix
  • Docs
  • Security hardening
  • Chore/infra

Scope (select all touched areas)

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

Root Cause / Regression History (if applicable)

  • Root cause: when OpenClaw builds the system prompt for a session with no tools, different parts of the prompt-building flow can disagree about whether tools are available. Some parts correctly treat the session as tool-free, while others still act as if tools or skills exist, so the final prompt can end up mixing no-tool behavior with tool-related guidance.
  • Missing detection / guardrail: there was no coverage that locked in this behavior across the full flow, including the prompt text, prompt report, CLI path, embedded-runner path, provider-specific prompt code, and OpenAI-specific no-tools wording.
  • Prior context (git blame, prior PR, issue, or refactor if known): feat(system-prompt): trim prompt noise, gate sections on tool availability, filter skills per agent #25569 is still the closest related upstream work because it distinguishes explicitly empty tool availability from unspecified/default availability, but other code paths still had inconsistent behavior. fix(agents): clarify empty tool availability prompt #53000 addresses similar empty-tools confusion but still keeps a reference tool catalog in the prompt. fix(agents): remove unconditional "Tools are disabled" prompt injection in CLI runner #46214 removes adjacent CLI-runner prompt pollution rather than this exact bug.
  • Why this reproduces: the no-tools state was not carried through every step that contributes to the final prompt. Once a real runtime session had tools intentionally disabled, some later steps still added skills content or other tool-related guidance.
  • What was ruled out: this is not just a unit-test-only mismatch. The same problem was reproduced through the normal OpenClaw CLI against an isolated deployment config, and review also surfaced related inconsistencies in provider-specific prompt code and OpenAI no-tools wording.

Regression Test Plan (if applicable)

  • Coverage level that should have caught this:
    • Unit test
    • Seam / integration test
    • End-to-end test
    • Existing coverage already sufficient
  • Target test or file:
    • src/agents/system-prompt.test.ts
    • src/agents/system-prompt-report.test.ts
    • src/agents/system-prompt.memory.test.ts
    • src/agents/cli-runner.spawn.test.ts
    • src/agents/pi-embedded-runner/system-prompt.test.ts
    • src/agents/pi-embedded-runner/tool-name-allowlist.test.ts
    • src/agents/pi-embedded-runner/compaction-runtime-context.test.ts
    • extensions/openai/index.test.ts
  • Scenario the test should lock in:
    • explicit empty-tool sessions must not leak the skills catalog
    • explicit empty-tool sessions must not leak later tool-only guidance such as tool-call style, subagent/tool messaging guidance, approvals, or sandbox guidance
    • explicit empty-tool sessions must preserve truthful non-tool context such as workspace notes and TTS hints
    • prompt reports for explicit empty-tool sessions must keep tools.entries = [] and no skills block
    • omitted toolNames must preserve legacy/default prompt behavior
    • explicit non-empty filtered tool lists must stay close to upstream/main behavior
    • client-tool-only sessions must not advertise native OpenClaw exec/subagent flows
    • provider overlays and transform hooks must receive the same effective tool context as the final prompt
  • Why this is the smallest reliable guardrail: the final bug surface spans prompt construction, prompt reporting, runner plumbing, and provider overlays, so the reliable guardrail has to cover those seams rather than only the original builder helper.
  • Existing test that already covers this (if any): none previously separated omitted tools from explicit empty effective tools across the whole prompt pipeline, and none previously locked in the client-tool-only/provider-transform cases.
  • If no new test is added, why not: N/A

User-visible / Behavior Changes

Sessions with tools explicitly disabled now behave like true no-tool sessions:

  • no leaked skills catalog
  • no later tool-only guidance such as tool-call style, approval flow, subagent orchestration, tool-only messaging, or sandbox execution hints
  • prompt report for the explicit no-tools path no longer includes a skills block
  • OpenAI no-tools wording now stays aligned with the no-tools path instead of reintroducing tool-related wording
  • workspace notes and TTS hints can still appear when supplied because they are context, not tool availability

Additional fixes covered by this branch:

  • sessions that only have hosted/client tools no longer advertise OpenClaw built-in exec/subagent flows they do not actually have
  • CLI and bundled-tool sessions continue to advertise truthful tool guidance when tools really are available
  • provider-specific prompt code now receives the tool-name context it needs to make consistent prompt adjustments

Sessions with omitted tool lists and explicit non-empty filtered tool lists are still left close to existing behavior unless a narrow consistency fix required otherwise.

Diagram (if applicable)

Before:
[toolNames omitted or []] -> [shared prompt construction] -> [explicit no-tools sessions can still inherit skills content or tool-related guidance]

After:
[toolNames omitted] -> [legacy/default prompt behavior]
[toolNames non-empty] -> [upstream/main-style filtered prompt behavior]
[toolNames = []] -> [explicit no-tools branch] -> [truthful no-tool prompt with no leaked skills block or tool-only guidance]

Security Impact (required)

  • New permissions/capabilities? (Yes/No) No
  • Secrets/tokens handling changed? (Yes/No) No
  • New/changed network calls? (Yes/No) No
  • Command/tool execution surface changed? (Yes/No) No
  • Data access scope changed? (Yes/No) No
  • If any Yes, explain risk + mitigation: N/A

Repro + Verification

Environment

  • OS: Linux (Debian bookworm host)
  • Runtime/container: local source checkout run via pnpm; not a containerized repro
  • Model/provider: openai-codex/gpt-5.4
  • Integration/channel (if any): CLI via openclaw agent --local
  • Relevant config (redacted): temporary no-tools agent with tools: { deny: ["*"] }

Steps

  1. Create a disposable config copy and add a temporary no-tool agent so the runtime has a truly empty effective tool set:

    export OPENCLAW_CONFIG_PATH=/path/to/openclaw.json
    export OPENCLAW_STATE_DIR=/path/to/state-dir
    
    cp "$OPENCLAW_CONFIG_PATH" /tmp/openclaw-no-tools-repro.json
    export OPENCLAW_CONFIG_PATH=/tmp/openclaw-no-tools-repro.json
    
    python3 - <<'PY'
    import json, os
    p = os.environ["OPENCLAW_CONFIG_PATH"]
    with open(p) as f:
        cfg = json.load(f)
    agents = cfg.setdefault("agents", {}).setdefault("list", [])
    agents = [a for a in agents if a.get("id") != "no-tools"]
    agents.append({
        "id": "no-tools",
        "tools": {"deny": ["*"]},
    })
    cfg["agents"]["list"] = agents
    with open(p, "w") as f:
        json.dump(cfg, f, indent=2)
        f.write("\n")
    PY
  2. Run the normal CLI repro against that config:

    openclaw agent --local \
      --agent no-tools \
      --session-id explicit-empty-tools-repro \
      --json \
      --message '/context detail' \
      --timeout 120 \
    | jq '{payloads, tools: .meta.systemPromptReport.tools, skills: .meta.systemPromptReport.skills, systemPrompt: .meta.systemPromptReport.systemPrompt}'

Expected

  • In a real explicit no-tool session:
    • tools.entries should be []
    • tools.listChars should be 0
    • the prompt should not inject the skills catalog
    • the prompt should explicitly behave like a no-tools session

Actual

  • Live deployed-instance repro on this fixed branch:
    • tools.entries = []
    • tools.listChars = 0
    • skills.promptChars = 0
    • skills.entries = []
    • systemPrompt.chars = 20194
    • final assistant text includes No tools are available in this session.
  • Live deployed-instance repro on v2026.04.11:
    • tools.entries = []
    • tools.listChars = 0
    • skills.promptChars = 5932
    • skills.entries.length = 11
    • systemPrompt.chars = 30389

Evidence

Attach at least one:

  • Failing test/log before + passing after
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

Evidence highlights:

  • Live repro on this branch:
    • tools.entries = []
    • tools.listChars = 0
    • skills.promptChars = 0
    • skills.entries = []
    • systemPrompt.chars = 20194
    • assistant text explicitly says No tools are available in this session.
  • Live repro on v2026.4.11:
    • tools.entries = []
    • tools.listChars = 0
    • skills.promptChars = 5932
    • skills.entries.length = 11
    • systemPrompt.chars = 30389
  • Targeted prompt/report tests on this branch:
    • src/agents/system-prompt.test.ts
    • src/agents/system-prompt-report.test.ts
    • src/agents/system-prompt.memory.test.ts
    • src/agents/cli-runner.spawn.test.ts
    • src/agents/pi-embedded-runner/system-prompt.test.ts
    • src/agents/pi-embedded-runner/tool-name-allowlist.test.ts
    • src/agents/pi-embedded-runner/compaction-runtime-context.test.ts
    • extensions/openai/index.test.ts
    • result: 150 tests passed across 8 files

Human Verification (required)

What you personally verified (not just CI), and how:

  • Verified scenarios:
    • reran the deployed-instance repro on an isolated OpenClaw instance using a disposable no-tools config
    • confirmed the bug still reproduces on main and v2026.4.11
    • confirmed the same repro no longer fails on this fixed branch
    • confirmed the verification signal is prompt/report metadata, not model-specific assistant output
  • Edge cases checked:
    • explicit empty-tool session keeps tools.entries = [] and tools.listChars = 0
    • explicit empty-tool session no longer leaks the skills catalog or later tool-only guidance
    • client-tool-only sessions no longer advertise native OpenClaw exec/subagent flows they do not actually have
  • What you did not verify:
    • full OpenClaw test suite
    • unrelated model-level or workflow-level regressions outside this prompt-construction/reporting bug
    • performance impact beyond the prompt/report character-count change above

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only the conversations that still need reviewer or maintainer judgment.

If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.

Compatibility / Migration

  • Backward compatible? (Yes/No) Yes
  • Config/env changes? (Yes/No) No
  • Migration needed? (Yes/No) No
  • If yes, exact upgrade steps: N/A

Risks and Mitigations

  • Risk: callers that accidentally relied on tool-related guidance surviving in explicit empty-tool sessions will now get a true no-tool prompt.
    • Mitigation: that behavior now matches explicit runtime intent, and regression tests lock in the distinction.
  • Risk: future prompt edits could blur the difference between omitted, explicit empty, and explicit non-empty filtered tool states.
    • Mitigation: regression tests now cover all three cases.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: L labels Apr 2, 2026
@greptile-apps

greptile-apps Bot commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR introduces an hasExplicitEmptyToolList flag in buildAgentSystemPrompt to distinguish between "tool list omitted" (legacy behavior) and "tool list explicitly empty" (new no-tool branch), and gates downstream prompt sections — Tooling, Tool Call Style, Execution Bias, Messaging, Sandbox, CLI Quick Reference, Skills, Docs, and the session-status time hint — on that flag or related per-capability flags (hasExecTool, hasSubagentsTool, hasMessageTool, etc.). It also adds nativeToolNames/semanticToolNames params for callers that host non-OpenClaw tools, and refactors buildSystemPromptReport to extract skill-section text from the rendered prompt rather than the raw input, making skills reporting accurate after provider transforms or section exclusions.

Confidence Score: 5/5

Safe to merge — the explicit empty-tool fix is correct and well-tested; the one deviation from the stated scope boundary has no production impact.

All flagged findings are P2. The primary fix (explicit empty-tool sessions) is implemented correctly with comprehensive test coverage across both prompt construction and report rendering. All production callers provide toolNames explicitly, so the legacy-path behavior change is contained.

src/agents/system-prompt.ts — the hasMessageTool default-true path for omitted toolNames callers.

Prompt To Fix All With AI
This is a comment left during a code review.
Path: src/agents/system-prompt.ts
Line: 574

Comment:
**`### message tool` section now appears unconditionally for omitted-toolNames callers**

`hasMessageTool = !hasExplicitToolList || semanticTools.has("message")` evaluates to `true` whenever `toolNames` is omitted (`hasExplicitToolList = false`), because `!false = true` short-circuits the rest. This causes `includeMessageToolGuidance = true` in the `buildMessagingSection` call, so the `### message tool` subsection renders for every no-toolNames call.

In the old code, that section was gated on `availableTools.has("message")`, which was `false` for no-toolNames callers (since `availableTools` was derived from the empty `canonicalToolNames`). The PR states "Omitted tool lists are kept as close as possible to upstream/main behavior" — this is a quiet deviation from that boundary.

All current production callers (embedded runner, CLI runner, OpenAI extension) explicitly provide `toolNames`, so there is no runtime impact. However, tests that call `buildAgentSystemPrompt` without `toolNames` will now include message-tool guidance they didn't before, and any future caller that omits `toolNames` will get misleading prompt content for sessions that don't have a `message` tool.

How can I resolve this? If you propose a fix, please make it concise.

Reviews (5): Last reviewed commit: "fix(agents): handle explicit empty tool ..." | Re-trigger Greptile

Comment thread src/agents/system-prompt.ts Resolved
Comment thread src/agents/system-prompt.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from 4aea296 to e0d5fc3 Compare April 2, 2026 20:40
@martinfrancois

Copy link
Copy Markdown
Contributor Author

@greptileai

@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from e0d5fc3 to a11b8b8 Compare April 2, 2026 21:32
@martinfrancois

Copy link
Copy Markdown
Contributor Author

@greptileai

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a11b8b82b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from a11b8b8 to f5e918c Compare April 2, 2026 21:42

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f5e918c64c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt-report.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from f5e918c to feabf36 Compare April 2, 2026 21:52

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: feabf3657f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt-report.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from feabf36 to 64f6249 Compare April 2, 2026 22:03
@martinfrancois

Copy link
Copy Markdown
Contributor Author

Did another live repro run - same result as in the PR description (issue reproducible without the fix - issue is fixed on this branch).

@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from 64f6249 to 5b1620b Compare April 6, 2026 14:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5b1620b4dd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt-report.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from 5b1620b to d1e573f Compare April 6, 2026 18:45

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d1e573fa92

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt-report.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from d1e573f to 8b82429 Compare April 6, 2026 18:58

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8b82429ddd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt-report.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from 8b82429 to e627f8d Compare April 6, 2026 19:13

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e627f8d9c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from e627f8d to 985dc2d Compare April 6, 2026 19:38

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 985dc2d333

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt.ts Resolved
@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from 985dc2d to 4e02b1e Compare April 6, 2026 20:05
@martinfrancois

Copy link
Copy Markdown
Contributor Author

@greptileai

@martinfrancois

martinfrancois commented Apr 10, 2026 •

Copy link
Copy Markdown
Contributor Author

By the way: Failures on CI are unrelated to my changes and all bot comments are addressed.

@martinfrancois
martinfrancois force-pushed the fix-empty-tools-issue branch from 4e02b1e to 2d473f9 Compare April 11, 2026 22:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2d473f9556

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/system-prompt.ts Resolved
kiranvk-2011 added a commit to kiranvk-2011/openclaw that referenced this pull request May 4, 2026
When active-memory plugin invokes sub-agents with toolsAllow, the tools
get filtered to [] in the embedded runner context. Strict OpenAI-compatible
providers (DashScope/GLM, Kimi, vLLM) reject tools: [] with HTTP 400.

Adds wrapStreamFnStripEmptyTools() as a payload interceptor that:
- Strips tools entirely when array is empty
- Strips tool_choice when tools is absent

Consolidates openclaw#59898, openclaw#66710, openclaw#47947 into a single guard.
Fixes openclaw#53174.
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@openclaw-barnacle openclaw-barnacle Bot added triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. labels May 11, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 11, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 12, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress.

Hatch command

Comment @clawsweeper hatch when this PR is hatchable.

Hatchability rules:

  • Merged PRs are hatchable.
  • Open PRs are hatchable when they are status: 👀 ready for maintainer look, status: 🚀 automerge armed, or labeled clawsweeper:automerge.
  • Closed unmerged PRs are hatchable only when one of those hatchable labels is still present in the durable record.
What is this egg doing here?
  • Eggs appear after the PR passes real-behavior proof. It is here for vibes, not verdicts: it does not change labels, ratings, merge decisions, or automation.
  • The shell reacts to review momentum: open follow-up work warms it up, re-review makes it wobble, and a clean final review lets it hatch.
  • Hatchability usually comes from sufficient real-behavior proof, no blocking P0/P1/P2 findings, no security attention needed, and clean correctness. A merged PR is already final, so merge makes the egg hatchable independently.
  • The hatch is seeded from this repository and PR number, so the same PR keeps the same creature; the reviewed head SHA can only change safe visual details.
  • Rarity is just collectible sparkle: 🥚 common, 🌱 uncommon, 💎 rare, ✨ glimmer, and 🌈 legendary.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Thanks @martinfrancois. Closing this stale implementation branch while keeping #44484 open. The patch targets a removed runner path, uses incorrect skill/tool accounting for an explicitly empty tool list, and introduces compatibility-changing validation without real behavior proof. A replacement should implement the current runner contract and prove the empty-list behavior at the live prompt boundary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants