GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - astrogilda-forks/policy: Praxis Policy Engine (PPE)

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

249 Commits
249 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo
.cargo
 
 
.claude
.claude
 
 
.github
.github
 
 
.hooks
.hooks
 
 
crates
crates
 
 
docs
docs
 
 
reference/plugins
reference/plugins
 
 
tests
tests
 
 
tools
tools
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.markdownlint.yaml
.markdownlint.yaml
 
 
.taplo.toml
.taplo.toml
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
GOVERNANCE.md
GOVERNANCE.md
 
 
LICENSE
LICENSE
 
 
MAINTAINERS.md
MAINTAINERS.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
clippy.toml
clippy.toml
 
 
deny.toml
deny.toml
 
 
lychee.toml
lychee.toml
 
 
release.toml
release.toml
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 
rustfmt.toml
rustfmt.toml
 
 
typos.toml
typos.toml
 
 

Repository files navigation

Praxis Policy Engine

Policy Engine enforcement for Praxis.

CI License crates.io docs.rs MSRV FOSSA Status

Policy engine for Praxis, covering both standard policy use cases as well as AI inference and agents.

A typed, phased plugin runtime and policy evaluator for agent traffic. It decides who may call which tool, what data comes back, and where that data is allowed to go next.

What it does

  • Identity: Resolves and independently validates user, agent, and workload identities.
  • Authorization: Evaluates APL predicates and pluggable decision points, including relationship-based authorization.
  • Delegation: Exchanges credentials through RFC 8693, giving each upstream service a token scoped to that service.
  • Data control: Redacts fields in transit, propagates Session Taint across tool calls and requests, and filters what an upstream is allowed to tell a client back.
  • Out-of-band approval: Supports out-of-band approval and elicitation.
  • Audit: Emits an audit event for every decision.

Using it

Add one dependency to get the engine and all stable bundled extensions:

praxis-policy = { version = "0.7.0", features = ["builtins"] }

Without builtins, you get the engine alone and no extensions compiled in. Declare individual features instead: jwt, api-key, oauth, elicitation-ciba, cedar, cel, opa, valkey, secrets-vault. The token quota plugin is available separately through experimental-quota.

For the FIPS profile, disable defaults and select fips, optionally with api-key and jwt-openssl-fips; the host should require crypto_capability_report().fips_profile_is_safe() before serving. PolicyEngine::initialize() checks that the shared SHA-256 backend works. This profile rejects keyed content provenance, which requires HMAC; unkeyed content provenance remains available through SHA-256. See FIPS.

The crates are versioned together and released together, so a single 0.7.0 requirement covers the set. Requires Rust 1.92 or newer.

Documentation

Full documentation.

Status

The public API will move between minor versions while the shape settles; a breaking change gets a minor bump and is documented in the CHANGELOG.

Layout

crates/             the engine, APL implementation, and host facade
crates/builtins/    the nine bundled extensions, one feature each
reference/          worked examples, not published and not bundled

A host may replace any bundled plugin. Implement a Plugin Factory through PluginFactory against praxis_policy_core::prelude, then register it with PolicyEngine::register_factory under the kind: your policy names. An unrecognized kind causes policy loading to fail, so missing registrations are detected at startup.

reference/plugins/ holds three worked examples: a PII scanner, an audit logger, and an OCSF audit sink that emits each decision as a signed, hash-chained OCSF event. These are not published, but are linted and tested here, and the reference demo registers the first two as host plugins.

Building

The toolchain is pinned and is also the MSRV, so cargo build picks the right one. make help lists the available targets.

License

Apache-2.0

FOSSA Status

About

Praxis Policy Engine (PPE)

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.