بنقرة واحدة
trust-plane
Trust-plane crate — file-backed projects, constraint enforcement, shadow mode, delegation, CLI.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Trust-plane crate — file-backed projects, constraint enforcement, shadow mode, delegation, CLI.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | trust-plane |
| description | Trust-plane crate — file-backed projects, constraint enforcement, shadow mode, delegation, CLI. |
EATP-powered trust environment for human-AI collaborative work. File-backed trust project management with constraint enforcement, shadow mode, delegation, verification bundles, diagnostics, CLI (attest), and MCP server.
Crate: crates/trust-plane/ (proprietary, publish = false)
Depends on: eatp (proprietary, publish = false)
Tests: 2,187 across 5 crates (5 red team rounds, zero deferrals)
use trust_plane::project::TrustProject;
use trust_plane::types::EnforcementMode;
// Create a new trust project (generates Ed25519 keypair, EATP genesis)
let project = TrustProject::create(
"/path/to/trust-dir".into(),
"My Project".into(),
"admin@acme.com".into(),
Some(constraint_envelope),
)?;
// Check an action against constraints (shadow-aware)
let verdict = project.shadow_check("deploy-v2", &context);
// Enable shadow mode for safe constraint rollout
project.enable_shadow(candidate_envelope, shadow_config)?;
let report = project.shadow_report()?;
| # | Flow | Entry Point |
|---|---|---|
| 1 | Init | TrustProject::create() / TrustProject::load() |
| 2 | Action Gating | project.shadow_check() / enforcer.check() |
| 3 | Decision Recording | project.record_decision() |
| 4 | Milestone Recording | project.record_milestone() |
| 5 | Delegation | project.delegate() with cascade revocation |
| 6 | Verification | project.verify() / bundle::create() |
| 7 | Audit Export | project.export_audit() |
| 8 | Diagnostics | project.diagnose() |
| 9 | Shadow Mode | project.enable_shadow() / shadow_report() / promote() |
| 10 | Constraint Evolution | Monotonic tightening via ConstraintEnvelope |
| 11 | Trust Repair | repair::run_repair() |
| 12 | SDK Integration | Binding access via Python/Ruby/Node.js/C ABI |
pub enum Verdict {
AutoApproved, // Action proceeds, logged
Flagged, // Action proceeds, highlighted for review
Held, // Queued for human approval
Blocked, // Rejected
}
Five dimensions from EATP (see docs/00-authority/05-trust-framework.md):
| Topic | File |
|---|---|
| Project management & dual-lock | project-management.md |
| Shadow mode design | shadow-mode.md |
| CLI reference (17 commands) | cli-reference.md |
| MCP server patterns | mcp-reference.md |
| Cross-language binding patterns | binding-patterns.md |
trust_check MUST use project.shadow_check() not enforcer.check() — shadow mode must observe all actionspublish = false). No Rust source leaves this private repo.crates/trust-plane/ source codeattest binaryFor complex trust-plane work, invoke:
co-reference skill — EATP protocol questionsKailash Rust security — input validation, secrets, injection prevention. Hardcoded secrets BLOCKED.
Fork canon-incorporation runbook — rebase onto a canon kailash-rs base, re-apply the fork delta (merge-not-replace), SHA-anchored, gated + redteamed, human-gated cutover. Fork-active / canon-noop.
Kailash Rust validation — parameter, DataFlow, connection, workflow, security. Use for code review.
Project Skills (rs variant): cross-cutting patterns spanning Rust crates and PyO3/Magnus/napi-rs bindings. See enterprise-infra-bindings.md, l3-binding-parity.md, and ffi-handle-lifecycle.md.
Kailash DataFlow (Rust) — MANDATORY for DB/CRUD/bulk/migrations via sqlx + ModelDefinition. Raw SQL BLOCKED.
Kailash Nexus (Rust) — MANDATORY for API+CLI+MCP unified deployment. Direct axum/tonic BLOCKED.