This quickstart turns the AML/KYC beachhead from "docs" into a pilot-ready package with operator checkpoints, evaluator criteria, and evidence handoff.
What this package proves in implemented scope:
- Fail-closed governance behavior in
/v1/decide. - Expected semantics diffing against fixture baselines.
- Quantitative pass/fail/warning summary for pilot go/no-go.
- Evidence-readiness handoff path toward external review bundle generation.
- Customer-side evaluator: confirm AML/KYC governance value quickly.
- Operator: run and interpret results without hidden assumptions.
- Internal sponsor: approve pilot readiness with explicit boundaries.
This package is intentionally constrained to one beachhead:
- Beachhead domain:
aml_kyc - Anchor template:
aml_kyc_high_risk_country_wire_manual_review
Representative AML/KYC contracts covered by this package:
- sanctions partial match must not become
proceed - source of funds missing must not become
APPROVE - policy definition missing must route to
POLICY_DEFINITION_REQUIREDfamily - sufficient evidence low-risk path may route to
proceed/APPROVEfamily - secure/prod controls missing in secure posture must fail-closed to
block
Reference semantics and taxonomy:
veritas_os/sample_data/governance/aml_kyc_pilot_cases.json
- Runner:
scripts/run_aml_kyc_poc_fixture.py - Fixture:
veritas_os/sample_data/governance/aml_kyc_poc_pack/scenario_high_risk_manual_review.json - Expected output:
veritas_os/sample_data/governance/aml_kyc_poc_pack/expected_high_risk_manual_review_output.json
veritas_os/sample_data/governance/aml_kyc_expected_evidence_bundle_examples.json
veritas_os/sample_data/governance/aml_kyc_failure_scenarios.json
- Pilot fixture:
veritas_os/sample_data/governance/aml_kyc_pilot_cases.json - Runner:
scripts/run_financial_poc.py - Runtime module:
veritas_os/scripts/financial_poc_runner.py
- Start VERITAS OS (Docker Compose recommended from repository root).
- Confirm backend health:
curl -s http://localhost:8000/health- Confirm pilot fixture exists:
test -f veritas_os/sample_data/governance/aml_kyc_pilot_cases.json && echo "fixture_ok"python scripts/run_financial_poc.py \
--input veritas_os/sample_data/governance/aml_kyc_pilot_cases.json \
--dry-run \
--output-json veritas_os/scripts/logs/aml_kyc_pilot_dry_run_report.jsonRun one executable AML/KYC fixture and verify expected governance outcome, bind result, and compliance-oriented output:
python scripts/run_aml_kyc_poc_fixture.py \
--input veritas_os/sample_data/governance/aml_kyc_poc_pack/scenario_high_risk_manual_review.json \
--verify-expected veritas_os/sample_data/governance/aml_kyc_poc_pack/expected_high_risk_manual_review_output.json \
--output-json veritas_os/scripts/logs/aml_kyc_poc_fixture_output.jsonExpected fixture behavior:
governance_outcome.gate_decision = human_review_requiredbind_result.admissible = false(bind-boundary hold path)compliance_view.status = conformantfor synthetic expected evidence coverage
VERITAS_API_KEY=demo-key \
python scripts/run_financial_poc.py \
--input veritas_os/sample_data/governance/aml_kyc_pilot_cases.json \
--api-url http://localhost:8000/v1/decide \
--required-evidence-mode strict \
--output-json veritas_os/scripts/logs/aml_kyc_pilot_live_report.jsonValidate minimum pilot sign-off:
summary.counts.warning = 0summary.counts.fail = 0summary.pass_rate >= 0.90summary.evaluated >= 5- anchor case
pilot_aml_kyc_anchor_high_risk_country = pass
- Review handoff flow: AML/KYC Customer Handoff Path
- Review external bundle contract: External Audit Readiness
- Share synthetic-only artifacts with acceptance summary.
summary.outcome:pass: all evaluated cases matched expected semantics.warning: runtime instability or bounded warning state exists.fail: one or more required semantics diverged from baseline.
mismatch_overview: concise triage view for non-pass cases.required_evidence_runtime_warnings: taxonomy/profile drift signals that may reduce audit confidence.
Operator rule of thumb:
- Do not treat pass rate alone as sufficient when warnings remain.
- Treat unexpected
proceed/APPROVEin ambiguity cases as blocker-level.
- Do not send production PII or account identifiers in pilot payloads.
- Avoid exposing API keys in shell history or logs.
- Keep HTTP endpoints limited to localhost rehearsal environments.
- This package is governance routing + evidence posture only, not legal advice.