OpenAgentID documentation
Source referencesPackage entries

openagent-skills-policy (Rust)

Governance policy engine for agent skills — an Arsenal-composed policy layer that gates which SKILLS.md entries an agent may invoke, with rate limiting, argument constraints, time windows, consent, and hash-chained audit receipts.

Purpose

Governance policy engine for agent skills — an Arsenal-composed policy layer that gates which SKILLS.md entries an agent may invoke, with rate limiting, argument constraints, time windows, consent, and hash-chained audit receipts.

Read the skills policy guide.

Source contract

FieldValue
Packageopenagent-skills-policy
Version0.1.0
LanguageRust
Runtime floor1.78
Manifestopenagent-sdk/crates/openagent-skills-policy/rust/Cargo.toml
DistributionSource package; registry publication not verified

Manifest SHA-256: 52b6461c520f0bc2587100211d795ba6d4f8e934b8241ee9337fad6354ee17d9. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.

Integration

Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.

Exported entry points

The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.

openagent-sdk/crates/openagent-skills-policy/rust/src/lib.rs

Source SHA-256: 6523cde71371235b5d154fb57f0ef3abba4272d7bb7702c13ea1e3cdf6648685.

pub mod audit;
pub mod did;
pub mod engine;
pub mod error;
pub mod policy;
pub mod rate;
pub mod skills_md;
pub use audit::{AuditChain, HashHex, Receipt};
pub use did::Did;
pub use engine::{arsenal_error_from, InvocationContext, SkillsPolicy};
pub use error::{Result, SkillsPolicyError};
pub use policy::{
    AuditLevel, DefaultRule, RateLimit, SkillRule, SkillsPolicyDoc, TimeWindow,
    CURRENT_VERSION, MAX_SKILL_RULES,
};
pub use skills_md::{SkillEntry, SkillsManifest};

Module signatures and options

Browse the declared public source modules. This includes signatures, struct fields, enums, traits, method declarations, source comments and conditional attributes.

On this page