moai-workflow-loop - Ralph Engine Automated Code Quality Feedback Loop
Automated feedback loop system integrating LSP diagnostics, AST-grep scanning, and test validation for continuous code quality improvement.
Tags
Updated: 2026-09-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Provide real-time LSP diagnostics
- Execute AST-grep structural security checks
- Control iterative feedback loop execution
- Integrate PostToolUse and Stop hooks
- Execute single-shot code auto-fixing
Inputs
- ralph.yaml configuration file
- .moai_loop_state.json loop state file
- Source file path and content
- Project root directory path
- .lsp.json configuration file
Outputs
- PostToolUse hook diagnostic output
- Stop hook loop status output
- Updated .moai_loop_state.json state file
Requirements
- Claude Code hook integration support
- Language servers installed for target languages
- Writable .moai/cache/ state directory
- Python environment for hook execution
