Repository navigation
Conversation
The stale-operation reminder only listed decoded function signatures, so a reviewer had to dig up the original scheduled alert to see what the batch did. Run the same explainer the scheduled alert uses and append its summary and full report link. Skipped protocols and explainer failures fall back to the plain alert. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropping call lines could not make room for a summary longer than the entry budget: the omitted-call notice is always added, so the entry overflowed and chunk_entries raised, aborting alerts for that operation and every protocol after it. Leave the summary out when it cannot fit with all calls dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Summary
protocols/timelock/stale_operations.py) now runs the explainer used by the scheduled alert and adds the AI summary and Full details report link._get_ai_explanationintimelock_alerts.pyis now public asget_ai_explanationso both scripts use it.Operationnow keeps each call'svaluefrom Envio, so native-value calls reach the explainer.SKIP_AI_SUMMARY_PROTOCOLS. If the explainer fails, the plain alert is still sent. The AI line is never truncated: call lines shrink to make room.monitoring.yamlare updated.Why
The Infinifi Shorttimelock reminder for operation
0xc3659adf3201d70801023c33c940a67642a16aae72265ca19bd2954345dbe20cshowed only function signatures, so a reviewer had to find the original scheduled alert to see what the batch does.Test plan
uv run pytest -q tests/test_timelock_stale_operations.py tests/test_timelock_alerts.py(48 passed)ruff format/ruff checkexplain_operationagainst the live operation above. Report: https://gist.wavey.info/AG8KAdthLibkEb3VwestMRc1🤖 Generated with Claude Code