← Back to Skills Marketplace
evezart

Invariance Battery

by Evez666 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
85
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install invariance-battery
Description
Runtime assertion system that continuously verifies AI agent invariants — properties that must ALWAYS hold. Use when building reliable autonomous agents, aud...
README (SKILL.md)

EVEZ Invariance Battery

Runtime assertion system for AI agents. Properties that must ALWAYS hold.

When to Use

  • Building autonomous agents that must maintain safety guarantees
  • Auditing agent behavior for gradual drift from design intent
  • Enforcing hard constraints that override any optimization objective
  • Building self-certifying AI systems that can prove their own compliance
  • Falsification testing — prove the agent VIOLATED an invariant, not just that it passed tests

Architecture

The Invariance Battery runs as a continuous verification layer:

Agent Action → Invariance Check → PASS (proceed) / FAIL (halt + report)
                     ↓
              Append-Only Spine (audit trail)

Invariant Types

  1. State Invariants — Properties of the agent's internal state that must always hold
  2. Action Invariants — Constraints on what actions the agent can take
  3. Temporal Invariants — Properties over time (no oscillation, monotonic improvement)
  4. Boundary Invariants — Hard limits the agent can never cross

Key Concepts

  • Battery = Collection: Multiple invariants checked in parallel, like electrical cells in series
  • Falsification > Verification: A single violation PROVES the agent failed. No number of passes proves it works.
  • Drift Detection: Gradual degradation of invariant scores over time
  • Spine Integration: Every check is written to the append-only spine

The Falsifier Gate

From EVEZ-OS: before any agent action is committed, it must pass through the falsifier gate.

@invariant("action_cost \x3C budget_threshold")
def check_budget(action):
    return action.estimated_cost \x3C BUDGET_LIMIT

# If ANY invariant fails, the action is BLOCKED
# and the failure is written to the spine forever

References

  • EVEZ-OS: falsifier gate enforcement
  • MAES: VERIFIED/PENDING/INVESTIGATING status model
  • poly_c formula: τ × ω × topo / 2√N
Usage Guidance
This skill appears safe as an instruction-only guide for agent safety checks. Before relying on it, decide which invariants are allowed to block actions, keep those rules under user control, and avoid logging sensitive information indefinitely.
Capability Analysis
Type: OpenClaw Skill Name: invariance-battery Version: 1.0.0 The bundle contains only metadata and conceptual documentation (SKILL.md) for a runtime assertion system called 'Invariance Battery.' It lacks any executable code, scripts, or instructions that would trigger network calls, file system access, or data exfiltration. The content is focused entirely on safety monitoring and agent verification frameworks.
Capability Assessment
Purpose & Capability
The stated purpose is runtime invariant checking for autonomous agents, and the SKILL.md content stays aligned with defining, checking, and reporting invariant violations.
Instruction Scope
The skill intentionally describes a gate that can halt actions when an invariant fails. This is purpose-aligned for safety enforcement, but users should ensure invariants are explicitly defined and not taken from untrusted text.
Install Mechanism
There is no install spec, no code files, no required binaries, and the static scanner had nothing suspicious to analyze.
Credentials
The artifacts request no credentials, environment variables, OS-specific access, network access, or local file permissions.
Persistence & Privilege
The design references an append-only audit trail written 'forever.' No implementation is provided, but users implementing it should define storage location, retention, and redaction rules.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install invariance-battery
  3. After installation, invoke the skill by name or use /invariance-battery
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of invariance-battery: a runtime assertion system for AI agents. - Provides continuous verification of agent invariants (state, action, temporal, boundary). - Supports invariant definition, runtime assertion checking, drift detection, and falsification reporting. - Automatically logs all checks and violations to an append-only audit trail. - Designed for building reliable, self-certifying, and auditable AI systems. - Integrates a falsifier gate to block actions violating any invariant before commitment.
Metadata
Slug invariance-battery
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Invariance Battery?

Runtime assertion system that continuously verifies AI agent invariants — properties that must ALWAYS hold. Use when building reliable autonomous agents, aud... It is an AI Agent Skill for Claude Code / OpenClaw, with 85 downloads so far.

How do I install Invariance Battery?

Run "/install invariance-battery" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Invariance Battery free?

Yes, Invariance Battery is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Invariance Battery support?

Invariance Battery is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Invariance Battery?

It is built and maintained by Evez666 (@evezart); the current version is v1.0.0.

💬 Comments