From 081a118b738a4ac94a6ddfe04d356e0a37317779 Mon Sep 17 00:00:00 2001 From: Niladri Das Date: Sun, 11 Jan 2026 12:54:32 +0530 Subject: [PATCH 1/8] docs: add graphite usage section to readme --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 0480a03..a66dac4 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,25 @@ mo optimize --whitelist # Manage protected optimization rules Rust CLI for managing Ollama models. Run with `./bin/ollama-tool` or see [ollama/README.md](./ollama/README.md) for details. +### Graphite + +Graphite revolutionizes Git workflows with stacked pull requests, enabling faster reviews and parallel development by breaking large changes into manageable, interdependent PRs. + +Key commands: + +```bash +gt branch create "feature-name" # Create a stacked branch +gt create --all --message "feat: add X" # Stage and commit all changes +gt submit --stack --reviewers alice,bob # Submit entire stack with reviewers +gt sync --restack # Sync and restack branches +gt up 2 # Navigate up 2 branches in stack +gt down # Move down the stack +gt stack # View current stack structure +gt repo sync # Sync all branches in repo +``` + +For advanced usage, see [Graphite docs](https://graphite.dev/docs). + ### Updating and Restoring Dotfiles To update the repository and restore the latest dotfiles to your home directory: From 40b80dd3874f21f5ce39352e0ae05355a7c83f19 Mon Sep 17 00:00:00 2001 From: Niladri Das Date: Sun, 11 Jan 2026 12:56:50 +0530 Subject: [PATCH 2/8] docs: refine features and add graphite --- README.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a66dac4..7440d0f 100644 --- a/README.md +++ b/README.md @@ -154,15 +154,13 @@ The setup script automatically configures Git to use the hooks globally and make ## Features -- **Pre-commit checks**: Runs pre-commit hooks on push (includes Python linting with black/flake8/mypy/bandit/safety, C++ formatting/linting with clang-format and clang-tidy, Rust formatting/linting/compilation with rustfmt/clippy, Bash linting with shellcheck, Dockerfile linting with hadolint, YAML linting with yamllint, GitHub Actions linting with actionlint, Dart linting and testing, and general checks). -- **YAML linting**: Runs check-yaml from pre-commit. -- **Commit message validation**: Commit-msg hook ensures messages start with conventional type and are lowercase ≤60 chars. Pre-push hook enforces stricter format with scope, ≤40 chars. -- **Author identity verification**: Checks that commits are authored by "Niladri Das" with email "bniladridas@users.noreply.github.com". -- **Automated vulnerability scanning**: CodeQL and Trivy bots scan every push and PR for security issues, ensuring robust protection. -- **Ollama model management**: Rust tool for fetching, downloading, and running Ollama models from the internet. -- **Testing**: Comprehensive unit tests for the Dart CLI, run automatically in CI. -- **Version management**: Dart-powered version bump bot automates semantic versioning updates for the package. -- **Automation workflows**: GitHub Actions for automated version bumps via PRs and release creation. See [automation documentation](./.github/workflows/automation/README.md). +- **Code quality assurance**: Pre-commit hooks enforce linting, formatting, and testing across Python, Rust, C++, Bash, YAML, Docker, GitHub Actions, and Dart. +- **Commit standards**: Validates conventional commit messages and author identity for consistent history. +- **Security scanning**: Automated CodeQL and Trivy checks safeguard against vulnerabilities on every push and PR. +- **AI model management**: Rust-based Ollama tool for seamless model fetching, downloading, and execution. +- **Git workflow enhancement**: Graphite enables efficient stacked pull requests for parallel development and faster reviews. +- **Automated testing**: Comprehensive Dart CLI unit tests run in CI for reliability. +- **Version automation**: Dart-powered bot handles semantic versioning and release workflows via GitHub Actions. ## Handling errors From 171d48cfc912637fe50f9a26c21a10fcc9128546 Mon Sep 17 00:00:00 2001 From: Niladri Das Date: Sun, 11 Jan 2026 12:59:07 +0530 Subject: [PATCH 3/8] docs: add agents.md with lint command --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..25ba964 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,4 @@ +# Agent Instructions + +## Linting +Run `./bin/lint.sh` to lint the codebase (yamllint, actionlint, shellcheck, cargo fmt, clippy). \ No newline at end of file From c443674fb6211750563623babe49ab9b95b2f584 Mon Sep 17 00:00:00 2001 From: Niladri Das Date: Sun, 11 Jan 2026 12:59:31 +0530 Subject: [PATCH 4/8] docs: add agents.md with lint command --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 25ba964..e68b9d2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ # Agent Instructions ## Linting -Run `./bin/lint.sh` to lint the codebase (yamllint, actionlint, shellcheck, cargo fmt, clippy). \ No newline at end of file +Run `./bin/lint.sh` to lint the codebase (yamllint, actionlint, shellcheck, cargo fmt, clippy). From 0cf2771bffe8f5597f2a3871425002da2df7bfa5 Mon Sep 17 00:00:00 2001 From: Niladri Das Date: Sun, 11 Jan 2026 12:59:59 +0530 Subject: [PATCH 5/8] docs: add graphite pr review link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7440d0f..e82254f 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ gt stack # View current stack structure gt repo sync # Sync all branches in repo ``` -For advanced usage, see [Graphite docs](https://graphite.dev/docs). +For PR reviews, visit https://app.graphite.com. For advanced usage, see [Graphite docs](https://graphite.dev/docs). ### Updating and Restoring Dotfiles From 7401927a3f26c01dcfaa3bd9b38653dadbff0993 Mon Sep 17 00:00:00 2001 From: niladri das <125604915+bniladridas@users.noreply.github.com> Date: Sun, 11 Jan 2026 13:05:23 +0530 Subject: [PATCH 6/8] Update AGENTS.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index e68b9d2..d6319a6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ # Agent Instructions ## Linting -Run `./bin/lint.sh` to lint the codebase (yamllint, actionlint, shellcheck, cargo fmt, clippy). +Run `./bin/lint.sh` to lint the codebase (`yamllint`, `actionlint`, `shellcheck`, `cargo fmt`, `clippy`). From 5429fe2e8f2313d2a34935a7f32234fb66a708bd Mon Sep 17 00:00:00 2001 From: niladri das <125604915+bniladridas@users.noreply.github.com> Date: Sun, 11 Jan 2026 13:05:33 +0530 Subject: [PATCH 7/8] Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e82254f..714cf90 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,9 @@ Graphite revolutionizes Git workflows with stacked pull requests, enabling faste Key commands: ```bash -gt branch create "feature-name" # Create a stacked branch -gt create --all --message "feat: add X" # Stage and commit all changes -gt submit --stack --reviewers alice,bob # Submit entire stack with reviewers +gt branch create # Create a stacked branch +gt create --all --message "feat: " # Stage and commit all changes +gt submit --stack --reviewers , # Submit entire stack with reviewers gt sync --restack # Sync and restack branches gt up 2 # Navigate up 2 branches in stack gt down # Move down the stack From 5f600096139b7cb6cc65526ccdf7a10b62b55f9f Mon Sep 17 00:00:00 2001 From: niladri das <125604915+bniladridas@users.noreply.github.com> Date: Sun, 11 Jan 2026 13:05:41 +0530 Subject: [PATCH 8/8] Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 714cf90..99eedc8 100644 --- a/README.md +++ b/README.md @@ -154,13 +154,13 @@ The setup script automatically configures Git to use the hooks globally and make ## Features -- **Code quality assurance**: Pre-commit hooks enforce linting, formatting, and testing across Python, Rust, C++, Bash, YAML, Docker, GitHub Actions, and Dart. +- **Code quality assurance**: Pre-commit hooks enforce linting, formatting, and testing across `Python`, `Rust`, `C++`, `Bash`, `YAML`, `Docker`, `GitHub Actions`, and `Dart`. - **Commit standards**: Validates conventional commit messages and author identity for consistent history. -- **Security scanning**: Automated CodeQL and Trivy checks safeguard against vulnerabilities on every push and PR. -- **AI model management**: Rust-based Ollama tool for seamless model fetching, downloading, and execution. -- **Git workflow enhancement**: Graphite enables efficient stacked pull requests for parallel development and faster reviews. -- **Automated testing**: Comprehensive Dart CLI unit tests run in CI for reliability. -- **Version automation**: Dart-powered bot handles semantic versioning and release workflows via GitHub Actions. +- **Security scanning**: Automated `CodeQL` and `Trivy` checks safeguard against vulnerabilities on every push and PR. +- **AI model management**: `Rust`-based `Ollama` tool for seamless model fetching, downloading, and execution. +- **Git workflow enhancement**: `Graphite` enables efficient stacked pull requests for parallel development and faster reviews. +- **Automated testing**: Comprehensive `Dart` CLI unit tests run in CI for reliability. +- **Version automation**: `Dart`-powered bot handles semantic versioning and release workflows via `GitHub Actions`. ## Handling errors