Skip to content

fix(release): address PR #102 review findings (member sync, bot refresh, workbench)#105

Merged
haowei2000 merged 1 commit into
developfrom
fix/refresh-false-success-hovercard-sync
Jul 7, 2026
Merged

fix(release): address PR #102 review findings (member sync, bot refresh, workbench)#105
haowei2000 merged 1 commit into
developfrom
fix/refresh-false-success-hovercard-sync

Conversation

@haowei2000

Copy link
Copy Markdown
Collaborator

Addresses the review findings on the #102 release (develop→main). Two came from the codex bot's inline comments; the rest from an adversarial multi-agent review of the release diff (each finding independently verified).

Backend

Frontend

Verification

cargo check clean · tsc clean · vitest 8/8 · vite build clean.

🤖 Generated with Claude Code

…sh, workbench)

Backend:
- bots.rs refresh_bot_status: (1) check the INITIATE(prompt) gate up front and
  return 403 instead of a false {ok:true} when create_message would silently skip
  waking the bot; (2) require a DM with the bot so the private status_update_prompt
  is never posted into a shared group channel (list_bots redacts it from non-managers).
- users.rs: length-guard bio (<=4000) and display_name (<=255) so PATCH /users/me
  returns a clean 400 instead of a 500 / broadcasting an unbounded bio to every member.

Frontend:
- ProfileHovercard: an already-open card now reflects live member_updated frames
  (derive from the members map, not the open-time snapshot).
- RendererHost: key the built-in LensPanel per path so a stale dirty flag from an
  unsaved edit elsewhere can't permanently freeze a view-only lens's live-push.
- jsonFile (useFileEditor): re-check the dirty ref after fs.read resolves so a
  live-push reload can't clobber a keystroke typed mid-read (conflict-recovery still forces).
- builtins (chart lens): step-aware fmtNum so large-magnitude ticks don't collapse to
  duplicate labels; single-pass min/max instead of Math.min(...) spread (avoids RangeError).

Verified: cargo check clean, tsc clean, vitest 8/8, vite build clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@haowei2000
haowei2000 merged commit 574c762 into develop Jul 7, 2026
10 checks passed
@haowei2000
haowei2000 deleted the fix/refresh-false-success-hovercard-sync branch July 13, 2026 05:48
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.

1 participant