Skip to content

auto-fix batch claude/friendly-maxwell-cVhhm (2026-04-30)#501

Merged
intendednull merged 3 commits into
mainfrom
claude/friendly-maxwell-cVhhm
Apr 30, 2026
Merged

auto-fix batch claude/friendly-maxwell-cVhhm (2026-04-30)#501
intendednull merged 3 commits into
mainfrom
claude/friendly-maxwell-cVhhm

Conversation

@intendednull
Copy link
Copy Markdown
Owner

Fixes

  • Fixes [wasm-clippy] day_separator.rs: 3 unnecessary as u32 casts (wasm32-only) #497 — drop 3 redundant as u32 casts on js_sys::Date::get_month() in crates/web/src/components/message_row/day_separator.rs; add cargo clippy --target wasm32-unknown-unknown -p willow-web --all-targets -- -D warnings step to existing wasm job in .github/workflows/ci.yml (Option 1 per issue, no extra job overhead). wasm-streams blocker not hit (clippy doesn't link). Commit c9f1ba6.

Already-Fixed

resolved upstream before this run; coordinator-direct close pass (no implementer dispatch):

Parked

none. all picked issues either shipped or already-fixed.

Skill Evolution

da21fed docs(skill): add coordinator-direct already-fixed sweep before dispatch — promote already-fixed sweep to first pass in Core Loop. coordinator close stale audit / lessons issues directly via mcp__github__add_issue_comment + mcp__github__issue_write, no implementer dispatch. closing GH issues = metadata work, not code, allowed under "coordinator never codes". implementers only dispatch for unresolved issues. saves dispatch overhead on no-op work — this run, 6/7 picks would have been wasted dispatches.

Lessons Learned

Test plan

master-PR CI runs the full gate: cargo fmt, cargo clippy (native), cargo test, cargo check --target wasm32-unknown-unknown, wasm-pack test --headless --firefox, plus the new wasm-clippy step on willow-web. Local merge gate verified green by implementer (c9f1ba6 report):

  • cargo fmt --all -- --check — clean
  • cargo clippy --target wasm32-unknown-unknown -p willow-web --all-targets -- -D warnings — clean, zero warnings
  • cargo clippy --workspace --all-targets -- -D warnings (native) — clean
  • cargo check --target wasm32-unknown-unknown -p willow-web — clean
  • cargo test -p willow-web --lib — 77 passed, 0 failed

Generated by Claude Code

claude added 3 commits April 30, 2026 08:19
… wasm clippy CI gate

caveman go: get_month already u32 on wasm32. cast bad. clippy yell. fix yell.

three sites swept in crates/web/src/components/message_row/day_separator.rs:
- ts_m: drop `as u32`
- now_m: drop `as u32`
- y_m: drop `as u32`

comment block above also tweaked to reflect that cast is no longer the
NaN-collapse vector for `get_month` / `get_date` (it's the implicit u32
return that does the collapsing now); behaviour identical, doc just true.

CI guard wired per issue Option 1 (no extra job, just a step in the
existing wasm job). add `components: clippy` to the toolchain action +
new step `cargo clippy --target wasm32-unknown-unknown -p willow-web
--all-targets -- -D warnings` after the existing wasm cargo check.

won't hit the wasm-streams duplicate-symbol blocker that reverted
PR #498's CI guard: clippy is check-style, never links the wasm
binary, so the duplicate-symbol link error can't fire here. verified
locally — `cargo clippy --target wasm32-unknown-unknown -p willow-web
--all-targets -- -D warnings` finishes clean, zero warnings.

Refs #497
Run on `claude/friendly-maxwell-cVhhm` showed 6 of 7 picked issues were
already-fixed-upstream (#465 by skill rewrite eliminating sub-PRs, #426
#438 #477 #493 by 8d91a11 folding lessons into general-audit, #429 by
1a9503f LRU+TTL on ProfileState/typing_peers). Dispatching implementers
for no-op close-with-comment work wastes cycles.

Promote already-fixed sweep to coordinator-direct first pass, BEFORE any
implementer dispatch. Closing GH issues = metadata work, not code work,
allowed under "coordinator never codes." Implementers only dispatch for
unresolved issues.

Renumber subsequent Core Loop steps (7-10).
@intendednull intendednull merged commit 56f62c1 into main Apr 30, 2026
8 checks passed
@intendednull intendednull deleted the claude/friendly-maxwell-cVhhm branch April 30, 2026 22:11
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.

[wasm-clippy] day_separator.rs: 3 unnecessary as u32 casts (wasm32-only)

2 participants