feat(framework): make implementation commits obey project policy
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- git, typescript
调研方向
Trace the VCS-memory template and implementation flow to find where commit policy is generated, resolved, and applied. Inspect the existing verification, branch, commit, and hook-handling paths first; done means absent or never prevents commits, enabled policies create atomic verified commits only on non-default branches, and hook rejection stops clearly without pushing or including unrelated changes.
由索引模型根据 Issue 内容生成。
描述
Need
An AI implementing an approved plan may create small, reviewable local commits while it works. This behavior must be governed by the project policy, not hard-coded by the implementation flow.
Current gap
The VCS-memory template exposes commit-cycle choices, while the implementation flow always commits each verified phase. As a result, the documented never choice is not enforceable and the policy does not state the safety boundary.
Scope
- Project memory records one explicit automatic-commit policy, including when commits may occur and when they may not.
- The implementation flow resolves and obeys that policy. If it is absent or set to
never, it makes no automatic commit. - When enabled, an automatic commit contains one verified unit of work and follows the project VCS convention.
- Automatic commits run only on a non-default working branch. They never push, force-push, amend history, or include unrelated pre-existing changes.
- A rejected hook stops the flow and reports the reason; it does not retry blindly.
Out of scope
- Creating a new skill, hook, or background agent.
- Automatic pull requests, remote pushes, rebases, or branch deletion.
Acceptance criteria
- Generated VCS memory expresses the project policy in actionable terms, including the branch and push boundaries.
-
neverand an absent policy produce no automatic commit during implementation. - An enabled policy produces only atomic commits after the configured verification point.
- The implementation flow cannot automatically commit on the default branch or push a commit.
- A hook rejection leaves no new commit and gives a clear stop reason.
- 主要语言
- TypeScript
- 星标
- 481
- 派生
- 45
- 平均合并
- 19 小时 38 分钟
- 30 天内合并 PR
- 108
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ai-driven-dev/framework 的其他 Issue
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one round 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
ai-driven-dev/framework#887 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
ai-driven-dev/framework#873 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
ai-driven-dev/framework#872 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
ai-driven-dev/framework#625 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
ai-driven-dev/framework#467 · 1 条评论 ·
查看 ai-driven-dev/framework 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 90/100
TanStack/tanstack.com#1293 ·