docs: reorganize reference area and unify directory READMEs

Reorganize the AI-agent documentation by function area:
- Move the plays/ application archive and experiences into docs/reference/, grouped by contributor <username>/ (flat experience entries + application subdirectories), with a single reference/README entry.
- Add a second level under docs/development/ (engineering/, ci/, release/); fold agent-guide into ai-guide; flatten the six project-completion sub-documents into one file.
- Unify each directory to a single README (drop every INDEX); fold assets/{fonts,images,music} README leaves into assets/README; remove the empty docs/software-design/.
- Add an upstream-PR rule: do not add or modify the repository-root README.
- Update all cross-references and bibliographic links (EN/ZH aligned); validate.sh --static passes. The repository-root README is left untouched.
This commit is contained in:
Shinku committed 2026-08-31 15:05:42 +08:00
1 parent 545881ad1d
commit cbede2d2fa
105 files changed
+1025 -1576

No files matched your search

+2
View File
@@ -6,6 +6,8 @@
## Unreleased
- Reorganized the documentation by function area with a dual entry point: the root `AGENTS.md` is now a thin router (hard constraints + task routing only) and the detailed AI workflow lives in `docs/development/ai-guide.md`; `agent-guide.md` was folded in. `docs/development/` gained a second level (`engineering/`, `ci/`, `release/`), and the `plays/` application archive and `experiences/` moved into a `docs/reference/` area with a dedicated README. Removed `docs/software-design/` (empty scaffold); folded the three `assets/{fonts,images,music}/README` leaves into the `assets/` README; flattened the six `project-completion` sub-documents into a single file; and unified each directory to a single README, eliminating every `INDEX` file and a duplicated experience index. All cross-references and bibliographic links were updated; no content was dropped.
- Made mini-program BLE install compatibility a template-level invariant: fixed
protected `cardid`/Recovery partitions, retained the five-second UP-key
Recovery boot hook, and added CI validation for merged-image structure,
+2
View File
@@ -6,6 +6,8 @@
## Unreleased
- 按功能域整理文档并采用双入口:根目录 `AGENTS.md` 变为薄路由(只保留硬约束与任务路由),详细的 AI 开发工作流下沉到 `docs/development/ai-guide.md`,`agent-guide.md` 并入其中。为 `docs/development/` 增加二级分区(`engineering/`、`ci/`、`release/`),把 `plays/` 应用档案与 `experiences/` 移入带专属 README 的 `docs/reference/` 参考区;删除 `docs/software-design/`(空脚手架);把 `assets/{fonts,images,music}/README` 三个叶子 README 并入 `assets/` README;把 `project-completion` 的六个子文档压平为单文件;并把每个目录统一为单一 README,消除所有 `INDEX` 文件与一处重复经验索引。所有交叉引用与文献链接已更新;未丢弃任何内容。
- 将小程序 BLE 安装兼容提升为二创模板强制契约:固定保护 `cardid`/Recovery 分区,
保留上键持续 5 秒进入 Recovery 的 bootloader hook,并在 CI 强制校验合并镜像结构、
分区表 MD5/范围、3 MB 应用上限和保护分区数据不入包。
-37
View File
@@ -1,37 +0,0 @@
<p align="right">
<a href="INDEX.zh_CN.md">简体中文</a> · <strong>English</strong>
</p>
# Documentation Index
Use this page to discover repository documentation. `authoritative` documents define development or collaboration requirements; `reference` documents provide background or an index.
| Document | Purpose | Status |
| --- | --- | --- |
| [README.md](README.md) | Project overview and capability contract | authoritative |
| [CHANGELOG.md](CHANGELOG.md) | User-visible behavior, compatibility, and release history | authoritative |
| [brand-and-product.md](brand-and-product.md) | Brand, positioning, official links, and product facts | authoritative |
| [contribution/README.md](contribution/README.md) | Contribution-document index | authoritative |
| [contribution/doc-conventions.md](contribution/doc-conventions.md) | Documentation language, ownership, safety, and maintenance | authoritative |
| [contribution/commit-and-pr.md](contribution/commit-and-pr.md) | Commit and pull-request rules | authoritative |
| [development/README.md](development/README.md) | Engineering-document index | authoritative |
| [development/agent-guide.md](development/agent-guide.md) | AI-assisted development workflow | authoritative |
| [development/environment-setup.md](development/environment-setup.md) | Clean-machine environment bootstrap for AI agents | authoritative |
| [development/build-and-test.md](development/build-and-test.md) | Build and validation commands | authoritative |
| [development/ble-recovery-compatibility.md](development/ble-recovery-compatibility.md) | Mini-program BLE firmware compatibility contract | authoritative |
| [development/coding-conventions.md](development/coding-conventions.md) | C and firmware conventions | authoritative |
| [development/CI-validation.md](development/CI-validation.md) | Pull-request and main-branch validation | authoritative |
| [development/CI-build-and-release.md](development/CI-build-and-release.md) | Tagged firmware builds and releases | authoritative |
| [development/CI-sync-main.md](development/CI-sync-main.md) | Fork upstream synchronization | authoritative |
| [development/publish-to-community.md](development/publish-to-community.md) | Publish firmware to the AI Passport community market | authoritative |
| [development/project-completion.md](development/project-completion.md) | Project completion flow (optional closing actions) | authoritative |
| [development/file-issues.md](development/file-issues.md) | Filing a suggestion as an upstream GitHub issue | authoritative |
| [development/experience-notes.md](development/experience-notes.md) | Index of development experience entries under `docs/experiences/` | reference |
| [fork-guide.md](fork-guide.md) | Fork branch and documentation workflow | authoritative |
| [hardware-design/README.md](hardware-design/README.md) | Hardware-document index | reference |
| [hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md](hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md) | Board facts, constraints, validation, and troubleshooting | authoritative |
| [hardware-design/specifications.md](hardware-design/specifications.md) | User-facing product specifications | authoritative |
| [software-design/README.md](software-design/README.md) | Software-design document index | reference |
| [../plays/INDEX.md](../plays/INDEX.md) | Index of archived applications in `plays/` | reference |
GitHub community documents: [CONTRIBUTING.md](../.github/CONTRIBUTING.md), [CODE_OF_CONDUCT.md](../.github/CODE_OF_CONDUCT.md), [SECURITY.md](../.github/SECURITY.md), and [SUPPORT.md](../.github/SUPPORT.md).
Loaded 3 of 105 files, more files were not shown because too many files have changed in this diff. Show more