fix: auto-exempt tasks from reflection-origin on fresh installs#547
Merged
itskai-dev merged 1 commit intomainfrom Feb 28, 2026
Merged
fix: auto-exempt tasks from reflection-origin on fresh installs#547itskai-dev merged 1 commit intomainfrom
itskai-dev merged 1 commit intomainfrom
Conversation
When no reflections exist in the system (fresh install / new user), skip the reflection-origin requirement and reflection_exempt_reason check on task creation. This removes the biggest onboarding friction point where new users hit DEFINITION_OF_READY errors with zero context about the reflection system. Once reflections exist, the invariant re-engages normally. Found during launch smoke test (task-69ud79b5d).
60a155a to
4d32af6
Compare
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.
Problem
New users creating their first task hit
DEFINITION_OF_READYerror requiringmetadata.reflection_exempt=true+reflection_exempt_reason. They have zero context about the reflection system and no way to discover what's needed without iterating through error messages.This was the #1 onboarding blocker found during the launch smoke test.
Fix
When
countReflections() === 0(fresh install), auto-exempt tasks from:source_reflection/source_insight)reflection_exempt_reasonrequirementOnce reflections exist in the system, the invariant re-engages normally. This means:
Testing
Related