From be62fb5612cb38f71bfde069a049d90aca2021b0 Mon Sep 17 00:00:00 2001 From: findshan Date: Sat, 27 Jun 2026 10:24:02 +0800 Subject: [PATCH] docs(contributing): fix stale file paths in PR exemplars The 'Shape of a Typical PR' section pointed to paths that have since moved or were missing the crate prefix: - #386 /init: crates/tui/src/commands/init.rs -> crates/tui/src/commands/groups/project/init.rs - #389 LSP: core/engine/lsp_hooks.rs -> crates/tui/src/core/engine/lsp_hooks.rs - #393 /share: crates/tui/src/commands/share.rs -> crates/tui/src/commands/groups/project/share.rs Verified each path against the current tree (the grouped commands now live under commands/groups/project/). The crates/tui/src/lsp/ and crates/cli/src/update.rs references in the same block are already correct and were left unchanged. Signed-off-by: findshan --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8a8b349887..0303448d62 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -332,13 +332,13 @@ these crates, including the bottom-up build order. A well-structured PR follows a consistent pattern. Recent exemplars include: -- **#386** — `/init` command: new `crates/tui/src/commands/init.rs` module, project-type detection, +- **#386** — `/init` command: new `crates/tui/src/commands/groups/project/init.rs` module, project-type detection, AGENTS.md generation, command registration in `commands/mod.rs`, localization strings. - **#389** — Inline LSP diagnostics: LSP subsystem in `crates/tui/src/lsp/`, engine hooks in - `core/engine/lsp_hooks.rs`, config toggle, test coverage. + `crates/tui/src/core/engine/lsp_hooks.rs`, config toggle, test coverage. - **#387** — Self-update: new `crates/cli/src/update.rs` module, CLI subcommand registration, HTTP download + SHA256 verification + atomic binary replacement. -- **#393** — `/share` session URL: new `crates/tui/src/commands/share.rs`, HTML rendering, +- **#393** — `/share` session URL: new `crates/tui/src/commands/groups/project/share.rs`, HTML rendering, `gh gist create` integration, command registration. - **#343/#346** — (v0.8.5) Runtime thread/turn timeline and durable task manager refactors.