# OpenLife CLI v1.19.1 — Host-CLI command coverage + route catalog fix

**Released:** 2026-05-25
**Predecessor:** v1.19.0
**Theme:** Make the full CLI reachable as host slash commands, and fix
intent routing when run outside a repo clone.

---

## Why this release

Two gaps surfaced while using OpenLife through Claude Code:

1. Only a curated subset (~12) of the CLI's ~70 verbs shipped as host slash
   commands. Operational verbs (`route`, `squads`, `agents`, `skills`,
   `memory`, `governance`, `swarm`, `mcp`, `models`, …) had no
   `/openlife:<cmd>` wrapper, so they were terminal-only.
2. `openlife route intent "<goal>"` returned empty squads/agents/skills
   whenever invoked from a directory without a project-local `.catalog/`
   (e.g. the user's home dir, which is where the `/openlife:route` slash
   command runs) — even though the package bundles 315 agents / 47 squads /
   63 skills.

## What landed

| Area | Commit | Change |
|------|--------|--------|
| Slash commands | `4ecbbb3` | `generate-slash-commands.js`: new `CLI_PASSTHROUGH` catalog (59 verbs) + renderer. Wrappers shell out to `openlife <verb>` and consult `--help` at runtime for subcommands. Destructive verbs require confirmation; interactive REPLs (`chat`/`config`) defer to the terminal. Emitted across all 3 hosts (claude-code, gemini-cli, codex). |
| Host install | `4ecbbb3` | `HostInstaller.copyDir` now recurses into subdirs, so nested namespaces (`commands/openlife/agents`, `/flow`) install as `/openlife:agents:*` and `/openlife:flow:*`. Previously flat-only, which silently dropped the 24 curated agent/flow commands at install time. |
| Routing | `6222fc2` | `readCatalogText` now uses multi-root resolution mirroring `AgentRegistry` (v1.8.3+): prefer project-local `.catalog`, fall back to the bundled package `.catalog`, dedupe by id. |

Per host now: 12 top-level + 59 cli-passthrough + 12 agents + 12 flows = **95** commands.

## Verification

- `route intent "criar landing page de alta conversão para SaaS"` → 8 squads /
  8 agents / 8 skills (top: `02-product-growth-ultimate-landingpage`, agents
  `lp-copywriter` / `lp-design-architect`).
- Layout/installer tests green: `test_dist_templates_layout`,
  `test_host_installer`, `test_host_installers_gemini_codex`.
- `prepublishOnly` runs `test:all` as the publish gate.

## No new env vars, no breaking changes

Purely additive: existing slash commands and their content are unchanged
(idempotent regeneration). The routing fix only adds a fallback root.
