OLS-3018 Add kill switch spec for AgenticOLSConfig CR#15
Conversation
Adds .ai/spec/what/system-config.md specifying the new AgenticOLSConfig cluster-scoped singleton with spec.suspended kill switch, EmergencyStopped terminal phase, console banner, and CLI suspend/resume commands. Updates existing specs (crd-api, proposal-lifecycle, sandbox-execution, reconciler) to integrate the new condition type and phase. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Add Deployment Model and Image Publishing sections documenting that the agentic controller is deployed via the lightspeed-operator OLM bundle, requires a Konflux pipeline for image publishing, and deploys its own console plugin. Update affected repositories list and renumber rules for continuous numbering. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThis documentation-only PR introduces a cluster-scoped ChangesKill Switch System Configuration and Implementation Spec
🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Updated with deployment model and image publishing sections:
Companion PR: openshift/lightspeed-operator#1667 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.ai/spec/what/system-config.md (1)
78-78: ⚡ Quick winClarify "Approach A" terminology.
The constraint references "Approach A (reconciler re-queue)" and "Approach B" in line 82, but the document never explicitly labels the reconciler-based termination as "Approach A" in the behavioral rules. Consider adding a brief parenthetical in rule 17 or adding an explicit label when first describing the reconciler watch pattern to improve cross-reference clarity.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.ai/spec/what/system-config.md at line 78, The doc uses "Approach A (reconciler re-queue)" and "Approach B" but never explicitly labels the reconciler-based termination as "Approach A" in the behavioral rules; update the text to add a short parenthetical label when the reconciler watch pattern is first described (e.g., in rule 17 or where the reconciler watch behavior for AgenticOLSConfig is introduced) so cross-references to "Approach A" and "Approach B" are unambiguous.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In @.ai/spec/what/system-config.md:
- Line 78: The doc uses "Approach A (reconciler re-queue)" and "Approach B" but
never explicitly labels the reconciler-based termination as "Approach A" in the
behavioral rules; update the text to add a short parenthetical label when the
reconciler watch pattern is first described (e.g., in rule 17 or where the
reconciler watch behavior for AgenticOLSConfig is introduced) so
cross-references to "Approach A" and "Approach B" are unambiguous.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 9e12938b-6378-4796-afd9-e9751c2ca1a6
📒 Files selected for processing (7)
.ai/spec/README.md.ai/spec/how/reconciler.md.ai/spec/what/README.md.ai/spec/what/crd-api.md.ai/spec/what/proposal-lifecycle.md.ai/spec/what/sandbox-execution.md.ai/spec/what/system-config.md
Summary
.ai/spec/what/system-config.mdspecifying the newAgenticOLSConfigcluster-scoped singleton withspec.suspendedkill switchEmergencyStoppedterminal phase for proposals terminated by the kill switchoc agentic suspend/resumecommandsDetails
This is a spec-only change — no code changes. The spec defines behavioral rules for:
AgenticOLSConfigCRD (cluster-scoped singleton,spec.suspendedbool)EmergencyStoppedcondition)AgenticOLSConfigwatchTest plan
EmergencyStoppedis correctly added to DerivePhase precedence in proposal-lifecycle.md🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
New Features
Documentation