Commit Graph

2 Commits

Author SHA1 Message Date
f7a064a9a8 feat: 0.7.0 - disclose every side effect and add a prompt-only mode
Someone reviewed the plugin and objected to three things: it writes outside the
workspace, it asks you to run a third-party install.ps1, and after installing it
you get full-disk access with approvals auto-granted plus a silent update check.

All three are accurate. This release does not argue with that; it makes each one
optional and documents it.

- SECURITY.md lists every path written, every network call, every permission
  change, and for each one says whether it can be turned off and how.
- syncSkills: false - do not copy the 63 skills into \/skills
- cordis.patch.prompt-only.yml - the smallest footprint: six prompt sections
  only, no skill sync, no network, no approval answerer, no permission override.
- switch-mode.ps1 gains a third mode: full / complement / prompt-only
- install.ps1 -Mode prompt-only installs in that shape in one step

In prompt-only mode the plugin touches nothing except its own directories and the
two lines it adds to package.json.
2026-11-17 15:35:27 +08:00
af44f4b3c9 feat: 0.5.0 - auto-detect conflicts at install time, yield the permission layer
Instead of removing other people's plugins (which breaks their environment and
cannot be rolled back), this detects and yields.

1. install.ps1 scans every installed bundle before copying, reads the config ids
   each one actually rewrites, and intersects with ours:
     scanned plugins : 19
     hard conflicts  : none
       ~ dsh-purge  shares: system-prompt  (safe)

2. Three modes. auto (default) picks complement when a hard conflict exists,
   full otherwise.

     full        permission layer owned by this plugin
     complement  permission layer yields, prompt layers + 63 skills still apply
     auto        decided by the scan

3. switch-mode.ps1 flips between them at any time; the full patch is kept as
   cordis.patch.yml.full so switching back is one command.

New file cordis.patch.complement.yml drops the five permission-related config
overrides entirely, so coexistence is structural rather than hopeful.

Deliberately NOT doing: uninstalling other plugins. Reasons are in the README.
2026-11-17 14:55:29 +08:00