Skip to content

v2.2.0

Choose a tag to compare

@lead-protocol-release lead-protocol-release released this 13 Sep 15:45
e7fd0a8

Adds a state-preserving framework update command and protects existing installations from accidental reinitialization. Kernel remains 2.0.2.

Added

  • lead-protocol update, with --yes and --dry-run, refreshes the framework and manifest while preserving existing project and actor-local state. Missing project seeds are created; orphan framework files are reported and retained.

Fixed

  • init refuses existing, partial or malformed .agents entries unless --force is explicit. Force overlays bundled framework and project seeds while retaining actor-local state and custom files absent from the bundle.
  • Static path/type/symlink checks run before writes. Guideline content outside the managed block is preserved, and repeat updates avoid rewriting identical content.

Attribution and upgrade

PR #50 by @leadsolutions-mike builds on Leonardo Buares's original PR #26 and preserves his co-authorship. Addresses #25 and #40.

For existing installations, run npx --yes @leadsolutions/lead-protocol@2.2.0 update --dry-run, then npx --yes @leadsolutions/lead-protocol@2.2.0 update --yes. Use init for new projects; init --force intentionally resets bundled project seeds.

Static checks do not provide locking against concurrent filesystem replacement, protection against hard-link aliases, or rollback after partial I/O failure. These limits remain documented in the CLI guide.