Update product docs#211
Merged
Merged
Conversation
Terry-Mao
approved these changes
Jun 1, 2026
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.
Synchronizes long-term product docs from merged implementation pull requests.
Latest decision:
not-neededAffected docs:
Source context:
Patch summary:
No product docs patch is needed.
Processed decisions in this PR:
PR Update product.md #52: Update product.md
requiredoz-agent/implement-issue-<issue_number>改为spec/implement-issue-<issue_number>。现有长期产品文档未覆盖该 workflow 行为,因此需要补充 authoritative product docs。docs/product/raw/implementation-workflow.mdPR Update tech.md #53: Update tech.md
not-neededoz-agent/...tospec/.... The authoritative product documentation already describes the default implementation branch behavior using thespec/implement-issue_<issue_number>form, so no long-term product docs change is needed.PR feat: add issue implementation workflow #50: feat: add issue implementation workflow
not-neededdocs/product/raw/implementation-workflow.mdNo product docs patch is needed because docs/product/raw/implementation-workflow.md already accurately documents the merged workflow behavior.
PR docs(spec): create issue 51 specs #55: docs(spec): create issue 51 specs
requireddocs/product/raw/pr-review-verdict.md新增 docs/product/raw/pr-review-verdict.md,记录 review.json verdict 契约、PR 类型与作者身份判断、GitHub review event 映射、human reviewer 选择和 merge gate 语义。
PR fix(ci): tighten workflow trigger gates #56: fix(ci): tighten workflow trigger gates
requireddocs/product/raw/implementation-workflow.mddocs/product/raw/spec-workflow.md更新 authoritative implementation workflow 文档,补充触发 gate、AGENT_LOGIN 配置和 plan-approved 语义;新增 raw 产品文档记录自动 spec workflow 的触发契约。
PR fix(ci): commit implementation workflow diffs #58: fix(ci): commit implementation workflow diffs
requireddocs/product/raw/spec-workflow.mddocs/product/raw/implementation-workflow.mdDocument that manual spec workflow dispatch still requires ready-to-spec plus target agent assignment, document that ready-to-implement suppresses spec workflow startup, and add PR fix(ci): commit implementation workflow diffs #58 to affected source references.
PR fix(ci): harden implementation branch handoff #59: fix(ci): harden implementation branch handoff
not-neededNo product docs patch is needed.
PR fix(ci): preserve implementation status paths #60: fix(ci): preserve implementation status paths
not-neededNo product docs patch is needed.
PR fix(ci): dispatch reviews for generated spec PRs #65: fix(ci): dispatch reviews for generated spec PRs
requireddocs/product/raw/spec-workflow.mddocs/product/raw/pr-review-verdict.md更新自动 spec workflow 文档,说明生成 spec PR 后会显式触发 AI PR Review;更新 PR review 文档,说明 pull_request 与 workflow_dispatch 两种触发方式及 draft/fork PR 跳过规则。
PR fix(ci): harden workflow handoff file selection #67: fix(ci): harden workflow handoff file selection
requireddocs/product/raw/implementation-workflow.mddocs/product/raw/pr-review-verdict.mddocs/product/raw/spec-workflow.md更新 authoritative raw 产品文档,覆盖 implementation handoff 文件选择、AI PR Review 的 open/comment 触发行为,以及 spec workflow 只复用 open PR 的规则。
PR fix(ci): support workflow-file push token #68: fix(ci): support workflow-file push token
requireddocs/product/raw/implementation-workflow.mdUpdated the automatic implementation workflow product doc to describe WORKFLOW_UPDATE_TOKEN requirements for .github/workflows changes and added PR fix(ci): support workflow-file push token #68 to the source references.
PR fix(ci): use workflow token for git push auth #69: fix(ci): use workflow token for git push auth
not-neededNo product docs patch is needed because the change is an internal CI authentication hardening and diagnostic improvement already covered at the product-behavior level.
PR fix(ci): update actions for Node 24 runtime #73: fix(ci): update actions for Node 24 runtime
not-neededNo product docs patch is needed.
PR fix(ci): avoid auto review for implementation PRs #74: fix(ci): avoid auto review for implementation PRs
requireddocs/product/raw/implementation-workflow.mddocs/product/raw/spec-workflow.mdUpdated implementation workflow docs to state that implementation PRs remain draft and require manual PR comment mention for review, and updated spec/implementation trigger docs to clarify that PR comments are handled by the review workflow.
PR fix(review): skip AI review for draft PRs #76: fix(review): skip AI review for draft PRs
not-neededNo product docs patch needed; the authoritative PR review behavior is already covered by existing docs/product content.
PR feat: add PR review verdict gate #71: feat: add PR review verdict gate
not-needed无需补丁;现有产品文档已描述本次合并后的长期产品行为。
PR Rename repo review companion skills #79: Rename repo review companion skills
requireddocs/product/raw/pr-review-verdict.mdUpdated the PR review product doc to state that spec-only PRs use review-spec-repo, other code PRs use review-pr-repo, and both repo companions preserve the core review-pr/review-spec output contract.
PR 新增一个 review-pr-local / review-spec-local #81: 新增一个 review-pr-local / review-spec-local
requireddocs/product/raw/pr-review-verdict.md已在 docs/product/raw/pr-review-verdict.md 增加本地 review 入口章节,说明 review-pr-local/review-spec-local 的适用时机、委托关系、根目录快照契约、干净 worktree 要求、只允许 review 输出变更的校验约束,以及 base/spec context 解析行为。
PR fix(ci): stop auto-reviewing spec PRs #84: fix(ci): stop auto-reviewing spec PRs
requireddocs/product/raw/spec-workflow.mdUpdated the Spec PR follow-up review section to state that spec PRs are no longer auto-reviewed and must be reviewed via PR comment mention when needed.
PR feat: sync issue state on plan approval #66: feat: sync issue state on plan approval
requiredplan-approvednow removesready-to-specfrom the linked issue and may dispatch implementation whenready-to-implementand the target agent assignment are already present. Existing product docs mentionedplan-approvedas implementation context, but did not document the new issue state synchronization or conditional dispatch behavior.docs/product/raw/spec-workflow.mddocs/product/raw/implementation-workflow.mdUpdated raw product docs to describe spec plan approval semantics, automatic
ready-to-specremoval, explicitready-to-implementownership, and conditional implementation dispatch after approval.PR feat: add PR bot review command trigger #82: feat: add PR bot review command trigger
required@AGENT_LOGIN /reviewcommand, with non-draft/open PR gating and invalid comment forms skipped. Existing product docs still described bare@AGENT_LOGINPR comment triggering, so authoritative docs needed correction.docs/product/raw/pr-review-verdict.mddocs/product/raw/implementation-workflow.mddocs/product/raw/spec-workflow.mdUpdated raw product docs to document
@AGENT_LOGIN /reviewas the PR conversation comment command for manually requesting AI review, including body-level command constraints and skipped invalid forms.PR fix(review): link comment-triggered runs to PRs #89: fix(review): link comment-triggered runs to PRs
requireddocs/product/raw/pr-review-verdict.mdUpdated the authoritative PR review raw product doc with the commit status lifecycle, target URL association, and scope limits for comment/manual AI PR Review runs.
PR docs(spec): create issue 85 specs #86: docs(spec): create issue 85 specs
not-neededNo docs/product patch needed; existing product docs already describe the delivered PR comment/manual AI PR Review commit status behavior, and the issue 85 dirty-worktree behavior remains spec-only in this PR.
PR feat: allow local review with dirty worktrees #90: feat: allow local review with dirty worktrees
requireddocs/product/raw/pr-review-verdict.mdUpdated the local review entrypoint documentation to describe dirty-worktree support, current-worktree diff semantics, the .local_review_baseline.status file, validation boundaries, and the PR/spec sources.
PR feat(skill): add security review supplements #93: feat(skill): add security review supplements
requireddocs/product/raw/pr-review-verdict.mdUpdated the authoritative PR review product doc to describe security supplemental review behavior, covered concern areas, reporting boundaries, [SECURITY] labeling, and verdict impact.
PR feat(skill): add git worktree helper #94: feat(skill): add git worktree helper
requireddocs/product/raw/local-git-helper-skills.md新增 docs/product/raw/local-git-helper-skills.md,记录 git-worktree 的默认目录、分支命名、base 选择、fetch 行为、dirty worktree 语义、已存在 branch/worktree/path 的停止规则,以及不会自动提交、推送或删除的安全边界。
PR docs(agents): add repository agent guidance #97: docs(agents): add repository agent guidance
not-needed.agents/AGENTS.md,用于约束 AI coding agent 在本仓库内的操作、校验和安全边界。该变更没有改变 AICodingFlow 的长期产品概念、用户流程、workflow 行为、配置语义或公开契约,因此不需要更新docs/product/。无需产品文档补丁;保留现有
docs/product/内容不变。PR fix(review): prefer GitHub PR description locally #103: fix(review): prefer GitHub PR description locally
requireddocs/product/raw/pr-review-verdict.mdUpdated the local review entrypoint documentation to state the pr_description.txt source priority and clarify that pr_diff.txt remains generated from the local worktree diff.
PR docs(skill): enter new worktree by default #105: docs(skill): enter new worktree by default
requiredgit-worktreehelper skill 的长期用户可见行为:成功创建后后续 agent 工作默认进入新 worktree,并新增pwd确认与--no-track创建语义。现有 raw 产品文档已覆盖该 skill,但仍描述旧行为,因此需要同步更新。docs/product/raw/local-git-helper-skills.md更新
docs/product/raw/local-git-helper-skills.md中git-worktree成功创建后的行为说明,记录--no-track、新 worktree 目录中的pwd确认、报告字段以及后续命令默认从新 worktree 运行。PR docs(skill): prefer origin for branch bases #107: docs(skill): prefer origin for branch bases
requireddocs/product/raw/local-git-helper-skills.mdUpdated the local Git helper skills raw product doc to document git-branch behavior, origin-first base selection for same-repository work, no-track remote-base creation, git-worktree remote-base handling, and the distinction between Codex tool-call working directories and the user's shell.
PR docs(skill): optimize git skill workflows #109: docs(skill): optimize git skill workflows
requireddocs/product/raw/local-git-helper-skills.mdUpdated the authoritative local Git helper skills doc for combined local checks, conditional remote/freshness checks, preserved .worktrees/ directory structure, and the git-commit/git-push helper behavior introduced by PR docs(skill): optimize git skill workflows #109.
PR docs(skill): remove cloud workflow guidance #110: docs(skill): remove cloud workflow guidance
not-neededNo product docs patch is needed because the current docs/product content already reflects the merged generic workflow behavior.
PR fix: delay PR comment push credentials #99: fix: delay PR comment push credentials
requiredrespond-to-pr-commentworkflow, which changes long-term PR collaboration behavior, trigger semantics, branch strategy, authorization rules, and handoff contracts. Existing product docs did not contain authoritative coverage for this/fixworkflow and had outdated PR comment routing language.docs/product/raw/pr-comment-response-workflow.mddocs/product/raw/implementation-workflow.mddocs/product/raw/spec-workflow.mdAdded a raw product doc for the PR comment response workflow and updated spec/implementation workflow docs to distinguish
/reviewPR comments from/fixPR comments.PR docs(skill): add CI failure diagnosis skill #112: docs(skill): add CI failure diagnosis skill
requireddocs/product/raw/ci-failure-diagnosis-skill.mdAdded a new authoritative raw product doc describing the CI failure diagnosis skill, including target discovery, log analysis scope, error categorization, plan output, and no-code-change boundary.
PR 新增 resolve-merge-conflicts #114: 新增 resolve-merge-conflicts
requiredresolve-merge-conflicts, with durable workflow behavior, supported conflict types, CLI output modes, and safety boundaries. Existing product docs did not cover this merge-conflict resolution capability.docs/product/raw/merge-conflict-resolution-skill.mdAdded a raw product doc describing when to use the resolve-merge-conflicts skill, what conflict context it exposes, supported output modes, and the local-only resolution and validation boundaries.
PR fix: align local review base selection with PR metadata #116: fix: align local review base selection with PR metadata
requireddocs/product/raw/pr-review-verdict.mdUpdated the authoritative local review documentation to describe PR base SHA precedence, explicit base synchronization, and the new origin/main fallback order.
PR fix: correct CODEOWNERS enforcement note #118: fix: correct CODEOWNERS enforcement note
requireddocs/product/raw/bootstrap-issue-config-skill.md新增 docs/product/raw/bootstrap-issue-config-skill.md,记录 bootstrap issue triage 初始化 skill 的用途、产出文件、label config 结构、CODEOWNERS owner 推断与 branch protection 语义,以及幂等初始化边界。
PR fix: preserve PR title for comment responses #120: fix: preserve PR title for comment responses
requireddocs/product/raw/pr-comment-response-workflow.mdUpdated the authoritative PR comment response workflow doc to state that push-head runs preserve the original PR title/body, still use pr_title and pr_summary for validation and metadata, and include a cleaned summary in the response comment when present.
PR feat(triage): add issue triage workflow #121: feat(triage): add issue triage workflow
requireddocs/product/raw/issue-triage-workflow.mdAdded docs/product/raw/issue-triage-workflow.md covering issue triage triggers, context preparation, triage_result.json contract, label rules, duplicate/follow-up semantics, and GitHub update boundaries.
PR fix(triage): prefetch dedupe candidates #123: fix(triage): prefetch dedupe candidates
requireddocs/product/raw/issue-triage-workflow.mdUpdated the issue triage workflow docs to describe dedupe_candidates.json as the authoritative duplicate-check input, the open plus recent-closed candidate window, pull request exclusion, empty-candidate handling, and the duplicate_of source semantics.
PR docs(skills): remove repo name from descriptions #126: docs(skills): remove repo name from descriptions
not-neededNo product docs patch is needed; the change is a narrow wording cleanup in .agents skill descriptions.
PR ci(review): clarify review output path #127: ci(review): clarify review output path
not-neededNo product docs patch is needed.
PR 新增 SKILL: update-dedupe,用于自进化 dedupe-issue #128: 新增 SKILL: update-dedupe,用于自进化 dedupe-issue
requireddocs/product/raw/dedupe-guidance-companion.mdAdded docs/product/raw/dedupe-guidance-companion.md documenting the dedupe-issue-repo companion, its limits relative to core dedupe-issue behavior, the empty initial Known-duplicate clusters state, and the future update boundary.
PR fix: apply agents implementation output #130: fix: apply agents implementation output
requireddocs/product/raw/implementation-workflow.md更新自动实现 workflow 文档,说明 .agents 文件的 implementation-output 交接路径、intended_files 校验要求、仅允许 .agents/ 前缀以及 implementation-output 不作为提交候选。
PR feat: add update-dedupe guidance workflow #129: feat: add update-dedupe guidance workflow
requiredupdate-dedupeskill and manual workflow, including trigger semantics, evidence requirements, write-surface boundaries, and PR behavior. Existing product docs covered the dedupe companion but did not document this workflow itself.docs/product/raw/update-dedupe-workflow.mdAdded a new raw product doc describing the update-dedupe workflow, strong duplicate evidence requirements, repeated-cluster learning behavior, allowed write surface, and PR behavior.
PR fix(update-dedupe): repair feedback aggregation query #131: fix(update-dedupe): repair feedback aggregation query
not-neededNo product docs patch is needed because the change is an internal script reliability fix and existing long-term docs already describe the stable workflow semantics.
PR test(update-dedupe): cover feedback aggregation safety #132: test(update-dedupe): cover feedback aggregation safety
not-neededNo product docs patch needed because the long-term user-visible workflow contract did not change.
PR docs(triage): add repo triage guidance #133: docs(triage): add repo triage guidance
requireddocs/product/raw/issue-triage-workflow.mddocs/product/raw/pr-comment-response-workflow.mddocs/product/raw/implementation-workflow.mdUpdated authoritative raw product docs for issue triage, PR comment response, and implementation workflows to capture PR docs(triage): add repo triage guidance #133's companion triage rules and stable local context boundaries.
PR fix(triage): allow external issue triage #138: fix(triage): allow external issue triage
requireddocs/product/raw/issue-triage-workflow.md更新 issue triage workflow 的触发条件,记录非 bot issue opened/reopened、needs-info issue 作者 follow-up、bot/automation 与非 created 评论事件排除规则,并补充来源引用。
PR ci(workflows): use GitHub App token for workflow updates #139: ci(workflows): use GitHub App token for workflow updates
required.github/workflows/*时 implementation 与 PR comment response 提交所使用的长期凭据模型。现有 raw product docs 仍描述静态WORKFLOW_UPDATE_TOKENsecret,或缺少 PR comment response 的对应行为,因此需要更新权威产品文档。docs/product/raw/implementation-workflow.mddocs/product/raw/pr-comment-response-workflow.md更新 raw product docs,说明 workflow 根据
intended_files条件性通过actions/create-github-app-token生成 GitHub App installation token,并记录所需的WORKFLOW_UPDATE_APP_CLIENT_IDvariable、WORKFLOW_UPDATE_APP_PRIVATE_KEYsecret、GitHub App 权限,以及不修改 workflow 文件时继续使用默认写入凭据。PR fix(workflows): authenticate PR diff fetch #140: fix(workflows): authenticate PR diff fetch
not-neededNo product docs patch is needed.
This PR may accumulate multiple product docs sync decisions until it is reviewed and merged.