Skip to content

Clarify session states and improve documentation formatting#65

Merged
jancurn merged 1 commit intomainfrom
claude/update-session-lifecycle-readme-es6ft
Mar 12, 2026
Merged

Clarify session states and improve documentation formatting#65
jancurn merged 1 commit intomainfrom
claude/update-session-lifecycle-readme-es6ft

Conversation

@jancurn
Copy link
Member

@jancurn jancurn commented Mar 12, 2026

Summary

Updated the README documentation to provide clearer explanations of session states and their recovery procedures, and improved the formatting of the MCP tools comparison table for better readability.

Key Changes

Session States Documentation

  • Refined session state definitions with more precise descriptions:

    • live: Now explicitly states "Bridge process running and server responding"
    • Added new disconnected state: Distinguishes temporary server unavailability from permanent failures, with auto-recovery behavior
    • crashed: Clarified auto-restart behavior
    • unauthorized: New state for authentication failures (401/403) with explicit recovery steps (login then restart)
    • expired: Clarified this is for session ID rejection (404) with recovery via restart
  • Expanded recovery instructions: Added specific guidance for each failure state, including which commands users should run (mcpc login, mcpc restart, etc.)

  • Improved explanation of bridge behavior: Clarified that disconnected sessions automatically attempt reconnection and return to live state when the server responds again

  • Updated final note: Changed from generic "will fail" to "will show the appropriate error with recovery instructions"

Table Formatting

  • Improved MCP tools comparison table for better readability:
    • Aligned column headers and separators
    • Consistent spacing and formatting across all rows
    • Better visual hierarchy for the tool names and links
    • Added blank line before "Notes:" section for improved document structure

Implementation Details

These are documentation-only changes that clarify the existing behavior and provide users with better guidance on handling different session failure scenarios.

https://claude.ai/code/session_01Jtqna7EkvogQPx7DcSkoob

Add "disconnected" and "unauthorized" states to the session lifecycle
section, aligning README documentation with the actual implementation.
Clarify recovery instructions for each state.

https://claude.ai/code/session_01Jtqna7EkvogQPx7DcSkoob
@jancurn jancurn merged commit 6f98e77 into main Mar 12, 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.

3 participants