refactor(fix-sentry): migrate Sentry API logic from daemon to skill#1770
Merged
kaizhou-lab merged 2 commits intomainfrom Mar 27, 2026
Merged
refactor(fix-sentry): migrate Sentry API logic from daemon to skill#1770kaizhou-lab merged 2 commits intomainfrom
kaizhou-lab merged 2 commits intomainfrom
Conversation
- Simplify daemon to pure scheduler: remove all curl/jq/Sentry API code (~140 lines deleted), keep only worktree management and process lifecycle - Add continuous mode: Claude finishes → cooldown 60s → next process (replaces fixed 30min polling interval) - Add exponential backoff when no fixable issues found (30min → 2h cap) - Stream Claude output via --output-format stream-json for realtime logs - Session logs written to tmp/ subdirectory, auto-cleaned after 7 days - Add adaptive threshold descent in skill (100→80→60→40→20→10) - Add deep analysis mode for issues without stack traces - Add limit parameter for daemon mode (limit=1 = fix one issue per process) - Add [NO_FIXABLE_ISSUES] machine-readable marker for daemon backoff - Split SKILL.md into references/ for progressive disclosure (417 → <500 lines): triage-rules.md, cdp-verification.md, report-template.md
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
limitparameter for single-issue daemon modereferences/for progressive disclosure (571→417 lines)Test plan
/fix-sentry limit=1 project=electronmanually to verify adaptive threshold descent[NO_FIXABLE_ISSUES]marker triggers exponential backoff~/.aionui-fix-sentry/tmp/and are readable during execution