# NETWORK TOOLS PING CONTRACT (K2361–K2365) - **Move Range:** `K2361–K2365` - **Phase:** `Phase 18 — Daily Use Applications` - **Module:** `network_tools.ping` - **Title:** `Sınırlı ICMP test aracı` - **Invariant:** `Hedef ve paket sayısı açık bütçelidir` - **Positive Case:** `İzole peer üç ping` (`k2365-threepeerping`) - **Counterexample:** `Sınırsız flood isteği` (`k2365-floodping`) - **Acceptance Criterion:** `Ret veya bounded tanı` - **Crate:** `os-network-tools` (`src/ping.rs`) - **Inspection Symbol:** `os_network_tools_ping` ## 1. Scope and Invariants 1. **Explicit Target and Packet Budget (`K2361–K2362`):** - The native ICMP ping tool must enforce an explicit target and packet budget (`target_or_packet_budget_missing == false`, `bounded_diagnostics_enforced == true`). - Any attempt to run without an explicit target or packet budget is deterministically rejected (`NetworkToolsPingError::TargetOrPacketBudgetMissing`, `NetworkToolsPingError::BoundedDiagnosticsNotEnforced`). 2. **Refusal of Unbounded Flood Requests (`K2363`):** - Unbounded ICMP flood requests (`unbounded_flood_requested == true`, `k2365-floodping`) are refused before any probe is committed (`NetworkToolsPingError::UnboundedFloodRequested`), leaving `unbounded_flood_packets == 0` and `committed_receipt()` as `None`. 3. **Isolated Peer Three-Ping Bounded Probe (`K2364–K2365`):** - The positive path (`k2365-threepeerping`) commits a bounded ICMP probe against 1 isolated peer (`isolated_peers == 1`) with 3 budgeted ping packets (`budgeted_ping_packets == 3`), 3 bounded replies (`bounded_replies == 3`), and 0 unbounded flood packets (`unbounded_flood_packets == 0`), bound by a monotonic `ping_epoch` and FNV-1a digest (`compute_network_tools_ping_binding_digest`).