Fix/kiloclaw morning briefing graceful unavailable#3082
Merged
Conversation
…ontroller too old
…nce for Morning Briefing
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
Reviewed by gpt-5.5-20260423 · 1,447,685 tokens |
pandemicsyn
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When a KiloClaw instance runs an image that predates the Morning Briefing status route, the worker now responds with HTTP 200 and a typed payload that includes
code: controller_route_unavailable, instead of returning HTTP 404. The web UI reads this code on the Settings tab and renders an upgrade affordance inside the Morning Briefing card. The card disables the Enable, Disable, and Generate controls while the user is on an older image and routes the upgrade button into the upgrade modal that already exists for the Memory section. Warmup state is suppressed when the upgrade banner is shown so the two states do not compete.Verification
/claw/settingson a current image: Morning Briefing card renders as before with status, schedule, last delivery, and working controls./claw/settingswith the worker stubbed to returncode: controller_route_unavailable: amber Upgrade Required banner shows inside the card, badge reads Upgrade Required, schedule and last delivery rows are hidden, controls are disabled, clicking Upgrade opens the upgrade modal./organizations/[id]/claw/settings: same two cases as above.Visual Changes
Reviewer Notes
The new payload mirrors the gateway warming up branch in the same worker handler, so the frontend can key on
briefingStatus.codewithout tRPC changes.