# OpenLife Quickstart (Atualizado)

## 0) Build local
```bash
npm install
npm run build
```

## 1) Verificação inicial
```bash
openlife --help
openlife status
openlife doctor
```

## 2) Fluxo padrão (Task mode)
```bash
openlife ask "criar plano de integração" --mode task
```

## 3) Fluxo contínuo (Service mode)
```bash
openlife ask "monitorar sinais sociais diariamente" --mode service
# depois consulte o serviceId retornado e opere:
openlife service status <serviceId>
openlife service pause <serviceId> --reason "janela de manutenção"
openlife service resume <serviceId> --reason "retomar operação"
openlife service events <serviceId> --limit 20
```

## 4) Jobs e runtime
```bash
openlife job list --limit 20
openlife runtime probe
openlife runtime list
```

## 5) DesignMD + Reversa
```bash
openlife designmd import
openlife designmd list
openlife reversa mode --set designmd --profile claude
openlife reversa run-all --note "baseline contracts"
openlife reversa export-json
```

## 6) AIOBUILDER com contratos estritos
```bash
openlife aiobuilder generate-ui dashboard --strict-contracts
```

## 7) Smoke test rápido
```bash
npm run build && \
node dist/test_dual_mode.js && \
node dist/test_service_guardrails_delete.js && \
node dist/test_telegram_delete_guardrail.js && \
node dist/test_reversa_contracts_e2e.js && \
node dist/test_reversa_export_and_strict.js
```
