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。
This commit is contained in:
Shinku committed 2026-08-28 10:32:14 +08:00
1 parent ddf1f774fd
commit f62dccc470
6 files changed
+52 -17

No files matched your search

@@ -15,25 +15,30 @@ The workflow is driven by the `plays-archive` skill.
- Application name (lowercase-kebab-case).
- [Published profile](../project-completion.md#published-profile): bilingual title and
description, source address, and cover image.
description, and the source address.
## Steps
1. Confirm consent and a GitHub channel (GitHub MCP, a GitHub skill, or `gh`).
2. Generate a bilingual AI-functional summary under `plays/<app-name>/`
(`README.md` / `.zh_CN.md`), merging the root README when one exists.
3. Add the cover image as `plays/<app-name>/<app-name>-cover.<webp|png|jpg>`.
4. Handle each branch's root README independently.
5. Commit only the summary and cover on a dedicated branch; do not store the
firmware `.bin`.
3. Record the publish metadata — the bilingual title and description and the
source address — which include the cover image by file name and format, but
do not commit the cover image itself. The archive is text-only.
4. Handle each branch's root README independently (see
[readme-update.md](./readme-update.md) for the required README sync).
5. Commit only the summary on a dedicated branch; do not store the firmware
`.bin` or the cover image.
6. After review, open the archive PR against the upstream project.
## Safety
- Never store the merged firmware `.bin` in the archive; it is a build artifact.
- Never store the merged firmware `.bin` or the cover image in the archive; the
archive is text-only, and both are build/publish artifacts.
- Do not submit before developer review and consent.
## Related documents
- Application archive convention: [plays/README.md](../../../plays/README.md)
- Skill: [plays-archive](../../../skills/plays-archive/SKILL.md)
- README update (required): [readme-update.md](./readme-update.md)
@@ -11,23 +11,24 @@
## 输入
- 应用名(lowercase-kebab-case)。
- [共享发布属性](../project-completion.md#共享发布属性):双语标题与简介、源码地址、封面图。
- [共享发布属性](../project-completion.md#共享发布属性):双语标题与简介、源码地址。
## 步骤
1. 确认同意与可用的 GitHub 通道(GitHub MCP、GitHub skill 或 `gh`)。
2. 在 `plays/<app-name>/` 下生成双语 AI 功能总结(`README.md` / `.zh_CN.md`),有根 README 时合并它。
3. 添加封面图 `plays/<app-name>/<app-name>-cover.<webp|png|jpg>`。
4. 各自处理每个分支的根 README。
5. 只在专门分支上提交总结与封面;不存固件 `.bin`。
3. 记录发布元数据——双语标题与简介、源码地址,其中包括封面按文件名与格式记录;但不提交封面图本身。档案为纯文本(text-only)。
4. 各自处理每个分支的根 README(必需的 README 同步见 [readme-update.md](./readme-update.md))。
5. 只在专门分支上提交总结;不存固件 `.bin`,也不存封面图。
6. 经审查后,向上游项目开归档 PR。
## 安全
- 绝不在档案中保存合并固件 `.bin`;它是构建产物。
- 绝不在档案中保存合并固件 `.bin`,也不保存封面图;档案为纯文本,两者都是构建/发布产物。
- 未经开发者审查与同意,不提交。
## 相关文档
- 应用档案约定:[plays/README.md](../../../plays/README.md)
- Skill:[plays-archive](../../../skills/plays-archive/SKILL.md)
- README 更新(必须):[readme-update.md](./readme-update.md)
@@ -17,21 +17,40 @@ 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. For each relevant branch, check whether a fork-owned root README exists.
3. If it exists, update it to include the newly archived application.
4. If it does not exist, create a fork-owned root README describing the product.
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.
## Related documents
Loaded 3 of 6 files, more files were not shown because too many files have changed in this diff. Show more