Repository navigation
docs(openspec): plan #2184 Use ipaddress for single-address egress checks - #3156
Conversation
|
Review of the plan for #2184. CI is green. The premise holds: the constants are in
Related issues: #2184 (this plan's issue, open), #2152 (closed, same module), #1314 (open; one DNS seam for the private resolver, same code area). Verdict: hold until finding 1 is fixed. Generated by Claude Code |
|
Correction to my earlier review: finding 6 (remove the "Workflow follow-up" section) is wrong. Generated by Claude Code |
The plan deleted the NAT64 rule, which ipaddress lacks, and listed helpers that is_cloud_metadata_ip and the range test still read. It cited a test path outside the mirror folder, a spec delta for a refactor that keeps behavior, and a dependency on #2152 that is met. The plan now asks ipaddress about each single address, keeps the NAT64, IPv4-compatible, ISATAP and 192.0.0.0/24 rules with RFC comments, keeps the block list for the range test, pins the answers with a table test first, and drops the spec delta. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
…ess-checks-take-their-non
|
Plan fixed at 56d727a. Findings of the review, checked against main (d312a98), not taken on trust:
New findings that change the plan:
For a person to decide: Gap in tooling: Generated by Claude Code |
Plans #2184
Plan for #2184. The egress checks in
src/devops_cli/core/validation.pyuse a block list that copies the private modulepydantic_ai._ssrf. This plan makesis_private_ipask Python'sipaddressabout each address (is_global,is_multicast). It keeps the rules thatipaddresslacks: NAT64 with all offsets, IPv4-compatible, ISATAP and the block192.0.0.0/24, each with an RFC comment. A table test over the IANA registries pins the answers first. The block list stays for the overlap test of a range, becauseipaddresshas no public list. The table test holds it tois_global. No behavior changes, so there is no spec delta.Change:
openspec/changes/2184-the-egress-checks-take-their-non/🤖 Generated with Claude Code
https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW