AgentSkillsCN

invariant freeze

验证 CANON/INVARIANTS.md 中是否存在所有核心不变式(INV-001 至 INV-008)。此举可确保在未进行重大版本升级的情况下,不会随意移除任何不变式,从而有效维护 v1.0 的稳定性……

SKILL.md
--- frontmatter
name: invariant freeze
description: "Verifies that all core invariants (INV-001 through INV-008) exist in CANON/INVARIANTS.md. This ensures that invariants are not removed without a major version bump, maintaining the v1.0 stability g..."
<!-- CONTENT_HASH: e37d6aefb24a29bd64525f913dd0fef7d8d5b235612ac395a6ae8a0a8d625207 -->

required_canon_version: >=3.0.0

Skill: Invariant Freeze

Version: 0.1.0 Status: Active

Purpose

Verifies that all core invariants (INV-001 through INV-008) exist in CANON/INVARIANTS.md. This ensures that invariants are not removed without a major version bump, maintaining the v1.0 stability guarantee.

Triggers

  • Manual verification of governance stability.
  • CI check before releases.

Inputs

  • CANON/INVARIANTS.md (source of truth)
  • input.json with expected_invariants list.

Outputs

  • actual.json with:
    • found_invariants: list of matches.
    • missing: list of missing expected invariants.
    • valid: boolean status.

Constraints

  • Must search for exact [INV-XXX] tags.
  • Must not allow gaps or removals from the frozen list.

required_canon_version: >=3.0.0