Skip to content

feat(rules): add safe atomic rules pack updates #111

Description

@Karib0u

Purpose

Add lifecycle support for safely updating the active cumulative rules pack after initial installation.

Scope

  • Add rustinel rules update.
  • Read the active pack from state.json.
  • Check the catalog for a newer compatible version.
  • Download and validate through the same safe installation pipeline used by rules install.
  • Atomically activate the update.
  • Preserve rollback capability on failure.
  • Decide whether a service restart is required or hot reload is sufficient.

Acceptance Criteria

  • No-op output when the active pack is current.
  • Only compatible updates are installed.
  • Checksum and safe extraction are mandatory.
  • Failed updates preserve the previous pack.
  • Hot reload or restart behavior is documented and tested.

Dependencies

Priority

P1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions