Skip to content

[codex] Reject iQ-F DX/DY device strings#7

Merged
fa-yoshinobu merged 1 commit into
mainfrom
codex/iqf-dx-dy-device-guard
May 2, 2026
Merged

[codex] Reject iQ-F DX/DY device strings#7
fa-yoshinobu merged 1 commit into
mainfrom
codex/iqf-dx-dy-device-guard

Conversation

@fa-yoshinobu
Copy link
Copy Markdown
Owner

Summary

  • Reject DX and DY in family-aware parsing when plc_family="iq-f" is selected.
  • Apply the same guard to existing DeviceRef values when a family hint is supplied.
  • Update supported-register docs and tests.

Why

DX and DY are not valid iQ-F device codes. The high-level path should fail before sending the request, while non-iQ-F families keep the existing behavior.

Validation

  • python -m pytest -q
  • python -m ruff check slmp/core.py tests/test_slmp.py

@fa-yoshinobu fa-yoshinobu marked this pull request as ready for review May 2, 2026 13:04
@fa-yoshinobu fa-yoshinobu merged commit 23305d8 into main May 2, 2026
10 checks passed
@fa-yoshinobu fa-yoshinobu deleted the codex/iqf-dx-dy-device-guard branch May 2, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant