Skip to content

fix(status): resolve effective channel model override - #117443

Closed
clawsweeper[bot] wants to merge 1 commit into
mainfrom
clawsweeper/issue-openclaw-openclaw-89532
Closed

clawsweeper[bot] wants to merge 1 commit into
mainfrom
clawsweeper/issue-openclaw-openclaw-89532

Conversation

@clawsweeper

@clawsweeper clawsweeper Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • resolve channels.modelByChannel from the session delivery context before /status derives selected/effective model facts
  • retain explicit session selections and heartbeat/fallback precedence from the normal reply path
  • derive Model, auth/runtime labels, and context-window lookup from the same selected model

Fixes #89532

Validation

  • node scripts/run-vitest.mjs src/auto-reply/status.test.ts
  • node scripts/run-vitest.mjs src/channels/model-overrides.test.ts
  • node scripts/run-vitest.mjs src/auto-reply/reply/model-selection.test.ts
  • pnpm check:changed

Release-note context

Corrects /status to report existing channel-level model routing accurately. No CHANGELOG.md edit is needed.

Apply labels: clawsweeper:autogenerated, clawsweeper:autofix.

@clawsweeper clawsweeper Bot added clawsweeper Tracked by ClawSweeper automation clawsweeper:autogenerated PR created automatically by ClawSweeper clawsweeper:autofix Maintainer opted this PR into bounded ClawSweeper-reviewed autofix without merge labels Aug 1, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. P2 Normal backlog priority with limited blast radius. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.

The merged producer-owned repair now covers this PR’s central Telegram /status behavior on current main; this renderer-layer branch is superseded and would reintroduce locked-selection and stale-session routing errors.

Canonical path: Keep the merged producer-owned repair; scope any remaining Discord status work to its separate command producer rather than restoring renderer-level routing.

So I’m closing this here because the remaining work is already tracked in the canonical issue.

Review details

Best possible solution:

Keep the merged producer-owned repair; scope any remaining Discord status work to its separate command producer rather than restoring renderer-level routing.

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

No: the reported status mismatch is already repaired on current main; source and regression coverage show the producer now resolves the effective model before formatting.

Is this the best way to solve the issue?

No: the merged producer-owned repair is the better solution because it prepares one authoritative selection from the live command context rather than re-routing in shared presentation code.

Security review:

Security review cleared: The branch changes only TypeScript status logic and tests, with no dependency, workflow, credential, or supply-chain change.

AGENTS.md: found and applied where relevant.

What I checked:

Likely related people:

  • steipete: Authored the merged producer-owned replacement that now supplies the behavior on current main. (role: author of the merged canonical repair; confidence: high; commits: b21056a0dcb8; files: src/auto-reply/reply/get-reply-native-slash-fast-path.ts, src/auto-reply/reply/get-reply-native-slash-fast-path.status.test.ts)

Codex review notes: model internal, reasoning high; reviewed against 913b53ad8087; fix evidence: commit b21056a0dcb8, main fix timestamp 2026-08-03T08:45:52Z.

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor Author

🦞🧹
ClawSweeper autofix is enabled.

  • Head: 59382f10545f
  • Label: clawsweeper:autofix
  • Action: exact-head review queued (workflow sweep.yml, event repository_dispatch).
  • Flow: review this head, repair/rebase only if needed, then re-review the exact repaired head until no actionable findings remain.

This is fix-only; I will not merge this PR.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. clawsweeper:human-review Needs maintainer review before ClawSweeper can continue and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor Author

🦞✅
ClawSweeper is pausing this repair loop for human review.

Source: clawsweeper[bot]
Reason: - [ ] Resolve merge risk (P1) - Merging this branch would re-resolve channel routing from persisted delivery state in shared status formatting, which can reintroduce stale-identity status output that the current pro... (sha=59382f10545ffc2955fc88e828be1c649d33f581)

Why human review is needed:
ClawSweeper found a blocker that should be resolved or accepted by a maintainer before the repair or automerge loop continues.

What the maintainer can do as a next step:
If the maintainer accepts the current risk and wants ClawSweeper to continue merge gates, comment @clawsweeper approve. If more work is needed, resolve the blocker first, then comment @clawsweeper automerge to re-review and continue. If automation should stay paused, leave clawsweeper:human-review in place or comment @clawsweeper stop.

I added clawsweeper:human-review and left the final call with a maintainer.

@clawsweeper clawsweeper Bot removed the status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. label Aug 1, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 2, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. and removed merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

ClawSweeper applied the proposed close for this PR.

@clawsweeper clawsweeper Bot closed this Aug 6, 2026
@clawsweeper

clawsweeper Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

🦞👀
ClawSweeper could not autoclose this item.

Reason: structured ClawSweeper close marker: close-required (sha=59382f10545ffc2955fc88e828be1c649d33f581)

Usage: /autoclose <maintainer close reason>. I will close this item and any open same-repo items explicitly referenced in the command text.

@RomneyDa
RomneyDa deleted the clawsweeper/issue-openclaw-openclaw-89532 branch October 22, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:autofix Maintainer opted this PR into bounded ClawSweeper-reviewed autofix without merge clawsweeper:autogenerated PR created automatically by ClawSweeper clawsweeper:human-review Needs maintainer review before ClawSweeper can continue clawsweeper Tracked by ClawSweeper automation mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: /status does not show effective model from channels.modelByChannel

0 participants