Files
acdl/demo/contracts/examples/contract-commodity-price-feed-prod.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 — 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