Repository navigation
Add ONEX Opus Nightly and Baseline Review System with Full Pipeline - #17
Closed
jonahgabriel wants to merge 1 commit into
Closed
jonahgabriel wants to merge 1 commit into
jonahgabriel wants to merge 1 commit into
Conversation
…e drift detection - Introduce baseline and nightly review modes for deterministic, diff-driven code reviews - Add scripts for baseline and nightly diff production, agent runner, findings processing, and review orchestration - Include comprehensive policy.yaml for import restrictions, severity levels, and limits - Provide detailed README with usage, configuration, output formats, and integration guidance - Enable automated findings analysis, fix script generation, and GitHub issue templates - Support CI/CD integration and operational workflows This initial implementation establishes a robust framework to prevent code drift while migrating away from archived code, enhancing code quality and compliance. Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
Contributor
🔍 ONEX Infrastructure Code Review - PR #17Executive SummaryThis PR introduces the ONEX Opus Nightly and Baseline Review System with solid architectural design but requires critical fixes for ONEX compliance violations and security vulnerabilities before merging. Risk Score: 65/100 🚨 CRITICAL Issues (Must Fix)1. ONEX Compliance Violations❌ Missing Strong Typing (ZERO TOLERANCE per CLAUDE.md)
❌ Missing OnexError Exception Handling
2. Security Vulnerabilities🔴 Shell Injection Risk
🔴 Path Traversal Risk
|
jonahgabriel
deleted the
terragon/onex-opus-nightly-baseline-reviewer-l6r96b
branch
November 5, 2025 19:57
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
Changes
Documentation
ONEX_REVIEW_README.mddetailing system overview, usage, components, configuration, output formats, troubleshooting, and future enhancementsConfiguration
config/policy.yamldefining repository-specific import rules, severity levels, and processing limitsScripts
onex_baseline_producer.sh: Generates sharded baseline diffs excluding archived codeonex_nightly_producer.sh: Generates incremental diffs for nightly reviews with change filtering and size truncationonex_agent_runner.py: Python agent runner invoking Opus review agents, parsing NDJSON findings and Markdown summariesonex_findings_processor.py: Processes findings to generate reports, fix scripts, and GitHub issue templatesonex_review_orchestrator.sh: Main orchestrator script to run baseline, nightly, or process modes with dependency checks and stepwise executionrun_enhanced_tests.sh: Made executable (no content changes)Features
Test plan
This PR establishes the foundation for automated, policy-driven code review to prevent code drift and maintain code quality during migration away from archived code.
🌿 Generated by Terry
ℹ️ Tag @terragon-labs to ask questions and address PR feedback
📎 Task: https://www.terragonlabs.com/task/d825542b-3763-4bd9-9ab5-0a3fcacf818c