Ghost-ALICE OS

Installation And Update Guide

언어: English Korean

이 문서는 Ghost-ALICE OS 설치, 업데이트, 상태 점검, 복구 command reference다. 공개 guidance는 OS-native entrypoint와 같은 long flag surface를 사용한다.

Windows에서는 install.cmd가 native wrapper path, Python 3.11+ installer contract, UTF-8 console setup, -NoProfile -ExecutionPolicy Bypass를 유지한다. PowerShell execution policy block을 처리하지만 사용자 또는 머신 execution policy를 변경하지 않는다.

Contents

Quick Install

macOS, Linux, WSL, Git Bash:

git clone https://github.com/AidALL/ghost-alice.git ~/ghost-alice
cd ~/ghost-alice
bash install.sh

Windows Command Prompt 또는 PowerShell:

git clone https://github.com/AidALL/ghost-alice.git %USERPROFILE%\ghost-alice
cd %USERPROFILE%\ghost-alice
.\install.cmd

Install Official Addons

Official addons는 short alias를 사용하며 Ghost-ALICE core checkout에서 설치한다.

macOS, Linux, WSL, Git Bash:

bash install.sh --addon autopilot

Windows Command Prompt 또는 PowerShell:

.\install.cmd --addon autopilot

Windows Command Prompt와 PowerShell도 .\install.cmd --addon autopilot로 같은 official alias를 사용한다.

이 명령은 Ghost-ALICE core checkout에서 실행한다. 일반 사용자는 autopilot addon repository를 직접 clone하지 않는다. 그 repository 안에서 installer도 실행하지 않는다. core installer가 official addon package를 가져온다. 이 설치 예시는 full runtime compatibility claim이 아니다. full compatibility claim 전에는 addon repository의 compatibility-matrix.json을 확인한다.

한 platform에만 설치하려면 --platform을 추가한다.

bash install.sh --platform codex --addon autopilot
.\install.cmd --platform codex --addon autopilot

Addon-specific behavior, state files, pause/resume controls, removal details는 각 addon repository에 둔다. Core checkout은 common install command를 소유한다.

Official Addon List

Addon Purpose macOS / Linux / WSL Windows Command Prompt / PowerShell Details
autopilot explicitly approved autonomous run을 work item 단위로 계속 진행한다 bash install.sh --addon autopilot .\install.cmd --addon autopilot AidALL/ghost-alice-autopilot

Install One Official Addon To One Platform

bash install.sh --platform codex --addon autopilot
.\install.cmd --platform codex --addon autopilot

Install Custom Addons

Custom, tenant, local development addon은 --addon-source PATH|URL을 사용한다.

bash install.sh --addon-source /path/to/addon-repo
.\install.cmd --addon-source C:\path\to\addon-repo

git URL addon source에서는 --addon-tag가 local addon source cache로 clone할 branch 또는 tag를 선택한다.

Install One Platform

Target macOS / Linux / WSL Windows Command Prompt / PowerShell
Claude Code bash install.sh --platform claude .\install.cmd --platform claude
Codex bash install.sh --platform codex .\install.cmd --platform codex

Interactively 선택하려면 다음 command를 사용한다.

bash install.sh --prompt-platform
.\install.cmd --prompt-platform

Check Status

Doctor는 read-only strict diagnostic이다. 설치 상태가 의심스러우면 변경 전에 doctor를 먼저 실행한다.

bash install.sh --doctor
bash install.sh --status
.\install.cmd --doctor
.\install.cmd --status

정상 목표는 overall: ok다.

Update

Installer를 통해 local clone을 업데이트한다. 이 경로는 fast-forward 전에 source-local edit을 stash한다.

cd ~/ghost-alice
bash install.sh --update-source
cd %USERPROFILE%\ghost-alice
.\install.cmd --update-source

checkout이 너무 오래되어 raw git pull이 local changes로 막힌 경우 bootstrap updater를 사용한다.

cd ~/ghost-alice && git fetch origin main && git show FETCH_HEAD:scripts/bootstrap-source-update.sh | /bin/bash -s --

source update가 conflicts, divergent branches, non-fast-forward state에서 멈추면 installer를 반복 실행하지 않는다. 먼저 troubleshooting을 따른다.

그 다음 installer를 다시 실행한다.

bash install.sh
bash install.sh --doctor
bash install.sh --status
.\install.cmd
.\install.cmd --doctor
.\install.cmd --status

Common Commands

Purpose macOS / Linux / WSL Windows Command Prompt / PowerShell
List skills bash install.sh --list .\install.cmd --list
Show install state bash install.sh --status .\install.cmd --status
Run protected diagnostic bash install.sh --doctor .\install.cmd --doctor
Safe source update bash install.sh --update-source .\install.cmd --update-source
Install official autopilot addon bash install.sh --addon autopilot .\install.cmd --addon autopilot
Install custom addon source bash install.sh --addon-source /path/to/addon-repo .\install.cmd --addon-source C:\path\to\addon-repo
Selective core install bash install.sh task-router verification-before-completion .\install.cmd task-router verification-before-completion
Full uninstall bash install.sh --uninstall .\install.cmd --uninstall
Selective uninstall bash install.sh --platform codex --uninstall task-router .\install.cmd --platform codex --uninstall task-router
Clean false pending entries bash install.sh --platform claude --cleanup-pending .\install.cmd --platform claude --cleanup-pending

Runtime And Platform Reference

Agent Visibility Profile

default profile은 dynamic이다. profile은 user-facing governance surface 양만 제어한다. hooks, strict-grade logs, Work-Impact Projection을 disable하지 않는다.

Profile macOS / Linux / WSL Windows Command Prompt / PowerShell
strict bash install.sh --visibility strict .\install.cmd --visibility strict
dynamic bash install.sh --visibility dynamic .\install.cmd --visibility dynamic
minimal bash install.sh --visibility minimal .\install.cmd --visibility minimal

--agent-visibility는 accepted compatibility alias로 남긴다. 새 문서와 command에서는 --visibility를 우선한다.

Slash Commands By Platform

Claude Code는 slash command를 first-class feature로 취급한다. Codex는 built-in slash command와 custom prompt path를 지원하지만, trusted runtime command가 없을 때 stable Ghost-ALICE profile 변경은 _shared/agent_visibility_cli.py를 사용한다.

Python Contract

Installer는 Python 3.11 이상을 요구한다. Python 3.11+가 없으면 가능한 환경에서 automatic preparation을 시도한다.

Python 3.11+가 여전히 없으면 installation을 멈추고 manual recovery guidance를 출력한다.

Node.js Contract

Claude Code와 Codex hook-enabled install은 tool-checkpoint PreToolUse gate가 ghost-alice-hook.mjs를 실행하기 때문에 PATH의 Node.js를 요구한다. target platform이 있는데 node가 없으면 installer는 hook installation을 막는다.

Platform Update Behavior

Platform OS Install mode Install path Skill body updates auto-reflect
Claude Code macOS / Linux / WSL symlink ~/.claude/skills/ yes
Claude Code Windows junction ~/.claude/skills/ yes
Codex macOS / Linux / WSL copy ~/.agents/skills/ no
Codex Windows copy ~/.agents/skills/ no
All platforms Git Bash on Windows copy fallback varies no

auto-reflection은 SKILL.md, references/, scripts/ 같은 skill body에 적용된다. Hooks, bootstrap files, permission policy, _shared/는 installer-managed runtime surface이므로 변경 시 installer를 다시 실행한다.

Installed Surfaces

full install은 다음을 배포한다.

merge-companion

update가 user-modified installed files를 감지하면 installer는 후보를 pending merge queue에 격리한다.

다음 Claude/Codex session에서 pending entry가 있으면 merge-companion이 각 entry를 merge, discard, defer할지 묻는다.

Uninstall

Uninstall은 installer-owned install-state manifest를 사용한다.

bash install.sh --uninstall
.\install.cmd --uninstall

전체 cleanup contract는 uninstall cleanup을 본다.

Troubleshooting

git pull, merge conflict, installer rerun 중 update가 막히면 troubleshooting부터 본다.

같은 recovery playbook은 repo를 아직 pull할 수 없는 사람을 위해 GitHub Wiki install-troubleshooting_ko page에도 mirror된다.