docs(archive): group archived applications and experience by contributor
- Group plays/<app-name> and docs/experiences/<unixtime>_<sha> archives under a per-contributor username folder so submissions are not flattened across the archive. - Add plays/INDEX.md and docs/experiences/INDEX.md (and zh_CN pairs) that list each archived record by contributor. - Document the power-consumption rule: a small-battery wearable must avoid leaving the screen lit for long periods and should return to a low-power state when idle. - Add brand-shell guidance: when generating an effect or mockup image for a play, use docs/assets/brand/ references to add the device shell around the on-screen content.
This commit is contained in:
1 parent
55f83433e8
commit
e0ecbbe134
20 files changed
+213
-69
No files matched your search
@@ -17,10 +17,11 @@ firmware.
|
||||
|
||||
After publishing, ask the developer whether to archive this application into the
|
||||
upstream `FoloToy/ai-passport` repository's `plays/` application archive. If
|
||||
agreed, generate an AI-functional summary under `plays/<app-name>/` (bilingual
|
||||
`README.md` / `.zh_CN.md`) and add the cover image as
|
||||
`plays/<app-name>/<app-name>-cover.<webp|png|jpg>`. Commit only the summary and
|
||||
cover; do not store the firmware `.bin` here. See
|
||||
agreed, generate an AI-functional summary under
|
||||
`plays/<username>/<app-name>/` (bilingual `README.md` / `.zh_CN.md`) and add the
|
||||
cover image as
|
||||
`plays/<username>/<app-name>/<app-name>-cover.<webp|png|jpg>`. Commit only the
|
||||
summary and cover; do not store the firmware `.bin` here. See
|
||||
[`../../plays/README.md`](../../plays/README.md).
|
||||
|
||||
Before generating the summary, check the root README of the `main` and current
|
||||
@@ -53,8 +54,9 @@ PR to the upstream `FoloToy/ai-passport` project.
|
||||
3. Collect reusable experience from the fork's `docs/` differences, route it
|
||||
(general, upstream-benefiting experience goes upstream; fork-specific
|
||||
customization stays in the fork per `fork-guide.md`), and store it as a new
|
||||
entry under `docs/experiences/` (named `<unixtime>_<commit-sha>.md`, plus the
|
||||
`.zh_CN.md` peer), linking it from the
|
||||
entry under `docs/experiences/<username>/` (named
|
||||
`<unixtime>_<commit-sha>.md`, plus the `.zh_CN.md` peer, grouped by the
|
||||
contributing developer's GitHub username), linking it from the
|
||||
[experience index](experience-notes.md), on a dedicated branch based on the
|
||||
latest upstream `main`, so the current checkout
|
||||
stays untouched.
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
## 轨道 1:把应用归档到 plays
|
||||
|
||||
发布后,询问开发者是否把该应用归档到上游 `FoloToy/ai-passport` 仓库的 `plays/` 应用档案。若同意,
|
||||
在 `plays/<app-name>/` 下生成该应用的 AI 功能总结(双语 `README.md` / `.zh_CN.md`),并添加封面图
|
||||
`plays/<app-name>/<app-name>-cover.<webp|png|jpg>`。只提交总结与封面;**不要**在这里存固件
|
||||
`.bin`。见 [`../../plays/README.md`](../../plays/README.md)。
|
||||
在 `plays/<username>/<app-name>/` 下生成该应用的 AI 功能总结(双语 `README.md` / `.zh_CN.md`),
|
||||
并添加封面图 `plays/<username>/<app-name>/<app-name>-cover.<webp|png|jpg>`。只提交总结与封面;
|
||||
**不要**在这里存固件 `.bin`。见 [`../../plays/README.md`](../../plays/README.md)。
|
||||
|
||||
生成总结前,先检查 `main` 分支和当前分支**根目录**的 README(`plays-archive` skill):若有 README,
|
||||
把它合并进总结;若没有,直接总结。归档完成后对每个分支**各自处理**:没有根 README 的分支创建它,
|
||||
@@ -39,9 +39,11 @@
|
||||
1. 确认开发者同意开始收尾(涉及项目私有内容)。
|
||||
2. 确认已有可用的 GitHub 通道(GitHub MCP、GitHub skill 或 `gh`);否则把草案交给开发者手动粘贴。
|
||||
3. 收集 fork 相对上游 `docs/` 差异里的可复用经验并分流(通用、上游也受益的经验回上游;
|
||||
纯 fork 定制按 `fork-guide.md` 留在 fork),保存为 `docs/experiences/` 下的一个新的条目文件(命名为
|
||||
`<unixtime>_<commit-sha>.md`,并配 `.zh_CN.md`),从 [经验索引](experience-notes.md)
|
||||
链接它,放在以最新上游 `main` 为基线的独立分支上,确保当前 checkout 不被改动。
|
||||
纯 fork 定制按 `fork-guide.md` 留在 fork),保存为
|
||||
`docs/experiences/<username>/` 下的一个新的条目文件(命名为
|
||||
`<unixtime>_<commit-sha>.md`,并配 `.zh_CN.md`,按贡献开发者的 GitHub 用户名分组),
|
||||
从 [经验索引](experience-notes.md) 链接它,放在以最新上游 `main` 为基线的独立分支上,
|
||||
确保当前 checkout 不被改动。
|
||||
4. 把变更交给开发者审查,然后在获得明确批准后再 commit、push 到 fork、并向上游 `FoloToy/ai-passport` 开 PR。
|
||||
|
||||
## 共同的安全与同意门槛
|
||||
|
||||
@@ -11,3 +11,4 @@
|
||||
- Add or update tests with code changes. If automation is not practical, record the test gap and exact manual validation path.
|
||||
- If adding a cache, define expiration and cleanup unless durable retention is explicitly justified.
|
||||
- The ESP32-C3 has no PSRAM. Review internal RAM and largest-contiguous-block impact before increasing LVGL buffers, audio allocations, network state, or task stacks.
|
||||
- **Watch power consumption.** This is a wearable powered by a small battery; keep it efficient. Avoid keeping the screen lit for long periods: dim or turn off the backlight, and return to a low-power state (light/deep sleep) whenever the screen is idle, so the device is not left displaying a bright screen while doing nothing. See the guidance on sleep in [`../hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md`](../hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md).
|
||||
Loaded 3 of 20 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user