Skip to content

docs(skills): align GitHub contribution workflows - #424

Merged
SigureMo merged 9 commits into
mainfrom
SigureMo/docs/update-github-workflow-skills
Oct 10, 2026
Merged

SigureMo merged 9 commits into
mainfrom
SigureMo/docs/update-github-workflow-skills

Conversation

@SigureMo

@SigureMo SigureMo commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

What

新增 relax-github-workflow SKILL,统一 Relax 的分支准备、PR 发布和 review 跟进流程;同步提交规范、CI 失败处理说明和中英文贡献指南,并将项目规则统一到 AGENTS.md。

Why

仓库的 贡献规范、英文贡献指南 和 中文贡献指南 提供了人工贡献流程,agent 侧还缺少统一的 GitHub 工作流入口。原提交 SKILL 强制 scope 和复杂 Markdown 排版,并把“不 push”写成绝对限制;提交类型清单在不同入口也不一致。本 PR 将这些说明对齐,明确发布授权、分支命名和 CI 失败升级规则,减少重复维护。

How

  • scope 可选,建议使用 kebab-case;非平凡提交仍要求正文,Markdown 标题、emoji 排版和标题长度为建议,保留显式暂存和 pre-commit 检查。
  • 可选 emoji 标题按 Gitmoji 的实际语义选取,类型表和正文示例一致。
  • CONTRIBUTING.md、中英文贡献指南与 git-commit SKILL 统一列出 10 个提交类型,区分 ci、build 和其他 chore 维护任务。
  • GitHub 工作流展示推荐 remote 布局:upstream 指向 redai-studio/Relax,origin 指向个人 fork;实际 fetch 和 push 目标按 URL 确认。
  • 普通贡献默认走个人 fork;多人协作或 gh-stack 等必要情况可直接向 redai-studio/Relax 推分支。用户未指定分支名时,按 <name>/<type>/<description> 命名;fork 建议使用 <type>/<description>。
  • PR 描述遵循现有模板,说明背景、行为变化和验证,并引用相关 PR、issue 和公开文档链接,禁止内网链接。保留 Draft、CI 和 review 跟进流程,移除强制自审步骤和特定机器人的触发说明。
  • 对相互依赖的改动,建议使用 gh-stack 拆成可独立 review 的 PR。
  • CI 先根据日志区分代码错误与基础设施或随机失败;同一 head 的同类失败重跑超过 3 次仍不通过时,整理证据交给 SigureMo 调查。
  • 将原 CLAUDE.md 的架构概览、常用命令和格式细则合并到 AGENTS.md,移除额外的模型与功能清单,并清理不属于当前工具链的 make lint(flake8/mypy)说明。CLAUDE.md 只保留指向 AGENTS.md 的相对软链,用于兼容旧版本 Claude Code;支持直接读取 AGENTS.md 的新版本无需该兼容入口。软链兼容背景只在本 PR 描述中说明。
  • 默认只创建本地提交,用户授权发布时继续对应流程。SKILL 中不再引用 CLAUDE.md,GitHub 工作流也不重复要求读取已加载的 AGENTS.md。
  • Makefile 的 make lint 改为 ruff check relax/,清理旧的 flake8/mypy 命令。
  • PR 涉及的 Markdown 正文和 SKILL 描述使用整行文本,去掉人工折行。

Testing

  • pre-commit run --all-files --show-diff-on-failure:通过。

  • make lint:通过,执行 ruff check relax/。

  • emoji 表的 10 项与正文标题示例已核对 Gitmoji 官方数据,SKILL frontmatter 校验通过。

  • 修改的 SKILL frontmatter、相对链接和软链检查:通过;提交类型清单均为相同的 10 项,中英文内容一致。

  • npm exec -- vitepress build docs:通过;已检查两种语言生成页面的 10 项提交类型。构建报告了 GET_STARTED.md 和 DEPLOYMENT_SUMMARY.md 中既有的失效链接,这些页面未在本 PR 修改。

  • git diff --cached --check:通过。

  • 未运行 pytest 或多节点 GPU/NPU 集成测试:修改 SKILL、流程文档和 Makefile 的 lint 命令,没有训练代码改动。

  • pre-commit run --all-files passes

  • Tests pass (pytest tests/)

  • New tests added (if applicable)

  • Documentation updated (if applicable)

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • CI/CD or build changes

Screenshots / Logs

不适用。

This PR is co-authored with @codex (gpt-6)

Make commit scope and body optional while retaining staging and pre-commit checks.
Add a Relax GitHub workflow for publication, review follow-up and native stacks.
Classify CI failures before retries and escalate recurring failures with evidence.
Register the workflow and clarify the default local-only publication policy.

Co-authored-by: Codex <[email protected]>
@rai-studio-bot

Copy link
Copy Markdown
Contributor

Thanks for contributing to Relax, @SigureMo! 感谢你为 Relax 做出贡献!

Contribution guide / 贡献指南

Describe the problem, your changes, and how you validated them. Keep each PR focused and run pre-commit run --all-files before submitting.

请说明问题、改动和验证方式,保持 PR 聚焦,并在提交前运行 pre-commit run --all-files。

English contribution guide · 中文贡献指南

CI commands / CI 指令
Command / 指令 Usage / 用途
/rerun Retry failed CI / 重跑失败的 CI
/rerun <target> Rerun a workflow or check / 重跑指定 workflow 或检查
/cancel <workflow> Cancel an entire workflow / 取消整个 workflow
/help Show commands and targets / 查看指令和 target
/review Request a code review / 请求代码 review

Put one command on the first line of a new PR comment. Rerun/cancel require PR authorship or repository write access.

在新 PR 评论的首行写一条指令。PR 作者或有仓库写权限的贡献者可以重跑、取消 CI。

CI usage and targets · CI 用法与 target

@chatgpt-codex-connector

Copy link
Copy Markdown

Summary

  • Added an explicit existing-PR verification procedure that compares GitHub’s recorded head repository, branch, and SHA with the local checkout before making or publishing follow-up changes. skills/relax-github-workflow/SKILL.mdL27-L36
  • Documented mismatch handling: fetch and inspect the PR head, reconcile local history, and avoid overwriting newer contributor or reviewer changes. skills/relax-github-workflow/SKILL.mdL38-L39
  • Committed the update as fbd8c2e (docs(skills): verify existing PR heads) and recorded a follow-up PR titled “docs(skills): verify existing PR heads before updates.”

Testing

  • ✅ python - <<'PY' ... PY — validated the skill frontmatter and all relative Markdown links.
  • ✅ git diff --check
  • ✅ git diff --cached --check
  • ✅ git status --short --branch — working tree is clean after the commit.
  • ⚠️ uvx --python 3.12 --from pre-commit pre-commit run --all-files --show-diff-on-failure — could not fetch pre-commit because the environment’s PyPI connection failed after three retries.
  • ⚠️ pytest tests/ — not run because this follow-up only changes workflow documentation and does not affect executable or training code.

View task →

@rai-studio-bot

rai-studio-bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Nyanpasu 审查看板

审查状态: ✅ 已通过

审查版本: 6b01a25

目标分支: main

常规与必要性审查已完成(head 6b01a25,10 文件),结论为 APPROVE:F1/F2(悬空的 "development guide" 引用)与 F3(提交类型清单不一致)均已解决并核实;后续四轮按维护者意见落实——AGENTS.md 精简与 workflow SKILL 修订(2077282e)、Gitmoji emoji 逐码点对齐(ef8025e9)、删除带入的过时 make lint 行(fa3ded34)、Makefile lint target 改用 ruff check(6b01a25c,与 pre-commit 同源同配置)。备注:ruff 未列入 requirements.txt,直接运行 make lint 需环境内已装 ruff。CI 当前无失败检查。

审查阶段进度范围与结果
常规审查 ✅ 已完成 按 5ba49c1..6b01a25 完成逐项核对:F3 解决确认(四处类型清单同为 10 项);F1/F2 修复已核实;AGENTS.md 精简后各节完整、软链有效、无 flake8/mypy/make lint 残留;workflow SKILL 按维护者意见修订后链接可解析;emoji 表与 gitmoji.dev 官方数据核对一致;Makefile lint target 改为 ruff check relax/(check-only,与 .pre-commit-config.yaml ruff-check 及 pyproject [tool.ruff.lint] 同源同配置),AGENTS.md 文档 lint 入口保持 pre-commit 无需回加。
深度审查 ✅ 已完成 完成生产文档必要性核查(retain 决定)与全部事实性声明核对;测试范围不适用(纯流程文档,无测试文件与可执行回归面)。未运行独立设计子任务:无状态/抽象/算法不确定性,分解必要性已通过既有 skills/ 结构、AGENTS.md 引用与维护者 thread 的处置直接核实。

审查发现

待处理
编号 严重性 问题状态规则来源
暂无待处理的记录。
已解决或已取代
编号 严重性 问题状态规则来源
F1 Medium severity relax-github-ci SKILL 引用的『development guide』并未记载 CI 联系人 ✅ 已解决 —
F2 Medium severity relax-github-workflow SKILL 引用的『development guide』不含 gh-stack 命令 ✅ 已解决 —
F3 Low severity 提交类型清单在 git-commit SKILL(10 类)与 CONTRIBUTING.md(8 类)、贡献指南(7 类)间不一致 ✅ 已解决 —
提交范围 · 接收 10 · 建议移出 0 · 待确认 0

接收 10 个文件 · 建议移出 0 个文件 · 待确认 0 个文件。移出与待确认部分暂停深审,不代表审查通过。

文件结论仓库维护必要性依据替代去向或方案
AGENTS.md
CLAUDE.md
接收 代理指令统一到单一入口并按维护者意见精简:移除软链说明、模型清单与带入的过时 make lint 行,CLAUDE.md 为指向 AGENTS.md 的相对软链。 PR 描述 What/How;维护者 thread 要求移除重复维护内容(PRRT_kwDOSBAwr86rAfL8/AfaI)。 保留两份并行指令文件或删除 CLAUDE.md(破坏旧版兼容)——均劣于软链方案。
skills/git-commit/SKILL.md
接收 提交规范修订:scope 可选、非平凡提交要求正文、类型清单 10 项;本轮再按维护者意见将 emoji 示例对齐 Gitmoji 官方定义。 PR 描述 How 第 1、2 条;维护者 thread PRRT_kwDOSBAwr86rB113 要求对齐 gitmoji 并核对。 把提交规范写入 workflow SKILL 会造成两处权威并存,不如就地修订。
skills/relax-github-ci/SKILL.md
接收 补充 CI 失败分类与升级路径(区分代码错误与基础设施失败、同一 head 重试上限、联系人),属 CI 操作权威文件的实质修订。 PR 描述 How;该文件是 AGENTS.md 技能表引用的 CI 权威入口。 将规则写入 workflow SKILL 会与 CI SKILL 职责重叠,维持单文件权威。
skills/relax-github-workflow/SKILL.md
接收 新增 PR 发布与 review 跟进流程入口,按维护者意见更新:推荐 remote 布局示例(upstream/origin)、URL 优先选择、分支命名规则、移除自审步骤与机器人触发说明。 PR 描述 What/How;维护者 thread(PRRT_kwDOSBAwr86rAgVX/BN23/BOOE/BPAx 等)的具体要求。 并入 AGENTS.md 单页会稀释入口职责,且与 skills/ 每流程一文件模式不一致。
skills/sglang-upgrade/SKILL.md
接收 措辞收敛:与 AGENTS.md "Ask First" 对齐的确认要求,属既有权威文件的一致性修订。 PR 描述 How:SKILL 统一引用 AGENTS.md。 不改会与统一后的 AGENTS.md 规则产生表述分歧。
CONTRIBUTING.md
docs/en/guide/how-to-contribute.md
docs/zh/guide/how-to-contribute.md
接收 对齐提交类型清单:CONTRIBUTING 表将 chore 拆分为 ci/build/chore,中英文指南补齐 perf 并同样拆分,四处入口统一为 10 项——解决本轮审查的 P3 发现。 维护者 review 反馈与 PR 描述 How 第 2 条;本审查 F3(提交类型清单三处不一致)。 仅在 SKILL 注明代理侧权威而不改三处清单,会保留面向人工贡献者的不一致。
Makefile
接收 lint target 从无配置且未声明依赖的 flake8/mypy 改为仓库实际标准工具 ruff(check-only),与 pre-commit 的 ruff-check 同源同配置,解决上一轮备注的遗留 target。 维护者 thread PRRT_kwDOSBAwr86rCKmY 要求清理错误出处;本审查第 6 轮备注建议后续清理。 直接删除 lint target 会失去便捷入口;改回需引入 flake8/mypy 配置与依赖,与 ruff 标准冲突。
精简审查与验证依据
审查范围进度结论
生产代码 ✅ 已完成 对 10 个流程/贡献文档与构建文件逐一考察了并入 AGENTS.md、复用既有 SKILL、双源维护等替代方案;最终状态为作者与维护者多轮精简后的收敛结果(悬空引用消除、gh-stack 指针化、AGENTS.md 去重复清单与过时命令、类型清单四处对齐、emoji 对齐 Gitmoji 官方定义、lint 工具链收敛到 ruff 单一标准),无遗留可删除或合并的机制。
测试 ➖ 无需执行 inventory 中无测试文件,本 PR 仅改动流程文档与贡献指南,无可执行行为与回归面,不存在适用的测试必要性范围。

生产代码的必要性与替代方案

范围必须保留的契约更简单的方案结论依据与限制
AGENTS.md 统一入口 + CLAUDE.md 相对软链(精简后) 单一代理指令入口;CLAUDE.md 软链兼容仅识别 CLAUDE.md 的旧版工具,兼容背景仅记录在 PR 描述。 保留两份并行维护的指令文件,或在 AGENTS.md 内保留软链说明与模型清单。 保留 维护者判定软链说明与模型清单属重复维护内容(thread PRRT_kwDOSBAwr86rAfL8/AfaI)并已移除;合并后各节仍为旧 CLAUDE.md 的超集;软链 mode 120000 有效,删除软链会破坏旧版工具兼容。
skills/git-commit/SKILL.md(含 ef8025e emoji 对齐)+ skills/relax-github-workflow/SKILL.md(按维护者意见修订后)+ relax-github-ci SKILL 就地修订 提交规范(类型清单与 Gitmoji emoji 示例)、CI 失败处置与 PR 发布/跟进流程各自单一权威入口。 并入 AGENTS.md 单页,或把提交/CI 规则与 code-review 自审步骤写进 workflow SKILL。 保留 与 skills/ 每流程一文件模式一致;与 sync-github、code-review 职责不重叠;维护者明确要求自审步骤与机器人触发说明不属于 workflow SKILL(thread BOOE/BPAx)、emoji 应与 gitmoji 对齐(thread B113),均已落实且经逐码点核对;gh-stack 语义此前已与官方 v0.2.0 文档核对一致。
CONTRIBUTING.md 与中英文贡献指南的类型清单对齐(本轮新增改动) 人工贡献者入口与代理侧 git-commit SKILL 使用同一份 10 项类型清单(ci/build 独立、chore 收敛)。 仅在 SKILL 注明代理侧权威,不改三处人工入口。 保留 维护者 review 反馈明确要求对齐(事件 27 原文);类型清单四处一致消除了双源漂移,且与历史提交 ci(github) 用例一致;中英文内容逐条对应,VitePress 构建由作者侧验证通过、CI 无失败。
Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.

Comment thread skills/relax-github-ci/SKILL.md Resolved

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论:有补充意见(COMMENT)

对 5 个流程文档改动完成了逐行核对与必要性审查:AGENTS.md 与 CLAUDE.md 的入口注册一致;git-commit SKILL 的类型清单与 emoji 表一一对应;新增 relax-github-workflow SKILL 中的 gh-stack 操作语义、main 默认分支、PR 模板与 squash 合并说明均与仓库现状或官方 v0.2.0 文档核对通过,全部内部链接可解析。两个行级问题(P2):relax-github-ci 与 relax-github-workflow 各引用了一次 "development guide",但仓库内没有任何指南记载所声称的 CI 联系人或 gh-stack 命令。

  • 发现索引、范围准入与必要性审查见看板:nyanpasu-review

  • Low severity P3 · 对齐提交类型清单的三处声明(非行级:涉及未被本 PR 修改的 CONTRIBUTING.md 与贡献指南)——skills/git-commit/SKILL.md:63 声明 10 个项目类型(含 ci、build,且历史提交确有 ci(github) 用例),而 CONTRIBUTING.md 的提交规范表将 CI/build 归入 chore:(共 8 类)、docs/en|zh/guide/how-to-contribute.md 仅列 7 类。本 PR 目标是对齐提交规范,建议一并对齐三处清单,或注明哪份是代理侧权威。

  • 备注:timeline 中 chatgpt-codex-connector 评论所述提交 fbd8c2e 与跟进 PR 在仓库中不存在,其描述的 mismatch 处理文本也不在当前 head;本次审查按 head 28f80ce 的实际内容进行。

Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.

Comment thread skills/relax-github-ci/SKILL.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
SigureMo and others added 4 commits October 10, 2026 11:00
# 📝 Documentation

- Default ordinary contributions to personal forks and reserve upstream branches for necessary cases.
- Reduce dependent-PR guidance to a recommendation to split changes with gh-stack.
- Preserve SigureMo as the CI contact without an unresolved guide reference.
- Remove manual Markdown wrapping from the revised workflow and CI guidance.

Co-authored-by: Codex <[email protected]>
# 📝 Documentation

- Merge the unique architecture, command and formatting guidance into AGENTS.md.
- Replace CLAUDE.md with a relative compatibility symlink and explain its purpose.
- Point skills to AGENTS.md as the shared instruction source.
- Prefer an optional kebab-case scope while retaining explanatory bodies for non-trivial commits.
- Make Markdown headings a recommendation for longer commit bodies.

Co-authored-by: Codex <[email protected]>
Remove the internal GitLab/GitHub synchronization reference from the contribution workflow skill.

Co-authored-by: Codex <[email protected]>
Keep PR Markdown paragraphs and skill descriptions on single lines.
Verify that flattening the descriptions preserves their YAML values.

Co-authored-by: Codex <[email protected]>

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论:有补充意见(COMMENT)

已按当前 head 76de1de 完成 6 个文件的全量复核(覆盖三轮修复提交),上轮 2 个 P2 均已修复:

  • skills/relax-github-ci/SKILL.md:27 改为直接点名 CI 联系人,与 .github/ci/config.json 的 ciTeam 一致,悬空的 "development guide" 引用已消除。
  • skills/relax-github-workflow/SKILL.md:53 的 gh-stack 段瘦身为指向官方文档的 2 行指针,不再把栈命令归到仓库内不存在的指南名下(命令语义此前已与官方 v0.2.0 文档逐条核对一致)。
  • 合并完整性复核通过:旧 CLAUDE.md 各节(Architecture、常用命令、Hard Rules、Ask First、分布式规则)已全部并入 AGENTS.md,CLAUDE.md 软链有效,SKILL 引用切换后全仓无 CLAUDE.md 残留;relax-github-workflow SKILL 的内部链接(git-commit / code-review / relax-github-ci)均可解析。

仍待处理 1 项(P3,非行级):skills/git-commit/SKILL.md:58 声明 10 个项目类型(含 ci、build,历史提交确有 ci(github) 用例),而 CONTRIBUTING.md 的提交规范表将 CI/build 归入 chore:(共 8 类)、docs/en|zh/guide/how-to-contribute.md 仅列 7 类。本 PR 目标是对齐提交规范,建议一并对齐三处清单,或注明哪份是代理侧权威。

Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
Comment thread skills/relax-github-workflow/SKILL.md Resolved
## Documentation

- Clarify suggested remotes, user-specified branch names, and PR context with public links.
- Remove redundant repository instructions, duplicated feature inventories, mandatory self-review, and bot-specific workflow details.
- Align all contribution guides with the ten commit types in the commit skill.

## Validation

- Full pre-commit checks, skill metadata, relative links, symlink, and commit-type parity checks pass.
- VitePress builds successfully; generated English and Chinese contribution pages contain the matching ten types.

Co-authored-by: Codex <[email protected]>
@SigureMo
SigureMo requested a review from yxyOo as a code owner October 10, 2026 05:39
@SigureMo

Copy link
Copy Markdown
Member Author

已在 2077282 对齐 review 中提到的提交类型清单:CONTRIBUTING.md 和中英文贡献指南现在与 git-commit SKILL 同为 10 项,CI 与构建分别使用 ci 和 build,chore 表示其他维护任务。

本轮人工意见已在各自原 thread 回复,PR 描述已更新。完整 pre-commit、SKILL frontmatter、相对链接、软链与提交类型一致性检查通过;VitePress 构建通过,中英文生成页面也已核对。构建中的既有断链警告已在 PR 验证说明中记录。

This comment is replied by codex (gpt-6)

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论:通过(APPROVE)

已按 head 2077282e 完成 9 个文件的全量复核,此前 3 个发现全部解决:

  • P3(提交类型清单不一致)已解决:CONTRIBUTING.md 提交规范表、docs/en|zh/guide/how-to-contribute.md 与 skills/git-commit/SKILL.md:58 现统一列出 10 项类型;ci、build 独立成类,与仓库历史提交中的 ci(github) 用例一致,chore 收敛为其他维护任务;中英文指南内容一致。

  • P2 两处(悬空的 "development guide" 引用)已在 76de1de 修复并复核:CI 联系人直接点名(与 .github/ci/config.json 的 ciTeam 一致),gh-stack 段改为官方文档指针。

  • AGENTS.md 按维护者意见精简(软链兼容说明与模型清单移至 PR 描述),合并内容仍完整;relax-github-workflow SKILL 更新了推荐 remote 布局示例(upstream → redai-studio/Relax、origin → 个人 fork)、明确用户指定分支名优先,并移除自审步骤与机器人触发说明;文件内链接(git-commit / relax-github-ci)均可解析。

  • CI 当前无失败检查。

  • 发现索引、范围准入与必要性审查见看板:nyanpasu-review

Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.

Comment thread skills/git-commit/SKILL.md Resolved
## Documentation

- Use Gitmoji emoji for feature, CI, configuration, package, and performance headings.
- Clarify that emoji follow the actual change and update feature body examples to match the table.

## Validation

- Full pre-commit and skill metadata checks pass.
- All ten table entries match official Gitmoji data, including variation selectors and heading examples.

Co-authored-by: Codex <[email protected]>

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论:通过(APPROVE)

已按 head ef8025e9 复核 2077282e 以来的唯一新增提交(docs(git-commit): align emoji examples with Gitmoji,仅改 skills/git-commit/SKILL.md):

  • emoji 表与 Gitmoji 官方定义逐项核对一致,含码点级别的变体选择符(♻️/⚡️/📦️):feat ✨(Introduce new features)、ci 👷(CI build system)、chore 例示 🔧(configuration files)、build 📦️(compiled files or packages)、perf ⚡️(Improve performance),正文新增的 ⬆️(Upgrade dependencies)亦为官方含义;旧字符 ⭐/🔩/🏗️ 已全部清除,两处正文 Feature 示例同步为 ✨。
  • 表格仍为 10 行,与 skills/git-commit/SKILL.md:58 的 10 项类型清单保持一一对应;类型清单本身未变,CONTRIBUTING.md 与中英文贡献指南的对齐不受影响。
  • CI 当前无失败检查。

此前 3 个发现的解决状态维持不变,见上一轮审查与看板。

Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.

Comment thread AGENTS.md Resolved
SigureMo and others added 2 commits October 10, 2026 15:44
Remove the inherited make lint example from repository instructions. Its flake8 and mypy commands remain in a legacy Makefile target but are absent from the current dependency and lint configuration; the documented pre-commit workflow uses Ruff.

Validation: full pre-commit and staged whitespace checks passed. Only AGENTS.md changed.

Co-authored-by: Codex <[email protected]>

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论:通过(APPROVE)

已按 head fa3ded34 复核 ef8025e9 以来的唯一新增提交(docs(agents): remove obsolete lint command,仅从 AGENTS.md 删除 1 行):

  • 被删的 make lint # flake8 + mypy,检查 relax/ 是本 PR 从合并前 CLAUDE.md 带入的行;全仓核对 flake8/mypy 均无配置(pyproject.toml、.pre-commit-config.yaml、requirements.txt、CI 工作流均未引用),仓库实际 lint 由 pre-commit 的 ruff 承担,维护者在 thread 中指出后该行已删除,处置正确。
  • 删除后 AGENTS.md 无 flake8/mypy 残留,工作流命令块剩余各项(pip install -e .、pip install -r requirements.txt、pre-commit run --all-files、pytest tests/、make test、make docs-dev)均与 Makefile/仓库现状一致。
  • 备注:Makefile:72 的旧 lint target(flake8 relax/ + mypy relax/)为本 PR 未触碰的既有内容,作者已在 thread 中说明;若要一并清理适合作为后续小改动。
  • CI 当前无失败检查。

此前 3 个发现的解决状态维持不变,见上一轮审查与看板。

Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

审查结论:通过(APPROVE)

已按 head 6b01a25c 复核 fa3ded34 以来的唯一新增提交(chore: move make lint to ruff check,仅改 Makefile 的 lint target):

  • lint target 由无配置且未声明依赖的 flake8 relax/ + mypy relax/ 改为 ruff check relax/(check-only,不带 --fix),与仓库实际 lint 标准(.pre-commit-config.yaml 的 ruff-check + ruff-format,pyproject.toml 的 [tool.ruff.lint] 规则)同源同配置;上一轮备注的遗留 target 已按维护者 thread 的要求清理,处置正确。
  • AGENTS.md 工作流命令块无需回加该行:文档记载的 lint 入口仍是 pre-commit run --all-files,make lint 仅作便捷补充。
  • 备注:ruff 未列入 requirements.txt,本地环境由 pre-commit 的隔离环境提供;直接运行 make lint 需要环境内已安装 ruff。如需对齐 make format 的自动安装模式或在 dev 依赖组声明 ruff,适合作为后续独立小改动。
  • CI 当前无失败检查。

此前 3 个发现的解决状态维持不变,见上一轮审查与看板。

Powered by Nyanpasu with glm-5.3-flash max, please check the suggestions carefully.

@SigureMo SigureMo mentioned this pull request Oct 10, 2026
5 tasks done

@NINGBENZHE NINGBENZHE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SigureMo
SigureMo merged commit 6d18fb0 into main Oct 10, 2026
12 checks passed
@SigureMo
SigureMo deleted the SigureMo/docs/update-github-workflow-skills branch October 10, 2026 09:11
@rai-studio-bot rai-studio-bot mentioned this pull request Oct 10, 2026
6 of 11 tasks
Mukayi added a commit to Mukayi/Relax that referenced this pull request Oct 12, 2026
…er-profiler

Brings in upstream/main 653c43c..dce533b (redai-studio#257, redai-studio#258, redai-studio#285, redai-studio#323, redai-studio#330,
redai-studio#335, redai-studio#408, redai-studio#409, redai-studio#412, redai-studio#414, redai-studio#416, redai-studio#417, redai-studio#419-redai-studio#421, redai-studio#424, redai-studio#426, redai-studio#427,
redai-studio#430, and 42 commits synced on 10-12 without PR numbers).

The only conflict is relax/utils/env.py: cc4b052 adds the DeepSeek-V4
MXFP4 QAT variables at the same spot where this branch adds the straggler
profiler variables. Resolved by keeping both blocks, straggler first.
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.

4 participants