Skip to content

todo-handler: push incremental commits when addressing review feedback - #12

Closed
aphelps-claude-bot wants to merge 1 commit into
mainfrom
pr-incremental-commits
Closed

aphelps-claude-bot wants to merge 1 commit into
mainfrom
pr-incremental-commits

Conversation

@aphelps-claude-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Squashing the branch before pushing review-feedback fixes erases the diff reviewers need to see what changed since their last look.
  • Squash now happens only immediately before the final merge (PR Handling step 5).
  • Three targeted edits to SKILL.md:
    • Task Execution step 7: note the branch need not be squashed before opening the PR.
    • PR Handling step 4: explicitly require new commits when addressing feedback; no rebase or squash during the review cycle.
    • PR Handling step 5: bold "Squash immediately before merge" to make the timing unambiguous.

Test plan

  • Read updated skills/todo-handler/SKILL.md PR Handling sections and confirm squash timing is clear.

🤖 Generated with Claude Code

Squashing before pushing a review-feedback fix erases the diff reviewers
need to see what changed. Squash only immediately before the final merge.

- Task Execution step 7: note that the branch need not be squashed before
  opening the PR.
- PR Handling step 4: explicitly require new commits when addressing
  feedback; no rebase or squash during the review cycle.
- PR Handling step 5: bold "Squash immediately before merge" to make the
  timing unambiguous.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@aphelps-claude-bot

Copy link
Copy Markdown
Collaborator Author

Closing: the todo-handler skill has been moved to aphelps/claude-skills (PR #13 merged). The incremental-commits / squash-at-merge-only changes from this branch are already incorporated in the claude-skills SKILL.md.

aphelps-claude-bot added a commit that referenced this pull request Jul 30, 2026
…irst real guard (#27)

ArduinoLibs bc56ddc (#12) -- getFramingErrorCount() plus the 57/58 boundary group that
demonstrates the ceiling instead of asserting arithmetic about it.
WLED 2e7634b3 (#16) -- RS485B_TX_SLOT_LEN derived from the receive budget minus the
socket header, so a full payload can no longer exceed what a receiver can hold.

This bump also carries ArduinoLibs #11 (the test-command doc fix), which was held back
at the time to avoid deepening a gitlink conflict in the mesh PRs. That conflict is
resolved and merged, so it rides along here.

The substantive part is the probe change. RS485_RECV_BUFFER lives in ArduinoLibs and
RS485B_RECV_BUFFER_LEN mirrors it in the usermod, because rs485_bridge_protocol.h has to
stay free of Arduino.h for the host test to build. The static_assert tying them together
compiles only under [env:ampworks], and no CI workflow builds that env -- so until now
the mirror had NO automated guard at all. Drift it and the transmit ceiling silently
stops matching what a receiver can hold, which is the 71-vs-64 bug this whole task
exists to remove.

tools/rs485_bridge_probe.py --self-test now scrapes both constants and fails if they
disagree, and separately fails if RS485B_TX_SLOT_LEN stops being derived -- because
re-hardcoding it is exactly how the original defect happened. I said in the WLED PR that
the probe already did this; it did not, and this is the commit where that becomes true.

Verified, including both negative controls: drifting the mirror to 96 is caught, and
replacing the derived slot with a literal 57 -- the right VALUE, still the wrong shape --
is caught too. make test green across all suites, ampworks builds with libdeps cleared.


Claude-Session: https://claude.ai/code/session_013HqzdRdTRnreSvevaQGQSJ

Co-authored-by: aphelps-claude-bot <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
aphelps-claude-bot added a commit that referenced this pull request Aug 20, 2026
WLED_dev#35 merged and moved main's HMTL gitlink to ab149d6, which put this
branch in conflict. Resolved by taking main's HMTL and keeping this branch's
ArduinoLibs.

That split is not arbitrary:

  HMTL — this branch pinned f904b6c, which is an ANCESTOR of main's ab149d6.
  Main is strictly ahead, so this half of the PR is now a no-op and taking
  main loses nothing.

  ArduinoLibs — main pins bc56ddc (#12), which PREDATES the PixelUtil bounds
  fix. This branch's 9194ddf (#13) is a descendant of it, so this half is a
  genuine forward move and is the reason the PR still has content.

ArduinoLibs main has since moved one commit further, to 3b6f393 (a comment
tightening on top of #13). Deliberately not taken: this PR's stated scope is
the PixelUtil bounds fix, and 9194ddf is exactly that.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_013HqzdRdTRnreSvevaQGQSJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants