integrity-check

Solid

Verify integrity of persisted state, skill outputs, and context bus data. Use when validating .rune/ files or sub-agent outputs against prompt injection, memory poisoning, identity spoofing, or adversarial payloads. Called by sentinel, team, session-bridge.

AI & Automation 88 stars 27 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
65
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 `sentinel` during Step 4.7 (Agentic Security Scan) - Called by `team` before merging cook reports (Phase 3a) - Called by `session-bridge` on load mode (Step 1.5) - `/rune integrity` — manual integrity scan of `.rune/` directory - Signal: `quarantine.notice.emitted` (from `rune:quarantine`) — bias toward stricter scanning of any state file that incorporated quarantined external content ## Calls (outbound) None — pure validation (read-only scanning). ## Called By (inbound) - `sentinel` (L2): agentic security phase in commit pipeline - `team` (L1): verify cook report integrity before merge - `session-bridge` (L3): verify `.rune/` files on load (L3→L3 exception, documented — same pattern as hallucination-guard → research) ## Execution ### Step 1 — Detect scan targets Determine what to scan based on caller context: - If called by `sentinel`: scan all `.rune/*.md` files + any...

Details

Author
Rune-kit
Repository
Rune-kit/rune
Created
7 months ago
Last Updated
1 months ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

immune-check

A pre-flight reflex that scans any outbound artifact — a commit, a publish, a release, a message, a payload to an external service — for foreign or dangerous material before it crosses the boundary out of the body. Catches secrets, keys, tokens, credentials, personal/medical data, private paths, and oversized vendored deps. Wraps whatever secret scanner you have (Argus, gitleaks, trufflehog, detect-secrets, git-secrets) and falls back to a built-in pattern pass. TRIGGERS: 'immune check', 'scan before publish', 'is this safe to push', 'check this before it goes out', 'pre-flight scan', 'about to make this public', 'leak check', 'scan the diff'. Run before anything leaves the body: publishing a repo, pushing a commit, cutting a release, sending an artifact outward.

0 Updated 1 weeks ago
thdelmas
Code & Development Listed

claudeguard-integrity

Deterministic integrity gate over already-merged code — AST purity closures, file invariants, and a byte-level source-encoding scan. Use when asked to "check integrity", "run the integrity gate", after a refactor that moved or renamed load-bearing files, or when a change touches a module whose correctness the type system cannot express. Report-only — never edits files.

0 Updated 6 days ago
beemann
AI & Automation Solid

constraint-check

Meta-validator for HARD-GATEs. Use when auditing whether a skill's mandatory constraints were actually followed during a workflow (not just claimed). Called by cook, team, and audit for discipline compliance.

88 Updated 1 months ago
Rune-kit