argszero/cordis-plugin-workspace-membership-doctor
Finds sessions silently dropped from a workspace when their cwd did not resolve at boot, and re-attaches them on request.
Targets a specific silent loss: the workspace registry filters its session list through a canonical-cwd index built once at startup, and the single write path re-applies that filter, so a session whose directory did not resolve at that instant — a boot still migrating logs, a mount not up yet — is dropped by the next write to the record for any reason. The only trace is one log line, and the session reappears as ungrouped. The report separates three lists that are easy to conflate: candidates are damage, the cause set is at risk, and ungrouped is nothing to fix. Every report ends with a coverage block, because "I read nothing" must never print as "nothing is wrong", and the plugin states three cases it cannot tell apart rather than guessing.
Install
dsh plugin add github:argszero/cordis-plugin-workspace-membership-doctorThe GitHub form, because the README documents no npm package and the fetch verification for this batch confirmed the repo, not a registry entry. Mounting is a bundle patch: the row id is workspace-membership-doctor, and the tool it registers is workspace_membership. Reports and repair plans write nothing; only action=repair confirm=true re-attaches.
Compatibility
The census runs at mount and uses the registry's own canonicalizer, so its classification cannot disagree with the index that did the filtering. Repair calls the registry's existing public attachSession, which re-reads the stored header and re-validates the cwd itself — the census decides what to try and the registry alone decides what is true, so a plan built from a stale snapshot cannot write a wrong membership. A step the registry refuses is reported with its own message verbatim and the rest of the plan still runs.
Details
- Repo: argszero/cordis-plugin-workspace-membership-doctor
- Category: Sessions & Messages
- Stars: 0
- Version: unversioned GitHub install (no npm release documented)
- Last push: 2026-10-25
- First seen: 2026-09-29
Alternatives
argszero/cordis-plugin-fork-inbox-guard · argszero/cordis-plugin-prompt-audit · Totoro-qaq/dsh-plugin-bridge