AI Coding Status Dashboard with an E-Ink Display: Monitoring Multiple Sessions and Approving Actions Remotely
This article explains how to build an AI coding status dashboard on a 4.7-inch e-ink development board to solve two problems that appear when running three or four AI coding sessions in parallel on one machine: the lack of a unified status view and approvals that block progress when you step away. It covers a three-layer design (sensing, bridge, and display), a dual-channel BLE and serial connection, a line-delimited JSON protocol, a two-column multi-session dashboard, physical-button approval cards, and reliability, security, and observability practices. The key idea is to externalize status and confirmation to a dedicated low-power peripheral, so developers can grasp the overall state at a glance while preserving the human-in-the-loop safety boundary.
1. The Problem: Status Blind Spots and Approval Blockers in Parallel Sessions
As intelligent coding tools—AI coding assistants capable of autonomous planning, code generation, and command execution—become common in development workflows, a typical setup is emerging: three or four coding sessions running simultaneously on one development machine, each handling a different project or branch. This parallel mode improves throughput, but it also creates two recurring problems.
The first is the status blind spot. Terminal interfaces are good at receiving input, but they are not good at acting as a status panel. As the number of sessions grows, developers have to switch windows repeatedly just to check which session is still executing a task, which one has stopped at a confirmation step, and which one has been idle for a while. Key information—context consumption, the current model, the active branch, the number of uncommitted files—is scattered across multiple windows with no unified view.
The second is approval blocking. Mainstream intelligent coding tools generally include an operation confirmation mechanism: before running a command, creating a file, or modifying an existing file, the tool requires explicit human authorization. This mechanism is central to the safety boundary, but the cost is that the workflow is pinned to the terminal. Once the developer leaves their seat, the task stops at the confirmation step—unless a high-privilege auto-execution mode was enabled in advance, which in turn weakens the safety boundary.
This leads to a general engineering proposition: separate the “states and actions that require human judgment” from the general-purpose terminal and hand them to a dedicated, low-distraction physical terminal that can be reached remotely. Using a 4.7-inch e-ink development board as the platform, this article walks through the complete implementation of such an AI coding status dashboard.
2. Overall Design
The pipeline has three layers with clear responsibilities, each able to evolve independently:
- Sensing layer: The intelligent coding tool runs on the development machine and exposes session state and pending approval events through its extension points (hook scripts, state files, a local communication port).
- Bridge layer: A resident local daemon subscribes to events, normalizes the data structures, maintains the session table, and sends commands back to the sessions.
- Presentation layer: The e-ink terminal renders the multi-session dashboard, approval cards, and activity log, and takes input through physical buttons and capacitive touch.
E-ink was chosen over a standard LCD for three reasons: a static image costs zero refresh power, which suits an always-on dashboard; reflective display is more readable under a desk lamp and in daylight; and the image persists after power loss, so a terminal that loses power and reboots does not lose the last status snapshot. The tradeoffs are ghosting and slow response, so the UI must follow a “low-frequency updates, full-screen refresh, minimal partial redraw” approach.
For hardware, an ESP32 main controller plus an e-ink display, capacitive touch, and three physical buttons is enough. The controller handles wireless communication and frame buffering, the buttons use independent interrupts, and touch is used to switch sessions.
3. Communication and Protocol Design
A dual-channel link is recommended: Bluetooth Low Energy for daily use, with a wired serial channel kept as a fallback for first-time pairing and debugging. Pairing information is persisted in the board’s storage, and the device reconnects automatically on power-up with no manual intervention.
The protocol uses line-delimited JSON text rather than a custom binary frame format. The reasons are practical: text is readable, easy to capture in packet traces, and can be fed test data directly from scripts; when new fields are added, old endpoints simply ignore unknown keys, which gives natural backward compatibility.
// Uplink: terminal -> bridge{"type":"approve","session_id":"s2","seq":41,"decision":"allow"}{"type":"heartbeat","ts":1712345678}// Downlink: bridge -> terminal{"type":"snapshot","sessions":[{"id":"s1","project":"report","branch":"main","dirty":2,"ctx_used":45800,"ctx_total":200000,"model":"mid","state":"running"},{"id":"s2","project":"api","branch":"feat/auth","dirty":5,"ctx_used":120000,"ctx_total":200000,"state":"waiting"}]}{"type":"approval","session_id":"s2","seq":41,"tool":"shell","project":"api","payload":{"cmd":"git push --force origin main"}}{"type":"log","session_id":"s2","text":"approval allow by user"}
Three engineering details are worth emphasizing. First, every approval event must carry a monotonically increasing sequence number, and the terminal’s acknowledgment carries the same number, so the bridge can apply idempotency and avoid duplicate approvals caused by wireless jitter. Second, snapshots and events are separated: snapshots can be resent in full, while events are pushed incrementally; after a reconnect, the snapshot is sent first and events resume afterward. Third, the truncation policy for sensitive content should be implemented uniformly on the bridge side; the terminal does not repeat business-level judgments.
4. Information Architecture of the Multi-Session Dashboard
The value of the dashboard depends on information density and hierarchy. A two-column “list on the left, details on the right” layout is recommended:
- The left column is the session list, with four fixed elements per item: project name, branch, context usage (for example, 45.8K / 200K), and a state label (running / awaiting confirmation / idle / error).
- The number of uncommitted files is shown as a badge, reminding the developer that the session may trigger a write operation.
- The right column shows a summary of the latest reply from the focused session and the tail of its activity log.
- Tapping a list item switches focus; physical buttons handle paging and confirmation to avoid accidental touches.
Only a small set of discrete state labels is recommended. E-ink is not suited to continuous animation, so expressing change with a “full-screen refresh plus a status block” is more reliable than scrolling text. When context usage approaches the limit, the display switches to inverted text, forming a natural visual alert.
5. Physical-Button Approval: Turning High-Risk Actions into Deliberate Decisions
An approval card should be shown full-screen and include the tool type, the owning project, and the complete, verifiable payload: the original command line, the path and a content preview for a file write, and a diff snippet for edit operations. Complete information is a prerequisite—a confirm button that does not show what it confirms disguises risk as convenience.
The interaction convention is one button to approve, one to reject, and one to go back. High-risk actions (recursive deletion, force push, bulk rewrite) get a prominent marker at the top of the card and require a long press or a second confirmation. Every decision is written to the activity log, producing a traceable record: who, when, which operation on which session, and what decision was made.
The benefit is not only that approvals still work when you leave your seat. The travel and damping of physical buttons naturally introduce a pause, turning confirmation from a habitual keystroke into an explicit judgment; and reviewing a full diff on a small screen reduces the attention cost of paging back and forth in the terminal.
6. Reliability, Security, and Engineering Practices
- Disconnect handling: The bridge caches unconfirmed events and resends them first after the terminal reconnects; the terminal deduplicates events with the same sequence number.
- State consistency: The session table maintained by the bridge is the single source of truth, and the terminal only renders, avoiding state drift between the two ends.
- Permission narrowing: The bridge exposes only whitelisted tool types with parameter validation and refuses to pass arbitrary payloads through.
- Transport security: For the wireless link, complete key negotiation during pairing and encrypt subsequent messages; enable the wired debug channel only locally.
- Auditing and retention: Approval logs are written to disk with a defined retention period, which supports traceback and capacity control.
- Observability: The bridge emits structured logs that can be connected to a general logging service and monitoring/alerting, with threshold alerts for “stuck in awaiting confirmation for a long time” and “number of failed reconnects.”
7. Where This Can Evolve
The same architecture can extend in three directions: first, abstract the dashboard capability into a general “human-AI collaboration peripheral” that serves any automated pipeline with approval semantics; second, add an aggregation layer that collects sessions from multiple development machines onto one screen, ordered by priority; third, move part of the approval policy forward into a rule engine that auto-approves low-risk actions and forces human review for high-risk ones, reducing ineffective interruptions.
8. Conclusion
The terminal handles input, and the dedicated peripheral handles presentation and decisions—this is a division of labor, not a replacement. A low-power e-ink screen plus three buttons does not solve a compute problem; it solves an attention allocation problem: it lets developers grasp the global state at a glance and hold the safety boundary even when they step away. This idea of externalizing status and confirmation has reuse value for any automation system that requires a human in the loop.
