Skip to content

sheet-charge 1.2.3: compare an encounter's room by objid - #95

Merged
HarryCordewener merged 4 commits into
mainfrom
claude/project-thread-i0ck8e
Nov 6, 2026
Merged

HarryCordewener merged 4 commits into
mainfrom
claude/project-thread-i0ck8e

Conversation

@HarryCordewener

@HarryCordewener HarryCordewener commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Part of the 1.0 readiness pass, workstream Q2 (SharpMUSH/SharpMUSH#2561).

An encounter stores its room as objid(%l). The join, add, leave and end notices compared that stored value with %l or loc(), which return the bare dbref. SharpMUSH#2561 makes loc() return the bare dbref too, as PennMUSH does. Because the stored objid and the bare dbref never match, the "you are not in its room" notices went to people who were standing in the room.

This PR changes the four comparisons to use objid(%l) and objid(loc(...)). Those match the stored objid both before and after SharpMUSH#2561, so the two PRs can merge in either order.

  • sheet-charge/package.yaml: the four comp() calls, and version 1.2.3 (main already took 1.2.2 for the 1.0 compatibility mark).
  • index.yaml and README.md: version 1.2.3. The README table was regenerated with tools/readme-packages-table.py.
  • tools/release/packages.py check-bumps origin/main HEAD: OK.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh

Summary by CodeRabbit

  • Bug Fixes
    • Encounter notices now check room and member location IDs when determining which local and completion notices to send.
  • Chores
    • Updated the listed sheet-charge package version to 1.2.3.

An encounter stores its room as objid(%l), but the join, add, leave and
end notices compared it with %l or loc(), which answer with the bare
dbref. The two never matched, so the "you are not in its room" notices
went to people standing in it. Compare objid(%l) and objid(loc(...)).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The sheet-charge package version changes to 1.2.3. Encounter join, add, leave, and end checks compare room object IDs when deciding which players receive local notices.

Changes

Sheet-charge release

Layer / File(s) Summary
Encounter notices and release version
sheet-charge/package.yaml, index.yaml, README.md
Encounter commands compare room object IDs for local notice checks. The package version changes to 1.2.3 in package metadata and listings.

Estimated code review effort: 2 (Simple) | ~8 minutes

Possibly related PRs

Suggested reviewers: claude

Merge Risk: Minimal · up to 4bce7

The update aligns encounter notices with stored room IDs. No merge-blocking risk is evident from the supplied evidence.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title identifies the version and the change to compare encounter room object IDs.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 9b7da27c-c8d6-4709-986a-9f7df9842c6a
Commits

Reviewing files that changed from the base of the PR and between b40a834 and 4bce77b.

Files selected for processing: 3

  • README.md
  • index.yaml
  • sheet-charge/package.yaml

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
@HarryCordewener HarryCordewener changed the title sheet-charge 1.2.2: compare an encounter's room by objid sheet-charge 1.2.3: compare an encounter's room by objid Nov 6, 2026
@HarryCordewener
HarryCordewener merged commit 55fdb6d into main Nov 6, 2026
6 checks passed
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