You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Propose Continuous Well-Architected in CI: give wa-review a structured, machine-readable output artifact and a re-runnable check that diffs the current review against a committed baseline, then reports the Well-Architected delta on a pull request. This turns WA from a one-off event into a continuous, shift-left gate, without ever mutating user code.
Gap
Every skill today emits markdown prose only. That is great for reading one review, but there is no machine-readable artifact, so:
A review is point-in-time. The next commit can silently reintroduce a gap and nothing notices.
wa-review Step 7 offers to "Produce a WA Tool import for tracking" but has no format behind it.
There is no way to answer "did we fix the findings from last review?" or "is our Security posture improving or declining?"
Diffs against a committed .well-architected/baseline.json.
Classifies each finding as Resolved / Still open / New / Regressed.
Prints a PR-friendly summary and exits non-zero when a configurable gate trips (e.g. a new High-risk finding in a critical workload).
Example PR comment:
## Well-Architected check
Pillar scores: Sec 3->4 up Rel 2->2 flat Cost 4->3 down
Resolved: SEC08-BP01 (encryption added, s3.tf:14)
New: REL13-BP02 (no DR plan for new RDS, db.tf:22)
Regressed: COST07-BP01 (on-demand instance reintroduced)
Gate: FAIL, 1 new High-risk finding in a critical workload
wa-review emits wa-review.json (documented schema) alongside the markdown report.
.well-architected/baseline.json convention plus a documented wa-ci diff/gate script (no AWS credentials required, consistent with the rest of the repo).
Docs: how to wire it into GitHub Actions / any CI as a non-blocking or blocking step.
Evals covering the diff classification (Resolved / New / Regressed) and gate behavior.
Open questions for maintainers
Schema ownership. Should the JSON schema live in the repo as a versioned contract (so external tools can depend on it), or stay an internal detail of wa-review?
Gate policy. Ship an opinionated default gate (fail on any new High-risk finding), or leave gating fully user-configurable with no default?
Scope. Is a CI-oriented script in scope for a skills-and-steering repo, or should this ship as the schema plus guidance only, leaving the CI wiring to the user?
Happy to prototype against the examples/insecure-serverless-app-cdk fixture if there is appetite. Flagging the scope question up front, consistent with how #39, #40, and #89 were handled.
Summary
Propose Continuous Well-Architected in CI: give
wa-reviewa structured, machine-readable output artifact and a re-runnable check that diffs the current review against a committed baseline, then reports the Well-Architected delta on a pull request. This turns WA from a one-off event into a continuous, shift-left gate, without ever mutating user code.Gap
Every skill today emits markdown prose only. That is great for reading one review, but there is no machine-readable artifact, so:
wa-reviewStep 7 offers to "Produce a WA Tool import for tracking" but has no format behind it.Proposal
Two pieces, small and composable:
1. Structured output contract (the keystone)
wa-reviewemitswa-review.jsonalongside its markdown report. Draft shape:{ "workload": "payments-api", "date": "2026-07-06", "lens": ["serverless-applications", "financial-services"], "pillar_scores": { "security": 3, "reliability": 2, "cost": 4 }, "findings": [ { "id": "SEC08-BP01", "pillar": "security", "bp_id": "SEC08-BP01", "severity": "high", "status": "not_implemented", "evidence": { "file": "infra/s3.tf", "line": 14 }, "effort": "low", "recommendation": "Enable SSE and BlockPublicAccess" } ] }2. Continuous WA check
A small, dependency-light script (
wa-ci) that:wa-review(or ingests itswa-review.json)..well-architected/baseline.json.Example PR comment:
Why it fits the design
Proposed deliverables
wa-reviewemitswa-review.json(documented schema) alongside the markdown report..well-architected/baseline.jsonconvention plus a documentedwa-cidiff/gate script (no AWS credentials required, consistent with the rest of the repo).Open questions for maintainers
wa-review?Happy to prototype against the
examples/insecure-serverless-app-cdkfixture if there is appetite. Flagging the scope question up front, consistent with how #39, #40, and #89 were handled.