brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
connectivity-triageUse this skill when debugging active macOS connectivity failures, when an API or MCP service times out or disconnects, when DNS resolution is failing or inconsistent, or when video calls or other interactive traffic show packet loss or latency. Isolate local-LAN, DNS, upstream-path, and remote-service/application fault domains with built-in, non-destructive…
Independent GitHub snapshot · Automated classification · Original documentation governs
Localize an active connectivity failure without changing network configuration. Collect the smallest useful evidence set, distinguish observations from inference, and stop when the fault domain is clear enough for the next safe action.
Use this workflow when a macOS endpoint has an active symptom such as:
This is a diagnostic workflow, not a remediation workflow. Do not change interface state, DNS settings, VPN/firewall configuration, or remote service state while establishing the fault domain.
Work from the symptom toward the narrowest discriminating check:
symptom
-> local link / LAN evidence
-> DNS configuration and resolution
-> destination reachability
-> path quality
-> application / service timing
-> fault-domain assessment
Stop early when the evidence is already sufficient. Do not run every probe mechanically.
Record the affected application or process, destination hostname or URL, when the failure started, whether it is continuous or intermittent, and whether unrelated destinations still work.
If the symptom is application-specific, preserve the exact hostname or URL the application uses. Testing an unrelated public site can establish general connectivity but cannot prove the affected service is healthy.
When available, run a bounded networkQuality sample for a broad responsiveness and throughput signal. If networkQuality is unavailable, continue; it is optional.
If a known local gateway or same-LAN target is available, compare a short bounded ping sample to that local target with a short sample to the remote destination. Do not invent a gateway address. If no local target is known, leave the LAN segment unproven and continue.
Useful pattern:
ping -c 5 <known-local-target>
ping -c 5 <destination>
Inspect the system resolver state, especially when VPNs, split DNS, or scoped resolvers may be involved:
scutil --dns
Then test the destination name directly with a bounded DNS query:
dig +time=2 +tries=1 <hostname>
Treat these as different evidence. scutil --dns shows resolver configuration; dig shows query behavior. A successful lookup does not prove the returned endpoint is reachable.
Use a short ping sample when ICMP is a useful signal:
ping -c 5 <destination>
If the hostname resolves, test the returned address separately only when doing so helps distinguish DNS behavior from path failure. If resolution currently fails, use an address only when it was previously observed from trustworthy incident evidence; otherwise leave address-level reachability unknown.
Use a bounded numeric traceroute when path visibility would reduce uncertainty:
traceroute -n -q 1 -m 20 <destination>
A silent or changing hop is an observation, not proof that the hop is broken. Routers may filter or rate-limit traceroute traffic while forwarding application traffic normally.
When the problem is process-specific, use a bounded nettop capture rather than watching indefinitely:
nettop -n -L 3 -p <process-name-or-pid>
Use it to confirm whether the process is opening connections, which endpoints it is using, and whether traffic is flowing. Lack of visible activity may mean the application never attempted the connection; it does not by itself identify why.
For HTTP(S), use curl phase timing against the actual affected endpoint when a safe read-only request is available. Confirm the incident-supplied endpoint is a complete http:// or https:// URL, preserve its original scheme, and pass the URL as one quoted argument rather than interpolating arbitrary incident text into the shell command:
curl -sS -o /dev/null \
-w 'dns=%{time_namelookup} connect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\n' \
--connect-timeout 5 --max-time 15 '<affected-http-or-https-url>'
Interpret the phases comparatively. High time-to-first-byte can include server processing, so it is not proof of network latency.
Label conclusions as one of:
Never treat one probe as proof of root cause. In particular:
ping can reflect ICMP filtering rather than an outage;ping does not prove an application is healthy;When observations conflict, prefer inconclusive over a confident guess.
Return exactly one primary category:
local-link/LAN — evidence degrades before or at the local network boundary;DNS — resolver configuration or lookup behavior explains the failure better than path evidence;upstream-path — local evidence is healthy and correlated path evidence degrades beyond the LAN;remote-service/application — transport/path evidence is healthy enough while the affected service or process behavior remains abnormal;inconclusive — current evidence cannot separate the remaining fault domains.Use qualitative confidence: low, medium, or high. Confidence reflects evidence quality and correlation, not severity.
Restate the active failure and affected destination/application.
List only relevant measurements, including important unavailable or blocked evidence. Mark observations, inferences, and unknowns clearly.
Report the category, confidence, and a short evidence-linked explanation.
Give one diagnostic action that most reduces uncertainty. Do not jump to configuration changes unless the user separately asks for remediation.
During diagnosis, do not:
Partial probes, blocked ICMP, VPNs, captive portals, scoped DNS, proxies, endpoint controls, and transient failures are evidence limitations rather than diagnoses.
Read references/details.md for command-by-command interpretation, ambiguity handling, intermittent-failure guidance, and worked examples.
incident-runbook-templates - Turn recurring connectivity incidents into repeatable response procedureson-call-handoff-patterns - Preserve active connectivity evidence across responder handoffspostmortem-writing - Document confirmed causes and corrective actions after the incident