|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to `agno-dcp-demo` are recorded here. |
| 4 | +Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). |
| 5 | + |
| 6 | +## [0.2.0] (2026-04-30) |
| 7 | + |
| 8 | +Initial release of the end-to-end demo. Reads as a banking |
| 9 | +collections workflow. |
| 10 | + |
| 11 | +### Added |
| 12 | + |
| 13 | +* Singleton `DemoAgentService` that boots a `DCPAgent` (tier-3, |
| 14 | + strict mode) at app startup, persists its `CitizenshipBundle` |
| 15 | + beside the audit DB, and reuses the same identity across restarts. |
| 16 | +* Four tool mocks (`lookup_customer`, `propose_payment_plan`, |
| 17 | + `schedule_callback`, `send_confirmation`) with realistic banking |
| 18 | + fixtures. |
| 19 | +* Declarative YAML policy with seven rules including conservative |
| 20 | + payment plans, discount ceilings, balance escalation thresholds, |
| 21 | + and channel restrictions. |
| 22 | +* FastAPI service exposing eight HTTP routes: |
| 23 | + * `GET /` — single-page dashboard. |
| 24 | + * `POST /api/agent/run` — run an arbitrary tool through the gate. |
| 25 | + * `POST /api/agent/scenario` — run a pre-baked sequence. |
| 26 | + * `GET /api/agent/info` — agent identity + capability snapshot. |
| 27 | + * `GET /api/audit/entries` — paginated audit log. |
| 28 | + * `GET /api/audit/stream` — Server-Sent Events live feed. |
| 29 | + * `GET /api/audit/verify` — offline chain integrity verifier. |
| 30 | + * `POST /api/audit/export` — signed Compliance Bundle ZIP. |
| 31 | + * `POST /api/audit/reset` — wipe back to genesis (demo replay). |
| 32 | +* Banking-grade dashboard: HTMX + Tailwind CDN, dark theme, KPI |
| 33 | + strip, three one-click scenarios, live audit log with |
| 34 | + per-event-type styling, single-click verify and export buttons. |
| 35 | +* Multi-stage `Dockerfile` (uv builder + slim runtime, non-root |
| 36 | + user, healthcheck) and `docker-compose.yml` for local runs with a |
| 37 | + named volume. |
| 38 | +* Fly.io configuration (`fly/fly.toml`) targeting `scl` region with |
| 39 | + a 1 GB persistent volume and free-tier-friendly auto-stop. |
| 40 | +* CI workflow (Python 3.11/3.12/3.13 on Ubuntu plus a Docker build |
| 41 | + smoke) and an auto-deploy workflow that publishes to Fly on push |
| 42 | + to `main`. |
| 43 | +* Test suite covering agent service lifecycle, policy strict-mode |
| 44 | + denies, chain integrity after a workload, Compliance Bundle ZIP |
| 45 | + export, and every HTTP route. |
| 46 | + |
| 47 | +### Notes |
| 48 | + |
| 49 | +* Cryptographic primitives import from `agno-dcp >= 0.1.0` and |
| 50 | + `dcp-ai >= 2.8.1`. Bundles produced here are byte-exact compatible |
| 51 | + with every DCP-AI verifier. |
| 52 | +* No real LLM provider is required; the demo defaults to `mock` and |
| 53 | + the workflow is deterministic. Set `LLM_PROVIDER=anthropic` or |
| 54 | + `openai` plus the matching API key to swap in. |
| 55 | +* The persistent volume layout is documented in `fly/README.md`. The |
| 56 | + same shape works for any host with a writable `/app/data`. |
0 commit comments