-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
[Bug]: doctor emits repeated tool-policy removal audit lines at normal console level #87798
Copy link
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
openclaw doctoremits repeatedagents/tool-policyaudit lines at normal console level for expected profile filtering.Version
OpenClaw 2026.5.27 (27ae826)
Observed
With
tools.profileset tocoding, running doctor printed this line repeatedly before the doctor report:In the reproduced case it appeared five times during one doctor run. The doctor itself completed successfully.
Why this looks like a bug
The message appears to be an audit/debug signal for expected tool-profile filtering, not an actionable doctor finding. At info/normal console level it makes the doctor output look noisy and potentially broken, even though the tool removal is expected under the selected profile.
No raw local logs, session ids, tokens, provider command output, project ids, or environment values are included here.
Expected
One of:
Local workaround verified
Changing the tool-policy audit emission for removed tools from
infotodebugremoved the repeated lines from normal doctor output while preserving the diagnostic path for verbose/debug logging.