Files
ai-passport/docs/development/project-completion/readme-update.md
T
Shinku f62dccc470 docs(project-completion): adopt text-only plays archive convention
将 PR #25 的 5 个增强并入 project-completion 的动作文档,保持新版约定一致:

- 动作 D(归档到 plays):改为纯文本归档。不再提交封面图,封面按文件名
  与格式记录在发布元数据里;档案 text-only。
- 动作 E(更新根 README):README 更新为必须(无论是否归档);明确宿主
  feature 分支 + fork main 两处各自处理;fork main 根 README 为项目目录,
  完整包含项目 README 内容;README 为 fork 独有内容,直接 merge 不另开 PR。
- 动作 B(发布到 Git):补编译偏好——日常用 idf.py build,发布/交付前
  需合并校验的 0x0 全镜像才用 validate.sh --firmware。
2026-08-28 10:32:14 +08:00

3.0 KiB

简体中文 · English

Action E: Update the Root README

This action updates the fork's root README.md on the relevant branches to reflect the newly released or archived application. It is one of the six optional closing actions listed in the project completion.

The root README path is intentionally reserved for the fork owner. Upstream's project overview lives at docs/README.md; a fork may add its own root README to explain its product without replacing upstream documentation.

The fork keeps main synced with upstream and puts product work on feature/* branches, so root READMEs exist on multiple branches. Handle each branch's root README independently — the main README and a feature/* branch README are separate decisions.

When this is required

The README update is required whether or not the application is archived. Archiving to plays/ (action D) is optional — the developer may decline — but the README must still be updated on the hosting branch and on fork main so the application is registered where it is developed.

Rules

  • Only touch fork-owned root READMEs (README.md / README.zh_CN.md); do not modify the upstream project overview at docs/README.md.
  • Check the root README on each relevant branch (main and the current feature/* branch), not just one branch.
  • The fork main root README is the catalog of the fork's projects: it fully includes the content of each project's own README — a complete description of what the application does and how to use it (its interactions, modes, keys, persistence, and notes) — not a one-line intro followed by a branch link. Pull the content from the hosting branch's README.
  • The fork root README and the hosting branch's root README are fork-owned content. Commit them directly (merge) rather than opening a PR; open a PR only when the change is meant to go upstream.
  • Follow the repository language rule: English at the default .md path and Simplified Chinese at the paired .zh_CN.md, aligned in the same change.

Steps

  1. Confirm consent and a GitHub channel (GitHub MCP, a GitHub skill, or gh).
  2. On the hosting feature/* branch: create the bilingual README pair if it is missing, or update it to add or refresh the application's own description.
  3. On fork main: update the root README pair so the released application is discoverable from the repository landing page, fully including the hosting branch's README content.
  4. Commit the README updates directly to the branch / fork main (fork-owned content); do not open a PR for this unless it is an upstream change.