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

+16 -10
View File
@@ -9,7 +9,7 @@ The repository is organized around the following principles:
- `main` is the smallest complete runnable baseline and an executable description of the current hardware capabilities.
- `components/bsp` isolates board-level details and exposes stable APIs to applications.
- `demo/*` branches show different paths from a product requirement to a working implementation.
- Development conventions for AI assistants live in [`AGENTS.md`](../AGENTS.md) and [`docs/development/agent-guide.md`](development/agent-guide.md); the complete hardware context and troubleshooting knowledge is in [`docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md`](hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md).
- Development conventions for AI assistants live in [`AGENTS.md`](../AGENTS.md) and [`docs/development/ai-guide.md`](development/ai-guide.md); the complete hardware context and troubleshooting knowledge is in [`docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md`](hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md).
- Build results and physical-device results are reported separately. A successful build must never be presented as successful hardware validation.
## Hardware capability contract
@@ -50,9 +50,9 @@ implementation with tests, and report the build result, unexecuted device checks
on-device acceptance steps separately.
```
Before starting, check [`plays/`](../plays/README.md) for an existing or reference
application and the demo branches, and [`docs/development/experience-notes.md`](development/experience-notes.md)
for previously recorded, reusable experience. See what is already built and reusable.
Before starting, check [`reference/`](reference/README.md) for an existing or
reference application and previously recorded, reusable experience, and the demo
branches. See what is already built and reusable.
The more specific the requirement, the more likely the assistant is to implement it correctly in one pass. Useful details include:
@@ -111,12 +111,18 @@ CLAUDE.md Claude Code pointer to AGENTS.md (paired Chinese versio
LICENSE Repository license
```
## Documentation
## Documentation index
- [`docs/INDEX.md`](INDEX.md) — complete documentation index for contribution, engineering, fork, software, and hardware topics.
- [`docs/development/agent-guide.md`](development/agent-guide.md) — AI-assisted development workflow, source priorities, BSP boundaries, runtime rules, and delivery format.
- [`docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md`](hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md) — pin map, acceptance matrix, and troubleshooting guide.
- [`AGENTS.md`](../AGENTS.md) — mandatory entry point for AI-assisted work.
- [`docs/fork-guide.md`](fork-guide.md) — fork branch and documentation workflow.
Repository documentation is organized by function area. `authoritative` documents define development or collaboration requirements; `reference` documents provide background or an index.
- [`docs/development/`](development/README.md) — engineering rules and reusable workflows: the `ai-guide.md`, `engineering/`, `ci/`, and `release/` areas. Its README lists them.
- [`docs/contribution/`](contribution/README.md) — collaboration, documentation, and commit/PR conventions.
- [`docs/hardware-design/`](hardware-design/README.md) — board facts, constraints, acceptance matrix, and troubleshooting.
- [`docs/reference/`](reference/README.md) — reference material: reusable development experience (`experiences/`) and archived application playbooks (`plays/`).
- [`docs/`](README.md) top-level — [`CHANGELOG.md`](CHANGELOG.md), [`brand-and-product.md`](brand-and-product.md), and [`fork-guide.md`](fork-guide.md).
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).
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).
> This README describes the product and repository. AI agents must begin with `AGENTS.md` and follow its task-specific routing.