[project]
name = "trueno"
version = "0.4.1"
language = "rust"
description = "High-performance SIMD compute library with GPU support"
[quality_gate]
min_test_coverage = 90.0
target_test_coverage = 95.0
max_cyclomatic_complexity = 22
max_cognitive_complexity = 17
max_satd_comments = 0
max_code_duplication_percentage = 5.0
min_mutation_score = 80.0
min_repo_score = 90
target_repo_score = 100
min_rust_project_score = 150
target_rust_project_score = 180
[known_defects]
detect_unwrap_calls = true
fail_on_unwrap = true
detect_expect_calls = true
detect_unreachable_calls = true
detect_panic_calls = true
[tdg]
min_grade = "B+"
target_grade = "A-"
include_components = true
enforce_on_commit = true
auto_fail_on_critical_defects = true
[tdg.baseline]
path = ".pmat/baseline.json"
auto_update = false
track_history = true
history_path = ".pmat/history/"
[mutation]
enabled = true
timeout_seconds = 120
parallel = true
operators = [
"arithmetic",
"logical",
"relational",
"boundary",
"statement",
"loop",
"assignment",
"return"
]
include_paths = ["src/"]
exclude_paths = ["src/bin/", "xtask/"]
test_command = "cargo test --all-features"
[semantic_search]
enabled = true
embedding_model = "all-MiniLM-L6-v2"
index_path = ".pmat/embeddings/"
auto_sync = true
include_paths = ["src/", "tests/", "benches/", "examples/"]
exclude_paths = ["target/", "xtask/"]
[documentation]
validate_readme = true
validate_claude_md = true
detect_hallucinations = true
detect_broken_references = true
detect_404_links = true
fail_on_contradiction = true
deep_context_path = "deep_context.md"
targets = ["README.md", "CLAUDE.md", "book/src/**/*.md"]
[quality_gates]
run_on_commit = true
block_on_failure = true
[quality_gates.gates]
clippy = { enabled = true, strict = true }
rustfmt = { enabled = true }
tests = { enabled = true, timeout = 300 }
coverage = { enabled = true, min = 90.0 }
complexity = { enabled = true, max_cyclomatic = 22, max_cognitive = 17 }
satd = { enabled = true, max = 0 }
mutation = { enabled = false }
tdg = { enabled = true, min_grade = "B+" }
defects = { enabled = true, fail_on_unwrap = true }
[workflow]
enabled = true
backend = "hybrid"
github_repo = "paiml/trueno"
local_storage = ".pmat/work/"
enforce_commit_format = true
commit_format = "^(feat|fix|docs|style|refactor|perf|test|chore)(\(.+\))?: .{10,}"
auto_changelog = true
changelog_path = "CHANGELOG.md"
changelog_format = "keep-a-changelog"
[rust]
default_features = ["parallel", "gpu"]
all_features = true
msrv = "1.70.0"
enforce_workspace_lints = true
require_rustdoc = true
rustdoc_coverage_min = 100.0
require_benchmarks = true
benchmark_framework = "criterion"
[toyota_way]
enable_kaizen = true
enable_jidoka = true
enable_genchi_genbutsu = true
enable_mcp_first_dogfooding = true
kaizen_cycle_days = 7
kaizen_metrics = ["coverage", "mutation_score", "tdg_grade", "repo_score"]
jidoka_pre_commit = true
jidoka_pre_push = false
jidoka_ci = true
[mcp]
enabled = true
server_port = 3000
tools = [
"validate_documentation",
"check_claim",
"analyze_technical_debt",
"get_quality_recommendations",
"analyze",
"transform",
"validate",
"orchestrate",
"quality_gate",
"semantic_search",
"find_similar_code",
"cluster_code",
"analyze_topics",
"mutation_test"
]
[paths]
root = "."
source = "src/"
tests = "tests/"
benches = "benches/"
docs = "book/"
examples = "examples/"
xtask = "xtask/"
exclude = [
"target/",
".git/",
"node_modules/",
".kaizen/",
".pmat/",
"*.rlib",
"*.so",
"*.dylib",
"*.dll"
]
[reporting]
format = "markdown"
output_dir = "target/pmat-reports/"
verbose = true
include_recommendations = true
include_trends = true
[ci]
enabled = true
platform = "github_actions"
fail_fast = false
[ci.gates]
clippy = { enabled = true, strict = true }
rustfmt = { enabled = true }
tests = { enabled = true, timeout = 600 }
coverage = { enabled = true, min = 90.0 }
mutation = { enabled = true, min_score = 80.0 }
tdg = { enabled = true, min_grade = "B+" }
repo_score = { enabled = true, min_score = 90 }
rust_project_score = { enabled = true, min_score = 150 }
security_audit = { enabled = true }
defects = { enabled = true, fail_on_unwrap = true }
documentation = { enabled = true, fail_on_contradiction = true }
benchmark_regression_check = true
max_regression_percentage = 5.0
[certeza]
enabled = true
tiered_workflow = true
[certeza.tier1]
targets = ["check", "lint-fast", "test-lib"]
max_duration_seconds = 5
[certeza.tier2]
targets = ["fmt", "clippy-full", "test-all", "coverage", "pmat-tdg", "satd-check"]
max_duration_seconds = 300
[certeza.tier3]
targets = ["tier2", "mutation", "security-audit", "bench", "pmat-repo-score"]
max_duration_seconds = 7200
[renacer]
enabled = true
version = "0.5.0"
profile_benchmarks = true
profile_tests = false
otlp_enabled = true
otlp_endpoint = "http://localhost:4317"
otlp_service_name = "trueno"
flamegraph_enabled = true
flamegraph_output = "target/profiling/flame.svg"
[advanced]
red_team_enabled = true
time_travel_debug = false
org_patterns = false
deep_wasm = false
[diagnostics]
enabled = true
log_level = "info"
log_path = "target/pmat.log"
pmat_version = "2.200.0"
last_updated = "2025-11-21"