Files
acdl/demo/contracts/examples/contract-regulatory-reporting-violation.yaml
T
Jon Chery e044a2de0d phase: 6, status: plan-as-execute, persona: lead-developer, task: T-6.1..T-6.4
---ci---
project: acdl
phase: 6
milestone: v1.1
status: plan-as-execute
persona: lead-developer
tasks: [T-6.1, T-6.2, T-6.3, T-6.4]
---/ci---

Archive the v1.0 demo under demo/ (D-037) and reorient the repo to the
real platform. Wave 1 of the Phase 06 plan.

- T-6.1: git mv modules/, scripts/, evidence-ui/, contracts/,
  contracts-repo/, .gitea/ -> demo/; mv ACDL_DEMO.md + runner-data/ -> demo/
- T-6.2: scaffold new v1.1 top-level dirs (platform/, schemas/, adapters/,
  terraform/, modules-ir/) with .gitkeep
- T-6.3: create top-level scripts/verify_phase06.sh (v1.1 verify scripts
  live at top-level, NOT demo/scripts/ which holds the v1.0 demo verify
  scripts)
- T-6.4: rewrite README.md to reflect the real platform (vision +
  architecture links, new layout, status v1.1 active); add runner-data/
  to .gitignore

All moves via git mv (history preserved). Repo root now contains only
README.md, demo/, docs/, .ciagent/, and the new empty v1.1 dirs.
2026-07-21 18:27:21 +00:00

55 lines
1.8 KiB
YAML

# Elaborate developer contract — regulatory reporting (with policy violation).
#
# Same schema as the price-feed example, but with public-ingress: true,
# which triggers Act 4: the policy_checker fails, the confidence_signal
# drops to 0.40, the 0.50 gate halts the pipeline in Dev, and the
# rejection appears on the evidence timeline.
#
# Commit this to acdl-contracts as contract.yaml to reproduce Act 4:
# git add contract.yaml && git commit -m "feat: deploy regulatory reporting" && git push
stack: l2-regulatory-reporting
inputs:
# --- Environment + ownership ---
environment: prod
owner: compliance-and-controls-team
team: regulatory-reporting-desk
cost_center: CC-CMP-9902
change_ticket: CHG-2026-07-21-118
business_owner: compliance@jccapital.xyz
oncall_email: sre-regulatory@example.com
sla_tier: T0
business_hours: "24x7"
data_classification: confidential
# --- Regulatory context ---
regulator: FERC
filing_frequency: monthly
filing_deadline_day_of_month: "15"
reporting_period: 2026-Q3
jurisdiction: US-Federal
legal_hold: "false"
# --- Deployment knobs ---
replicas: "2"
cpu_request: "1000m"
memory_request: "2Gi"
autoscale_min: "2"
autoscale_max: "4"
log_retention_days: "365"
archive_retention_days: "2555"
enable_encryption_at_rest: "true"
enable_kms_rotation: "true"
# --- Operational flags ---
enable_canary: "false"
enable_pagerduty: "true"
enable_cost_alerts: "true"
cost_alert_threshold_usd: "1000"
# POLICY VIOLATION — this is the Act 4 trigger.
# The policy_checker.py will emit: POLICY_VIOLATION:PUBLIC_INGRESS
# The confidence_signal.py will return: {"score": 0.40, "reason": "POLICY_VIOLATION:PUBLIC_INGRESS"}
# The 0.50 gate halts the pipeline in Dev; mock_executor never runs.
public-ingress: true