Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

feat(framework): make implementation commits obey project policy

未关闭
#413 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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.
  • never and 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ai-driven-dev/framework 的其他 Issue

查看 ai-driven-dev/framework 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。