|
1 | 1 | # Roadmap: CAS Reference Product |
2 | 2 |
|
3 | | -## Phase 1: Public v0.1 Reference Application |
| 3 | +## Archived Milestones |
4 | 4 |
|
5 | | -**Goal:** Deliver a locally runnable, cloud-ready reference workload without deploying Azure resources. |
| 5 | +- [x] [v0.1 Reference Application](milestones/v0.1-ROADMAP.md) — Delivered a locally runnable, cloud-ready reference workload without deploying Azure resources. |
6 | 6 |
|
7 | | -**Requirements:** API-01, AGENT-01, ID-01, CONTRACT-01, OBS-01, OPS-01, PLAT-01, QUAL-01, DOC-01 |
| 7 | +## Milestone v0.2 |
8 | 8 |
|
9 | | -**Success criteria:** |
10 | | -- Local workflow request succeeds and returns canonical events. |
11 | | -- Tests, lint, type checks, and Docker build pass. |
12 | | -- Foundry mode uses Next Gen agent references and managed identity. |
13 | | -- Public documentation states deployment and security boundaries. |
14 | | - |
15 | | -Status: Complete |
16 | | - |
17 | | -## Phase 2: Telemetry Hardening |
18 | | - |
19 | | -**Goal:** Wire OpenTelemetry end-to-end with lifecycle span events, W3C trace propagation, and Application Insights exporter. |
20 | | - |
21 | | -**Requirements:** TEL-01, TEL-02, TEL-03, TEL-04 |
22 | | - |
23 | | -**Success criteria:** |
24 | | -- Every /api/v1/workflows request creates a `cas.api.workflows.execute` span with correlation_id, run_id, and intent attributes. |
25 | | -- Span events `workflow.started`, `workflow.completed`, and `workflow.failed` are emitted at the appropriate lifecycle points. |
26 | | -- W3C traceparent/tracestate headers on inbound requests are extracted and linked as parent context. |
27 | | -- Application Insights exporter activates when APPLICATIONINSIGHTS_CONNECTION_STRING is set; no-op otherwise. |
28 | | -- All telemetry behaviours verified by pytest with InMemorySpanExporter. |
29 | | - |
30 | | -Status: Complete |
31 | | - |
32 | | -## Phase 3: Docker + CI Publish |
33 | | - |
34 | | -**Goal:** Containerize the app with a production-grade multi-stage Dockerfile and publish the image to GHCR on merge to main. |
35 | | - |
36 | | -**Requirements:** DOCK-01, DOCK-02, DOCK-03 |
37 | | - |
38 | | -**Success criteria:** |
39 | | -- Multi-stage Dockerfile builds a linux/amd64 image, runs as non-root `appuser`, exposes port 8080, and health-checks via /health/ready. |
40 | | -- docker-compose.yml starts the local dev stack with env stubs using .env.example. |
41 | | -- CI docker job builds, smoke-tests (/health/live + /health/ready), and on push to main pushes to ghcr.io/coding-autopilot-system/cas-reference-product. |
42 | | - |
43 | | -Status: Complete |
| 9 | +*To be defined via /gsd-new-milestone* |
0 commit comments