Module: RailVerdict::Repair::Constraints
- Defined in:
- lib/rail_verdict/repair/constraints.rb
Constant Summary collapse
- DEFAULT =
{ "forbid_baseline_update" => true, "forbid_waiver_creation" => true, "forbid_policy_relaxation" => true, "require_verification" => true }.freeze
- INSTRUCTIONS =
[ "Do not modify baseline files (.railverdict-baseline.json).", "Do not create waiver files (.railverdict-waivers.json).", "Do not weaken verification policy (mode strict/no_new_debt/advisory).", "Do not disable analyzers or make required analyzers optional.", "Preserve unrelated behavior; fix root cause, do not suppress the rule.", "Run required verification after modification." ].freeze
Class Method Summary collapse
Class Method Details
.default ⇒ Object
22 23 24 |
# File 'lib/rail_verdict/repair/constraints.rb', line 22 def self.default DEFAULT.dup end |
.instructions ⇒ Object
26 27 28 |
# File 'lib/rail_verdict/repair/constraints.rb', line 26 def self.instructions INSTRUCTIONS.dup end |