Files
cindy/scripts
Yuewei-LL ce113f0333 Merge branch 'main' (9bcf7bd1a) into redo/plugin-approval-receipt-migration
Second merge of origin/main into the plugin-approval branch. Conflict
resolution and integration decisions are recorded in
docs/dev-rules/plugin-approval-main-merge-2026-08-10.md; the invariants from
the 2026-08-09 merge carry forward unchanged:

- GhostManager.ts: keep the PR's legacy approval projection, receipt-backed
  install/update/setEnabled/uninstall transactions, journal/quarantine, and
  no-follow checks; keep main's host-unsupported manifest hint. The mutable
  .cindy-trust.json mirror is not projected (removed readInstalledHostMetadata).
  Icon byte cap normalized to the shared GHOST_ICON_MAX_BYTES.
- index.ts: keep the owner-boundary pending guard on availableGhosts/
  findAvailableGhost and the exported *ForAuthorization helpers; keep the
  builtin approval reconcile loop and resident heal; every slot/broker keeps
  the durable owner scope instead of a bare list().find().
- shared/ghost.ts: keep the PR's superset permission fingerprint (kind,
  normalized labelKey, labelArgs, detail*) for baseline, diff, and unreviewed
  gates so a permission-surface change is never masked.
- crossProcessLock.ts: keep main's EBUSY/EPERM/EACCES retry handling together
  with the PR's nonce-bound release marker and malformed-gate fail-closed
  reclaim.
- Tests: keep the PR's legacy/update helpers and receipt-model assertions; add
  main's host-unsupported and ios-simulator suites (owner-boundary mock only
  overrides the module default for non-boundary suites; production code is
  byte-identical to origin/main).
- Docs: keep the receipt row in plugin-security-and-authoring.md alongside
  main's reformatted table and new paragraphs.

Signed-off-by: Yuewei-LL <308228674+Yuewei-LL@users.noreply.github.com>
2026-08-10 13:47:22 +08:00
..
2026-08-02 20:04:59 +08:00
2026-08-02 20:04:59 +08:00