TrustPlane — EATP-powered trust environment for human-AI collaborative work
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
TrustPlane
Your AI assistant does things. Can you prove it stayed within bounds?
TrustPlane is a trust environment for human-AI collaborative work. It sits between you and your AI tools, recording what happens, enforcing boundaries you set, and giving you a cryptographic audit trail you can verify independently.
Installation
pip install trust-plane
Quick Start (30 seconds)
Start with shadow mode. It watches what your AI does without blocking anything:
# Set up a project in shadow mode — observe first, enforce later
attest quickstart --project-name "My Project" --author "Your Name" \
--domain web-app --mode shadow-first
# Work normally with your AI assistant...
# See what happened
attest shadow --report
# See what WOULD have been blocked under enforcement
attest diagnose
That's it. You now have an audit trail of AI activity with zero disruption to your workflow.
Full Setup
When you're ready to enforce constraints (not just observe), use full-governance mode:
attest quickstart --project-name "Production App" --author "DevOps Team" \
--domain web-app --mode full-governance
This creates a project with the software constraint template applied and strict enforcement active. Actions that violate constraints will be held for human approval.
Record Decisions and Milestones
# Record a decision with reasoning
attest decide --type scope --decision "Focus on X" --rationale "Because Y"
# Record a milestone
attest milestone --version v0.1 --description "First draft" --file paper.md
# Verify the full audit trail
attest verify
# Show project status
attest status
Templates
TrustPlane ships with domain-specific constraint templates. Each configures all five constraint dimensions (operational, data access, financial, temporal, communication).
# List available templates
attest template list
# See what a template constrains
attest template describe software
# Apply a template to an existing project
attest template apply research
Available templates:
| Template | Domain | Key Constraints |
|---|---|---|
software |
Web apps, services | Blocks production access, merge to main, CI/CD changes |
data-pipeline |
ETL, data engineering | Protects source data, blocks production pipelines |
research |
Academic, analysis | Protects raw data, requires publication review |
governance |
Policy, compliance | Protects constitutions, blocks external publication |
minimal |
Exploration | Only blocks credential file patterns |
CI Integration
Add trust verification to your CI pipeline:
# .github/workflows/trust.yml
- name: Verify trust chain
run: attest verify --dir ./trust-plane
Verification checks cryptographic chain integrity across all recorded decisions, milestones, and audit events. A broken chain means someone tampered with the audit trail.
Pre-commit Hook
Verify trust chain integrity before every commit:
# .pre-commit-config.yaml
- repo: local
hooks:
- id: trust-verify
name: TrustPlane verification
entry: attest verify
language: system
pass_filenames: false
As a Library
from trustplane import TrustProject, DecisionRecord, DecisionType
project = await TrustProject.create(
trust_dir="./trust-plane",
project_name="My Project",
author="Jane Doe",
constraints=["honest_limitations_required"],
)
await project.record_decision(DecisionRecord(
decision_type=DecisionType.SCOPE,
decision="Focus on philosophy only",
rationale="Clean separation of concerns",
confidence=0.9,
))
report = await project.verify()
assert report["chain_valid"] is True
License
Apache-2.0 -- Terrene Foundation
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 Distributions
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 trust_plane-0.2.1-py3-none-any.whl.
File metadata
- Download URL: trust_plane-0.2.1-py3-none-any.whl
- Upload date:
- Size: 188.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8c8c9bef2d162865bb45004347e88d35ab24b63cc0b9531926a7bfb33e1bc74
|
|
| MD5 |
c238aefad2678c75343eea53bd8a104f
|
|
| BLAKE2b-256 |
aecdf276015aa501114a860067373bac0e661d6fc885b730110d7eda53fd74bc
|