From 602d09efa5215d7a5cd8365a5d7735e47df03231 Mon Sep 17 00:00:00 2001 From: Shinku <17696928+Shinku-Chen@users.noreply.github.com> Date: Thu, 27 Aug 2026 18:09:37 +0800 Subject: [PATCH] docs(after-release): re-flash the released full build and verify After a release is complete (community or Git), add the device-verification step as Track 1: download the release's merged full firmware (FoloToy-AI-Passport-full.bin, the flashable complete build from 0x0), flash it to a device, and confirm it runs normally. Treating a successful build or upload as hardware validation is wrong; this step proves the release artifact actually boots. Generalized the intro from community-only to any completed release, and renumbered the archive / issue / experience tracks to 2-4. --- docs/development/after-release.md | 32 ++++++++++++++++++------- docs/development/after-release.zh_CN.md | 22 +++++++++++------ 2 files changed, 38 insertions(+), 16 deletions(-) diff --git a/docs/development/after-release.md b/docs/development/after-release.md index 506024f..b37a415 100644 --- a/docs/development/after-release.md +++ b/docs/development/after-release.md @@ -4,16 +4,29 @@ # Post-Release Follow-up -Once a firmware release has been published to the AI Passport community, finish -the loop with three follow-up actions. Publishing itself is described in +Once a release is complete — whether it was published to the AI Passport +community or to Git — finish the loop with the follow-up actions on this page. +Publishing itself is described in [publish-to-community.md](publish-to-community.md); this page is the overview of what happens after that. -The follow-up works on three independent tracks. All are driven by repository -skills, all require the same safety and consent gates, and none re-publishes -firmware. +The follow-up works on four independent tracks. Track 1 is a device check; the +rest are driven by repository skills and follow the same safety and consent +gates. None re-publishes firmware. -## Track 1: Archive the application to plays +## Track 1: Re-flash the released full build and verify + +After the release is complete, download the release's **merged full firmware** +(`FoloToy-AI-Passport-full.bin`, the flashable complete build from `0x0`), flash +it to a device, and confirm it runs normally. Do not treat a successful build or +upload as hardware validation: this step proves the artifact the release actually +points to boots and works on real hardware. The artifact comes from the release +assets (the CI/CD `full.bin`) or, for a Git release with no CI artifact, the +local `full.bin` the developer built. If it does not run, stop and fix before the +next tracks. See [`CI-build-and-release.md`](CI-build-and-release.md) for the +artifact and flashing. + +## Track 2: Archive the application to plays After publishing, ask the developer whether to archive this application into the upstream `FoloToy/ai-passport` repository's `plays/` application archive. If @@ -30,7 +43,7 @@ if not, summarize directly. After archiving, handle each branch independently: create the root README on a branch that lacks one, and prompt the developer to update the README on a branch that already has one. -## Track 2: Collect suggestions and file issues +## Track 3: Collect suggestions and file issues Run the `issue-suggestions` skill to gather the releasing developer's own improvement points and file the worthwhile ones as feature request issues @@ -42,7 +55,7 @@ against the upstream `FoloToy/ai-passport` project. 3. Collect, deduplicate, categorize, and match against existing issues. 4. Draft a feature request issue and wait for explicit approval before applying. -## Track 3: Collect development experience and submit a PR +## Track 4: Collect development experience and submit a PR Run the `experience-pr` skill to capture durable, reusable learnings about the fork's own `docs/` differences from upstream and propose them as a documentation @@ -65,7 +78,8 @@ PR to the upstream `FoloToy/ai-passport` project. ## Shared safety and consent gates -Every track follows the same non-negotiable rules: +Track 1 is a device check and needs no skill or GitHub channel. Tracks 2–4 +follow the same non-negotiable rules: - Confirm consent before starting; this work touches project-private content. - Confirm a GitHub channel (GitHub MCP, a GitHub skill, or `gh`) before any diff --git a/docs/development/after-release.zh_CN.md b/docs/development/after-release.zh_CN.md index df2babd..edaca45 100644 --- a/docs/development/after-release.zh_CN.md +++ b/docs/development/after-release.zh_CN.md @@ -4,13 +4,21 @@ # 发布后收尾 -一旦固件已发布到 AI Passport 社区,就把发布闭环收尾,把它转化成三类后续工作。发布本身见 +一旦 **release 全部完成**——无论发布到 AI Passport 社区还是发布到 Git——就把发布闭环收尾,按本页执行后续工作。发布本身见 [publish-to-community.md](publish-to-community.md);本页是发布**之后**做什么的总览。 -收尾沿三条独立轨道进行。三者都由仓库内的 skill 驱动,都需要相同的安全与同意门槛,都不负责 -发布固件。 +收尾沿四条独立轨道进行。轨道 1 是设备检查;其余由仓库内的 skill 驱动并遵循相同的安全与同意门槛。 +都不负责发布固件。 -## 轨道 1:把应用归档到 plays +## 轨道 1:重刷发布产物并验证 + +release 完成后,下载该 release 的**合并完整固件**(`FoloToy-AI-Passport-full.bin`,可从 `0x0` 烧录的完整版), +刷入设备并确认能正常运行。不要把"构建成功"或"上传成功"当成硬件验证:这一步证明 release 实际指向的产物 +能在真机上启动并正常工作。产物来自 release 资产(CI/CD 的 `full.bin`),若 Git release 无 CI 产物则用 +开发者本地构建的 `full.bin`。若不能运行,先停下来修复再做后面轨道。产物与烧录见 +[`CI-build-and-release.md`](CI-build-and-release.md)。 + +## 轨道 2:把应用归档到 plays 发布后,询问开发者是否把该应用归档到上游 `FoloToy/ai-passport` 仓库的 `plays/` 应用档案。若同意, 在 `plays///` 下生成该应用的 AI 功能总结(双语 `README.md` / `.zh_CN.md`), @@ -21,7 +29,7 @@ 把它合并进总结;若没有,直接总结。归档完成后对每个分支**各自处理**:没有根 README 的分支创建它, 已有根 README 的分支提示开发者更新它。 -## 轨道 2:收集建议并提交 issue +## 轨道 3:收集建议并提交 issue 运行 `issue-suggestions` skill,收集发布固件的开发者本人的改进点,把有价值的整理成功能 建议 issue,提交到上游 `FoloToy/ai-passport` 项目。 @@ -31,7 +39,7 @@ 3. 收集、去重、分类,并与已有 issue 匹配。 4. 起草功能建议 issue,应用前等待明确批准。 -## 轨道 3:收集开发经验并提交 PR +## 轨道 4:收集开发经验并提交 PR 运行 `experience-pr` skill,把 fork 相对上游 `docs/` 差异对应的持久、可复用的经验固化, 并作为文档 PR 提交到上游 `FoloToy/ai-passport` 项目。 @@ -48,7 +56,7 @@ ## 共同的安全与同意门槛 -每条轨道都遵守下面这些不可协商的规则: +轨道 1 是设备检查,不需要 skill,也不需要 GitHub 通道。轨道 2–4 遵守下面这些不可协商的规则: - 开始前确认同意;本工作涉及项目私有内容。 - 任何提交前确认已有可用的 GitHub 通道(GitHub MCP、GitHub skill 或 `gh`);若都不可用,则生成内容供手动粘贴并停止。