Skip to content

CapabilityManagerAgent 1.13.0

Choose a tag to compare

@xhqing xhqing released this 05 Nov 07:40
· 122 commits to main since this release
b8dec29

Cross-machine architecture redesign plus the follow-up mirror updates and fixes since v1.12.0.

Cross-machine architecture: code via GitHub, only two shared directories on Syncthing

  • Abandoned the full ~/Developer Syncthing mirror; each machine clones the repositories and exchanges code through GitHub (push -> PR -> CI -> merge -> fast-forward local main).
  • Syncthing now syncs only two directories: the private-content store and the global capability layer.
  • Added patch/private-links/: keeps private, gitignored content outside the repository and links it in (adopt / materialize / check / restore), including .git/info/exclude maintenance.
  • Added patch/dev-snapshots/: pre-change snapshots of the two shared directories (tar.gz, local + Feishu, five most recent copies, token shared across machines).
  • Added extensions/snapshot-guard.ts: blocks writes without a fresh snapshot (30 minutes) and deletions without an identical snapshot; deleting either shared root is always denied.
  • Rewrote the macmini deletion red line, sync scope and git-permission sections: project directories are ordinary clones, the two shared directories are the protected ones, and macmini returns to normal read-write git once the old ~/Developer share is removed.

Extension syntax guard

  • Added extensions/ts-syntax-guard.ts and patch/ts-syntax-check/check.mjs: validate extension code with the same parser pi uses (stripTypeScriptTypes) before it is written, and re-check files touched through shell redirection. A single parse error makes pi exit with code 1 and takes every session down.

Macmini usage

  • gh issue is now allowed on macmini (GitHub-side objects, no local .git), while gh workflow run is now blocked as well.
  • Added an editor status indicator showing when the current call is running on macmini.
  • add-mode / commit-mode are always off on main and can only be turned off there.
  • Fixed add / commit auto-triggering inside AI-created worktrees (git -C <worktree> handling).

Rules and docs

  • New rule: currency symbols must be explicit - US$ / USD for US dollars, HK$ / HKD for Hong Kong dollars, never a bare $.
  • Removed the visitor-count badge from READMEs after the central traffic collection was shut down, and dropped the corresponding exception from the commit skill.
  • Recorded that macmini gh is authenticated (credentials stay machine-local and are not mirrored).
  • Removed the obsolete xhqing traffic.yml note from the branch-protection reference.

npm manifest

  • Refreshed the pi package manifest (pi-mcp-adapter 7.0.0 -> 7.0.1).