mirror of
https://github.com/nearai/ironclaw.git
synced 2026-09-03 08:06:01 +08:00
* refactor: remove engine v2 (crates/ironclaw_engine) Engine v2 has been superseded by the Reborn runtime/agent-loop stack and is no longer wired into any build target. This removes the entire crates/ironclaw_engine crate along with its now-dead call sites, gate pipeline, bridge routing, and engine-v2 integration tests. - Drop crates/ironclaw_engine from the workspace members and dependencies - Remove the engine-v2 gate resolve path (/api/chat/gate/resolve); web auth continues to use the legacy pending_auth path - Delete engine-v2 integration tests and dead bridge/gate/agent glue - Prune engine-v2 references from docs and env examples The last state of main that still contains engine v2 is preserved under the old_engine_v2 tag for future reference. cargo +1.96.0 check --workspace --all-features passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix: update engine-v2 shell test and clippy lint after removal Two follow-ups from removing engine v2 that CI caught: - clippy: ConfigureFlowOutcome::PairingRequired is now a unit variant, so drop the `{ .. }` struct pattern in web/onboarding.rs. - e2e: with engine v2 gone the gateway always reports engine_v2_enabled=false, so the browser shell renders the legacy tab layout (chat + routines visible, missions hidden). Update the Reborn gateway smoke test to assert the post-removal shell and drop the now no-op ENGINE_V2=true env from its fixture. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(e2e): correct post-removal shell tab expectations The missions tab has no engine-mode marker in index.html — it is always visible. The genuinely v2-only tab is `projects` (data-v2-only), which applyEngineModeToTabs hides once /api/gateway/status reports engine_v2_enabled=false (now hardcoded after the engine v2 removal). Assert the real post-removal shell: chat, missions, and routines visible; projects hidden. (My prior commit wrongly expected missions hidden.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>