Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/buzz-acp/src/base_prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ These are guidelines, not a fixed procedure — apply judgment to the task in fr

## Working in the Repo

- Use standard Git and the GitHub CLI for every branch, commit, push, and pull-request workflow. **Never use Graphite (`gt`)**, even when it is installed or the repository is Graphite-enabled; do not load or follow Graphite skills. This rule overrides any general PR skill that prefers Graphite.
- Make file changes in a worktree, not on the default branch. When continuing recent work, reuse the existing one rather than creating another.
- Before committing, read the repo-local git `user.name` / `user.email`; if email is empty, stop and ask. Include the trailers the repo requires.

Expand Down
8 changes: 8 additions & 0 deletions crates/buzz-acp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3223,6 +3223,14 @@ fn dispatch_heartbeat(

#[cfg(test)]
mod agent_draft_prompt_tests {
#[test]
fn shared_base_prompt_forbids_graphite() {
let prompt = include_str!("base_prompt.md");
assert!(prompt.contains("Never use Graphite (`gt`)"));
assert!(prompt.contains("standard Git and the GitHub CLI"));
assert!(prompt.contains("do not load or follow Graphite skills"));
}

#[test]
fn shared_base_prompt_teaches_portable_agent_drafts() {
let prompt = include_str!("base_prompt.md");
Expand Down