Stop Copying Linux Logs Into AI—Let the Agent Investigate on the Failing Machine
说明与用途
通过使用 KeySync 远程访问和 DeepSeek Harness AI 工具,团队快速定位磁盘已满问题,安全删除重复文件,恢复可用空间,完成发布。
问题
A production release was blocked by a nearly full disk; manual log copying to AI was slow and risky.
结果
Using an on‑host AI agent (DSH) avoided multiple SSH sessions, preserved investigative context, and enabled safe, targeted cleanup, freeing 15.4 GiB and allowing the release to proceed.
工作流
- Open KeySync device list and select server
- Click Remote Open to launch DeepSeek Harness (DSH) on host
- In DSH issue read‑only investigation command
- DSH runs df, du, docker inspection, and script analysis
- DSH identifies large upload‑staging directories and retention rule bug
- DSH recommends deleting verified duplicate directories
- Human approves deletion scope
- DSH executes cleanup
- Human verifies space recovery and CI success
- DSH continues investigation to find root cause and future prevention
证据
Perform a read‑only investigation only. Do not delete anything, restart services, or modify configuration.
Delete only the three verified duplicate upload directories. Expected recovery: approximately 15.4 GiB.
- 记录日期: 2026-09-07T06:10:47.890Z