Repository navigation
Suppress sprint nudges when no tasks are pending - #1019
Merged
msitarzewski merged 1 commit intoOct 4, 2026
Merged
Conversation
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
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.
Agent information
Existing agent: Behavioral Nudge Engine
File:
product/product-behavioral-nudge-engine.mdMotivation
With no pending tasks, the standard profile dereferences pendingTasks[0].title and throws; an overwhelmed profile still asks the user to begin nonexistent follow-up work.
Change
Return null before either profile branch and explicitly tell callers to skip delivery for null.
Testing
5 native Node tests pass; unchanged source fails both empty-task cases. Existing standard, overwhelmed and self-disclosed ADHD profile messages remain intact for actual tasks.
Changed-agent lint passes and full 282-agent conversion across 15 tools passes all 32 checks on this signed head. Expected content checksum drift is advisory; no generated output or manifest update is included.
Scope and limitations
This only corrects the empty-work contract. Existing third-party #759 addresses sensitive-attribute consent and engagement framing; its proposed branch and wording are preserved by this independent early return.
One existing agent file changes; personality, structure and unrelated examples remain intact. Candidate listed in issue #917 before publication. Investigation and patch preparation were AI-assisted; native reproductions were executed and the exact source was independently reviewed.