Repository navigation
feat(chglog): run changelog draft through ACP agent mode - #21
Merged
Merged
Conversation
- acpclient: pluggable permission handlers (auto/interactive/deny), sandboxed client-side fs read/write, session update line renderer - acpui: tap-based interactive permission prompt shared by acp run/draft - acp: add `ggc acp run` generic agent-mode prompt runner - changelog draft: default provider switched to acp agent (--provider copilot keeps the legacy session); verifies Unreleased.md was modified afterwards - acpconfig: fail fast on explicit agent name (flag/env/default) misses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
changelog draft 切换为 ACP agent 模式(方向:agent 模式),并提供通用
ggc acp run入口。Changes
pkg/acpclient:可插拔权限策略(PermissionAllowOnce/PermissionInteractive,nil=维持自动拒绝)、client 侧 fs 读写沙箱(限定 Cwd)、UpdateLinesession 进度渲染pkg/acpui:tap 交互式权限确认,acp run/draft 共用ggc acp run <prompt>:通用 agent 执行命令(--agent --permit ask|auto|deny --timeout --client-fs)ggc changelog draft:默认--provider acp(agent 自己调研 git log/diff 并写回 Unreleased.md,结束后校验改动与 readiness);--provider copilot保留旧路径pkg/acpconfig:显式 agent 名(flag/env/acp.default)未命中 fail-fast,不再静默回退.version/changelog/Unreleased.md:本分支经真实 cursor agent draft 生成的条目Testing
go build/go vet/golangci-lint0 issues,go test ./...全绿ggc changelog draft --acp-permit auto --agent cursor于 fastgit 仓库,48s 完成,内容贴合模板与真实变更