원클릭으로
diagnostics
Use when troubleshooting build failures, test failures, daemon connectivity issues, or integration errors in Auto-Tundra.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when troubleshooting build failures, test failures, daemon connectivity issues, or integration errors in Auto-Tundra.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use the `at` CLI to create, execute, monitor, and complete tasks on the Auto-Tundra daemon. Covers the full bead lifecycle from sling to done.
Use the Auto-Tundra HTTP API directly (via curl) for operations not exposed in the CLI, such as task updates, terminal management, GitLab/Linear queries, and Kanban board manipulation.
Use when adding features, fixing bugs, or refactoring code in any Auto-Tundra crate. Covers build, test, lint, and validation workflows.
Use for GitHub/GitLab/Linear wiring in rust-harness to remove stub-token paths, enforce env-driven credential resolution, and add regression tests for real-client behavior with safe fallbacks.
Use for local Ollama-first execution with queued multi-agent CLI workflows. Configures auto-tundra for one-human-overseer and many-agent-subscriber code refinery mode.
Use when developing or refactoring at-cli. Runs deterministic smoke checks for run/agent/skill/doctor commands, including --dry-run and --out artifact paths.
| name | diagnostics |
| description | Use when troubleshooting build failures, test failures, daemon connectivity issues, or integration errors in Auto-Tundra. |
| allowed_tools | ["Bash","Read"] |
| references | ["/Users/studio/rust-harness/docs/PROJECT_HANDBOOK.md","/Users/studio/rust-harness/AGENTS.md"] |
Use this skill when something is broken: build errors, test failures, daemon won't start, API returns errors, or integrations fail.
# All-in-one health check
at doctor -p /Users/studio/rust-harness -j
# Manual checks
rustc --version # Must be 1.91+
env | grep -E 'API_KEY|TOKEN' # Check credentials
curl -sf http://localhost:9090/api/status | jq . # Daemon alive?
# Full workspace check (fast, no codegen)
cargo check 2>&1 | head -50
# Single crate
cargo check -p at-<crate> 2>&1 | head -50
# If linker errors on macOS:
xcode-select --install
# Run with output visible
cargo nextest run -p at-<crate> --no-capture 2>&1 | tail -80
# Run a single test
cargo nextest run -p at-<crate> -E 'test(test_name)' --no-capture
# Run with debug logging
RUST_LOG=debug cargo nextest run -p at-<crate> --no-capture
# Start daemon with debug logging
RUST_LOG=debug cargo run --bin at-daemon 2>&1 | tee /tmp/daemon.log
# Check if ports are in use (API: 9090, UI: 3001)
lsof -i :9090 -i :3001
# Kill stale daemon processes
pkill -f at-daemon
kill -9 $(lsof -t -i:9090 -i:3001) 2>/dev/null || true
# GitLab
curl -sf http://localhost:9090/api/gitlab/issues 2>&1 | jq .
# Expected 503 with {"error":"...","env_var":"GITLAB_TOKEN"} if token missing
# Linear
curl -sf http://localhost:9090/api/linear/issues?team_id=X 2>&1 | jq .
# GitHub
curl -sf http://localhost:9090/api/github/issues 2>&1 | jq .
# Check for vulnerable dependencies
cargo deny check 2>&1 | head -30
# Check for outdated dependencies
cargo outdated -R 2>&1 | head -30
| Symptom | Likely Cause | Fix |
|---|---|---|
Connection refused :9090 | Daemon not running | cargo run --bin at-daemon |
503 + env_var in response | Missing credential | Ensure variables like GITLAB_TOKEN are exported in the shell before starting the daemon, or modify ~/.config/auto-tundra/settings.toml. |
linking with cc failed | Missing Xcode tools | xcode-select --install |
cannot find crate | Missing workspace member | Check Cargo.toml members |
| Test timeout | Network-dependent test | Check #[ignore] gate or mock |
port already in use | Stale process | lsof -i :9090 -i :3001 then kill |
2>&1 | head -N to avoid flooding context.cargo clean — it wastes 5-10 min of rebuild time. Only use if genuinely corrupt.