Skip to content

[DOC][P1] 修正 AGENTS 默认分支说明为 alpha #716

Description

@jinjunnn

Problem

GitHub API 当前返回 jinjunnn/alpha-code.default_branch = alpha,但仓库根
AGENTS.md:4-5 仍要求使用 dev/origin/dev。开发 agent 会因此在纯 upstream 分支勘破和
实现 Alpha 功能,属于高概率错误基线。

Exact protected-asset mutation

这是 runtime-loaded rule asset,修改范围必须只有:

  • The default branch in this repo is dev. → ... is alpha.
  • use dev or origin/dev for diffs. → use alpha or origin/alpha for diffs.

其余规则不改写、不重排、不顺手清理。实现前再次用 GitHub API确认默认分支仍为 alpha;
若外部状态已变则停止并回本票裁决。

Acceptance criteria

  • AGENTS.md 两处默认分支说明与 GitHub repository metadata一致。
  • 文档/规则 diff只包含上述窄修订。
  • PR body记录校验时间、API结果与受影响开发流程。
  • 不把 REQ-128 功能代码或设计文档混入本PR。

Verification

gh api repos/jinjunnn/alpha-code --jq .default_branch 输出 alpha;
git diff --check 通过。

Exit condition

Merged docs-only PR;后续开发 agent不再被错误路由到 dev。

Activity

  1. self-assigned this
    on Jul 30, 2026
  2. added
    documentationImprovements or additions to documentation
    type:choreMaintenance or operational work
    prio:P1High-value near-term delivery
    area:governanceStandards or lifecycle governance
    on Jul 30, 2026
  3. added a commit that references this issue on Aug 10, 2026
    4153982
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:governanceStandards or lifecycle governancedocumentationImprovements or additions to documentationprio:P1High-value near-term deliverytype:choreMaintenance or operational work

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions