Add GitForge README, .gitignore and initial Tauri + MCP/UI skeleton#3
Add GitForge README, .gitignore and initial Tauri + MCP/UI skeleton#3
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 834894690e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| [[bin]] | ||
| name = "gitforge" | ||
| path = "src/bin/gitforge.rs" |
There was a problem hiding this comment.
Add src-tauri main binary to Cargo targets
The manifest declares only one binary target (src/bin/gitforge.rs), so Cargo will not build src-tauri/src/main.rs where mcp_call, voice_process, and the MCP backend wiring live. In this state, the shipped binary cannot run the Tauri/MCP backend code from this commit, and the src-tauri tests are also excluded from normal cargo test runs.
Useful? React with 👍 / 👎.
| refname = format!("refs/heads/{branch}"); | ||
| } | ||
|
|
||
| repo.worktree(name, Path::new(path), None) |
There was a problem hiding this comment.
Pass requested branch into worktree creation
git_worktree_create parses and even creates the requested branch, but the actual worktree call uses repo.worktree(name, path, None), so the branch parameter is not applied when creating the worktree. When callers request a branch different from current HEAD, the created worktree can point at the wrong ref while the response/SQLite metadata reports the requested branch, which breaks branch-scoped workflows.
Useful? React with 👍 / 👎.
Motivation
README.md..gitignoretailored for a Tauri + Rust + Node workspace.Description
gitforge/REPOSITORY_DESCRIPTION.md, a GitHub-readygitforge/README.md, andgitforge/.gitignoreto cover Rust/Tauri, Node, local DB/logs, and editor artifacts.gitforge/.devcontainer/devcontainer.jsonand Tauri configgitforge/tauri.conf.jsonand package manifestsgitforge/Cargo.tomlandgitforge/package.json.src-tauri/src/main.rs, a local agent insrc-tauri/src/agent/mod.rs, and an MCP JSON-RPC server with core methods and DB-backed PR/worktree support insrc-tauri/src/mcp/server.rs.gitforge/src/componentsandgitforge/src/style, plus a simple CLI entry ingitforge/src/bin/gitforge.rs.Testing
git status --shortand file inspections withnl -baforgitforge/REPOSITORY_DESCRIPTION.md,gitforge/.gitignore, andgitforge/README.md, which all succeeded.git commitwhich completed successfully.gitforge/src-tauri/src/mcp/server.rs::testsfor MCP methods, though those Rust tests were not executed in this rollout.Codex Task