/gws-status
Read-only health report for the current GWS environment. Type /gws-status inside your AI agent and it will summarize pod state, file-sync sessions, and HTTP probe results without changing anything.
When to use it
- You want a quick "is everything healthy?" check before continuing work
- You suspect a service is misbehaving and want a structured snapshot before debugging
- You want a summary without restarting or redeploying anything
What it does
- Fetches structured status —
gws status --json. - HTTP-probes every URL — performs
GET <url>for each HTTP service and captures status code or connection error. - Summarizes — produces a structured report:
- Overall:
healthy(all Running, all 2xx, all file-syncWatching),partial(some failures), ordown(no services Running). - Per service: pod phase, restart count, URL probe result, file-sync state.
- Recent restarts: services with restarts > 0 in the last hour are flagged as suspicious.
- Overall:
- Suggests next actions — for each unhealthy service:
- Pod failing → run
gws logs <svc> - URL not responding but pod Running → likely gateway hostname/port mismatch; try
/gws-debug - High restart count → invoke
/gws-debug - File-sync
Halted*→ reset withgws down -y && gws up -y
- Pod failing → run
See also
/gws-up— same status report, but deploys first/gws-debug— when status reveals problemsgws status,gws logs— underlying CLI commands