fix(opencode): support GREEN diagnostic loop #258
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review!258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/rgr-green-diagnostic-loop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why:
What:
rgr_record_red, re-approved, and then permits the next single production edit.rgr_record_changed_diagnosticandrgr_approve_changed_diagnostic.Validation:
node --test .opencode/plugins/auto-review-discipline-rgr.test.ts --test-name-pattern 'permits a second production edit after changed RED verification is re-recorded for the same command'just opencode-testThe PR introduces documentation and test updates to clarify the handling of changed diagnostics within the same approved test in the RGR process. These changes aim to streamline the development workflow by avoiding unnecessary new RED cycles. The updates appear safe to merge.
Walkthrough
New commits pushed, approval review dismissed automatically according to repository settings
fix(opencode): document GREEN diagnostic loopto fix(opencode): support GREEN diagnostic loopThis PR introduces support for handling changed diagnostics in the RGR plugin, adding new tools and expanding the RGR state to manage these scenarios. The changes appear well-structured, but the introduction of new stages and error handling requires careful integration with existing components.
Walkthrough
Δ since
d42d6c0:RgrStagetype to include new stages for handling changed diagnostics.@ -293,7 +299,7 @@ export const AutoReviewDisciplinePlugin: Plugin = async ({ worktree } = {}) => (const current = getCycle(context.sessionID);🟡 Warning: The stage transition from 'red' to 'red_started' is a breaking change. Ensure that all dependent components are updated to handle this new stage name.
@ -303,10 +309,58 @@ export const AutoReviewDisciplinePlugin: Plugin = async ({ worktree } = {}) => (async execute(_args, context) {🟡 Warning: The stage transition from 'red' to 'red_observed' is a breaking change. Ensure that all dependent components are updated to handle this new stage name.
@ -1,6 +1,15 @@import { execFileSync } from "node:child_process";🟡 Warning: Lines 1–19: The addition of new RGR stages is a significant change. Ensure that all parts of the system that rely on RGR stages are updated to handle these new stages appropriately.