Skip to content

fix(init): project-scoped Kimi plugin identity — N projects in one client (#193) - #194

Merged
OBenner merged 1 commit into
mainfrom
fix/193-multi-project-plugin-identity
Nov 29, 2026
Merged

OBenner merged 1 commit into
mainfrom
fix/193-multi-project-plugin-identity

Conversation

@OBenner

@OBenner OBenner commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Closes #193.

Incident (2026-11-29, production): init + Install/Update for a second project rebound every Kimi-hosted role chat of the first project — both rendered the static plugin name synloq, and the client keeps one personal plugin per name. Team channels were lost until manual repair; relay/data stayed intact.

Fix:

  1. Scoped identity — pluginNameForProject(): the project named synloq keeps the plain name (backward compatible); every other project renders synloq-<slug> with display name Synloq · <project>. Viability proven earlier by the [P0] Record the launch demo GIF #167 rehearsal plugin coexisting with the team plugin.
  2. Collision guard — before writing anything, init reads the local installed-plugins registry (offline-safe, same pattern as doctor's freshness check) and refuses with a named conflict if the client already has that plugin name installed from another project's source.
  3. Docs + migration note — installation.md multi-project section: N projects coexist; one-time Install/Update + removal of the stale plain-synloq registration on the first re-init after upgrade.

Tests: 5 new (name derivation, scoped render, guard refuse/accept). Full verify: 140 files / 1271 tests green, build OK.

…e client (#193)

The generated plugin carried the static name synloq, so a second project's
Install/Update rebound every role chat of the first project (observed in
production 2026-11-29). The project named synloq keeps the plain name;
every other project renders as synloq-<slug>. Init now also refuses to
render when the client already has the same plugin name installed from a
different source (registry read, offline-safe).
@OBenner
OBenner merged commit 0b18c3a into main Nov 29, 2026
6 checks passed
@OBenner
OBenner deleted the fix/193-multi-project-plugin-identity branch November 29, 2026 18:29
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.

[P1] Multi-project support: one Kimi client must host N Synloq projects (plugin identity collision)

1 participant