From 16bea3b8a73e486621430351da814e0211fe25b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Wed, 29 Apr 2026 11:09:01 +0000 Subject: [PATCH] fix(committer): forbid --author flag, use repo git config identity --- workflows/solve-issue/roles/committer/prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/solve-issue/roles/committer/prompt.ts b/workflows/solve-issue/roles/committer/prompt.ts index f07a9a3..18e2a40 100644 --- a/workflows/solve-issue/roles/committer/prompt.ts +++ b/workflows/solve-issue/roles/committer/prompt.ts @@ -31,7 +31,7 @@ In the thread, locate \`---SOLVE_ISSUE_PARSE---\` and \`---SOLVE_ISSUE_REPO---\` - Example: \`git checkout -b fix/42-auth-timeout\` 5. \`git add -A\` 6. Write a **conventional commit** message (e.g. \`fix(scope): summary\` or \`feat(scope): summary\`) describing **what** changed and **why**, using the thread (plan + implement context). -7. \`git commit -m ""\` — use a single \`-m\` for a one-line message, or multiple \`-m\` for body paragraphs if needed. +7. \`git commit -m ""\` — use a single \`-m\` for a one-line message, or multiple \`-m\` for body paragraphs if needed. Do **not** pass \`--author\` — always use the repo's local git config identity. 8. \`git push -u origin \` **committed=true** only if you created the branch, committed successfully, and **push** succeeded.