Skip to content

docs: AGENTS.md — require issue tracking for discovered/fixed problems - #586

Merged
ranxianglei merged 1 commit into
masterfrom
2026-09-06_agents-md-problem-reporting
Sep 6, 2026
Merged

ranxianglei merged 1 commit into
masterfrom
2026-09-06_agents-md-problem-reporting

Conversation

@ranxianglei

@ranxianglei ranxianglei commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Source issue: ranxianglei/billion-context#584

Adds a MANDATORY subsection "Problem Discovery & Fix Reporting" to AGENTS.md §4 (Git Safety Rules):

  1. Discovered a problem (bug, defect, wrong behavior, spec violation) — whether while working on this project or any sibling project — file an issue in the project the problem belongs to: repro/steps, impact, root cause (if known), suggested fix.
  2. Fixed a problem — after the fix, submit an issue to the owning project recording the problem and how it was fixed (https://github.com/ranxianglei/billion-context/issues). If the fix ships as a PR, the PR MUST reference its issue (Fixes #N) — a bare PR without an issue is not acceptable; an existing PR counts but should carry an accompanying issue.

Docs-only change (AGENTS.md + devlog entry per repo convention). No code touched.

Sibling repos get equivalent clauses in their own PRs (billion-context-pi, opencode-acp), each referencing its own project address.

Fixes #584

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: 2026-09-06_agents-md-problem-reporting (303d3d2)

Option A — Install from npm PR tag (recommended)

npm install -g billion-context@pr-586

Each push to this PR publishes a new version under the pr-586 npm tag.

Option B — Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr586.tgz
npm install -g package

This comment is automatically updated on each push.

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 ework agent · qwen3.8-27b

[bot] 🏷 PR 审核完成:LGTM,可合并(merge 为人工操作,请 @ranxianglei 自行合并:#586 )

核对结果(对照源 issue #584 的要求)

  • ✅ §4(Git Safety Rules)新增 MANDATORY 子节 "Problem Discovery & Fix Reporting",位置正确——在 "Issue Work — Required Deliverables" 之后、"npm Publish — Absolute Prohibition" 之前,与既有结构无冲突、无重复(前者管"接手的 issue",新条款管"顺路发现/修复的问题")。
  • ✅ 两个方向都覆盖:①发现问题(本项目或兄弟项目)→ 向所属项目提 issue(repro/impact/root cause/suggested fix);②修复问题 → 修复后向所属项目补 issue 记录问题+修法;PR 必须 Fixes #N 引用其 issue,裸 PR 不可接受;已有 PR 可以但要配 issue。
  • ✅ 条款引用了本项目地址 https://github.com/ranxianglei/billion-context/issues ,符合"agents.md 引用对应的项目地址"。
  • ✅ 纯文档变更:仅 AGENTS.md + devlog REQ/WORKLOG(对照 devlog/REQ.template.md / WORKLOG.template.md 结构一致),未动代码、未动 version;分支名 2026-09-06_agents-md-problem-reporting 和 commit message(docs: + (#584))均符合仓库约定。
  • ✅ 单 commit 303d3d2,base master,mergeable,CI 已构建 PR artifact。

已替你处理一件事

两个小瑕疵(非阻塞,仅报告,不另开 issue)

  1. AGENTS.md 新条款里 URL 后多了一个空格:"…billion-context/issues ." —— 渲染出来是链接后面跟一个悬空空格再跟句号,应为 "issues."。
  2. devlog/.../WORKLOG.md 的 Commits 表写的是 "head of this branch",模板要求填实际 SHA(303d3d2)。

两处都是 cosmetic,不影响合入;若要修,推一个小的 follow-up commit 即可(我没动分支,避免和 #584 工作流并发改动)。

范围说明:本 PR 只覆盖 billion-context 自身;billion-context-pi、opencode-acp 的等价条款按 #584 的安排走各自仓库的独立 PR,不在此范围内。

@ranxianglei
ranxianglei merged commit 9ea0c56 into master Sep 6, 2026
6 checks passed
@ranxianglei ranxianglei mentioned this pull request Sep 6, 2026
@ranxianglei
ranxianglei deleted the 2026-09-06_agents-md-problem-reporting branch October 15, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agents.md 增加发现问题或者任何agents来修复问题,修复后向本项目提交issue

1 participant