Files
ai-passport/docs/reference
T
Shinku fd061e9ab2 docs(reference): add Connect Four post-release notes and archive
The Connect Four release on the fork's feature branch produced four reusable
notes and one application archive, all under docs/reference/shinku-chen/:

- two-device-ble-link: symmetric peer discovery with an address tiebreak
  instead of a host/join choice, the measured heap cost of the link on a part
  without PSRAM and its collision with a static screenshot buffer, two NimBLE
  traps that compile cleanly and only fail on hardware, the NVS requirement
  behind RF calibration caching, and the stop-and-wait layer a turn-based
  application needs.
- landscape-rotation-and-deep-sleep-key-wake: rotating a portrait panel into a
  320 x 240 landscape screen through LVGL, why the corner mask must follow the
  logical resolution, and how an ADC-owned pin makes a low-level deep-sleep
  wake fire at sleep entry.
- on-device-game-ai-wall-clock-budget: why node-count limits misfire on this
  board (about 15k nodes per second), iterative deepening against a time
  budget, yielding to keep the idle task fed, and difficulty as a blunder rate.
- release-artifact-verification: sizing a static buffer from the panel rather
  than guessing, reading the startup log of the published merged image, and
  replacing a release that shipped wrong rather than following it up.
- connect-four: the functional summary of the published application.

Both language versions are added together and the reference index lists all
five entries. Documentation only: no code, configuration, partition table, or
repository rule is touched, and the runtime two-device BLE transport this work
informed is split into its own change.
fd061e9ab2 · 2026-09-20 10:50:10 +08:00
History
..

简体中文 · English

Reference

This area holds reference material for AI Passport development that is not a binding requirement: reusable development experience and archived application playbooks. These are consulted when developing something new, not enforced as rules. Reference is organized by contributing developer's GitHub username: under each repository-relative docs/reference/<username>/ folder, experience entries are stored as flat files and application playbooks as subdirectories.

The engineering rules themselves live under ../development/; the collaboration conventions under ../contribution/.

Contributors

Shinku-Chen

Experience entries:

Application playbooks:

  • Voice Keychain — a sound-effects keychain that turns the AI Passport into a pocket audio player.
  • What to Eat Today — a button-driven food roulette that turns the AI Passport into a "what should I eat?" spinner.
  • Connect Four — a landscape 10 × 7 four-in-a-row game with three computer difficulty levels, a two-player mode, synthesized sound, and an idle deep sleep.

PhoenixZHC

Experience entries:

Y2Lin

Experience entries:

sunny0826

Application playbooks:

  • Offline Pokédex — a fully offline Pokédex that embeds all 1,025 Pokémon, their sprites, and cries in the firmware.

Adding an experience entry

Each release may produce one or more reusable, post-release learnings; each is added as its own entry (with the release tag or commit as context). Follow the repository language rule: keep the default .md path in English and the paired .zh_CN.md in Simplified Chinese, aligned in the same change.

An entry is a single .md file (with its .zh_CN.md peer) stored flat under docs/reference/<username>/ and named after the entry's content summary in lowercase-kebab-case (e.g. audio-compression-trade-offs.md), describing the topic rather than an opaque timestamp. Each entry is routed before submission: general, upstream-benefiting experience goes to the upstream FoloToy/ai-passport as a PR; fork-specific customization stays in the fork per docs/fork-guide.md.

Archiving an application

When an application is published, archive it under the repository-relative docs/reference/<username>/<app-name>/ with an AI-generated bilingual functional summary (README.md / .zh_CN.md) and optionally a how-to guide. The archive is text-only — record the cover image by file name and format only, and do not store the firmware .bin. The plays-archive skill drives the archive and its convention. Add the application to this index and its Simplified Chinese peer in the same change.