fix-nightwatch-issues
Fix Nightwatch Issues
Open Nightwatch issues are real production signals: exceptions, and slow routes, jobs, commands, and scheduled tasks. Many are stale, ops problems, or third-party blips, so read the stack trace and the occurrence stats, not the headline. Walk from the newest last-seen to the oldest.
Project context. Read .agents/nightwatch.md when the repo has one. It holds the
application and environment names, the deploy model, the infra paths, and the known
false premises. Then follow the repo's AGENTS.md / CLAUDE.md rules for tests, cache
clears, and a dirty tree.
1. Resolve the target
Use the Nightwatch MCP tools. If they are not loaded, discover them first.
list_applications gives the application id and list_environments gives the
production environment. list_issues (status open, sorted by last seen) is the
working set. get_issue returns the stack trace, code context, occurrence stats, and
execution context.