Conversation
…th lesson validation
… detailed hint summaries
…MCP hints and update related models and tests
…ore loading Enhance ValidatorAgent to skip runtime smoke tests on non-main threads and improve signal handling Update Home.test.tsx to ensure proper async handling of button click and output verification
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.
This pull request introduces a new advisory rule engine for Python code blocks, adds a runtime smoke test feature for Python code validation, and improves telemetry details and Makefile test targets. Environment configuration files are now better organized and documented, and telemetry can optionally include detailed rule/runtime hint payloads. These changes enhance code validation, developer experience, and operational clarity.
Advisory Python code validation and runtime smoke test:
app/agents/validator_rules.pyto detect common Python code issues, such as unused expressions, suspicious attributes, and missing terminal operations. These rules provide non-blocking, informative hints for Python blocks.ValidatorAgent(app/agents/validator.py), which safely executes code with restricted builtins and a timeout, capturing exceptions as advisory hints. This feature is controlled by new environment variables. [1] [2] [3] [4]Telemetry and configuration improvements:
TELEMETRY_INCLUDE_HINT_DETAILS), and separates rule/runtime hints from MCP hints. Environment variables for these features are documented and loaded inapp/core/config.py,.env-example, andREADME.md. [1] [2] [3] [4]Makefile and test workflow enhancements:
test-hintstarget to theMakefileto run rule engine and MCP hint tests, and async-devtarget for developer dependency management. Test commands now consistently load environment variables for reproducible runs. [1] [2] [3] [4]Changelog and documentation updates:
CHANGELOG.mdto reflect new advisory rule engine, runtime smoke test, telemetry improvements, and Makefile changes.Integration with MCP hint workflow:
app/mcp/python_code_hints.py. [1] [2]