docs(plans): add improvement plans 009-013 with execution index#217
Merged
Conversation
Five self-contained plans from the two /improve direction audits on 2026-07-06 (commit bbd724d), plus plans/README.md updates: execution order rows, dependency notes, and the rejected-findings ledger for both rounds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
G4brym
added a commit
that referenced
this pull request
Jul 8, 2026
## Summary Third `/improve next` (direction audit) run, planned against `e6d6454`. Adds two selected direction plans and reconciles the execution index. - **Plan 014 - Persist entity state** (P1, M): `emitState` is currently broadcast-only (`deviceSession.ts:574`) - nothing is stored, so sensor readings are invisible unless a watcher is open. Adds a history table with retention + write coalescing (mirroring the `device_logs` pattern), a last-known-value table that survives retention, watcher replay of last-known state on attach, `GET .../state` + `.../state/history` endpoints, and a dashboard State tab with echarts history charts. Best landed before plan 001 (HA integration) executes so HA gets state restore on reconnect from day one. - **Plan 015 - Flash devices from the dashboard** (P2, M): dashboard-only WebSerial flashing for ESP32 via esptool-js (the server already streams fully patched, checksum-corrected images) plus one-click patched UF2 download for Pico. Feature-detects the secure-context requirement and falls back to download + CLI instructions until plan 008 (TLS) ships. - **Index**: rows for 014/015, dependency notes (014↔001/007/012, 015↔008/010), and the round's not-selected findings recorded (webhook/ntfy alerting, CodeMirror script editor, Pico OTA deferred until 010 lands) so future audits don't re-litigate them. Plans only - no source code changes, hence no changeset (same as #215-#217). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Checks in five new self-contained implementation plans written by the improve skill for executor agents, plus the
plans/README.mdindex updates (execution order, dependency notes, rejected-findings ledger)._devicesdk._tcpadvertisement + CLI browse discoverypackages/device-engine(kill workerd)Plans 009-011 come from the first
/improve nextdirection audit on 2026-07-06; plans 012-013 from the second audit the same day (both against commitbbd724d). The README ledger also records the findings offered but not selected (actions API, new boards, backup/restore, captive portal, Prometheus) plus the Picoi2c_batch_writeparity gap noted for a standard audit.Notes
🤖 Generated with Claude Code