Skip to content

fix: show ordinary Claude sessions online (4.11.3) - #616

Merged
kevintseng merged 1 commit into
mainfrom
codex/claude-online-presence
Oct 21, 2026
Merged

kevintseng merged 1 commit into
mainfrom
codex/claude-online-presence

Conversation

@kevintseng

Copy link
Copy Markdown
Collaborator

Summary

Ordinary Claude Code sessions now appear online while their MeMesh MCP connection is open, without enabling Channel. Channel remains optional for live push; basic reminders, durable inbox delivery and explicit intake keep their existing behavior. Existing released routers hand over to the updated runtime without creating a false Channel registration.

Type of change

  • Bug fix (fix)
  • Release (release) — 4.11.3

Docs synced

  • CHANGELOG, README and Traditional Chinese README
  • Architecture, API version anchor, messaging guide and CODEMAP
  • Version metadata and generated skills manifest

Verification

  • npm run verify: exit 0, all four stages passed: build, release gates, isolated tests and packaged install/CLI/doctor smoke.
  • Isolated suite: 5678 passed, 9 skipped; 282 test files passed.
  • Final receipt tree: eabe2ff35d93ea760cc51c4ef26f4f5bffe33ffd; no tree drift during the run.
  • Closing lines: [verify] tree eabe2ff35d93ea760cc51c4ef26f4f5bffe33ffd (full) / [verify] GREEN. Receipt for tree eabe2ff35d93 written to .verify/receipt.json.
  • Affected stdio/router compatibility replay: 61 passed, 1 skipped, exit 0; independently replayed through the isolated test runner. Existing project/intended-session checks were also retained.
  • Real Linux Claude CLI, without Channel: the model discovered its own real session, the old 4.11.1 router handed over normally, and closing MCP removed the live registration. Both processes exited 0; no false host-accept receipt was created.
  • Independent read-only implementation, simplification and wording-delta reviews: PASS_WITH_CONCERNS; original failing counterexample remains recorded locally.

Test plan

  • Initialize ordinary Claude MCP with a real session ID; discover one Claude registration and remove it on disconnect.
  • Preserve invalid-config and explicit opt-out behavior, exact project/session isolation, Channel precedence and durable fallback/intake.
  • Upgrade from an authenticated released router; reject bad authentication and unsupported handshake responses.

Known limitations / follow-ups

  • Existing platform skips remain skipped; Windows secure local-router support is not added.
  • Custom or inconsistent same-version router files are outside the released-version handover invariant.
  • Online means MCP-connected; immediate push still requires optional Channel.
  • Existing editor and other host lifecycle evidence is reused at unchanged boundaries. This is not a new Codex Desktop/model lifecycle run, and installed hosts need a restart to load new plugin bytes.
  • Publication and installed-host updates follow merge; this PR does not claim they have completed.

Coverage

Surface QA Independent review Simplification
.claude-plugin/marketplace.json Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
.claude-plugin/plugin.json Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
.codex-plugin/plugin.json Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
CHANGELOG.md Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
CODEMAP.md Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
README.md Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
README.zh-TW.md Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
dist/core/agent-messaging.js Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/core/agent-messaging.js.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/core/agent-router.d.ts.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/core/agent-router.js Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/core/agent-router.js.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/claude-inbox.d.ts Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/claude-inbox.d.ts.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/claude-inbox.js Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/claude-inbox.js.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/router-client.d.ts.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/router-client.js Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/router-client.js.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/router.js Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/host-runtime/router.js.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/mcp/THIRD_PARTY_NOTICES.txt Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/mcp/server.js Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/mcp/server.js.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/skills-manifest.json Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/transports/cli/cli.js Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
dist/transports/cli/cli.js.map Build, mirror/parity and packaged checks, exit 0 Read-only review, PASS_WITH_CONCERNS Generated mirror
docs/ARCHITECTURE.md Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
docs/api/API_REFERENCE.md Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
docs/platforms/agent-messaging.md Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
package-lock.json Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
package.json Version/docs/parity checks, exit 0 Read-only review, PASS_WITH_CONCERNS Existing docs/metadata updated
scripts/audit/baseline.json Release audits, exit 0 Read-only review, PASS_WITH_CONCERNS Line rekeys only; original reasons retained
src/core/agent-messaging.ts Affected replay + full suite + packaged/native evidence, exit 0 Read-only review, PASS_WITH_CONCERNS Existing router, identity resolver and lifecycle reused
src/core/agent-router.ts Affected replay + full suite + packaged/native evidence, exit 0 Read-only review, PASS_WITH_CONCERNS Existing router, identity resolver and lifecycle reused
src/host-runtime/claude-inbox.ts Affected replay + full suite + packaged/native evidence, exit 0 Read-only review, PASS_WITH_CONCERNS Existing router, identity resolver and lifecycle reused
src/host-runtime/router-client.ts Affected replay + full suite + packaged/native evidence, exit 0 Read-only review, PASS_WITH_CONCERNS Existing router, identity resolver and lifecycle reused
src/host-runtime/router.ts Affected replay + full suite + packaged/native evidence, exit 0 Read-only review, PASS_WITH_CONCERNS Existing router, identity resolver and lifecycle reused
src/mcp/server.ts Affected replay + full suite + packaged/native evidence, exit 0 Read-only review, PASS_WITH_CONCERNS Existing router, identity resolver and lifecycle reused
tests/host-adapters/router-version.test.ts Isolated full suite and affected replay, exit 0 Read-only review, PASS_WITH_CONCERNS Existing runner; bounded cases
tests/transports/claude-presence-stdio.test.ts Isolated full suite and affected replay, exit 0 Read-only review, PASS_WITH_CONCERNS Existing runner; bounded cases

@kevintseng
kevintseng merged commit bb9d934 into main Oct 21, 2026
21 of 22 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.

1 participant