← 返回
安全合规 中文

Reliability Evidence Pack

Provides tools to record, validate, and report agent operational reliability artifacts using standardized schemas for consistent monitoring and compliance.
提供工具,用于记录、验证和报告代理运维可靠性工件,采用标准化模式以实现一致监控和合规。
christineopenclaw
安全合规 clawhub v2.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 628
下载
💾 9
安装
1
版本
#audit#evidence#latest#reliability#rep#security#v2

概述

Reliability Evidence Pack (REP)

A comprehensive runtime system for documenting and verifying agent operational reliability through structured artifact recording, validation, and compliance reporting.

What's Included

Core Scripts (/scripts)

  • rep.mjs - Main CLI for initialization, validation, and bundle management
  • rep-validate.mjs - Schema validation engine for REP artifacts
  • rep-heartbeat-cron.mjs - Records agent heartbeats on a schedule
  • rep-near-miss-cron.mjs - Tracks near-miss reliability events
  • rep-performance-baseline.mjs - Captures performance metrics
  • rep-generate-bundle.mjs - Generates REP bundles from artifacts

CLI Package (/cli)

  • Installable npm package for convenient command-line access
  • See cli/README.md for installation and usage

GitHub Action (/github-action)

  • CI/CD integration for automated validation
  • See github-action/README.md for setup

Schemas (/schemas)

  • JSON Schema definitions for all REP artifact types:
  • decision_rejection_log.json
  • handoff_acceptance_packet.json
  • memory_reconstruction_audit.json
  • near_miss_reliability_trailer.json
  • signed_divergence_violation_record.json

Examples (/examples)

  • Sample artifacts and workflows
  • Integration patterns for different use cases

Required Binaries

  • Node.js (v16 or higher - required for runtime scripts)
  • npm (for CLI package installation)

No other system binaries required.

Installation

Option 1: Direct Scripts

# Clone or copy this bundle to your project
cp -r rep-bundle-v2 /path/to/your/project/rep
cd rep

# Make scripts executable
chmod +x scripts/*.mjs

# Test
node scripts/rep.mjs --help

Option 2: CLI Package

cd cli
npm install -g
rep --help

Option 3: GitHub Action

- uses: ./github-action
  with:
    bundle-path: ./rep

Configuration

Set environment variables to configure behavior:

# Path to artifacts directory (default: ./artifacts)
REP_ARTIFACTS_PATH=./artifacts

# Path to schemas directory (default: ./schemas)  
REP_SCHEMAS_PATH=./schemas

# Log file path (optional)
REP_LOG_FILE=/var/log/rep.log

Usage

Initialize a new REP

node scripts/rep.mjs init --name "my-agent"

Validate artifacts

node scripts/rep-validate.mjs ./artifacts --strict

Run heartbeat recording (cron)

REP_ARTIFACTS_PATH=./artifacts node scripts/rep-heartbeat-cron.mjs

Set up cron (example for crontab)

# Add to crontab - run heartbeat every 5 minutes
*/5 * * * * cd /path/to/rep && REP_ARTIFACTS_PATH=./artifacts node scripts/rep-heartbeat-cron.mjs >> /var/log/rep-heartbeat.log 2>&1

Artifact Types

ArtifactPurpose
-------------------
agent_heartbeat_recordAgent lifecycle events
decision_rejection_logDecisions and their outcomes
context_snapshotMemory/context state
handoff_acceptance_packetInter-agent handoff validation
near_miss_reliability_trailerNear-miss events
memory_reconstruction_auditMemory integrity checks
signed_divergence_violation_recordPolicy violations

Security Considerations

  • Credentials: This skill does not require or handle credentials
  • File Access: Writes to configured artifacts directory only
  • Cron: Does not modify system crontab - operator must configure
  • Logs: Optional logging to configurable path

License

MIT

Support

  • Documentation: SPEC.md, QUICKSTART.md, INTEGRATION.md
  • Examples: examples/
  • Validation: node scripts/rep-validate.mjs --help

Security Considerations

Sensitive Data

REP captures context snapshots, decision logs, and memory-like artifacts that may contain sensitive information.

  • Set REP_ARTIFACTS_PATH to an isolated, access-controlled directory
  • Review or redact artifacts before sharing externally
  • Consider running in a container or unprivileged account

Signing Keys

The SPEC includes signature fields for artifact integrity, but key management is operator-defined:

  • Do NOT place private keys in the artifacts directory
  • Use external KMS or secure vault for production signing
  • For testing, generate keys externally and pass via environment (future feature)

CI Usage

The GitHub Action is local to your repository:

  • Review github-action/entrypoint.sh before use in public CI
  • Ensure no artifacts leak to external endpoints
  • Use isolated artifact paths in CI environments

Network Behavior

All scripts operate locally:

  • No telemetry or external API calls
  • No automatic updates
  • All file I/O is to configured artifact paths only

Best Practices

  1. Keep artifacts directory separate from source code
  2. Add artifact paths to .gitignore
  3. Rotate logs regularly
  4. Audit artifacts before external sharing

版本历史

共 1 个版本

  • v2.0.2 当前
    2026-03-30 03:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,164
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,714
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,439