# Elaborate developer contract — energy trading price feed. # # Schema (D-021): stack + inputs (open-ended string map) + public-ingress. # The `stack` field MUST match an L2 folder name under modules/l2/. # The `inputs` map is free-form string values; these are L2-level params # that travel with the deployment into state.json and the audit trail. # The L1 input values are declared by the L2's manifest.yaml, not here. # # Commit this to acdl-contracts as contract.yaml to trigger the pipeline: # git add contract.yaml && git commit -m "feat: deploy price feed (prod)" && git push stack: l2-commodity-price-feed inputs: # --- Environment + ownership --- environment: prod owner: commodity-trading-platform-team team: power-and-gas-desk cost_center: CC-TRD-4471 change_ticket: CHG-2026-07-21-093 # --- Business context (rides into the audit timeline) --- business_owner: kchen@jccapital.xyz oncall_email: sre-commodity@example.com sla_tier: T1 business_hours: "Mon-Fri 07:00-19:00 ET" data_classification: internal # --- Source feed contract (business-facing) --- feed_vendor: Platts feed_name: natural-gas-daily-settlement feed_cadence: daily feed_timezone: US/Eastern symbols: "NG-WTI-HH,NG-HH-M,NG-PJM" retry_policy: backoff-3x-15min dead_letter_queue: commodity-price-dlq # --- Deployment knobs (consumed by the pipeline; passed to L1s via L2 manifest) --- replicas: "3" cpu_request: "500m" memory_request: "1Gi" autoscale_min: "2" autoscale_max: "8" log_retention_days: "90" archive_retention_days: "2555" # --- Operational flags --- enable_canary: "true" canary_percentage: "10" enable_pagerduty: "true" enable_cost_alerts: "true" cost_alert_threshold_usd: "500" # Policy-gated field. true -> POLICY_VIOLATION:PUBLIC_INGRESS -> confidence 0.40 < 0.50 -> Dev rejects (Act 4). public-ingress: false