ktg-plugin-marketplace/plugins/config-audit/tests
Kjell Tore Guttormsen 0d8a9af3d6 fix(config-audit): remove TOK dead take + hotspot padding (v5 F4)
The buildHotspots padding loop and unused 'take' variable were dead
code from the v3 hotspots-min contract. Replaced with a clean
ranked.slice(0, HOTSPOTS_MAX). Tiny fixtures may now return fewer
than 3 hotspots, which is the honest answer; the contract now only
asserts <= 10.

Tests: +2 cases — every hotspot.source is unique (no padding); length
never exceeds HOTSPOTS_MAX.
2026-05-01 06:29:33 +02:00
..
fixtures feat(config-audit): TOK consumes readActiveConfig (v5 F1) 2026-05-01 06:27:34 +02:00
hooks feat: initial open marketplace with llm-security, config-audit, ultraplan-local 2026-04-06 18:47:49 +02:00
lib fix(config-audit): MCP token callers use 'mcp' kind (v5 F2) 2026-05-01 06:22:54 +02:00
scanners fix(config-audit): remove TOK dead take + hotspot padding (v5 F4) 2026-05-01 06:29:33 +02:00