ryu-workspace 0.1.13

Git-native workspace primitive for Ryu: the git/worktree engine that shells `git`/`gh` for a caller-supplied cwd. Owns per-run worktrees (create → isolated `ryu/run-<id>` branch → `Drop`-on-completion cleanup), the aggregate run diff (committed + staged/untracked, numstat + name-status), whole-tree apply (commit → merge-into-base OR commit → push → `gh pr create`), and the read-only git status/branches/checkout/create-branch/commit-push helpers. An extracted Core capability crate; in-process by default and consumed as a NON-optional path dependency (the ACP chat loop opens a worktree per isolated run). ZERO dependency on apps/core: the only kernel coupling is the Windows console-suppression `NoWindow` util, vendored verbatim (a `Command`-builder extension trait with no shared crate home — the same UTIL-duplication call `ryu-webhook-ingress` made). The chat-cwd threading (ChatStreamRequest → conversations.rs) stays kernel; only the git engine moves here.
Documentation
//! Git-native workspace primitive for Ryu.
//!
//! The git/worktree engine extracted from `apps/core/src/server/{git,worktree}.rs`.
//! It shells `git`/`gh` against a caller-supplied cwd and owns:
//!
//! - **[`worktree`]** — per-run worktrees (`create_worktree_in` → an isolated
//!   `ryu/run-<id>` branch under `.ryu-worktrees/`, `Drop`-on-completion cleanup),
//!   the aggregate run diff ([`worktree::worktree_diff`]), and whole-tree apply
//!   ([`worktree::apply_worktree`]: commit → merge-into-base OR commit → push →
//!   `gh pr create`).
//! - **[`git`]** — read-only status/branches plus checkout/create-branch/
//!   commit-push helpers.
//!
//! In-process by default: every entry point is a plain function call, never IPC.
//! ZERO dependency on `apps/core` — the only kernel coupling is the Windows
//! console-suppression [`win_process::NoWindow`] util, vendored verbatim. The
//! axum HTTP handlers that call these functions, the live `WorktreeDiffStore`
//! run-state, and the ChatStreamRequest→cwd threading all stay in Core.

mod win_process;

pub mod git;
pub mod worktree;