Concrete claims supported by this repository and its artifacts. Update with experiment pointers and figure numbers when publishing.
-
Trust skeleton
The environment enforces a trust skeleton: RBAC, signed actions, hash-chained audit log, invariant registry and enforcement, reason codes, tokens, zones, specimens, QC, critical results, catalogue, stability, queueing, transport.
Artifacts:policy/(schemas and YAML),src/labtrust_gym/engine/,src/labtrust_gym/policy/.
Tests: Golden suite (scenarios frompolicy/golden/golden_scenarios.v0.1.yaml) withLABTRUST_RUN_GOLDEN=1;tests/test_golden_suite.py, policy validationtests/test_policy_validation.py. -
Benchmarks and baselines
Tasks (throughput_sla, stat_insertion, qc_cascade, adversarial_disruption, multi_site_stat, insider_key_misuse, coord_scale, coord_risk) with scripted, adversary, LLM, and MARL (PPO) baselines; official pack v0.1/v0.2; security suite and safety case.
Artifacts:benchmarks/,benchmarks/baseline_registry.v0.1.yaml,policy/official/benchmark_pack.v0.1.yaml,policy/official/benchmark_pack.v0.2.yaml,policy/safety_case/claims.v0.1.yaml. Canonical frozen baselines:benchmarks/baselines_official/v0.2/(regenerate withlabtrust generate-official-baselines --out benchmarks/baselines_official/v0.2/ --episodes N --seed N --force).
Tests:tests/test_benchmark_smoke.py,tests/test_official_pack_smoke.py,tests/test_safety_case_generation.py,tests/test_generate_official_baselines.py; baseline regression:tests/test_official_baselines_regression.py(withLABTRUST_CHECK_BASELINES=1). -
Reproducibility
Deterministic runs viaseed_baseand per-condition offsets; package-release profiles (minimal, full, paper_v0.1) produce MANIFEST, receipts, FHIR, FIGURES, TABLES; verify-bundle validates evidence bundle; verify-release validates full release.
Artifacts:labtrust package-release --profile paper_v0.1 --seed-base 100 --out <dir>,labtrust reproduce --profile minimal|full.
Docs: Paper provenance, Reproduce. -
Coordination and red team
Multiple coordination methods (centralized, hierarchical, market, gossip, swarm, kernel+EDF/WHCA/auction, LLM planners); coordination security pack with fixed scale x method x injection matrix; red-team injections v0.2 with success/detection/containment definitions.
Artifacts:policy/coordination/injections.v0.2.yaml,policy/coordination/coordination_security_pack.v0.1.yaml,src/labtrust_gym/baselines/coordination/(andpolicy/coordination/).
Tests:tests/test_coordination_security_pack.py,tests/test_coord_red_team_definitions.py. -
Prompt-injection defense
Pre-LLM block, optional truncate/redact sanitization, output consistency; pattern-based detection and golden scenarios.
Artifacts:policy/security/prompt_injection_defense.v0.1.yaml,policy/golden/prompt_injection_scenarios.v0.1.yaml.
Tests:tests/test_prompt_injection_defense.py,tests/test_llm_prompt_injection_golden.py.
See Paper provenance for commands that generate figures and tables (e.g. labtrust package-release --profile paper_v0.1, labtrust make-plots, labtrust run-study).
Paper-facing outputs (summary, safety case, coverage, risk register) are gated by a committed snapshot; PRs need an explicit snapshot update before those artifacts change.
- Committed snapshot:
tests/fixtures/paper_claims_snapshot/v0.1/(snapshot_manifest.json and optional summary.csv). - Extract script:
python scripts/extract_paper_claims_snapshot.py <release_dir> [--out <dir>]writes a deterministic snapshot from a paper_v0.1 release (default out:tests/fixtures/paper_claims_snapshot/v0.1). - Comparison:
labtrust_gym.studies.paper_claims_compare.compare_paper_snapshot(release_dir, snapshot_dir)(optional_keys for non-deterministic artifacts e.g. SECURITY/coverage.json). - Test:
tests/test_paper_claims_regression.pybuilds a minimal paper artifact (LABTRUST_PAPER_SMOKE=1), extracts, compares to the committed snapshot. Seetests/fixtures/paper_claims_snapshot/README.mdfor how to update the snapshot. - CI: Job paper-claims-regression runs on schedule and workflow_dispatch:
LABTRUST_PAPER_SMOKE=1 pytest tests/test_paper_claims_regression.py -v. See CI.