panopticon-cli 0.4.5 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/README.md +84 -2695
  2. package/dist/{agents-B5NRTVHK.js → agents-54LDKMHR.js} +8 -3
  3. package/dist/chunk-44EOY2ZL.js +58 -0
  4. package/dist/chunk-44EOY2ZL.js.map +1 -0
  5. package/dist/chunk-BWGFN44T.js +224 -0
  6. package/dist/chunk-BWGFN44T.js.map +1 -0
  7. package/dist/chunk-F7NQZD6H.js +49 -0
  8. package/dist/chunk-F7NQZD6H.js.map +1 -0
  9. package/dist/chunk-HCTJFIJJ.js +159 -0
  10. package/dist/chunk-HCTJFIJJ.js.map +1 -0
  11. package/dist/chunk-JM6V62LT.js +650 -0
  12. package/dist/chunk-JM6V62LT.js.map +1 -0
  13. package/dist/chunk-K45YD6A3.js +254 -0
  14. package/dist/chunk-K45YD6A3.js.map +1 -0
  15. package/dist/chunk-KGPRXDMX.js +137 -0
  16. package/dist/chunk-KGPRXDMX.js.map +1 -0
  17. package/dist/chunk-KQAEUOML.js +278 -0
  18. package/dist/chunk-KQAEUOML.js.map +1 -0
  19. package/dist/chunk-NYVQC3D7.js +90 -0
  20. package/dist/chunk-NYVQC3D7.js.map +1 -0
  21. package/dist/chunk-PUR532O7.js +1556 -0
  22. package/dist/chunk-PUR532O7.js.map +1 -0
  23. package/dist/chunk-VTDDVLCK.js +1977 -0
  24. package/dist/chunk-VTDDVLCK.js.map +1 -0
  25. package/dist/chunk-Z24TY3XN.js +916 -0
  26. package/dist/chunk-Z24TY3XN.js.map +1 -0
  27. package/dist/chunk-ZHC57RCV.js +44 -0
  28. package/dist/chunk-ZHC57RCV.js.map +1 -0
  29. package/dist/{chunk-ITI4IC5A.js → chunk-ZZ3477GY.js} +69 -100
  30. package/dist/chunk-ZZ3477GY.js.map +1 -0
  31. package/dist/cli/index.js +4664 -2912
  32. package/dist/cli/index.js.map +1 -1
  33. package/dist/dashboard/public/assets/index-CRqsEkmn.css +32 -0
  34. package/dist/dashboard/public/assets/index-DPSUbu4A.js +645 -0
  35. package/dist/dashboard/public/index.html +15 -3
  36. package/dist/dashboard/server.js +45663 -17860
  37. package/dist/dns-L3L2BB27.js +30 -0
  38. package/dist/dns-L3L2BB27.js.map +1 -0
  39. package/dist/index.d.ts +63 -3
  40. package/dist/index.js +42 -18
  41. package/dist/index.js.map +1 -1
  42. package/dist/projects-ESIB34QQ.js +43 -0
  43. package/dist/projects-ESIB34QQ.js.map +1 -0
  44. package/dist/remote-agents-Z3R2A5BN.js +25 -0
  45. package/dist/remote-agents-Z3R2A5BN.js.map +1 -0
  46. package/dist/remote-workspace-HI4VML6H.js +179 -0
  47. package/dist/remote-workspace-HI4VML6H.js.map +1 -0
  48. package/dist/specialist-context-SNCJ7O7G.js +256 -0
  49. package/dist/specialist-context-SNCJ7O7G.js.map +1 -0
  50. package/dist/specialist-logs-A7ODEK2T.js +43 -0
  51. package/dist/specialist-logs-A7ODEK2T.js.map +1 -0
  52. package/dist/specialists-C7XLNSXQ.js +121 -0
  53. package/dist/specialists-C7XLNSXQ.js.map +1 -0
  54. package/dist/traefik-WI3KSRGG.js +12 -0
  55. package/dist/traefik-WI3KSRGG.js.map +1 -0
  56. package/package.json +2 -1
  57. package/skills/beads/README.md +120 -0
  58. package/skills/beads/SKILL.md +214 -0
  59. package/skills/beads/adr/0001-bd-prime-as-source-of-truth.md +59 -0
  60. package/skills/beads/resources/AGENTS.md +62 -0
  61. package/skills/beads/resources/ASYNC_GATES.md +168 -0
  62. package/skills/beads/resources/BOUNDARIES.md +469 -0
  63. package/skills/beads/resources/CHEMISTRY_PATTERNS.md +197 -0
  64. package/skills/beads/resources/CLI_REFERENCE.md +558 -0
  65. package/skills/beads/resources/DEPENDENCIES.md +747 -0
  66. package/skills/beads/resources/INTEGRATION_PATTERNS.md +407 -0
  67. package/skills/beads/resources/ISSUE_CREATION.md +139 -0
  68. package/skills/beads/resources/MOLECULES.md +354 -0
  69. package/skills/beads/resources/PATTERNS.md +341 -0
  70. package/skills/beads/resources/RESUMABILITY.md +207 -0
  71. package/skills/beads/resources/STATIC_DATA.md +54 -0
  72. package/skills/beads/resources/TROUBLESHOOTING.md +489 -0
  73. package/skills/beads/resources/WORKFLOWS.md +623 -0
  74. package/skills/beads/resources/WORKTREES.md +94 -0
  75. package/skills/beads-completion-check/SKILL.md +90 -0
  76. package/skills/beads-panopticon-guide/SKILL.md +171 -0
  77. package/skills/bug-fix/SKILL.md +32 -0
  78. package/skills/clear-writing/SKILL.md +105 -0
  79. package/skills/clear-writing/references/elements-of-style/01-introductory.md +3 -0
  80. package/skills/clear-writing/references/elements-of-style/02-elementary-rules-of-usage.md +214 -0
  81. package/skills/clear-writing/references/elements-of-style/03-elementary-principles-of-composition.md +398 -0
  82. package/skills/clear-writing/references/elements-of-style/04-a-few-matters-of-form.md +89 -0
  83. package/skills/clear-writing/references/elements-of-style/05-words-and-expressions-commonly-misused.md +342 -0
  84. package/skills/clear-writing/references/signs-of-ai-writing.md +901 -0
  85. package/skills/code-review/SKILL.md +37 -0
  86. package/skills/code-review-performance/SKILL.md +53 -0
  87. package/skills/code-review-security/SKILL.md +35 -0
  88. package/skills/dependency-update/SKILL.md +30 -0
  89. package/skills/feature-work/SKILL.md +39 -0
  90. package/skills/incident-response/SKILL.md +32 -0
  91. package/skills/knowledge-capture/SKILL.md +463 -0
  92. package/skills/onboard-codebase/SKILL.md +34 -0
  93. package/skills/opus-plan/SKILL.md +400 -0
  94. package/skills/pan-approve/SKILL.md +136 -0
  95. package/skills/pan-code-review/SKILL.md +249 -0
  96. package/skills/pan-config/SKILL.md +164 -0
  97. package/skills/pan-convoy-synthesis/SKILL.md +249 -0
  98. package/skills/pan-diagnose/SKILL.md +360 -0
  99. package/skills/pan-docker/SKILL.md +279 -0
  100. package/skills/pan-docs/SKILL.md +113 -0
  101. package/skills/pan-down/SKILL.md +434 -0
  102. package/skills/pan-health/SKILL.md +240 -0
  103. package/skills/pan-help/SKILL.md +237 -0
  104. package/skills/pan-install/SKILL.md +339 -0
  105. package/skills/pan-issue/SKILL.md +596 -0
  106. package/skills/pan-kill/SKILL.md +172 -0
  107. package/skills/pan-logs/SKILL.md +255 -0
  108. package/skills/pan-network/SKILL.md +320 -0
  109. package/skills/pan-oversee/SKILL.md +290 -0
  110. package/skills/pan-plan/SKILL.md +521 -0
  111. package/skills/pan-projects/SKILL.md +239 -0
  112. package/skills/pan-quickstart/SKILL.md +440 -0
  113. package/skills/pan-reload/SKILL.md +44 -0
  114. package/skills/pan-rescue/SKILL.md +271 -0
  115. package/skills/pan-restart/SKILL.md +53 -0
  116. package/skills/pan-setup/SKILL.md +478 -0
  117. package/skills/pan-skill-creator/SKILL.md +168 -0
  118. package/skills/pan-skill-creator/references/output-patterns.md +141 -0
  119. package/skills/pan-skill-creator/references/workflows.md +90 -0
  120. package/skills/pan-skill-creator/scripts/init_skill.py +176 -0
  121. package/skills/pan-status/SKILL.md +493 -0
  122. package/skills/pan-subagent-creator/SKILL.md +295 -0
  123. package/skills/pan-subagent-creator/assets/validate-readonly-query.sh +35 -0
  124. package/skills/pan-subagent-creator/references/example-agents.md +308 -0
  125. package/skills/pan-subagent-creator/scripts/init_agent.py +126 -0
  126. package/skills/pan-sync/SKILL.md +272 -0
  127. package/skills/pan-tell/SKILL.md +157 -0
  128. package/skills/pan-test-config/SKILL.md +208 -0
  129. package/skills/pan-tracker/SKILL.md +288 -0
  130. package/skills/pan-up/SKILL.md +458 -0
  131. package/skills/pan-workspace-config/SKILL.md +303 -0
  132. package/skills/refactor/SKILL.md +30 -0
  133. package/skills/refactor-radar/SKILL.md +475 -0
  134. package/skills/release/SKILL.md +25 -0
  135. package/skills/send-feedback-to-agent/SKILL.md +98 -0
  136. package/skills/session-health/SKILL.md +76 -0
  137. package/skills/session-health/scripts/check_sessions.py +166 -0
  138. package/skills/skill-creator/SKILL.md +92 -0
  139. package/skills/skill-creator/scripts/init_skill.py +152 -0
  140. package/skills/skill-creator/scripts/package_skill.py +123 -0
  141. package/skills/stitch-design-md/README.md +34 -0
  142. package/skills/stitch-design-md/SKILL.md +172 -0
  143. package/skills/stitch-design-md/examples/DESIGN.md +154 -0
  144. package/skills/stitch-react-components/README.md +36 -0
  145. package/skills/stitch-react-components/SKILL.md +47 -0
  146. package/skills/stitch-react-components/examples/gold-standard-card.tsx +80 -0
  147. package/skills/stitch-react-components/package-lock.json +231 -0
  148. package/skills/stitch-react-components/package.json +16 -0
  149. package/skills/stitch-react-components/resources/architecture-checklist.md +15 -0
  150. package/skills/stitch-react-components/resources/component-template.tsx +37 -0
  151. package/skills/stitch-react-components/resources/stitch-api-reference.md +14 -0
  152. package/skills/stitch-react-components/resources/style-guide.json +27 -0
  153. package/skills/stitch-react-components/scripts/fetch-stitch.sh +30 -0
  154. package/skills/stitch-react-components/scripts/validate.js +68 -0
  155. package/skills/stitch-setup/SKILL.md +94 -0
  156. package/skills/web-design-guidelines/SKILL.md +39 -0
  157. package/skills/work-complete/SKILL.md +79 -0
  158. package/templates/traefik/docker-compose.yml +1 -1
  159. package/templates/traefik/dynamic/panopticon.yml.template +41 -0
  160. package/templates/traefik/traefik.yml +8 -0
  161. package/dist/chunk-7HHDVXBM.js +0 -349
  162. package/dist/chunk-7HHDVXBM.js.map +0 -1
  163. package/dist/chunk-H45CLB7E.js +0 -2044
  164. package/dist/chunk-H45CLB7E.js.map +0 -1
  165. package/dist/chunk-ITI4IC5A.js.map +0 -1
  166. package/dist/dashboard/public/assets/index-BDd8hGYb.css +0 -32
  167. package/dist/dashboard/public/assets/index-sFwLPko-.js +0 -556
  168. package/templates/traefik/dynamic/panopticon.yml +0 -51
  169. /package/dist/{agents-B5NRTVHK.js.map → agents-54LDKMHR.js.map} +0 -0
@@ -0,0 +1,493 @@
1
+ ---
2
+ name: pan-status
3
+ description: Check running agents, workspaces, and system health
4
+ triggers:
5
+ - panopticon status
6
+ - check agents
7
+ - show running agents
8
+ - pan status
9
+ - what's running
10
+ allowed-tools:
11
+ - Bash
12
+ - Read
13
+ ---
14
+
15
+ # Panopticon Status Overview
16
+
17
+ ## Overview
18
+
19
+ This skill guides you through checking the status of all Panopticon components, including running agents, workspaces, services, and system health.
20
+
21
+ ## When to Use
22
+
23
+ - User wants to see what agents are running
24
+ - User wants to check system health
25
+ - User needs to monitor workspace status
26
+ - User asks "what's happening?" or "what's running?"
27
+ - Regular health checks and monitoring
28
+
29
+ ## Basic Usage
30
+
31
+ ```bash
32
+ # Check all running agents (shorthand for work status)
33
+ pan status
34
+
35
+ # Full agent status with details
36
+ pan work status
37
+
38
+ # Verbose output with resource usage
39
+ pan work status --verbose
40
+
41
+ # Check system health
42
+ pan doctor
43
+
44
+ # List all workspaces
45
+ pan workspace list
46
+ ```
47
+
48
+ ## What Status Shows
49
+
50
+ ### Agent Status
51
+
52
+ ```bash
53
+ pan status
54
+ # or
55
+ pan work status
56
+ ```
57
+
58
+ **Output includes:**
59
+ - Agent ID (issue ID)
60
+ - Status (running, idle, crashed, completed)
61
+ - Uptime (how long agent has been running)
62
+ - Workspace path
63
+ - tmux session name
64
+ - Recent activity
65
+
66
+ **Example output:**
67
+ ```
68
+ Running Agents (3):
69
+
70
+ PAN-3: Feature - Add user authentication
71
+ Status: running
72
+ Uptime: 2h 15m
73
+ Workspace: ~/panopticon/workspaces/feature-pan-3
74
+ Session: agent-PAN-3
75
+ Activity: Writing tests (2 minutes ago)
76
+
77
+ PAN-5: Bug - Fix login redirect
78
+ Status: idle
79
+ Uptime: 45m
80
+ Workspace: ~/panopticon/workspaces/bug-pan-5
81
+ Session: agent-PAN-5
82
+ Activity: Waiting for user input (10 minutes ago)
83
+
84
+ PAN-7: Refactor - Simplify API layer
85
+ Status: running
86
+ Uptime: 3h 30m
87
+ Workspace: ~/panopticon/workspaces/refactor-pan-7
88
+ Session: agent-PAN-7
89
+ Activity: Running tests (just now)
90
+ ```
91
+
92
+ ### Workspace Status
93
+
94
+ ```bash
95
+ pan workspace list
96
+ ```
97
+
98
+ **Output includes:**
99
+ - Workspace ID
100
+ - Issue title
101
+ - Created date
102
+ - Status (active, idle, stopped)
103
+ - Running containers
104
+ - Disk usage
105
+
106
+ **Example output:**
107
+ ```
108
+ Workspaces (5):
109
+
110
+ feature-pan-3: Add user authentication
111
+ Created: 2024-01-15 10:30
112
+ Status: active
113
+ Containers: 3 running (app, db, redis)
114
+ Disk: 1.2 GB
115
+ Agent: running
116
+
117
+ bug-pan-5: Fix login redirect
118
+ Created: 2024-01-15 14:00
119
+ Status: active
120
+ Containers: 2 running (app, db)
121
+ Disk: 850 MB
122
+ Agent: idle
123
+
124
+ feature-pan-7: Simplify API layer
125
+ Created: 2024-01-14 09:15
126
+ Status: active
127
+ Containers: 2 running (app, db)
128
+ Disk: 1.1 GB
129
+ Agent: running
130
+ ```
131
+
132
+ ### System Health
133
+
134
+ ```bash
135
+ pan doctor
136
+ ```
137
+
138
+ **Output includes:**
139
+ - Node.js version
140
+ - Docker status
141
+ - tmux availability
142
+ - Git version
143
+ - Required dependencies
144
+ - Configuration status
145
+ - Dashboard status
146
+ - Tracker connectivity
147
+
148
+ **Example output:**
149
+ ```
150
+ Panopticon System Health
151
+
152
+ ✓ Node.js v18.17.0
153
+ ✓ Docker 24.0.5 (running)
154
+ ✓ Docker Compose v2.20.2
155
+ ✓ tmux 3.3a
156
+ ✓ Git 2.40.1
157
+ ✓ Configuration file exists (~/.panopticon.env)
158
+ ✓ Linear API connected
159
+ ✓ Dashboard running (http://localhost:3001)
160
+ ✓ API server running (http://localhost:3002)
161
+
162
+ Status: All systems operational
163
+ ```
164
+
165
+ ## Detailed Status Checks
166
+
167
+ ### Check Specific Agent
168
+
169
+ ```bash
170
+ # Show detailed status for one agent
171
+ pan work status PAN-3
172
+
173
+ # Attach to agent's tmux session (Ctrl+b d to detach)
174
+ tmux attach -t agent-PAN-3
175
+
176
+ # View agent's recent output
177
+ tmux capture-pane -t agent-PAN-3 -p | tail -20
178
+ ```
179
+
180
+ ### Check Service Status
181
+
182
+ ```bash
183
+ # Check if dashboard is running
184
+ curl http://localhost:3001
185
+
186
+ # Check if API is running
187
+ curl http://localhost:3002/api/health
188
+
189
+ # Check Traefik status (if enabled)
190
+ docker ps | grep traefik
191
+
192
+ # Check workspace containers
193
+ docker ps | grep panopticon
194
+ ```
195
+
196
+ ### Check Resource Usage
197
+
198
+ ```bash
199
+ # Verbose status with CPU/memory
200
+ pan work status --verbose
201
+
202
+ # Check Docker resources
203
+ docker stats
204
+
205
+ # Check disk usage
206
+ df -h ~/panopticon/workspaces/
207
+
208
+ # Check memory usage
209
+ free -h
210
+ ```
211
+
212
+ ## Status Interpretation
213
+
214
+ ### Agent States
215
+
216
+ | State | Meaning | Action |
217
+ |-------|---------|--------|
218
+ | **running** | Agent actively working | Normal - no action needed |
219
+ | **idle** | Agent waiting for input/task | May need message or new task |
220
+ | **completed** | Agent finished work | Review with `pan work pending` |
221
+ | **crashed** | Agent encountered error | Check logs, use `pan work recover` |
222
+ | **blocked** | Agent stuck or waiting | Send message with `pan work tell` |
223
+
224
+ ### Workspace States
225
+
226
+ | State | Meaning | Action |
227
+ |-------|---------|--------|
228
+ | **active** | Workspace in use, containers running | Normal - no action needed |
229
+ | **idle** | Workspace exists but no agent | May want to destroy or spawn agent |
230
+ | **stopped** | Containers stopped | Restart with `pan work issue` |
231
+ | **error** | Workspace in error state | Check Docker, may need to destroy |
232
+
233
+ ### Service States
234
+
235
+ | Service | Healthy | Unhealthy | Check |
236
+ |---------|---------|-----------|-------|
237
+ | Dashboard | Accessible at :3001 | Connection refused | `pan up`, check logs |
238
+ | API | Returns 200 from /health | Connection refused | `pan up`, check logs |
239
+ | Traefik | `docker ps` shows running | Not found | Check config, `pan up` |
240
+ | Docker | `docker ps` works | Command fails | Start Docker daemon |
241
+
242
+ ## Monitoring Workflows
243
+
244
+ ### Quick Health Check
245
+
246
+ ```bash
247
+ # One-liner to check everything
248
+ pan status && pan doctor
249
+ ```
250
+
251
+ ### Continuous Monitoring
252
+
253
+ ```bash
254
+ # Watch agent status (updates every 2 seconds)
255
+ watch -n 2 pan status
256
+
257
+ # Monitor specific agent output
258
+ watch -n 2 "tmux capture-pane -t agent-PAN-3 -p | tail -10"
259
+
260
+ # Monitor Docker containers
261
+ watch -n 2 docker ps
262
+ ```
263
+
264
+ ### Dashboard Monitoring
265
+
266
+ Visit http://localhost:3001 for real-time visual monitoring:
267
+ - See all agents in one view
268
+ - Watch terminal output live
269
+ - Check resource usage graphs
270
+ - View activity timeline
271
+
272
+ ## Troubleshooting Status Issues
273
+
274
+ ### No agents showing
275
+
276
+ **Problem:** `pan status` shows no running agents, but you created them
277
+
278
+ **Solutions:**
279
+ ```bash
280
+ # Check tmux sessions directly
281
+ tmux list-sessions
282
+
283
+ # Look for agent sessions
284
+ tmux list-sessions | grep agent
285
+
286
+ # If sessions exist but not showing, check:
287
+ cat ~/.panopticon/agents/*.json
288
+
289
+ # Restart status tracking
290
+ pan down && pan up
291
+ ```
292
+
293
+ ### Agent shows as crashed
294
+
295
+ **Problem:** `pan status` shows agent in crashed state
296
+
297
+ **Solutions:**
298
+ ```bash
299
+ # Check agent logs
300
+ cat ~/.panopticon/logs/agent-<id>.log
301
+
302
+ # Try to recover
303
+ pan work recover <id>
304
+
305
+ # Attach to session to see error
306
+ tmux attach -t agent-<id>
307
+
308
+ # If unrecoverable, kill and restart
309
+ pan work kill <id>
310
+ pan work issue <id>
311
+ ```
312
+
313
+ ### Workspace shows wrong status
314
+
315
+ **Problem:** Workspace status doesn't match reality
316
+
317
+ **Solutions:**
318
+ ```bash
319
+ # Check Docker containers directly
320
+ docker ps -a | grep <workspace-id>
321
+
322
+ # Refresh workspace status
323
+ pan workspace list --refresh
324
+
325
+ # Manually check workspace directory
326
+ ls ~/panopticon/workspaces/<workspace-id>/
327
+ ```
328
+
329
+ ### `pan doctor` shows errors
330
+
331
+ **Problem:** Health check reports issues
332
+
333
+ **Solutions:**
334
+
335
+ **Node.js version too old:**
336
+ ```bash
337
+ nvm install 18
338
+ nvm use 18
339
+ ```
340
+
341
+ **Docker not running:**
342
+ ```bash
343
+ sudo systemctl start docker # Linux
344
+ # Or start Docker Desktop (macOS/Windows)
345
+ ```
346
+
347
+ **Dashboard not accessible:**
348
+ ```bash
349
+ pan up
350
+ lsof -i :3001 # Check if port is in use
351
+ ```
352
+
353
+ **Tracker not connected:**
354
+ ```bash
355
+ # Check API key in config
356
+ cat ~/.panopticon.env | grep API_KEY
357
+
358
+ # Test connection manually
359
+ curl -X POST https://api.linear.app/graphql \
360
+ -H "Authorization: $LINEAR_API_KEY" \
361
+ -d '{"query":"{ viewer { name } }"}'
362
+ ```
363
+
364
+ ## Status Scripts
365
+
366
+ ### Custom Status Dashboard
367
+
368
+ ```bash
369
+ #!/bin/bash
370
+ # ~/scripts/pan-dashboard.sh
371
+
372
+ clear
373
+ echo "=== Panopticon Status Dashboard ==="
374
+ echo ""
375
+
376
+ echo "Services:"
377
+ pan doctor | grep "✓\|✗"
378
+ echo ""
379
+
380
+ echo "Agents:"
381
+ pan status
382
+ echo ""
383
+
384
+ echo "Workspaces:"
385
+ pan workspace list
386
+ echo ""
387
+
388
+ echo "Resources:"
389
+ echo "Memory: $(free -h | grep Mem | awk '{print $3 "/" $2}')"
390
+ echo "Disk: $(df -h ~/panopticon/workspaces/ | tail -1 | awk '{print $3 "/" $2 " (" $5 " used)"}')"
391
+ ```
392
+
393
+ Run with:
394
+ ```bash
395
+ chmod +x ~/scripts/pan-dashboard.sh
396
+ watch -n 5 ~/scripts/pan-dashboard.sh
397
+ ```
398
+
399
+ ### Alert on Agent Crash
400
+
401
+ ```bash
402
+ #!/bin/bash
403
+ # ~/scripts/agent-monitor.sh
404
+
405
+ while true; do
406
+ if pan status | grep -q "crashed"; then
407
+ echo "Alert: Agent crashed!" | mail -s "Panopticon Alert" user@example.com
408
+ # Or use desktop notification
409
+ notify-send "Panopticon Alert" "An agent has crashed"
410
+ fi
411
+ sleep 60
412
+ done
413
+ ```
414
+
415
+ ## Status Checklist
416
+
417
+ Regular health check checklist:
418
+
419
+ - [ ] Run `pan status` - check all agents are in expected state
420
+ - [ ] Run `pan doctor` - verify system health
421
+ - [ ] Check dashboard at http://localhost:3001
422
+ - [ ] Review `pan work pending` for completed work
423
+ - [ ] Check disk usage: `df -h ~/panopticon/workspaces/`
424
+ - [ ] Review logs for errors: `grep ERROR ~/.panopticon/logs/*.log`
425
+ - [ ] Check Docker containers: `docker ps`
426
+ - [ ] Monitor resource usage: `docker stats` or `htop`
427
+
428
+ ## Performance Indicators
429
+
430
+ ### Healthy System
431
+
432
+ - All agents in "running" or "idle" state
433
+ - No crashed agents
434
+ - Dashboard accessible and responsive
435
+ - `pan doctor` shows all green checkmarks
436
+ - Docker containers running without restarts
437
+ - Low CPU/memory usage (<80%)
438
+ - Adequate disk space (>10GB free)
439
+
440
+ ### Needs Attention
441
+
442
+ - 1+ agents crashed
443
+ - High resource usage (>90%)
444
+ - Low disk space (<5GB)
445
+ - Frequent container restarts
446
+ - Dashboard slow or unresponsive
447
+ - Tracker connection failures
448
+
449
+ ### Critical Issues
450
+
451
+ - All agents crashed
452
+ - Disk full
453
+ - Docker daemon not running
454
+ - Dashboard unreachable
455
+ - Unable to create new workspaces
456
+
457
+ ## Next Steps
458
+
459
+ Based on status:
460
+
461
+ **If everything looks good:**
462
+ - Continue working
463
+ - Create new workspaces as needed
464
+ - Monitor periodically
465
+
466
+ **If agents are idle:**
467
+ - Send new tasks: `pan work tell <id> "Next task..."`
468
+ - Approve completed work: `pan work approve <id>`
469
+
470
+ **If agents crashed:**
471
+ - Use `/session-health` skill
472
+ - Try `pan work recover <id>`
473
+ - Check logs and fix issues
474
+
475
+ **If resources are low:**
476
+ - Clean up old workspaces: `pan workspace destroy <id>`
477
+ - Run `docker system prune`
478
+ - Archive completed work
479
+
480
+ ## Related Skills
481
+
482
+ - `/pan-help` - Command reference
483
+ - `/pan-up` / `/pan-down` - Service management
484
+ - `/session-health` - Fix crashed agents
485
+ - `/pan-issue` - Create new workspaces
486
+ - `/pan-approve` - Review completed work
487
+
488
+ ## More Information
489
+
490
+ - Dashboard: http://localhost:3001
491
+ - Run `pan status --help` for more options
492
+ - Run `pan doctor` for system health
493
+ - Use `pan work status --verbose` for detailed info