Files
ai-passport/docs/development
T
cjiio 3b644a97a0 fix: harden runtime recovery and firmware validation
Fix BSP audio recovery, LVGL initialization and ADC rollback; make demo worker and wireless teardown retry-safe and report recording failures accurately.

Validate all flashed images, add failure-injection host tests, fix fork sync checkout and align bilingual engineering and archive documentation.
3b644a97a0 · 2026-09-17 17:17:20 +08:00
History
..

简体中文 · English

Development Guidelines

This directory contains AI Passport engineering rules and reusable workflows, grouped by purpose: the AI-assisted development workflow (ai-guide.md), engineering conventions (engineering/), CI documents (ci/), and the release/completion flow (release/). Rules should identify their trigger, required action, prohibited action, validation, and exceptions. Hardware facts belong in docs/hardware-design/; automatable requirements must also be enforced by tooling or CI.

AI workflow

  • ai-guide.md: AI-assisted development workflow.
  • Core AI skills: development, setup, build, device testing, and diagnosis; installation and usage examples.

Engineering

  • environment-setup.md: clean-machine bootstrap for AI agents, including international and mainland China download routes.
  • build-and-test.md: ESP-IDF build and validation.
  • firmware-layout.md: default and user-defined partition layouts and merged-artifact validation.
  • coding-conventions.md: source-code and resource conventions, including Chinese font integration, blank/boxed text troubleshooting, and display acceptance.
  • lvgl-chinese-fonts.md: step-by-step CJK configuration, font generation/linking, fallback examples, glyph checks, and troubleshooting.
  • wifi-provisioning.md: Bluetooth-based Wi-Fi setup using the BLUFI reference branch, the companion mini program, and integration checks.

CI

Release