integrity-check
Installation
SKILL.md
integrity-check
Purpose
Post-load and pre-merge validation that detects adversarial content in persisted state files, skill outputs, and context bus data. Complements hallucination-guard (which validates AI-generated code references) by focusing on the AGENT LAYER — prompt injection in .rune/ files, poisoned cook reports from worktree agents, and tampered context between skill invocations.
Based on "Agents of Chaos" (arXiv:2602.20021) threat model: agents that read persisted state are vulnerable to indirect prompt injection, memory poisoning, and identity spoofing.
Triggers
- Called by
sentinelduring Step 4.7 (Agentic Security Scan) - Called by
teambefore merging cook reports (Phase 3a) - Called by
session-bridgeon load mode (Step 1.5) /rune integrity— manual integrity scan of.rune/directory- Signal:
quarantine.notice.emitted(fromrune:quarantine) — bias toward stricter scanning of any state file that incorporated quarantined external content
Calls (outbound)
None — pure validation (read-only scanning).