[Docs](https://useangelia.com/docs/)

# Decisions

Each record says what was decided, what else was tried, and what it costs. A later record can amend an earlier one; the status line at the top of each says so.

- [ADR 0001 — Process model: long-lived print-mode process per session (A2)](https://useangelia.com/docs/decisions/0001-process-model/)
  accepted 2026-09-13; amended 2026-09-19 by ADR 0008, which brings A3 back as an opt-in host mode per profile (`tui: true`) because the Claude-app mirror became a requirement.
- [ADR 0002 — WhatsApp: Baileys in-process, pairing code, mention-required groups](https://useangelia.com/docs/decisions/0002-whatsapp/)
  accepted 2026-09-13; implemented 2026-09-17 (`angelia pair`), running groups daily since. Historical in part: QR became the default pairing once WhatsApp began rejecting pairing codes from third-party clients; the code is still an option (`pairing: code`).
- [ADR 0003 — Telegram: grammY, long polling, plain text, privacy mode on](https://useangelia.com/docs/decisions/0003-telegram/)
  accepted 2026-09-13.
- [ADR 0004 — routing.yaml, profile = directory, session map](https://useangelia.com/docs/decisions/0004-routing-and-sessions/)
  accepted 2026-09-13.
- [ADR 0005 — TypeScript on Node ≥ 22, no Python sidecar](https://useangelia.com/docs/decisions/0005-language-and-repo/)
  accepted 2026-09-13.
- [ADR 0006 — Agent-agnostic router, Claude Code as the v1 backend](https://useangelia.com/docs/decisions/0006-backend-seam/)
  accepted 2026-09-13. Historical in part: "v1 accepts only claude-code" no longer holds; Grok Build is a second backend (ADR 0007).
- [ADR 0007 — Antigravity CLI and Grok Build as backends](https://useangelia.com/docs/decisions/0007-agy-and-grok-backends/)
  accepted 2026-09-15. The agy half is superseded 2026-09-21: agy was removed as a backend (headless it cannot deny a single tool, and its MCP servers are machine-wide, so per-profile capabilities could never be enforced on it).
- [ADR 0008 — Host mode per profile: print mode by default, a tmux TUI when the chat must live in the Claude app](https://useangelia.com/docs/decisions/0008-tui-host-mode/)
  accepted 2026-09-19.
- [ADR 0009 — Ship Baileys built and bundled; never build a dependency at install time](https://useangelia.com/docs/decisions/0009-bundle-baileys/)
  accepted 2026-09-21.
- [ADR 0011 — pi as a backend](https://useangelia.com/docs/decisions/0011-pi-backend/)
  accepted 2026-09-25; the shell check replaced by the OS sandbox 2026-09-27.
- [ADR 0012 — Codex as a backend, held by its own sandbox](https://useangelia.com/docs/decisions/0012-codex-backend/)
  accepted 2026-09-25.

There is no 0010. It recorded a design that was removed before the code was published, and the record was left out with it.

Angelia · open source, MIT [Docs](https://useangelia.com/docs/) · [info@useangelia.com](mailto:info@useangelia.com) · [GitHub](https://github.com/korengast/angelia)
