Skip to content

Release 1.3.1 - #12

Merged
dot-agi merged 1 commit into
mainfrom
patch-1.3.1
Oct 25, 2026
Merged

dot-agi merged 1 commit into
mainfrom
patch-1.3.1

Conversation

@dot-agi

@dot-agi dot-agi commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Fixes switches on Team and Enterprise sign-ins and on machines with managed settings.

There, Claude Code's built-in guard keeps the session-start event from installed mods. In 1.3.0, /clear and an in-app /resume then kept showing the inbox of the conversation that ended, and new messages went into it.

  • The inbox follows the switch. High Command now notices the new conversation at its next event. After /clear, the inbox starts empty. After a /resume of a conversation that ended in the same process, its inbox comes back. Any other /resume starts empty.
  • New messages go to the new conversation. A message, a send, or a press after the switch changes only the new conversation's inbox. A press on a drawing made before the switch does nothing.
  • The status line follows too. It shows the new conversation's count after every switch, with or without the guard.
  • On those sign-ins, /branch starts with an empty inbox, because High Command cannot tell a branch from a resume there. Elsewhere, a branch still keeps its parent's inbox.

Update: claude plugin update high-command@high-command, then start a new session or run /reload-plugins.

Summary by CodeRabbit

  • New Features

    • /branch now starts with an empty inbox when managed settings or a Team or Enterprise sign-in is in use. /resume can still restore the parent conversation’s inbox.
    • Messages and inboxes are handled more consistently when switching sessions, including when the usual session-start notification is unavailable.
  • Documentation

    • Updated usage and troubleshooting guidance to explain inbox behavior during branching, resuming, and session switches.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1faa4f2b-884a-4ef3-b10d-528fc1233331
Commits

Reviewing files that changed from the base of the PR and between 154f8e5 and 9b4f505.

Files selected for processing: 5
  • .claude-plugin/plugin.json
  • README.md
  • docs/usage.md
  • hooks/limits.ts
  • hooks/register.tsx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

High Command now detects and settles conversation switches when classic.SessionStart is unavailable. It polls session IDs, restores or clears the inbox, and coordinates inbox-copy writes with hooks, commands, and config changes. Documentation describes the managed-settings and Team or Enterprise behavior.

Changes: Managed-sign-in session switching

Layer / File(s) Summary
Session switch settlement
hooks/limits.ts, hooks/register.tsx
Adds bounded session-ID polling and tracks pending switches. Settlement creates an empty inbox for clear or restores the retained inbox for resume, then coordinates mirror writes.
Hook integration and documented behavior
hooks/register.tsx, README.md, docs/usage.md, .claude-plugin/plugin.json
Hooks settle the current session before processing messages, actions, commands, config changes, and rendering. Documentation describes inbox behavior and timing under managed settings and Team or Enterprise sign-ins. The plugin version changes to 1.3.1.

Priority: Normal

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Bug fix

Sequence Diagram(s)

sequenceDiagram
  participant EndHook as session.end hook
  participant Poller as Session ID poller
  participant Settlement as Inbox settlement
  participant Mirror as Inbox mirror
  participant CommandHook as command.run or config.set
  EndHook->>Poller: Start polling after clear or resume
  Poller->>Settlement: Report changed session ID
  Settlement->>Mirror: Schedule or await inbox copy
  CommandHook->>Settlement: Ensure current session and wait for copy
Loading

Possibly related PRs

  • dot-agi/high-command#11: Introduced the prior conversation-switching implementation that this change extends.
  • dot-agi/high-command#7: Established branch, resume, and clear inbox behavior that this change handles when the session-start event is blocked.
Merge Risk: Minimal · up to 9b4f5

The session-switching changes are mergeable after normal checks; no actionable issue was established.

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 clearly identifies the primary change as the 1.3.1 release and is concise.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 2 files. (3 skipped: 3…
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

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 2 files. (3 skipped: 3 unsupported.)

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dot-agi
dot-agi merged commit 2c943f4 into main Oct 25, 2026
5 checks passed
@dot-agi
dot-agi deleted the patch-1.3.1 branch October 25, 2026 19:21
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