Skip to content

Fix/hooks agent accountid normalization - #43951

Closed
pauldesmondparker wants to merge 6 commits into
openclaw:mainfrom
DCConnect-Global:fix/hooks-agent-accountid-normalization
Closed

pauldesmondparker wants to merge 6 commits into
openclaw:mainfrom
DCConnect-Global:fix/hooks-agent-accountid-normalization

Conversation

@pauldesmondparker

Copy link
Copy Markdown
Contributor

Summary

Describe the problem and fix in 2–5 bullets:

  • Problem: POST /hooks/agent silently drops accountId from incoming payloads because HookAgentPayload lacks the field, normalizeAgentPayload() never extracts it, and dispatchAgentHook() hand-builds a CronJob bypassing normalizeCronJobCreate().
  • Why it matters: Multi-account WhatsApp (and any channel requiring accountId) delivery fails silently — the caller gets a success response but the message is never sent.
  • What changed: Hook dispatch now routes through normalizeCronJobCreate(), which promotes legacy flat fields into proper CronDelivery with accountId. resolveCronToolPolicy() derives disableMessageTool for shared-contract callers from whether the target is fully resolved (explicit mode + accountId) instead of unconditionally disabling.
  • What did NOT change (scope boundary): The cron-owned path (deliveryContract: "cron-owned") is untouched. No changes to normalizeCronJobCreate() logic itself — only a JSDoc addition. No new config options or API surface.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor
  • 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

User-visible / Behavior Changes

  • POST /hooks/agent now correctly preserves accountId through to delivery, enabling multi-account WhatsApp delivery via hooks.
  • For shared-contract hook runs with a fully resolved delivery target (explicit mode + accountId), the agent's message tool is no longer unconditionally disabled — it remains available as a fallback. The existing skipMessagingToolDelivery guard (run.ts:821-831) prevents duplicate sends.

Security Impact (required)

  • New permissions/capabilities? No
  • Secrets/tokens handling changed? No
  • New/changed network calls? No
  • Command/tool execution surface changed? No — the message tool was already available for shared-contract callers without delivery; this change refines when it stays enabled based on target resolution quality.
  • Data access scope changed? No

Repro + Verification

Environment

  • OS: All (server-side code path)
  • Runtime/container: Node 22+ / Bun
  • Model/provider: Any (not model/provider-specific)
  • Integration/channel (if any): WhatsApp (any multi-account channel)
  • Relevant config (redacted): Hooks enabled with token, WhatsApp channel configured with multiple accountId connections

Steps

  1. Configure two WhatsApp connections with distinct accountId values.
  2. Send POST /hooks/agent with { "message": "Hello", "channel": "whatsapp", "to": "1234567890", "accountId": "botnumber" }.
  3. Observe delivery result.

Expected

  • accountId flows through to CronDelivery.accountId, resolveDeliveryTarget() identifies the correct WhatsApp connection, and the message is delivered.

Actual (before fix)

  • accountId is silently dropped. Delivery fails because no connection can be identified. Caller receives success response.

Evidence

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

New tests added in second commit:

  • src/gateway/hooks.test.ts — normalizeAgentPayload extracts and trims accountId (present, absent, blank)
  • src/gateway/server.hooks.test.ts — integration test: accountId propagates into job.delivery via cron normalization pipeline
  • src/cron/isolated-agent/run.message-tool-policy.test.ts — 3 tests for shared-contract tool policy: fully resolved target (explicit + accountId → enabled), missing accountId (→ disabled), implicitly resolved target (→ disabled)

Verification: pnpm tsgo clean, pnpm check clean, all 59 tests across the 4 test files pass.

Human Verification (required)

  • Verified scenarios: typecheck (pnpm tsgo), lint/format (pnpm check), unit + integration tests pass for all modified test files
  • Edge cases checked: blank/missing accountId, normalizeCronJobCreate returning null (guard added), implicit vs explicit delivery target mode, mode: "none" (verified deliveryRequested is already false so no extra clause needed)
  • What you did not verify: live end-to-end delivery through a real WhatsApp multi-account setup; only verified through unit/integration tests and code tracing

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.

Compatibility / Migration

  • Backward compatible? Yes
  • Config/env changes? No
  • Migration needed? No

Failure Recovery (if this breaks)

  • How to disable/revert this change quickly: Revert both commits; the hand-built CronJob path is fully self-contained in the reverted dispatchAgentHook().
  • Files/config to restore: src/gateway/hooks.ts, src/gateway/server/hooks.ts, src/cron/isolated-agent/run.ts, src/cron/normalize.ts
  • Known bad symptoms reviewers should watch for: Hook agent dispatches returning early with "normalizeCronJobCreate returned null" warning (would indicate the normalizer rejects a payload shape it previously accepted via hand-built path).

Risks and Mitigations

  • Risk: normalizeCronJobCreate() could reject a hook payload shape that the hand-built path previously accepted, causing hook dispatches to silently no-op.

    • Mitigation: A null-return guard logs a warning and still returns a runId to the caller. The normalizer is well-tested and accepts all fields the hook path provides. Integration test verifies the full pipeline.
  • Risk: Enabling the message tool for shared-contract callers with fully resolved targets could cause duplicate sends (agent sends via tool + automatic delivery sends again).

    • Mitigation: The existing skipMessagingToolDelivery guard (run.ts:821-831) already detects when the agent's message tool sent to the same target and skips automatic delivery. This guard predates this change and is tested.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: S labels Mar 12, 2026
@greptile-apps

greptile-apps Bot commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes a silent delivery failure in POST /hooks/agent where accountId was dropped from incoming payloads because the old dispatchAgentHook hand-built a CronJob bypassing the cron normalization pipeline. The fix routes dispatch through normalizeCronJobCreate, which correctly promotes legacy flat fields (deliver, channel, to) and preserves accountId into the CronDelivery struct. A secondary fix refines resolveCronToolPolicy so shared-contract callers (hooks) keep the message tool enabled when the delivery target is fully resolved (explicit mode + accountId), relying on the existing skipMessagingToolDelivery guard to prevent duplicate sends.

  • HookAgentPayload + normalizeAgentPayload: accountId field added with consistent trim-and-unset-on-blank handling matching the existing to field normalization pattern.
  • dispatchAgentHook: Now calls normalizeCronJobCreate with delivery: { accountId } when present; the normalizer's coerceDelivery + mergeLegacyDeliveryInto pipeline correctly merges both the accountId and the flat payload fields (deliver/channel/to) into a single CronDelivery object.
  • Null-guard path (server/hooks.ts:67–70): When normalizeCronJobCreate returns null the function logs a warning and returns a fake randomUUID() as runId, which causes the HTTP caller to receive { ok: true, runId: <uuid> } — a silent failure indistinguishable from a successful dispatch. This is a new failure mode introduced by this PR (the old hand-built path could never return null). While the author documents this as an accepted risk, it is worth considering returning an explicit error response to make such failures observable at the API level.
  • Test coverage: Unit tests for normalizeAgentPayload, an integration test verifying end-to-end accountId propagation, and three targeted resolveCronToolPolicy cases are all well-constructed.

Confidence Score: 4/5

  • Safe to merge with minor concern: the null-guard path in dispatchAgentHook silently returns a fake success runId rather than surfacing the error to the caller.
  • The core fix is correct — accountId propagates cleanly through coerceDelivery and mergeLegacyDeliveryInto into CronDelivery, and all existing normalizer tests remain green. The resolveCronToolPolicy change is well-reasoned and the duplicate-send guard pre-exists. The one notable concern is the new silent-failure path when normalizeCronJobCreate returns null: callers receive HTTP 200 with a runId as if the dispatch succeeded. In practice this code path should be unreachable given the structured input, but it creates a hard-to-debug regression vector for future normalizer changes. Test coverage for the changed paths is thorough.
  • Pay close attention to src/gateway/server/hooks.ts lines 67–70 — the null-guard return value and whether callers can distinguish this failure from a real dispatch.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: src/gateway/server/hooks.ts
Line: 67-70

Comment:
**Silent failure: null return masquerades as success**

When `normalizeCronJobCreate` returns `null`, the hook silently no-ops but the HTTP caller still receives `{ ok: true, runId: <uuid> }` with a 200 status — identical to a successful dispatch. This means callers cannot distinguish "hook dispatched" from "hook silently dropped", which is precisely the category of bug this PR was written to fix (the original `accountId` drop also returned a success response while failing silently).

Although the PR description acknowledges this as a mitigated risk, a fake `runId` makes the failure invisible to API consumers. The old hand-built path could never return null because it never validated the payload shape; routing through `normalizeCronJobCreate` introduces this new code path.

If `normalizeCronJobCreate` ever rejects a payload it previously would have accepted (due to a future normalizer change or an unanticipated edge case), callers will have no way to detect the failure without log scraping.

Consider returning an explicit error response:

```ts
if (!jobCreate) {
  logHooks.warn("hook agent: normalizeCronJobCreate returned null");
  // Return an error instead of a fake runId so the caller can detect the failure.
  return { ok: false, error: "internal: failed to normalize hook payload" };
}
```

This would require updating the `dispatchAgentHook` return type and having `server-http.ts` handle the error case, but it makes failures observable at the API level.

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

Last reviewed commit: 40fbece

Comment thread src/gateway/server/hooks.ts Resolved

@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: 40fbece1e8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/gateway/server/hooks.ts Resolved

@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: f054c0f0cc

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/cron/isolated-agent/run.ts Resolved
@pauldesmondparker
pauldesmondparker force-pushed the fix/hooks-agent-accountid-normalization branch 2 times, most recently from f702542 to 82a1d08 Compare March 14, 2026 01:57

@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: 82a1d081ba

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/gateway/server-http.ts Resolved
pauldesmondparker and others added 6 commits April 2, 2026 11:55
The hook dispatch hand-built a CronJob literal, bypassing
normalizeCronJobCreate() which correctly promotes legacy flat fields
(deliver, channel, to) into a proper CronDelivery with accountId.
This caused accountId to be silently dropped from hook payloads,
breaking WhatsApp delivery in multi-account setups.

Changes:
- Add accountId to HookAgentPayload type and normalizeAgentPayload()
- Replace hand-built CronJob in dispatchAgentHook() with
  normalizeCronJobCreate() call + explicit delivery seed
- In resolveCronToolPolicy(), derive disableMessageTool for shared
  contract from whether the target is fully resolved instead of
  unconditionally disabling
- Add JSDoc to normalizeCronJobCreate() noting dual usage

Fixes openclaw#43866

Co-Authored-By: Claude Opus 4.6 <[email protected]>
The rebase split CronJob construction into two stages: normalizeCronJobCreate
(which receives accountId via delivery seed) and a hand-built delivery object
(which provides mode/channel/to). The hand-built object overwrites the
normalizer output via object spread, silently dropping accountId.

Include accountId directly in the hand-built delivery so it survives the
spread into the final CronJob.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@pauldesmondparker
pauldesmondparker force-pushed the fix/hooks-agent-accountid-normalization branch from 793de37 to 8499f96 Compare April 2, 2026 04:56
@pauldesmondparker

Copy link
Copy Markdown
Contributor Author

@vincentkoc code review please

@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.

@clawsweeper

clawsweeper Bot commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 8, 2026, 8:44 PM ET / July 9, 2026, 00:44 UTC.

Summary
The branch adds /hooks/agent accountId normalization, threads it into hook-created cron delivery, adjusts shared cron message-tool policy, adds gateway/cron tests, and edits CHANGELOG.md.

PR surface: Source +52, Tests +127, Docs +1. Total +180 across 9 files.

Reproducibility: yes. at source level: current main ignores payload.accountId in normalizeAgentPayload() and builds hook cron delivery without accountId. I did not run a live WhatsApp multi-account setup in this read-only review.

Review metrics: 1 noteworthy metric.

  • Public hook payload fields: 1 added (accountId). Adding a /hooks/agent request field is user-facing API surface and needs docs plus real use-path proof before merge.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #43866
Summary: The canonical issue tracks the exact /hooks/agent explicit accountId drop; this PR is the open candidate fix, while related account-selection work covers adjacent omitted-account fallback behavior.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🧂 unranked krab
Proof: 🧂 unranked krab
Patch quality: 🦐 gold shrimp
Result: blocked until real behavior proof is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Add redacted proof from a real /hooks/agent run against a multi-account channel setup.
  • Rebase or replace the branch on current main and port the delivery policy change to SourceDeliveryPlan.
  • Update the public /hooks/agent payload docs for accountId and rerun focused gateway/cron hook tests.

Proof guidance:

  • [P1] Needs real behavior proof before merge: Needs real behavior proof before merge: the PR supplies tests/typecheck/lint claims and explicitly says live multi-account WhatsApp delivery was not verified. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Risk before merge

  • [P1] The fork is conflicting and maintainerCanModify=false, so maintainers cannot repair or land this branch in place without contributor action or a replacement branch.
  • [P1] The PR changes account-scoped hook delivery but only supplies tests/typecheck/lint claims; the real multi-account WhatsApp hook path remains unproven.
  • [P1] The message-tool policy change targets an older helper while current main routes the decision through SourceDeliveryPlan, so a rebase could drop the intended policy or create a parallel delivery decision.
  • [P2] Incorrect account propagation or fallback policy can silently drop, duplicate, or misroute outbound hook messages.

Maintainer options:

  1. Refresh current-main account routing (recommended)
    Rebase or replace the branch on current main, preserve hook accountId, port the policy to SourceDeliveryPlan, update docs, and attach real hook proof before merge.
  2. Accept source-only routing risk
    A maintainer could intentionally accept tests-only proof, but would own any unproven multi-account delivery or account-selection failure after merge.
  3. Pause the stale fork
    Because the fork is conflicting, uneditable, and proof-stalled, maintainers can pause or close this PR and keep the canonical issue open for a fresh fix.

Next step before merge

  • [P1] Manual review is needed because the fork is conflicting and uneditable, real behavior proof is missing, and maintainers must choose whether to wait for a refresh or replace the branch.

Maintainer decision needed

  • Question: Should maintainers wait for this uneditable conflicting fork PR to be refreshed and proven, or replace it with a credited current-main fix for the hook accountId bug?
  • Rationale: The underlying bug remains valid and this PR is a useful candidate, but automation cannot repair the fork in place or provide the missing real delivery proof for the contributor.
  • Likely owner: vincentkoc — Current blame places the relevant hook and SourceDeliveryPlan surfaces closest to this owner trail.
  • Options:
    • Replace on current main (recommended): Open or sponsor a narrow credited replacement that preserves hook accountId, ports the delivery policy to SourceDeliveryPlan, updates docs, and supplies maintainer-owned proof.
    • Wait for contributor refresh: Leave this PR open for the author to rebase, enable maintainer edits or push an update, resolve the findings, and add redacted real behavior proof.
    • Pause stale branch: Close or pause this PR while keeping [Bug]: /hooks/agent silently drops accountId — hook dispatch bypasses cron normalization pipeline #43866 open for a fresh implementation path.

Security
Cleared: No concrete security or supply-chain issue was found; the diff does not add dependencies, workflows, secrets handling, or third-party code execution.

Review findings

  • [P2] Port shared-hook policy to SourceDeliveryPlan — src/cron/isolated-agent/run.ts:123-127
  • [P3] Document the hook account selector — src/gateway/hooks.ts:212-213
Review details

Best possible solution:

Refresh this PR or replace it with a credited current-main fix that preserves hook accountId, ports shared-hook delivery policy into SourceDeliveryPlan, updates /hooks/agent docs, and includes redacted real multi-account hook proof.

Do we have a high-confidence way to reproduce the issue?

Yes, at source level: current main ignores payload.accountId in normalizeAgentPayload() and builds hook cron delivery without accountId. I did not run a live WhatsApp multi-account setup in this read-only review.

Is this the best way to solve the issue?

No as submitted: preserving the account selector is the right fix direction, but the branch must be refreshed for current main's SourceDeliveryPlan path, documented, and proven with a real multi-account hook run.

Full review comments:

  • [P2] Port shared-hook policy to SourceDeliveryPlan — src/cron/isolated-agent/run.ts:123-127
    Current main no longer derives disableMessageTool in this helper; the runner uses sourceDelivery.messageTool from resolveCronSourceDeliveryPlan(). Rebasing this change as-is would either drop the shared-hook policy or recreate a parallel decision path, so port it into the SourceDeliveryPlan seam and tests instead.
    Confidence: 0.86
  • [P3] Document the hook account selector — src/gateway/hooks.ts:212-213
    This adds accountId to the public /hooks/agent payload, but the gateway configuration reference still lists the allowed fields without it. Multi-account users need the supported request shape documented alongside channel and to.
    Confidence: 0.82

Overall correctness: patch is incorrect
Overall confidence: 0.86

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against d3ff48c51f4f.

Label changes

Label justifications:

  • P1: The PR targets a broken hook-to-channel delivery workflow where accepted requests can silently fail in multi-account setups.
  • merge-risk: 🚨 compatibility: The branch changes public hook payload handling and is conflicting against current main's delivery-planning surface.
  • merge-risk: 🚨 auth-provider: The change affects account-scoped channel identity and credential selection for multi-account transports.
  • merge-risk: 🚨 message-delivery: Incorrect account propagation or fallback policy could drop, duplicate, or misroute outbound hook messages.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: Needs real behavior proof before merge: the PR supplies tests/typecheck/lint claims and explicitly says live multi-account WhatsApp delivery was not verified. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +52, Tests +127, Docs +1. Total +180 across 9 files.

View PR surface stats
Area Files Added Removed Net
Source 5 68 16 +52
Tests 3 127 0 +127
Docs 1 1 0 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 9 196 16 +180

What I checked:

Likely related people:

  • vincentkoc: Current blame for the hook payload, hook dispatch, and SourceDeliveryPlan seam points to the recent refactor commit that now owns the affected main-branch surface. (role: recent gateway hook and source-delivery contributor; confidence: high; commits: 039f8fb16d22; files: src/gateway/hooks.ts, src/gateway/server/hooks.ts, src/cron/isolated-agent/source-delivery-fallback.ts)
  • steipete: Path history around dispatchAgentHook and hook request handling shows repeated earlier gateway hook and test refactors near this boundary. (role: recurring gateway hook contributor; confidence: medium; commits: 268e03617246, b13d48987cca, 3284d2eb227e; files: src/gateway/hooks.ts, src/gateway/server/hooks.ts)
  • Zitzak: Merged PR feat(cron): add --account flag for multi-account delivery routing #26284 introduced the canonical cron delivery.accountId support that this hook path needs to preserve. (role: cron account-routing contributor; confidence: high; commits: 5e2ef0e8831d; files: src/cron/types.ts, src/cron/normalize.ts, src/cron/delivery-plan.ts)
  • shakkernerd: Recent cron delivery refactoring split delivery planning from sending, adjacent to the SourceDeliveryPlan path this PR must target after rebase. (role: recent cron delivery planning contributor; confidence: medium; commits: de952c036abc; files: src/cron/isolated-agent/source-delivery-fallback.ts, src/cron/isolated-agent/run-executor.ts, src/cron/delivery-plan.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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 keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-05T04:58:53.686Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port the policy change to SourceDeliveryPlan | [P3] Document the hook account selector | [P3] Remove the release-owned changelog entry
  • reviewed 2026-07-05T07:32:31.233Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port the policy change to SourceDeliveryPlan | [P3] Document the hook account selector | [P3] Remove the release-owned changelog entry
  • reviewed 2026-07-05T12:37:41.882Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port the policy change to SourceDeliveryPlan | [P3] Document the hook account selector | [P3] Remove the release-owned changelog entry
  • reviewed 2026-07-08T14:49:24.169Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port shared-hook policy to SourceDeliveryPlan | [P3] Document the hook account selector
  • reviewed 2026-07-08T16:47:34.038Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port shared-hook policy to SourceDeliveryPlan | [P3] Document the hook account selector
  • reviewed 2026-07-08T19:50:39.844Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port shared-hook policy to SourceDeliveryPlan | [P3] Document the hook account selector
  • reviewed 2026-07-08T21:09:53.003Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port shared-hook policy to SourceDeliveryPlan | [P3] Document the hook account selector
  • reviewed 2026-07-08T21:45:00.074Z sha 8499f96 :: needs real behavior proof before merge. :: [P2] Port shared-hook policy to SourceDeliveryPlan | [P3] Document the hook account selector

@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Apr 28, 2026
@clawsweeper clawsweeper Bot added the P1 High-priority user-facing bug, regression, or broken workflow. label May 16, 2026
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. label May 16, 2026
@clawsweeper clawsweeper Bot added impact:security Security boundary, credential, authz, sandbox, or sensitive-data risk. impact:message-loss Channel message delivery can be lost, duplicated, or misrouted. impact:auth-provider Auth, provider routing, model choice, or SecretRef resolution may break. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels May 17, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jun 16, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jun 21, 2026
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jun 21, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jun 21, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jun 30, 2026
@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Thanks @pauldesmondparker. Closing this stale, uneditable implementation branch while keeping #43866 open as the canonical tracker. The head is dirty against current main, has no real behavior proof or maintainer follow-up, and its account normalization no longer matches the current delivery-plan/runtime contract. A replacement should start from current main and prove the affected hook delivery path end to end.

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

Labels

gateway Gateway runtime merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M 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. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: /hooks/agent silently drops accountId — hook dispatch bypasses cron normalization pipeline

2 participants