Skip to content

Add submodule branch/PR workflow to todo-handler skill - #5

Merged
aphelps-claude-bot merged 1 commit into
mainfrom
todo-handler-submodule-workflow
Apr 18, 2026
Merged

aphelps-claude-bot merged 1 commit into
mainfrom
todo-handler-submodule-workflow

Conversation

@aphelps-claude-bot

Copy link
Copy Markdown
Collaborator

Summary

  • Adds Submodule PRs: field to the canonical task entry format
  • Task Execution: branches always created from origin/main (or origin/master) with a fetch first; same branch name used in every affected submodule
  • Task Execution: submodule PRs opened with cross-links to the base repo PR before the base PR is opened
  • PR Handling: submodule PRs merged first, submodule pointer updated in parent branch, then parent PR merged

Test plan

  • Review SKILL.md changes — confirm three sections updated correctly (Canonical Task Entry, Task Execution, PR Handling)
  • Review todo-template.md — confirm Review Tasks example includes Submodule PRs: field

🤖 Generated with Claude Code

@aphelps
aphelps force-pushed the todo-handler-submodule-workflow branch from 3bba8de to 96f64f6 Compare April 18, 2026 18:54
Comment thread skills/todo-handler/SKILL.md Outdated
todo.log # append-only timestamped action log ← local only, not committed
todo_plans/
<task-slug>.md # one plan file per task
<task-slug>.md # one plan file per task ← committed with the task branch

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo_plans should also only be local and not continue

@aphelps aphelps left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The todo_plans should also not be commited.

@aphelps-claude-bot aphelps-claude-bot left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done — added todo_plans/ to .gitignore, untracked the existing plan file, and updated SKILL.md to document all three (todo.md, todo.log, todo_plans/) as local-only.

- Canonical task entry gains **Submodule PRs:** field
- Task Execution: branches always created from origin/main (or master)
  with a fetch first; same branch name used in every affected submodule
- Task Execution: submodule PRs opened with cross-links before base PR
- PR Handling: submodule PRs merged first, pointer updated, then parent
- todo.md, todo.log, and todo_plans/ are now gitignored (local-only);
  committing shared task-state files causes conflicts across parallel branches

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@aphelps
aphelps force-pushed the todo-handler-submodule-workflow branch from cf26b08 to 651f500 Compare April 18, 2026 19:40
@aphelps-claude-bot
aphelps-claude-bot merged commit cc08703 into main Apr 18, 2026
@aphelps-claude-bot
aphelps-claude-bot deleted the todo-handler-submodule-workflow branch April 18, 2026 19:41
aphelps-claude-bot added a commit that referenced this pull request Aug 29, 2026
* Bump esp-now-router 07c264f -> 04d0ad2 (three merges behind)

The superproject recorded 07c264f2, so `make test-router` and CI were exercising
sources from before #4. Three merges were missing:

  #4  the WLED coordinator (onboard/drive devices from firmware)
  #5  coordinator mode gate + blacklist a target that fails a hop
  #6  start ESP-NOW after the STA associates

#6 in particular is not optional for anyone building from this repo: without it
the router pins the boot ESP-NOW channel, the TX confirm callback stops
arriving, and 100% of adverts fail — so a WLED_dev pinned before it records a
backbone that cannot form.

Verified rather than assumed: `make test-router` at the new pointer runs and
passes the coordinator-era suites (test_coord_mode, test_coord_phase,
test_coord_boot, test_onboard_cfg, test_candidate, test_hmtl_to_wled), none of
which exist at 07c264f2. That is the evidence the newer sources are being built,
rather than a green tick from the old ones.

This is the fifth time work has landed where nothing pointed at it. The durable
fix — CI failing when a submodule's origin/main is ahead of the recorded pointer
— is still unbuilt and would have caught every instance.

Known follow-up: esp-now-router#7 registers test_espnow_start in that repo's
SUITES list; it is absent at this pointer, so `make test-router` will not run it
until #7 merges and the pointer moves again.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01F4oTr1YW3z7ozksMUT1z5j

* Re-point to 847f30c so the bump carries #7 as well

esp-now-router#7 merged after this branch was opened, which would have left the
pointer one commit stale the moment #42 landed — the exact recurring miss this
PR exists to fix, reproduced inside the fix for it.

847f30c registers test_espnow_start in the router's SUITES list. Verified from
the superproject: `make test-router` at this pointer now NAMES
test_espnow_start/test_espnow_start and passes it. At 04d0ad2 it did not run at
all, so the previous pointer would have carried #6's code without #6's test.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01F4oTr1YW3z7ozksMUT1z5j

---------

Co-authored-by: aphelps-claude-bot <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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