v2.2.4 — Tera Pilot (renamed from Clew): TUI-first local coding agent
v2.2.4 — Tera Pilot (renamed from Clew)
Full product rename (clew → tera_pilot, clew_tui → tera_pilot_tui) plus the
P0 work since v2.1.1.
⚠️ This release replaces the Clew-era codebase onmain. See
P0_IMPLEMENTATION.mdfor the full journal.
Rename & packaging
clew*→tera_pilot*(packages, classes, env varsTERA_PILOT_*,~/.tera_pilot,TERA_PILOT.md)- One-command install:
npm install -g tera-pilot(postinstall bootstraps a Python venv at~/.tera_pilot/venv) - npm bin now exposes
tera-pilot,tera-pilot-tui,tera-pilot-daemon,tera-pilot-acp,tera-pilot doctor,tera-pilot audit
P0 onboarding & evidence
- Environment Doctor —
tera-pilot doctor(human +--jsonoutput) - Signed audit export/verification —
tera-pilot audit(Ed25519 + SHA-256 hash chain) - Public threat model —
THREAT_MODEL.md - Machine-readable backend report contract (schema v1, tool args redacted, secrets-safe)
Rust native acceleration (tera-pilot-native)
- sandbox, circuit breaker, interjection, compaction, actor — PyO3 extension mirroring pure-Python fallbacks
- Benchmarks: circuit breaker ~43x, sandbox path checks ~3.3x, interjection ~1.8x
- Sandbox security fixes:
..-escape and symlink+..parity with PythonPath.resolve()
Evaluation harness (eval/)
- 43 tasks in 6 categories (bug_fix / test_repair / refactor / feature / code_review / documentation)
eval.runnerCLI:run/check/smoke/report, result schema v1, baseline recording
Reliability & security
- TUI integration tests (19) driving the real runtime through the real bridge with a fake provider
- ToolEngine/Guardian security fixes:
git --git-dir/--work-treesandbox bypass,git_diffpathspec validation, Guardian dead-code policy check - Cancel-hang (TOCTOU) fix in the TUI bridge
- Test suite: 216 tests passing;
eval check43/43,eval smoke10/10
Docs
- All product docs translated to English (
TERA_PILOT_PRODUCT_STRATEGY.md,TERA_PILOT_PRODUCT_READINESS.md,THREAT_MODEL.md,eval/README.md) - Market-research article moved to
docs/market-research/