On the PLC path, the LLM control mapping (Qwen3.8-27B, up to 40 findings, 4 at a time) ran inside "SPS-Analyse". The G3 pumpstation demo therefore sat on that phase for minutes and looked stuck.
What
run_plc_scan finishes parsing, rules and the SBOM for every source first. The new map_plc_findings then switches to SemanticControlMapping ("Controls zuordnen") and runs the semantic pass.
planned_phases lists that phase for PLC targets, so the stepper shows it ahead of time.
The pass follows breakpilot.semantic_mapping, like the code path. Before this change it ran whenever a controls snapshot existed. Staging has the flag on.
## Why
On the PLC path, the LLM control mapping (Qwen3.8-27B, up to 40 findings, 4 at a time) ran inside "SPS-Analyse". The G3 pumpstation demo therefore sat on that phase for minutes and looked stuck.
## What
- `run_plc_scan` finishes parsing, rules and the SBOM for every source first. The new `map_plc_findings` then switches to `SemanticControlMapping` ("Controls zuordnen") and runs the semantic pass.
- `planned_phases` lists that phase for PLC targets, so the stepper shows it ahead of time.
- The pass follows `breakpilot.semantic_mapping`, like the code path. Before this change it ran whenever a controls snapshot existed. Staging has the flag on.
## Tests
- planned phases for PLC with the flag off and on
- clippy (CI flags) and fmt
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
The LLM control mapping on the PLC path ran inside "SPS-Analyse", so a
scan sat on that phase for minutes while Qwen mapped the findings. The
parser and rules now finish first, then the run moves to "Controls
zuordnen" for the semantic pass, as on the code path. The pass follows
the breakpilot.semantic_mapping flag here too.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang
merged commit f7c2c03415 into main2026-09-28 21:53:04 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
On the PLC path, the LLM control mapping (Qwen3.8-27B, up to 40 findings, 4 at a time) ran inside "SPS-Analyse". The G3 pumpstation demo therefore sat on that phase for minutes and looked stuck.
What
run_plc_scanfinishes parsing, rules and the SBOM for every source first. The newmap_plc_findingsthen switches toSemanticControlMapping("Controls zuordnen") and runs the semantic pass.planned_phaseslists that phase for PLC targets, so the stepper shows it ahead of time.breakpilot.semantic_mapping, like the code path. Before this change it ran whenever a controls snapshot existed. Staging has the flag on.Tests
🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p