Changelog¶
Use this page to track what changed in Harness CLI and jump to release-related docs.
Docs And Workflow Notes¶
- v3.6.0 Headroom token intelligence workflow:
aios initnow installs the tested Headroom CLI range alongside RTK and Caveman, with a separate--yes-headroom-mcpconsent for Gemini/Grok user-scope MCP registration. Hermes requires a real TTY and reportspending-interactiveotherwise. Existing external or conflicting entries are not overwritten; AIOS records owned entries in~/.aios/integrations/headroom-mcp.json. MCP-only compression is explicit and does not claim transparent input interception. See: Token Intelligence and Compression and the Headroom + Ponytail post. - Added agent governance coverage to the Team docs, scenario guide, ContextDB reference, and blog.
- New smoke evidence guidance now points to
.aios/agents/smoke/<agent>.json,.aios/agents/provenance/<agent>.json, and.aios/interception/metrics/agents-smoke-<agent>.jsonl. - Skill edits now point readers to
node scripts/aios.mjs skill verify-training --changed --base HEAD --jsonbefore trusting live agent workflows. - Grok Build as first-class AIOS client: xAI Grok Build (
grokCLI, runtime idgrok-build) is now a full AIOS client with skills, agents, superpowers, native, team, and harness. MCP uses Codex-shaped TOML (~/.grok/config.toml/.grok/config.toml). See: Grok Build + AIOS blog post. - Hermes Agent as first-class AIOS client: Hermes (Nous Research) is registered with skills, native, harness, and superpowers capabilities. An MCP bridge server (
scripts/aios-mcp-server.mjs) exposes 5 AIOS tools inside Hermes sessions. See: Hermes Agent + AIOS blog post.
Official Release History¶
v4.0.1 (2026-07-14) - Public content and SEO/GEO coverage¶
- Synchronize the documentation version badge, the root
VERSION, the GitHub release, and public changelog records around4.0.1. - Expand the public documentation and blog coverage for current AIOS workflows, release navigation, and search-friendly explanations.
v4.0.0 (2026-07-14) - Adaptive workflow policy¶
- Add adaptive routing for
noop,direct,guarded, andplannedwork so each request receives an appropriate level of process. - Document persistent plans, edit-safety gates, and evidence-based verification for multi-step AI agent work.
- Read the release story: v4.0 Adaptive Workflow Policy.
v3.6.0 (2026-07-10) - Headroom + Ponytail token intelligence workflow¶
Added¶
- Detect and install
headroom-ai[all]>=0.31.0,<0.32.0in an isolateduv toolorpipxenvironment; Python 3.10+ is required. - Add
--yes-headroom-mcpso unattended package installation and MCP user-configuration consent stay independent. - Register the official
headroom mcp servewith Gemini CLI, Grok Build, and Hermes Agent through their native MCP commands; Hermes stayspending-interactivewithout a TTY.
Safety and compatibility¶
- Persist AIOS-owned MCP registration fingerprints in
~/.aios/integrations/headroom-mcp.json; preserve external or conflicting entries. - Clarify that MCP tools (
headroom_compress,headroom_retrieve,headroom_stats) are explicit on-demand compression, not transparent interception for the current request. - Document RTK, Caveman, ContextDB, Headroom, and the Ponytail-inspired smallest-correct-change gate as distinct layers.
v3.4.0 (2026-07-09) — Grok Build first-class client¶
Added¶
- Grok Build (
grok/grok-build) joins Codex, Claude Code, Gemini CLI, OpenCode, and Hermes as a first-class AIOS client. - Capabilities:
skills,agents,superpowers,native,team,harness. - Project skill root:
.grok/skills; agent root:.grok/agents; instruction file: sharedAGENTS.md. - MCP: TOML
[mcp_servers.*]at home~/.grok/config.tomland project.grok/config.toml. - One-shot / unattended:
grok --always-approve -p "...". - Harness / team provider:
--provider grok/--team-provider grok/--agent grok-build. - Codemap injects CRG MCP into Grok home config;
aios initdetects thegrokCLI.
Docs¶
- Quick Start, Use Cases, CLI Comparison, Solo Harness, ContextDB, Troubleshooting, and homepage copy list Grok Build.
- Blog: Grok Build Is Now a First-Class AIOS Client.
v3.3.0 (2026-07-02) — 废弃原生拦截运行时,全自动安装 RTK + Caveman¶
Breaking Change: AIOS 原生拦截运行时废弃¶
AIOS 原生 token 拦截运行时(scripts/aios-mcp-proxy.mjs、scripts/aios-intercept.mjs、config/aios-interception.json)已标记为 deprecated。代码保留但不再积极维护。
替代方案是社区维护的工具:
- RTK (https://github.com/rtk-ai/rtk) — Rust CLI 代理,压缩命令输出 60-90%。单二进制,<10ms 开销,100+ 支持命令。本地运行,无外部服务。
- Caveman (https://github.com/JuliusBrussee/caveman) — Claude Code skill,压缩 agent 输出 token ~75%。保持技术准确性,仅压缩表述风格。本地 prompt skill。
新功能:全自动安装¶
aios init 现在自动检测并安装 RTK + Caveman:
# 交互式安装(用户确认后全自动)
node scripts/aios.mjs init --all
# CI/无人值守(跳过确认)
node scripts/aios.mjs init --all --yes-compression-tools
# 仅检测不安装
node scripts/aios.mjs init --dry-run
安装流程:检测 → 用户确认 → 下载安装 → 验证 → PATH 配置 → rtk init -g 客户端初始化。
平台支持:macOS (brew)、Linux/WSL (install.sh)、Windows (PowerShell zip 下载 + 自动 PATH 配置)。
删除的策略¶
bidirectional-turn-compression强制策略全部删除pre_send/post_receive压缩验证要求删除uncontrolled_host_output策略违规标记删除- "Do not install RTK, Caveman" 禁令删除
迁移指南¶
- 运行
aios init安装 RTK + Caveman - 旧的
scripts/aios-mcp-proxy.mjs不需要删除,但不再维护 - 旧配置
config/aios-interception.json不再被读取 - 重启 AI 客户端激活 RTK hook/plugin
- 在 Claude Code 中输入
/caveman激活 Caveman
v3.2.0 (2026-07-01) — Harness 可靠性与技能生命周期升级¶
Harness Solo Runtime¶
- consecutiveFailures abort: New dual-counter system (
consecutiveFailures+consecutiveInfraFailures) inbackoff.mjs. After 5 consecutive non-success outcomes, the harness automatically aborts the session instead of retrying indefinitely — preventing wasted tokens on unrecoverable failures. - Emergency compaction tier:
mermaid-canvas.mjsnow has a third compaction level triggered at 100+ canvas nodes. Emergency mode keeps only 5 recent nodes (vs 10 for mild/aggressive), preventing context overflow in long-running sessions. - Dry-run readiness preflight: New
dry-run-readiness.mjschecks 4 dimensions (ContextDB index, Git status, Provider config, Session resume) before the harness loop starts.blockedlevel prevents launch entirely;warninglevel logs issues but continues.
Runtime Directive System¶
- Directive injection: New
directive-inject.mjsreadsdefault_modefrom.aios/config.jsonand injects correspondingsystemPromptAdditionsinto every harness iteration prompt. Supports 3 built-in presets (strict-primary,harness-runner,team-worker) and custommode_presets. This is an original design — not a copy of oh-my-openagent's ULTRAWORK keyword detection.
Auto-Dream (Phase A: Manual)¶
- Manual dream CLI:
scripts/lib/memo/autodream.mjsprovides--preview(plan only) and--apply(execute) modes for memory consolidation. Wraps the existingrunDreamtaxonomy + dedup + TTL expiry pipeline. Phase B will add automatic triggering.
Skill Workshop¶
- Stale detection:
skill-workshop.mjsapply() now compares the target file's filesystem hash against the lock'scomputedHash. If they differ (skill was modified externally), apply is rejected — preventing accidental overwrites of user edits. - File-level rollback snapshot: apply() saves the complete
previousContentofSKILL.mdinlock.rollbackSnapshot.previousContent. rollback() can now restore actual file content, not just metadata.
Verification¶
All changes verified with 37/37 unit + integration tests passing.
v3.1.0 (2026-06-30) — Hermes Agent 一等公民客户端集成¶
- Hermes Agent 注册为第 7 个 AIOS 一等公民客户端:具备 skills、native、harness、superpowers 全部能力。
- MCP 桥接服务器:
scripts/aios-mcp-server.mjs在 Hermes 会话内暴露 5 个 AIOS 工具(aios_context_pack、aios_doctor_suite、aios_intercept_compress、aios_skill_validate、aios_skill_install)。 - Native emitter + MCP target:AGENTS.md 输出 + JSON stdio(
.mcp.json+config.yamlscopes)。 - 多语言文档覆盖(英/中/日/韩)。
- See: Hermes Agent + AIOS blog post.
v2.0.2 (2026-06-15)¶
- Skill health validation:
recordSkillObservation()now rejects unknown statuses - Help-first CLI parsing:
aios skill ... --helpandaios session ... --helpnow show usage before required positional-argument validation runs. - Crush config hygiene:
.crush.jsonandcrush.jsonare no longer tracked in the repository; local Crush config files remain supported but are ignored by git. - See: v2.0.2 release post.
v2.0.1 (2026-06-13)¶
- Browser MCP alias migration: fixed legacy alias compatibility while keeping the default browser-use runtime path stable.
v2.0.0 (2026-06-12)¶
- Pull-based runtime context: removed automatic ContextDB prompt injection and startup-mode injection so agents load runtime context only when needed.
v1.52.0 (2026-06-11)¶
- aios_shell MCP tool: deterministic shell output compression across all clients via
aios-shellMCP alias. Shell commands execute throughscripts/shell-mcp-server.mjsand output is automatically compressed by the MCP proxy at 99%+ saving ratio. - Three-layer interception defense: MCP tool (all clients) → shim+hook (Claude/all) → prompt guidance. No single point of failure.
- Shim self-healing: native shims probe 4 fallback paths (
AIOS_ROOT_DIR→ baked root →~/.rexcil/harness-cli→~/cool.cnb/rex-ai-boot) before failing open to the real client binary. - Sensitive command guard:
git pushandnpm publishare intercepted before execution and require host permission review. - aios-shell in all client configs: registered via
doctor --fixin.mcp.json,.codex/config.toml,.gemini/settings.json,opencode.json, andcrush.json. - See: v1.52.0 blog post.
v1.51.0 (2026-06-10)¶
- Crush smoke verification: added Crush (charmbracelet) to pending-smoke gating with hardened live execution blocks.
- Native strict mode upgrade:
clients doctor --native-strictnow verifies real downstream clients exist behind managed shims. - See: v1.51.0 blog post.
v1.50.1 (2026-06-05)¶
- All-client turn compression compliance: every AIOS-managed client/host now shares the
bidirectional-turn-compressionmetric with requiredpre_sendandpost_receiverecords. - No fake savings for bypasses: direct host output outside the AIOS-managed runner is recorded as
policy-violation/non_compliant, withsaved_bytes=0. - Proof matrix:
node scripts/aios.mjs interception proof --jsonanddoctor --jsonincludeturn_compression_matrixfor Codex, Claude, Gemini, Antigravity, OpenCode, Crush, Cursor,aios-harness, andgeneric-mcp. - Skill training evidence:
aios-interception-runtimewas trained with SkillOpt-Lite; artifacts live under.skillopt/aios-interception-runtime-2026-06-05. - Release tutorial: See the v1.50.1 token compression compliance post and Token Intelligence and Compression.
v1.50.0 (2026-06-04)¶
- Unified AIOS Search:
node scripts/aios.mjs search "<query>"searches project memory, pinned memo, docs, plans, and code from one CLI surface. - Cross-client memory safety: Search keeps
project_sharedvisible across clients and filtersagent_privaterecords unless the matching--agent <runtime-client-id>is supplied. - All-client native guidance: The same search instruction is projected to Codex/OpenCode/Crush through
AGENTS.md, Claude throughCLAUDE.md, and Gemini/Antigravity throughGEMINI.md. - Release tutorials: See the v1.50.0 unified search tutorial and ContextDB.
⭐ Star on GitHub 📦 View Releases
Latest Stable¶
1.17.0(2026-05-16):- Memo Storage:
aios memonow uses a storage abstraction with two public implementations:file(default append-only JSONL at.aios/memo/file/events.jsonl) andsplit(one JSON file per memo event). Manage it withaios memo storage status,aios memo storage use split,aios memo storage use file,aios memo storage rebuild, andaios memo storage doctor. - Git-friendly memo source of truth:
.aios/memo/is the canonical project memo root. ContextDB/SQLite remain compatibility mirrors and rebuildable caches, not the memo source of truth. - Runtime state alignment: new ContextDB runtime state is written under
.aios/context-db/; legacymemory/context-dbpaths are read only for compatibility when present. -
See ContextDB for the memo storage boundary.
-
1.13.0(2026-05-15): - Context Registry (Pull-Based Context): Replaces push-based context injection (~30KB every session) with a lightweight ~350 byte registry pointer. Agents now read
.aios/context-db/index.jsonand load only what they need. Startup drops from ~5 minutes to near-instant. aios init: One-command setup for all four coding agents (Claude Code, Codex CLI, Gemini CLI, OpenCode). Detects installed agents, writes registry marker to config files, configures save guard hooks. Idempotent — safe to run multiple times.- Multi-client native sync fix: Gemini now writes to
GEMINI.md(the file Gemini CLI actually reads). OpenCode readsAGENTS.mddirectly (no separate file needed). Old.gemini/AIOS.mdand.opencode/AIOS.mddeprecated. --context-mode slim: Team/harness routes and wrapped agents automatically use slim injection when the registry marker is detected. Falls back to full injection for unwrapped agents.-
See ContextDB for the full architecture.
-
1.11.0(2026-05-09): -
debug-hub v0.3: Instrumentation tracking and automatic cleanup. New MCP tools:
instrument,list_instruments,cleanup_instruments. Marker conventionDH:<sessionId>for zero-dependency debug log injection with dual-mode cleanup (explicit via instrument records, discovery via workspace grep). Dry-run support for safe cleanup preview. Cross-model debug protocol via workspace memory. Replaces upstream debug skill with debug-hub skill. See debug-hub. -
1.10.0(2026-05-09): -
debug-hub v0.2: Adds automatic trace materialization (debounced), agent debugging sessions, structured evidence events,
/api/health, and MCP tools fortimeline,health, andcompact_context. Includes input validation on HTTP endpoints, MCP argument validation, path-traversal hardening, case-insensitive search, and debounced trace indexing. See debug-hub. -
1.8.0(2026-05-08): - Adds self-trigger harness routing for wrapped
codex,claude,gemini, andopencodesessions. - Model Router: Intelligent multi-model dispatch for Agent Teams. Includes model capability registry (8 models), task-type to model routing, three CLI protocol adapters (claude/codex/gemini), cost-ascending fallback chains, agent-callable
model-routerskill,AIOS_MODEL_{ROLE}env var overrides, and perception feedback loop integration. See Model Router for full documentation. - GroupChat Runtime:
aios teamlive mode now uses round-based agent execution with shared conversation history. Agents in each round run in parallel; all agents see the full accumulated thread. Blocked agents trigger automatic re-plan rounds. Contrasts with the old one-shot isolated dispatch model. - OpenCode CLI subagent support:
opencode-cliis now a fully supportedAIOS_SUBAGENT_CLIENTfor all orchestration paths (subagent, team, and GroupChat runtimes).
Earlier Stable¶
1.7.1(2026-04-26):- Adds a Solo Harness release post.
-
Clarifies the existing persona/user profile memory layer (
aios memo persona ...,aios memo user ...) that was previously under-documented. -
1.7.0(2026-04-26): - Adds
aios harnessfor single-agent overnight runs with run journals, stop/resume controls, HUD surfacing, and optional worktree isolation. - Adds official Solo Harness documentation across English, Chinese, Japanese, and Korean docs.
Previous Stable¶
1.6.3(2026-04-25):- Syncs the Chinese visual onboarding structure to English, Japanese, and Korean pages.
-
Rewrites localized Overview, Quick Start, scenario commands, and Agent Team pages around the same beginner-first path.
-
1.6.2(2026-04-25): - Adds visual onboarding for the official docs: beginner path, TUI Setup/Doctor, ContextDB memory loop, and Agent Team/HUD diagrams.
-
Reorients onboarding around task-first commands before advanced ContextDB, Agent Team, and orchestration concepts.
-
1.6.1(2026-04-25): - Restores the GitHub Release pipeline for clean Linux checkouts.
- Simplifies Chinese onboarding docs so new users can find commands by task first.
Recent Versions¶
main(Unreleased):- debug-hub MCP-native debug log service (2026-05-06): MCP-native debug log collection for coding agents with Node.js/Browser/Go SDKs, embedded Web UI, file-based storage under
~/.debug-hub/, and 5 MCP tools for agent self-diagnosis (list_traces,get_trace,search_logs,get_stats,clear_logs); agents can now introspect their own runtime logs without human intervention- Agent self-trigger harness routing (2026-05-05): wrapped
codex/claude/gemini/opencodesessions now advertisesingle/subagent/team/harness; long-running, overnight, resumable objectives can self-triggeraios harness run ... --workspace <project-root>with--max-iterations, plus env controlsCTXDB_HARNESS_PROVIDERandCTXDB_HARNESS_MAX_ITERATIONS
- Agent self-trigger harness routing (2026-05-05): wrapped
- Privacy Shield for wrapped coding agents (2026-04-24): interactive ContextDB shell launches now print a colored privacy panel with Privacy Guard status, custom relay/model endpoint detection, and the safe
aios privacy read --file <path>path; auto prompts now clarify that LLM privacy instructions are advisory while deterministic AIOS gates provide verifiable enforcement - Workspace-aware routed startup + project Node selection (2026-04-23): routed
ctx-agentstartup now preserves the active git workspace even when launched from a non-AIOS repo;mcp-serverpackage scripts run throughscripts/with-project-node.mjsso.nvmrc/ Node 24 is honored consistently, avoiding external SQLite addon ABI drift via built-innode:sqliteand surfacing a clear error when Node 24 is unavailable - ContextDB Shell startup optimization (2026-04-22):
ctx()now prefers compiledmcp-server/dist/contextdb/cli.jsovernpm run -s contextdb, cutting per-call overhead from ~0.3s to ~0.06s; one-shot agent launch improved from ~2.2s to ~0.5s (~78% faster); shell-bridgedetectRunnerno longer requirestsx; install flow auto-buildsdist/when missing and gracefully falls back to npm-run mode on build failure - Default core skills update (2026-04-19):
awesome-design-md,frontend-design, andcap-commit-pushpromoted to default core skills - ContextDB lazy load (2026-04-18 to 2026-04-19): interactive sessions now default to lazy context loading (
CTXDB_LAZY_LOAD=on); agents self-discover memory via facade prompt instead of receiving a full context pack upfront; added lazy-load documentation and multilingual blog posts - AIOS workflow router skill (2026-04-18): added
.claude/skills/aios-workflow-routerfor reliable task-to-skill routing and discovery - Route/concurrency docs refresh + default concurrency = 3 (2026-04-20): documented a compact profile for interactive routing and parallel settings (
CTXDB_INTERACTIVE_AUTO_ROUTE,CTXDB_CODEX_DISABLE_MCP,CTXDB_TEAM_WORKERS,AIOS_SUBAGENT_CONCURRENCY); added core-overview links to the selection guide; changed live subagent runtime default concurrency from2to3 - Documentation: Agent Team & HUD (2026-04-11): Added comprehensive documentation for Team Operations - new pages Agent Team & HUD, HUD Guide, and Skill Candidates; updated Superpowers and Architecture with Team Ops references
- Browser MCP migration to browser-use CDP (2026-04-10): default browser runtime switched from Playwright to browser-use MCP over CDP; new launcher
scripts/run-browser-use-mcp.sh; migration commandaios internal browser mcp-migrate; screenshot timeout guard with configurableBROWSER_USE_SCREENSHOT_TIMEOUT_MS - HUD/Team skill-candidate enhancements (2026-04-09 to 2026-04-10):
--show-skill-candidatesflag for detailed view;--skill-candidate-limit <N>configurable limit; fast-watch mode defaults to 3 candidates (down from 6); artifact reads cached for performance; HUD suggestsskill-candidate applycommands; team status surfaces skill-candidate artifacts and drafts - Quality-gate visibility (2026-04-08 to 2026-04-09): quality-gate category surfaced in HUD minimal status and team history summaries; quality-failed-only filter; quality prefix filters with multi-value support
- Learn-eval draft recommendations (2026-04-07 to 2026-04-09): hindsight lesson drafts; skill patch draft candidates; draft recommendation apply flow; persist skill-candidate draft artifacts
- Turn-envelope v0 (2026-04-07): event linkage for turn-based telemetry; clarity entropy memo coverage in harness
- Browser doctor auto-heal (2026-04-06 to 2026-04-08):
doctor --fixauto-heals CDP service; setup/update lifecycle auto-heals browser doctor; CDP quick commands in docs - Multi-environment RL training system: shared
rl-corecontrol plane with shell, browser, and orchestrator adapters; three-pointer checkpoint lineage; four-lane replay pool; PPO + teacher distillation training - Mixed-environment campaigns (
rl-mixed-v1): one live batch can span shell + browser + orchestrator episodes with unified rollback decision - ContextDB
searchnow defaults to SQLite FTS5 +bm25(...)ranking, with automatic lexical fallback when FTS is unavailable - ContextDB semantic rerank now operates on query-scoped lexical candidates, reducing drops of older exact matches
subagent-runtimelive execution foraios orchestrate(opt-in viaAIOS_EXECUTE_LIVE=1)- bounded work-item queue scheduling with ownership hints
- no-op fast path: auto-complete
reviewer/security-reviewerwhen upstream handoffs touched no files - Windows PowerShell shell-smoke workflow on each push to
main(.github/workflows/windows-shell-smoke.yml) - scope-aware
skillsinstall flow withglobal/projecttarget selection - canonical skill authoring now lives in
skill-sources/, with repo-local client roots generated vianode scripts/sync-skills.mjs - default skills install mode is now portable
copy; explicit--install-mode linkremains available for local development - release packaging/preflight now validates generated skill roots with
check-skills-sync - catalog-driven skill picker with core defaults, optional business skills, and uninstall showing installed items only
- TUI skill picker groups entries into
CoreandOptionalwith truncated descriptions for terminal readability doctornow warns when a project skill overrides a global install of the same name- Node runtime guidance is now explicitly aligned on Node 24 LTS
- Ink TUI refactor (v1.1.0): full TypeScript + Ink-based TUI with React components; startup banner with REXCLI ASCII art; adaptive watch intervals; left-right option cycling; native enhancement visibility panel
0.17.0(2026-03-17):- TUI uninstall picker now scrolls in smaller terminals and keeps
Select all/Clear all/Doneanchored at the bottom - uninstall cursor selection now stays aligned with the rendered grouped list
- setup/update skill pickers now label already-installed skills with
(installed) 0.16.0(2026-03-10): add orchestrator agent catalog and generators0.15.0(2026-03-10): gate live orchestrate execution behindAIOS_EXECUTE_LIVE0.14.0(2026-03-10): addsubagent-runtimeruntime adapter (stub)0.13.0(2026-03-10): externalize runtime manifest spec0.11.0(2026-03-10): expand local orchestrate preflight coverage0.10.4(2026-03-08): wrapper fallback for non-git workspaces and docs sync0.10.3(2026-03-08): fix Windows cmd-backed CLI launch0.10.0(2026-03-08): consolidate lifecycle flow into Node0.8.0(2026-03-05): add strict Privacy Guard with Ollama support and setup integration0.5.0(2026-03-03): ContextDB SQLite sidecar index (index:rebuild), optional--semanticsearch, unifiedctx-agentcore
2026-03-16 Operational Status¶
- Continuous live samples are succeeding (
dispatchRun.ok=true) with latest artifact: .aios/context-db/sessions/codex-cli-20260303T080437-065e16c0/artifacts/dispatch-run-20260316T111419Z.jsonlearn-evalstill recommends:[fix] runbook.failure-triage(clarity-needs-input=5)[observe] sample.latency-watch(avgElapsedMs=160678)- Timeout budgets remain unchanged while latency-watch observation continues.
Related Reading¶
Update Rule¶
When a release changes setup, runtime behavior, or compatibility, docs are updated in the same PR and reflected here.