CRI-CORE — Deterministic enforcement kernel for controlling whether system actions are allowed to execute.
Project description
title: "CRI-CORE — Deterministic Enforcement Kernel" filetype: "documentation" type: "repository-overview" domain: "enforcement" version: "0.13.0" doi: "10.5281/zenodo.19080238" status: "Active" created: "2026-02-19" updated: "2026-05-03"
author: name: "Shawn C. Wright" email: "swright@waveframelabs.org" orcid: "https://orcid.org/0009-0006-6043-9295"
maintainer: name: "Waveframe Labs" url: "https://waveframelabs.org"
license: "Apache-2.0"
copyright: holder: "Waveframe Labs" year: "2026"
ai_assisted: "partial"
dependencies: []
anchors:
- "CRI-CORE v0.13.0"
- "Deterministic Enforcement Kernel"
- "Execution Boundary Enforcement"
CRI-CORE — Execution Boundary Enforcement Kernel
CRI-CORE is a deterministic enforcement engine that decides whether an action is allowed to execute.
It does not generate actions. It does not manage workflows. It does not store state.
It enforces one thing:
Whether a proposed action is admissible at the moment of execution.
Core Concept
All actions must pass through a single evaluation boundary:
INPUT:
* compiled_contract
* proposal
* run_context
OUTPUT:
* commit_allowed (True / False)
* stage_results (full trace of evaluation)
If commit_allowed is False, the action must not execute.
Usage
from cricore.api import evaluate_structured
result = evaluate_structured(
proposal=proposal,
compiled_contract=compiled_contract,
run_context=run_context
)
if result.commit_allowed:
execute_action()
else:
block_action()
Execution Model
CRI-CORE evaluates proposals through a fixed pipeline:
- Structure
- Contract binding
- Independence (role separation)
- Integrity (context validation)
- Publication
- Final commit decision
Each stage produces a deterministic result.
Enforcement Guarantees
1. Contract Identity
The proposal must reference the exact contract used for evaluation.
proposal.contract.hash == compiled_contract.contract_hash
Mismatch results in a blocked decision.
2. Proposal Immutability
The evaluation process does not modify the proposal.
All decisions are based on the caller’s original input.
3. Explicit Execution Mode
Execution mode is never silently downgraded.
function argument > run_context["mode"] > "local"
4. Deterministic Outputs
Identical inputs produce identical results.
Payload generation is byte-stable across runs.
5. Full Decision Trace
Every evaluation returns a complete stage-by-stage trace.
No hidden logic.
Execution Modes
Local (default)
- advisory enforcement
- missing integrity/publication does not block
- emits warnings
Strict
- full enforcement
- all required conditions must pass
- no soft failures
Non-Goals
CRI-CORE does not:
- execute actions
- manage identity systems
- persist logs
- provide audit guarantees
Those belong to higher layers (e.g., Waveframe Guard / Cloud).
Status
Structured evaluation pipeline is stable.
Legacy filesystem-based execution is deprecated and retained only for reference.
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cricore-0.13.0.tar.gz.
File metadata
- Download URL: cricore-0.13.0.tar.gz
- Upload date:
- Size: 28.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e013d32b7f7a7d2fede4868e301828d4eda206e65b6a8835dfd258481e71577d
|
|
| MD5 |
3898766b8bc847dcaa94e3a43ce1e510
|
|
| BLAKE2b-256 |
90def9a47f53f8968598fabc004f3ca0860c1b8793b0ab0ec3ef82eaa1aee470
|
File details
Details for the file cricore-0.13.0-py3-none-any.whl.
File metadata
- Download URL: cricore-0.13.0-py3-none-any.whl
- Upload date:
- Size: 45.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11a5041f8484a45d8e80809d54b11f0c9f6a83b36e6e7a9aa840598e7aaa478f
|
|
| MD5 |
27348abd6cd04c3fdfc08f1629b2d20a
|
|
| BLAKE2b-256 |
aa5cb3618924e0d9b9d88e4c7e70e8b664b8e630b7434831f6764303f8e56ee6
|