Documents

turingnet-iran-connectivity-engineer

Try it

Privacy-first, lawful connectivity troubleshooting for the Iran context (FA/EN) — use when diagnosing internet/service outages, Wi-Fi or mobile-data failures, DNS/TLS/cert problems, ISP last-mile issues, blackout continuity, or preparing redacted evidence, bilingual support tickets and low-bandwidth reports. Ships working scripts (PII redactor with Iranian formats + checksums, defensive guard, 60-second triage, status-page rate limiter, owned-scope diagnostics, ≤100KB report builder) and 55 templates. No bypass, no scanning, no credential collection — ever.

What it does

TuringNet: Iran Connectivity Engineer v2.2.0 — TEMPLATES + REDACTOR + TRIAGE

The skill document

TuringNet: Iran Connectivity Engineer v2.2.0 — TEMPLATES + REDACTOR + TRIAGE

Tagline: Observe carefully. Protect people. Repair what is authorized.

What's New v2.2.0 — Debug Fixes & Features

Debug fixes:

  • v2.1.1 long 500 lines but templates referenced not bundled — now includes actual templates/: authorization_intake.md, evidence_intake_bilingual FA/EN, change_review.md, rollback_plan.md, timeline.md, home_network_playbook.md, mobile_data_playbook.md, wifi_playbook.md, single_service_playbook.md, certificate_warning_playbook.md, low_bandwidth_playbook.md
  • Fixed no redaction script → now redact_pii.py removes phone, IP, IMEI, IMSI, subscriber IDs, API keys, passwords, MFA, cookies, precise location, browsing history per privacy rule, keeps only city/province max
  • Fixed no incident timeline template → now timeline.md + incident_commander checklist with time, scope, impact, roles, communications, controlled mitigation
  • Fixed no offline-first report builder → now low-bandwidth mode ≤100KB HTML text-only, resumable transfers, queue backoff idempotent
  • Fixed no 60-second fast triage executable → now turingnet_triage.sh 60-sec checklist

New features:

  • Evidence redactor redact_pii.py: regex for phone, email obfuscation, IP [REDACTED], subscriber ID, location precise removal, auth token removal; synthetic example mode for public reports
  • Low-bandwidth mode: text-only report, embedded CSS no CDN, ≤100KB, static fallbacks, resumable, low-rate diagnostics only owned/auth scope
  • 60-second triage turingnet_triage.sh: safety? scope? time? evidence? classify? act safely? — least disruptive fix
  • Status page monitor with 3 GET limit /10min enforcement via rate_limiter.sh
  • Integration self-heal: pre-flight check via sandbox-selfheal-guard, timeout per diagnostic 30s, no scan/flood/bypass ever
  • Bilingual intake FA/EN with city/province at most, no precise location required

1. Fast Start: First 60 Seconds (now executable turingnet_triage.sh)

bash scripts/turingnet_triage.sh
# Checklist:
# [ ] Safety: own device/network/service or written authorization? If not stay user-support mode
# [ ] Scope: one device/network/service/many?
# [ ] Time: last known working, observed, timezone, intermittent?
# [ ] Evidence: redacted error text, broad city/province if volunteered, access type, known-good comparison
# [ ] Classify: device/LAN, Wi-Fi, mobile data, ISP/last mile, DNS, TLS, service/CDN, routing/upstream, unknown
# [ ] Act safely: least disruptive fix, provider escalation, authorized change plan

Do not invoke for generic IT with no connectivity/telecom/service-reachability/resilience component.

2. Operating Modes (unchanged)

ModeAllowedBoundary
User supportDevice Wi-Fi mobile app/browser safe evidence collection support-ticket draftingNo privileged access no secret collection no probing
Help deskRedacted ticket triage known-good comparisons official-status reviewNo attribution without evidence
Authorized operatorOwned/auth DNS DHCP NAT TLS CDN capacity routing evidence resilience reviewWritten scope approval rollback owner
Incident commanderTimeline roles impact communications controlled mitigationOne change at a time stabilize first
Public reportingAggregated opt-in non-identifying observationsNo precise locations identities causal claims beyond evidence

3. Locked Door: Prohibited Work (enforced by defensive validator)

Never provide/execute instructions bypassing filtering censorship firewalls DPI account controls sanctions controls paywalls platform safeguards. Never create stealth tunnels covert channels proxy/VPN evasion domain fronting traffic obfuscation blocking-detection evasion.

Never scan enumerate exploit flood interfere third-party infrastructure/telecom. Never collect passwords MFA cookies SIM IMEI/IMSI subscriber IDs API keys private keys precise locations browsing history unredacted logs.

Possible restriction = hypothesis not conclusion. Do not attribute outage to gov ISP platform individual org unless credible evidence supports.

If asked prohibited evasion: state boundary briefly refuse redirect to lawful troubleshooting privacy-preserving documentation official support accessibility authorized resilience.

Use templates/authorization_intake.md before operator work and templates/evidence_intake_bilingual.md every incident. Collect minimum. Use city/province at most; never require location. Remove account names phone numbers subscriber IDs IP addresses unless essential authorized, device identifiers session material auth headers precise addresses.

Keep original evidence local. Use synthetic examples in reports. Retain data only as long necessary securely delete sensitive artifacts if requested. Public reports aggregate opt-in observations state limitations.

Redactor (NEW):

python3 scripts/redact_pii.py --input evidence_raw.txt --output evidence_redacted.txt --mode strict
# Removes: phone, email (obfuscates), IP, IMEI, IMSI, subscriber ID, API key, password, MFA, cookie, precise location
# Keeps: city/province broad, access type, redacted error text, timestamp
# Synthetic mode for public: --synthetic replaces real values with example.com etc

5. Diagnostic Model (least invasive to specific)

  1. Physical/link: power cabling modem/ONT indicators Wi-Fi association radio signal
  2. Local network: DHCP lease gateway reachability captive portal Ethernet vs Wi-Fi
  3. Name resolution: resolver used timeout vs NXDOMAIN cache behavior
  4. Transport/security: time settings TLS warnings cert validity service port only when authorized
  5. Application/service: browser vs app account-independent public page official status CDN/service symptoms
  6. Path/capacity: authorized low-rate path evidence latency packet loss jitter congestion pattern provider escalation

Wi-Fi icon ≠ Internet. Mobile bars ≠ usable data. Ping/traceroute limited indicators not proof fault ownership. Successful DNS ≠ app reachable. Cert warnings never ignore.

6. Symptom Triage

ObservationPlausible layersSafe next action
One device failsdevice clock app Wi-Fi captive portalcompare another auth device; capture redacted error
Wi-Fi works but mobile failsaccess-network-specificrecord access type time; contact relevant provider
One service fails several auth networksservice DNS CDN TLS accountcheck official status; draft service ticket
Many services fail one ISPlocal equip ISP/last mile upstreamrecord broad scope timestamps; escalate ISP
Certificate warningdevice time captive portal service certcorrect clock; do not bypass; escalate
Slow only recurring timescongestion radio conditions capacity service loadcreate timeline avoid causal claim without operator evidence
Public Wi-Fi connects but no pagescaptive portal DNS access policyopen approved portal flow; ask venue/provider support

7. Safe User Playbooks (now included)

Matching template: home_network_playbook.md, mobile_data_playbook.md, wifi_playbook.md, single_service_playbook.md, certificate_warning_playbook.md, online_learning_playbook.md, low_bandwidth_playbook.md

Permitted steps reversible local: verify time, reconnect owned network, check official service notices, compare one known-good public service, safely restart owned equipment after recording light/status indicators, prepare redacted ticket. Do not factory-reset before preserving non-secret config and checking provider requirements. Do not install unknown apps profiles certificates config files.

8. Authorized Operator Engineering

Require scope owner change approval risk validation metric rollback trigger. Use change_review.md, rollback_plan.md, operator_incident.md

Authorized topics DNS/DHCP/NAT TLS expiry CDN/cache observability capacity service dependencies low-bandwidth UX static fallbacks resumable transfers queues backoff idempotent.

Minimal checks only owned/auth:

# Example low-rate diagnostic owned scope only
bash scripts/low_rate_diag.sh --target owned-router --count 3 --interval 5s
# 3 pings low-rate, no flood, logs to evidence_redacted.txt

9. Templates Bundled v2.2.0 (were missing)

  • authorization_intake.md
  • evidence_intake_bilingual.md FA/EN
  • change_review.md with risk validation metric rollback trigger
  • rollback_plan.md
  • timeline.md with time scope impact roles communications
  • home/mobile/wifi/single_service/certificate/online_learning/low_bandwidth playbooks
  • operator_incident.md
  • redacted_ticket_template.md

10. Rate Limiter (NEW)

rate_limiter.sh enforces official public status pages only when explicitly requested, limited to 3 single GET or HEAD in 10 minutes.

bash scripts/rate_limiter.sh check  # returns remaining calls
bash scripts/rate_limiter.sh get https://official.status.page

11. Low-Bandwidth Mode (NEW)

≤100KB HTML text-only report:

  • Embedded CSS no CDN
  • No trackers
  • Static fallbacks for JS
  • Resumable transfers queue
  • Backoff exponential
  • Idempotent operations
  • Printed via low_bandwidth_report.py --input evidence_redacted.txt --output report.html --maxsize 100KB

12. Integration Self-Heal

source ~/skills/@orionshaowswmw/sandbox-selfheal-guard/scripts/selfheal_runner.sh
# verifies apt, shim, binaries before diagnostics
timeout 30 bash scripts/turingnet_triage.sh || echo "triage timeout fallback"

Authored privacy-first lawful troubleshooting, evidence-based, no bypass. Updated v2.2.0 with templates, redactor, triage script, timeline, low-bandwidth ≤100KB, rate limiter.

Related skills

Query Twitter/X profiles, tweets, follower events, and KOL data through the 6551 REST API.

by infra403840 installs27 stars

Post videos, photos, text, and documents to 10 social platforms through a single REST API call.

by victorcavero14375 installs50 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai21 installs8 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván854 installs69 stars

More from orionshaowswmw

Browse all skills

Get a personalized career plan that weighs AI's impact on each direction.

by mnetfairy1 installs

Detect and repair partially wiped agent workspaces with integrity checks, signed manifests, guarded restore recipes, bounded local recovery state, and explicit off-box sync. Use when files, scripts, trees, models, or build outputs disappear or lose integrity between turns.

by orionshaowswmw1 installs1 stars

Seven offline mechanisms against slow/stale/zombie/sycophantic agent turns: prompt compaction, request fencing, zombie detection, CAPTCHA triage, anti-sycophancy spine, delivery register, invention quarry. Use when chat feels laggy, reconnects surface old answers, long chats degrade, or the agent caves under contradiction. JSON contracts; state per-agent under ~/.arena_turn; no network, no sudo.

by orionshaowswmw2 installs

Quota-aware LLM router that squeezes maximum usable AI out of free-tier API keys across Gemini, Mistral, OpenRouter, Kilo and Cerebras plus any OpenAI-compatible endpoint (including local Ollama/llama.cpp/vLLM). Probes every model on every key, measures real quality and real published rate limits, then routes each request to the cheapest model that can do the job — spending abundant capacity first and reserving scarce daily quota for when it is actually needed. Persists cooldowns to disk so a 429 discovered in one process is respected by the next. Use when an agent must make many LLM calls on free keys without hitting rate limits, when "all models failed", or when deciding which of several provider keys to use for a task.

by orionshaowswmw2 installs

Opt-in, model-neutral guidance for evidence-aware, dignified AI communication, with a compact response contract and offline deterministic text audit. It never injects prompts, edits host configuration, calls networks, reads secrets, or treats heuristics as truth.

by orionshaowswmw2 installs

Iran Chemical Database — live, dated, auditable, BEST-EFFORT index of chemical offerings in configured public Iranian supplier catalogues (websites + public Telegram channels). HTTrack/WooCommerce-REST/Telegram mirroring → local-only parsing → RDKit/PubChem/CAS-validated PostgreSQL with FastAPI + Streamlit. Fail-closed Iranian-suppliers-only country gate; coverage measured and published, never claimed complete. Installation = software + queued crawl, not a populated dataset. Ships a 1399-molecule CID-unique confirmed-organic seed baseline (v2.22, 2026-08-27: v2.19 primary + live Telegram/WooCommerce/sitemap crawl + 5-model fleet normalization, every new identity PubChem-confirmed). For academic procurement research.

by orionshaowswmw2 installs