Files
acdl/.ciagent/PLAN.md
T
Jon Chery adfcf86732 docs(P63): create phase plan — regression registry + cost docs
---ci---
project: acdl
phase: P63
milestone: v1.11
status: plan
---/ci---
2026-07-28 20:25:25 +00:00

69 lines
2.5 KiB
Markdown

---
phase: P63
name: regression-registry-cost-docs
milestone: v1.11
requirements: [REQ-119, REQ-121]
wave: 4
depends_on: [P62]
---
# P63 — Regression Registry + Cost Docs
**Phase:** P63
**Milestone:** v1.11 (RESTART)
**Requirements:** REQ-119 (COST.md), REQ-121 (CAP-017..022 in regression registry)
**Wave:** 4 (closing G-005/G-008)
**Branch:** `milestone/v1.11-restart`
## Goal
1. Add CAP-017..022 to `core/regression_verify.py` registry. Evidence =
"lifecycle pipeline green" (not boto3 probes, which are IAM-gated).
This closes G-005.
2. Author `.ciagent/COST.md` documenting the v1.0→v1.10 AWS spend window
(AWS Cost Explorer query). This closes G-008.
## Tasks
### Task 1 — Add CAP-017..022 to regression registry
Add 6 new capability checks to `core/regression_verify.py`:
- CAP-017: DynamoDB `acdl-contracts` table — evidence = L1 lifecycle
pipeline green (rds module apply/modify/destroy exit 0 proves the
terraform path works; DynamoDB table is created via the microservice
stack which is tested by the L2 lifecycle pipeline).
- CAP-018: Lambda contract-ingestor — evidence = local Lambda stub
(CAP-011) + lifecycle pipeline green.
- CAP-019: ECS cluster + service — evidence = L2 microservice lifecycle
pipeline green (apply/modify/destroy exit 0).
- CAP-020: CloudFront + WAF — evidence = L2 static-assets lifecycle
pipeline green (apply/modify/destroy exit 0).
- CAP-021: uptime-kuma — evidence = L1 uptime module lifecycle green.
- CAP-022: OIDC role — evidence = L1 iam-role module lifecycle green.
Each check verifies that the corresponding lifecycle pipeline cell passed
(by checking the workflow run status or by running the lifecycle test
locally if AWS creds are available).
### Task 2 — Author .ciagent/COST.md
Document the v1.0→v1.10 AWS spend window using AWS Cost Explorer data.
If Cost Explorer access is available (requires `ce:*` permissions), query
the 6-day window (2026-07-21 to 2026-07-27). If not, document the
expected cost ceiling based on the resources deployed.
### Task 3 — Update CAPABILITY_INVENTORY.md
Mark CAP-017..022 as "Verified live-aws via lifecycle pipeline" (no longer
"not auto-verified"). Remove the IAM-drift framing.
### Task 4 — Extend tests
Add tests for the new CAP-017..022 registry entries.
## Success Criteria (phase gate)
1. Regression registry includes CAP-017..022 with "lifecycle pipeline
green" evidence.
2. `COST.md` documents the v1.0→v1.10 spend window.
3. Full offline pytest suite green.