DRC min_resolved_spoke cannot reduce the number of spokes listed in board constraints.

Description

This might be related to #20092 (closed).

Board constraints min number of spokes is set to 2. DRC rules are added which further reduces this to 1.

# Direct Connect 
# FIXME: Report min_resolved_spokes is not working. 
(rule "Direct Connect" 
	(constraint thermal_relief_gap (max 0mil))
	(constraint min_resolved_spokes 1)
	(condition "A.hasComponentClass('DirectConnect')"))

DRC errors are still received that the minimum number of spokes is 2. image image

Steps to reproduce

  1. Set min spokes in constraints > 1
  2. Create rule to reduce min spokes to 1.

KiCad Version

Application: KiCad PCB Editor x86_64 on x86_64

Version: 9.0.0, release build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.3
	HarfBuzz 9.0.0
	FontConfig 2.15.0
	libcurl/8.11.1 OpenSSL/3.3.3 zlib/1.3.1 libidn2/2.3.7 libpsl/0.21.5 nghttp2/1.64.0

Platform: Freedesktop SDK 24.08 (Flatpak runtime), 64 bit, Little endian, wxGTK, X11, pop, x11
OpenGL: AMD, AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.57, 6.9.3-76060903-generic), 4.6 (Compatibility Profile) Mesa 24.3.4 (git-769e51468b)

Build Info:
	Date: Feb 21 2025 22:29:54
	wxWidgets: 3.2.6 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.87.0
	OCC: 7.9.0
	Curl: 8.11.1
	ngspice: 44.2
	Compiler: GCC 14.2.0 with C++ ABI 1019
	KICAD_IPC_API=ON

Locale: 
	Lang: en_US
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)