AgentDeck / esp32
AGENTS.md288 starsChanged 12 days agoMITView on GitHub
Nested instruction file for work under esp32/. Claude Code loads it on the first file read here; Codex appends it to the root ../AGENTS.md when its working directory is under esp32/ (both must fit Codex's 32 KiB cap or this file is skipped). Read ../.claude/rules/esp32-flash.md (board map, merged factory image, flash preflight refusal, post-write reset, serial-suspend lease) before flashing, and the esp32-heap-discipline skill (.agents/skills/esp32-heap-discipline/SKILL.md) before writing anything that allocates. Board list, flash safety, and WiFi recovery details live in ../docs/esp32.md.…
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agentdeck-deploySkill
- agentdeck-workflowsSkill
- esp32-heap-disciplineSkill
- sdc-diagnoseSkill
- session-endSkill
The file
Files
ESP32 firmware — provisioning, OTA, and client contract
Nested instruction file for work under esp32/. Claude Code loads it on the first file read here; Codex appends it to the root ../AGENTS.md when its working directory is under esp32/ (both must fit Codex's 32 KiB cap or this file is skipped). Read ../.claude/rules/esp32-flash.md (board map, merged factory image, flash preflight refusal, post-write reset, serial-suspend lease) before flashing, and the esp32-heap-discipline skill (.agents/skills/esp32-heap-discipline/SKILL.md) before writing anything that allocates. Board list, flash safety, and WiFi recovery details live in ../docs/esp32.md. Do not restate rules here; add them to the files above.
WiFi provisioning and OTA
ESP32 WiFi provisioning + disconnect recovery details: see ../docs/esp32.md. WiFi OTA v1 (esp32_ota_begin/chunk/end/abort over the board's WiFi WS socket, POST /esp32/ota) targets directly flashed AgentDeck ESP32 boards with WiFi connectivity and dual-OTA partition tables; non-AgentDeck or non-direct-flashed devices are out of scope, and 86box/ips10 units on the old factory/NO_OTA layout need a one-time USB full flash first. Both daemons implement OTA (the Swift one since 2026-07-17); the sandboxed daemon accepts a base64-inlined firmwareB64 and the CLI resends that way on firmware_unreadable, while building firmware (--build, PlatformIO) stays CLI-only. Target aliases, migration state and verification: ../docs/esp32.md § WiFi OTA v1.
Client contract (external/forked clients)
The AgentDeck wire contract a display-only client must honour (inbound events, device_info/command frames) is documented in ../docs/esp32-client-contract.md. It has no C/C++ codegen, so drift is managed by discipline: when DISPLAY_FORWARDED_EVENTS/SERIAL_FORWARDED_EVENTS in shared/src/protocol.ts or the device_info field list change, re-port the XTeink X3/X4 fork's hand-ported client (crosspoint-agentdeck src/agentdeck/protocol.*); e-ink layout drift is checked with scripts/sync-xteink-eink-dashboard.sh --check. See ../docs/esp32.md § Downstream client port sync.
Autonomous Pocket (Node and Swift daemons)
bridge/src/pocket-autonomy.ts and native Swift PocketAutonomy author offline-carryable pulse/nudge/quest cards from the resolved session + CardFeedGlance snapshot already used by /feed; producers never fetch independently. Shared policy and Node/Swift vectors gate selection and feedback parity. Both persist only aggregate counters and bounded opaque-ID metadata in pocket-autonomy.json, never card copy, names or provider text. The legacy no-PSRAM XTeink hand-port has a fixed three-card pool with stable offline choice IDs; current X4 device validation is deferred to future companion-app integration. Contract and settings: ../docs/esp32-client-contract.md § Autonomous Pocket.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

