Archive the published Senren * Banka visual novel reader as a text-only
application playbook: bilingual functional summaries (what it does, how the
three keys drive it, how the assets and script are packed), the publish
metadata submitted to the community (title, description, category, cover
file name and format, source address), and the community project id.
Register the entry in both language versions of the reference index.
Add the application playbooks for the four applications published from the
fork on 2026-09-26 and register them in both language versions of the
reference index:
- Asunabi (v0.1.0-asunabi)
- Saya no Uta (v0.1.1-saya-no-uta)
- ATRI Reader (v1.0.2-atri-reader)
- Starry Sky Railroad and Shiro's Journey (v0.1.0-starry-sky-railroad)
Text only: covers and merged firmware images are recorded by name, format and
size, never committed. Consolidates the archive halves of upstream PRs #73,
#75, #76 and #78 into a single documentation change.
Repository checks: PASS (255 text files scanned).
- bsp_pins.h gains BSP_BTN_SHORT_PRESS_MS (180) and BSP_BTN_LONG_PRESS_MS (500);
bsp_button.c passes both to button_config_t instead of { 0 }, so the press
timing no longer depends on the button component's Kconfig defaults.
- User-visible change: LONG now triggers at 500 ms instead of 1500 ms, which is
what the demo's OK-long-press-returns interaction uses. The component's
BUTTON_LONG_PRESS_TIME_MS Kconfig lower bound is also 500 ms, so a shorter long
press can only be passed in code.
- The init log reports both thresholds, and tests/test_bsp_button.c asserts the
values handed to iot_button_create().
- docs/hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.{md,zh_CN.md} document the
explicit timings and why they are pinned.
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.
State the root-README split implied by the branch model: a feature branch README
documents only that branch's application, and the fork main README is the catalog
that keeps one section per hosted project. Record it in the fork guide and as a
project-completion Action E rule, in both languages.
Captured after the Sound Effects Keychain v1.4.0 release (commit ce9b13d).
Records how to power the LCD panel, backlight, audio codec, and fuel gauge
down before deep sleep, the esp_codec_dev_close() only-suspends-if-opened
trap (chip left in es8311_open config state when audio was never played),
and that the MCU side is already handled by esp_sleep_isolate_digital_gpio
while the always-on PA and 3.3V regulator are out of software reach.
Revert the temporary fork pin in sync-main.yml back to the aormsby
Fork-Sync-With-Upstream-action now that aormsby/Fork-Sync-With-Upstream-action#85
(rev-list branch/dir ambiguity fix) is merged on aormsby main.
Also lands the CI-validation.md (+ zh_CN) doc updates onto the new
docs/development/ci/ path from the upstream docs reorganization.
brand moved to docs/brand/; correct the remaining prose references that still
point to the old docs/assets/brand path (in brand docs and the plays-archive skill).
Links were already correct; this updates the descriptive text.
Consolidate the public brand-and-product document and the official product
visual references into a single docs/brand/ directory:
- Move docs/assets/brand/ (README + product reference images) to docs/brand/.
- Move docs/brand-and-product.md / .zh_CN.md into docs/brand/.
- Update the docs/README index (EN/ZH) to list docs/brand/ as a function area.
- Point brand reference links in skills/plays-archive and brand docs at docs/brand/.
- docs/assets/ is left in place (its .gitkeep and fork-owner convention remain).
The fork no longer carries a repository-root README pair. The upstream project overview remains at docs/README.md, which GitHub displays when no root README exists. This aligns the fork with the upstream documentation layout.
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.
The ESP32-C3 deep-sleep wakeup section now documents the bitmask-vs-pin-number
pitfall: esp_deep_sleep_enable_gpio_wakeup() takes a pin bitmask, so passing
GPIO_NUM_0 (=0) is treated as an empty mask, the function returns
ESP_ERR_INVALID_ARG and arms no wake source at all, and the chip sleeps with no
way to wake. Pass 1ULL << GPIO_NUM_0 and check the return value. This was the
root cause of a real 'slept but won't wake' bug and is now verified on the
sound-keychain firmware (commit 63f0ebd): sleeps after 5 min idle, wakes on any
button. Updated both the English and Simplified Chinese peers.
The rename to project-completion left four references to the deleted
after-release.md: two in the CHANGELOG (en + zh_CN) and two in the
post-release-follow-up experience entry's related-documents section.
Signed-off-by: Shinku <17696928+Shinku-Chen@users.noreply.github.com>
Split the old ci.yml into two focused workflows so the ESP-IDF firmware
build only runs when the change actually touches firmware.
- static-checks.yml: repository/host checks on every PR, push to main, and
manual dispatch.
- firmware-checks.yml: ESP-IDF build with paths-ignore for docs/**, plays/**,
skills/**, and *.md so documentation-only changes skip the firmware build.
assets/** is intentionally not ignored (may embed fonts/images/audio).
- Update CI-validation.md (+ zh_CN) to describe the two workflows, the path
filtering, and the required-check compatibility caveat.
Address review feedback:
- Make all six actions optional; README update (E) is the default companion
of archiving (D), not a standalone requirement.
- Restore the post-release full-build hardware verification that the old
after-release flow carried and was dropped in the rework.
- Align archive path with the plays convention (plays/<username>/<app-name>/).
- Align the three text-only rules: plays/README, plays-archive skill, and the
archive-plays action now all record the cover by file name/format only.
- Build the merged full image with ./tools/validate.sh --firmware (not idf.py
build); confirm commit/push/tag/release separately in action B.
- Rename the entry point from post-release follow-up to project completion in
AGENTS, the indexes, and cross-references.
Add a reusable, upstream-benefiting post-release experience entry from the
'What to Eat Today' firmware release:
- Display refresh: direct esp_lcd_panel_draw_bitmap refresh of a single image
rect, big-endian RGB565, this project's LVGL I8 palette layout, and an
optional interlaced two-pass mode.
- Deep-sleep wakeup: ESP32-C3 has no EXT0/EXT1; use
esp_deep_sleep_enable_gpio_wakeup on an RTC GPIO, noting ESP-IDF 5.5.3's
default internal-resistor behavior.
- LVGL object-type misuse crash signature (lv_tlsf_block_size).
Link the bilingual entry from both the English and zh_CN experience indexes.
Hardware facts are marked Unverified pending source commit/tag, board revision,
and reproduced measurements.
Archive the 'What to Eat Today' food roulette under plays/shinku-chen/eat-what
with a bilingual functional summary and cover image, and add it to the play
archive index. The firmware is a button-driven spinner that boots straight into
the app, holds UP/DOWN to loop food animations, stops on release, shows live
battery, and auto-poweroffs after 2 minutes idle.
Require the feature/* branch to be created from a base aligned with FoloToy/ai-passport:main, using the latest upstream main as the branch-off point rather than the fork's own main. A fork main may be stale or unable to sync, so it is not a reliable baseline. Aligns the English and zh_CN fork guides.
Replace the intro-plus-link catalog with a full description of each project the
fork hosts. Voice Keychain, What to Eat Today, and Shengzi Cards are each
presented with a complete breakdown of what they do and how to use them
(interactions, modes, keys, persistence, build/asset details), drawing on each
project's own branch README, plus the branch links. Bilingual
README.md / README.zh_CN.md.
Introduce the fork owner's bilingual root README listing the projects this
fork hosts: Voice Keychain (feature/voice-keychain), What to Eat Today
(feature/cheerful-goodall), and Shengzi Cards (feature/shengzi-cards), each
with a short description of what it does, how it is used, and a link to its
branch/source. This is fork-owned content; it is not proposed back upstream.
The battery indicator shows in the top-right by default, but the corner already
has a cloud decoration (add_cloud, around x≈188, y≈8). Place the battery in the
clear sky space beside or below the cloud, or at the very top-right edge, so it
does not overlap or cover the cloud. Documented in agent-guide and
coding-conventions in both languages.
A user interface shows the battery level in the top-right corner by default,
unless the developer specifies a different placement or explicitly does not want
it. Read it from bsp_battery_soc() (and bsp_battery_mv() where useful), render
it as a small battery indicator or percentage in the reserved top-right area,
and degrade gracefully when the reading is -1 (unavailable) instead of drawing a
number. Documented in agent-guide (runtime invariants) and coding-conventions in
both languages.
After a release is complete (community or Git), add the device-verification
step as Track 1: download the release's merged full firmware
(FoloToy-AI-Passport-full.bin, the flashable complete build from 0x0), flash it
to a device, and confirm it runs normally. Treating a successful build or upload
as hardware validation is wrong; this step proves the release artifact actually
boots. Generalized the intro from community-only to any completed release, and
renumbered the archive / issue / experience tracks to 2-4.
A release happens when the code is finished, usable, and ready to ship — it is
not a commit. When the publish destination is Git, the flow is: commit the
finished code, then open a release for it. The release artifact may be produced
by the CI/CD pipeline (recommended, tag-triggered via build-firmware.yml) or it
may be a local .bin the developer already built. Added an explicit 'neither yet'
route when the code is still in development. Documented in publish-to-community
in both languages.
This repository hosts several independent projects on one baseline. After
starting from main, create a feature/* branch and develop the application
there, instead of directly on main. Each project's final branch is feature/*
(e.g. feature/my-passport-app), keeping main a clean upstream baseline and the
projects separate. Updated the new-application guidance and the example request
in docs/README in both languages.
When the user asks to remove unnecessary components or go straight into a
feature, the main menu and its elements may be dropped and the target feature
screen launched directly. Keep the ui_pixel theme (sky background, grass, title
plate, mascot, ink-outlined panels) intact and build the screen through
ui_pixel_screen_create() / ui_pixel_panel_create(), so the feature keeps the
shared visual identity instead of rendering blank. Documented in agent-guide
(runtime invariants) and coding-conventions in both languages.
A device render is a redraw of a docs/assets/brand reference, not a from-scratch
text-to-image. Always pass a reference (ai-passport-front.png or a colorway shell
render) as input to the generation call, keep its outer shell, buttons, ports,
and key-ring hole as they are, and redraw only the reference's screen region to
the requested content (for example the actual UI of a play). Keep the screen's
size, aspect ratio, corners, and position inside the shell identical to the
reference. Synced across brand, plays, and the plays-archive skill in both
languages.
When a developer submits a reusable asset through the AI agent, save it under
the repository-root assets/ by default for development and later reuse. Place
it in the matching subdirectory and record destination, naming, integration
method, and source/license there. Archive records (cover, manual, summary)
belong in plays/ or docs/experiences/, not assets/.
- Move the stock-firmware prerequisite and configurable avatar/name/music/text note out of the loose '注意事项' line into a dedicated 'Official config mini program' subsection at the bottom of the Official links section, next to the browser-flashing subsection.
- Update brand-and-product.md/.zh_CN.md only.
- Add the official config mini program (search 'FoloToy AI Passport') as a row in the Official links table, keeping the stock-firmware prerequisite and the configurable avatar/name/music/text in the section notes.
- Update brand-and-product.md/.zh_CN.md only.
- Note that the official FoloToy configuration mini program lets you set an avatar, a name, music to play, and text to show on the device screen.
- Update brand-and-product.md/.zh_CN.md only; no other docs changed.
- Document that to use the official configuration mini program, first flash the stock firmware by scanning the QR code on the back of the device, then search 'FoloToy AI Passport'.
- Update brand-and-product.md/.zh_CN.md (official links section).
- Document that after flashing, the device is configured through the official FoloToy mini program, found by searching 'FoloToy AI Passport'.
- Update CI-build-and-release.md/.zh_CN.md (new Device configuration section) and CHANGELOG.md/.zh_CN.md (Unreleased note).
- Document a release-title convention for multi-app releases: name tags as v<version>-<app-name> (e.g. v0.1.0-voice-keychain) so a release title carries both the version and the application, and confirm the title after the release is published so the release list is scannable by app.
- Update CI-build-and-release.md/.zh_CN.md (new Release title section) and CHANGELOG.md/.zh_CN.md (Unreleased note).
- Label the 3 MB (0x300000) voicefs partition in the audio-compression trade-offs doc as the value in place at the time of analysis.
- State that the final shipped configuration uses the Opus decoder with a 0x210000, 0x5F0000 (~5.94 MB) partition, aligning the doc with the actual partitions.csv and closing the gap with the voice-guide, which already describes this partition.
- Rename plays/Shinku-Chen -> plays/shinku-chen and docs/experiences/Shinku-Chen -> docs/experiences/shinku-chen, and update all in-repo path references (markdown link targets and code spans) to the lowercase path.
- Revert the archive convention from case-insensitive usernames back to "both in lowercase-kebab-case"; the username folder is now lowercase-kebab-case (e.g. shinku-chen) like the app/topic folder.
- Keep the contributor display name (Shinku-Chen) in prose/signatures/table cells and the GitHub URL unchanged.
- The username segment in archive paths is case-insensitive and kept as the GitHub username is (e.g. Shinku-Chen/), while the application/topic folder stays lowercase-kebab-case.
- Update plays README, experience-notes, and both skills (EN + zh_CN) accordingly.
- Align the voice-keychain guide with the shipped Opus pipeline: encode_opus.py, 16 kHz mono, Opus 8 kbps (raw packet stream).
- Correct the voicefs partition to 0x210000, 0x5F0000 (matches feature/voice-keychain partitions.csv); the guide previously wrote 0x310000, 0x300000.
- Fix the flash command offset to 0x210000.
- README already correct (0x210000, 16 kHz mono Opus); unchanged.
- PR and issue titles stay English; bodies may now be English or English plus Simplified Chinese (bilingual).
- Update commit-and-pr, file-issues, the PR template note, and the issue-suggestions skill accordingly.
- Leave the commit-message title rule unchanged.
- 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.
Save the metadata the developer filled in when publishing to the community
when archiving to plays: the bilingual title and description and the source
address they submitted, alongside the AI functional summary and cover. Update
the plays README convention and the plays-archive skill accordingly.
Describe the application source in the plays archive and the plays-archive
skill by the complete repository URL including the branch (a tree/<branch>
link) plus the entry path, so it can be located precisely.
Describe the application source in the plays archive and the plays-archive
skill by the repository address + branch + path triple so an application can be
located precisely, instead of a bare branch or path.
Route the plays-archive workflow to the upstream FoloToy ai-passport repository:
archive the application summary and cover into the upstream plays/ directory and
open the archive pull request from the fork branch against upstream. Update the
after-release track 1, the plays README, the publishing guide, the fork-guide
split (plays belongs upstream), and the skills index to reflect the upstream
target.
Add a "Release notes" section to the build-and-release doc: after a release is
published, write notes covering what's new, how to build, and how to use, in
English (and a Chinese version where the project is bilingual), and link them
from the release, keeping them consistent with the changelog.
Add a "first confirm where to publish" step to the community publishing guide:
when the developer says "publish the project", ask whether to publish to the
community market or to a version-control repository, and route to the matching
workflow instead of assuming one.
Refine the plays-archive README check so after archiving each branch is handled
independently: create the root README on a branch that lacks one, and prompt the
developer to update the README on a branch that already has one. Merge an
existing README into the functional summary; summarize directly when none
exists.
Add a step to the plays-archive skill and the after-release track 1 to check
the root README of the main and current branches before generating a functional
summary: merge the README into the summary when it exists, summarize directly
otherwise, and update (create) the root README after archiving when neither
branch has one. Root README creation follows the fork-owner convention.
Reference the development experience notes alongside the plays application
archive in the start-development guidance, so a developer checks previously
recorded, reusable experience (from other runs) before starting from scratch.
Mention the experience index in the repository overview and the plays README.
Add a "before developing a new play" section to the plays README that directs
developers to check the application archive for an existing or reference project
before starting from scratch, and reference plays/ from the repository overview
start-development guidance. Follow the bilingual convention.
Register the post-release follow-up documents (after-release, file-issues,
experience-notes) in the documentation index and the development README, and
the issue-suggestions, experience-pr, and plays-archive skills in the skills
index. Add the changelog entry for the post-release follow-up workflow.
Add the documentation-and-experience split to fork-guide (fork-specific
product customization stays in the fork; general, upstream-benefiting
improvements go upstream), a post-release follow-up row to the AGENTS routing
table, and an "archive to plays" step at the end of the community publishing
flow so the assistant asks whether to archive a released application.
Add the plays/ in-repository archive for published applications, with a
bilingual directory convention, and a plays-archive skill that generates an
AI functional summary and cover image per application. The archive is linked to
the community publishing flow and only records the summary and cover; the
merged firmware .bin is a build/publish artifact and is not stored here.
Add the post-release follow-up track for collecting suggestions as upstream
issues and submitting reusable development experience as a documentation PR
to the upstream FoloToy ai-passport project. Each workflow is a repository
skill (issue-suggestions, experience-pr) with bilingual SKILL.md, driving the
after-release overview, the issue-filing doc, and the experience index. All
follow the same safety and consent gates: confirm consent, check a GitHub
channel, never submit before review, and never include credentials or private
data.
Add a Tooling notes section to the brand README (EN + zh_CN) capturing
the common failure mode when generating a reference-matched render:
the model reimagines the device because the reference image is never
passed in. Covers passing the reference explicitly, avoiding bare local
paths, the fragility of long base64 data URLs, and verifying hardware
fidelity after generating.
Generated render images are intentionally not registered here.
Add a six-view product diagram (top, bottom, front, back, and both sides) with a blank screen as a full-device overview reference. Register it in the brand asset index and dimension table.
Mark the on-screen content as not a fixed requirement (the AI Passport is a programmable wearable, so its screen may be replaced by the play or firmware) in the brand asset guides. Keep external hardware, logo, and colorway as the consistent elements. Remove the tool-specific reference token so the guides are not tied to a particular assistant.
Add AI Passport brand visual references under docs/assets/brand/ and a bilingual index documenting the product front/back shots and three EVA colorway shell renders. Note the brand-and-product pair so these images can be used as the visual baseline for AI image generation.
Add a reusable guide for AI agents on how to publish firmware (or a demo
application) to the AI Passport community using the official publisher skill.
The document is bilingual (English default plus a Simplified Chinese peer),
registered in docs/INDEX.md, docs/INDEX.zh_CN.md, and the development README
pair. It is a general workflow for any fork owner; no fork-specific details
are included.
The upstream aormsby/fork-sync-with-upstream-action v3.4.3 fails when the
target branch name collides with a real directory in the repo (branch `main`
vs `main/` dir), aborting the daily fork-sync workflow with
"ambiguous argument 'main'". Point the pin temporarily at the fork that
carries the fix (upstream PR aormsby/Fork-Sync-With-Upstream-action#85) so the
sync can run; revert to the official release once it is merged and tagged.
Restructure project documentation for AI-assisted development, add community issue forms and governance guidance, introduce hardened build/release and fork-sync workflows, and produce a validated 0x0 firmware image for the fixed 8 MB target.