콘텐츠로 이동



AIOS
AIOS

문제 해결

AIOS Documentation

install, ContextDB, client sync, workflow, Team, browser, token tool, privacy 문제를 evidence로 진단합니다.

문제 해결

먼저 답하면

먼저 진단 output을 보관합니다.

aios doctor --native --verbose

증상을 분류하고 dry-run에서 live provider failure를 추론하지 마세요. 첫 failure command를 확인하기 전에 project data를 삭제하지 않습니다.

설치와 Node.js

증상: aios를 찾을 수 없거나 Node 전환 후 ContextDB가 실패함.

node -v
npm -v
command -v aios
aios doctor --native --verbose

Node.js 24 LTS와 aios path를 확인합니다. profile을 reload하거나 새 shell을 엽니다. Windows는 TLS 1.2 installer와 . $PROFILE을 사용합니다.

ContextDB와 registry

증상: client가 project memory를 찾지 못함.

test -f .aios/context-db/index.json
find .aios/context-db -maxdepth 2 -type f | head -n 30
aios doctor --native --verbose

올바른 project root에서 aios init --all을 실행했는지 확인합니다. unified search 또는 명시한 memo/checkpoint로 recall을 확인하세요. .contextdb-enable은 legacy compatibility switch입니다.

증상: search가 비어 있음.

node scripts/aios.mjs search "release readiness" --agent codex-cli --json
aios memo storage status
aios memo storage rebuild

source list나 storage status를 확인한 후 derived index를 rebuild합니다.

Client sync와 route

증상: native guidance나 shortcut이 없음.

aios doctor --native --verbose
node scripts/aios.mjs init --all --dry-run
aios doctor --native --fix

fix 전에 dry-run을 읽습니다. file sync는 provider route가 live라는 증거가 아닙니다.

Workflow Policy와 plan

증상: read-only question에 plan이 생기거나 작은 change가 block됨.

node scripts/aios.mjs plan auto-gate --task "Explain the current auth flow" --dry-run --json
node scripts/aios.mjs plan auto-gate --task "Refactor auth across modules" --json

noop, direct, guarded, planned와 persistence none, reuse, create를 확인합니다. policy는 pre-edit safety와 final verification과 별개입니다. Workflow Policy를 참고하세요.

Team과 Solo Harness

증상: run이 stop, blocked되거나 progress가 없음.

aios team history --provider codex --limit 5
aios harness status --session <session-id> --json
aios hud --session <session-id> --json

첫 failure를 읽습니다.

aios team --resume <session-id> --retry-blocked --provider codex --workers 2
aios harness stop --session <session-id> --reason "diagnose first failure"
aios harness resume --session <session-id>

dry-run은 provider credential이나 live route를 test하지 않습니다.

Browser MCP

aios internal browser doctor
aios internal browser cdp-status

browser-use MCP over CDP를 사용하고 visible browser, semantic snapshot, targeted text, act, verify 순서로 진행합니다. auth wall은 human-controlled로 유지합니다. Playwright MCP는 compatibility path입니다.

Symptom: 업그레이드 후 또는 프로젝트/설치 디렉터리를 이동한 후 MCP 서버가 "connection closed"가 됩니다.

aios internal browser mcp-migrate
aios update

클라이언트 설정(예: ~/.config/opencode/opencode.json)의 MCP 항목은 이 리포지토리 scripts/ 런처의 절대 경로를 저장합니다. 프로젝트나 설치 디렉터리를 물리적으로 이동하면 해당 경로가 더 이상 존재하지 않아 서버가 시작되지 않습니다. aios update는 기본적으로 이를 다시 씁니다(browser 컴포넌트가 기본 업데이트 세트에 포함됨). aios internal browser mcp-migrate는 직접 다시 씁니다. 둘 중 하나를 새 프로젝트 루트에서 실행한 뒤 클라이언트를 재시작하세요. aios doctor는 런처 경로만 확인하고 아무것도 다시 쓰지 않습니다.

Token tools

node scripts/aios.mjs init --all --dry-run
aios doctor --native --verbose
node scripts/aios.mjs init --all --yes-compression-tools --yes-headroom-mcp

package consent와 user-scope MCP consent는 별개입니다. Headroom external / conflict registration을 확인하고 headroom_stats가 positive saved-token total을 보이지 않으면 savings를 주장하지 마세요.

Privacy

aios privacy status
aios privacy read --file .env

raw .env, cookie, token, private key, browser profile을 공유하지 마세요. log에서 provider token과 private path를 제거합니다.

FAQ

.aios를 삭제해야 하나요?

아닙니다. 첫 failure를 확인하고 sessions, exports, memo JSONL을 backup한 뒤 derived data를 처리합니다.

dry-run 성공이면 작동하나요?

아닙니다. local parsing과 planned state의 증거입니다. provider와 credential은 live task로 확인합니다.

다음 페이지

imklom.im — AI 图像生成 imklom.imAI 做图 · 一句话生成高质量图片 / AI image generation. 赞助 · Sponsor